Flexible I/O Tester development
 help / color / mirror / Atom feed
* Plain "./fio" segfaults on FreeBSD
@ 2015-02-25 22:50 Bruce Cran
  2015-02-26 22:32 ` Jens Axboe
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Cran @ 2015-02-25 22:50 UTC (permalink / raw)
  To: fio

The latest code from git (built using clang) causes a segfault after 
printing the usage text when "./fio" is run:

[New LWP 100111]
No jobs(s) defined

fio-2.2.5-28-g93eeb
[usage text]
[New Thread 801c06400 (LWP 100111/fio)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 801c06400 (LWP 100111/fio)]
flist_empty (head=0x802000040) at flist.h:119
119             return head->next == head;
Current language:  auto; currently minimal
(gdb) p head
$1 = (const struct flist_head *) 0x802000040

Also, could we update -std=gnu99 to -std=c11 and use _Static_assert in 
compiler.h? Currently, turning optimizations off in the Makefile causes 
linker failures such as "fio/libfio.c:308: undefined reference to 
`__compiletime_assert_308'".

-- 
Bruce

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-26 22:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25 22:50 Plain "./fio" segfaults on FreeBSD Bruce Cran
2015-02-26 22:32 ` Jens Axboe
2015-02-26 22:40   ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox