All of lore.kernel.org
 help / color / mirror / Atom feed
* fio crash after running an I/O stress test for about half an hour
@ 2010-07-26 14:17 Bart Van Assche
  2010-07-29  8:46 ` Jens Axboe
  2010-07-29  8:57 ` Jens Axboe
  0 siblings, 2 replies; 4+ messages in thread
From: Bart Van Assche @ 2010-07-26 14:17 UTC (permalink / raw)
  To: fio@vger.kernel.org, Jens Axboe

Hello,

When I run the fio command below, fio triggers a segmentation fault
after about half an hour. Is this a known issue ?

fio version 1.41.6 (git repository last commit date 2010-07-09).

fio --verify=md5 -rw=randwrite --size=10M --bs=4k --loops=1000000
--iodepth=64 --group_reporting --sync=1 --direct=1 --norandommap
--ioengine=psync --directory=/mnt --name=test --thread --numjobs=80

(gdb) bt
#0  0x0000000000412373 in log_io_piece (td=0x7f7d83e95ec0,
io_u=0x6f5140) at log.c:184
#1  0x000000000041b58b in io_completed (td=0x7f7d83e95ec0,
io_u=0x6f5140, icd=0x7f7d77e0df90) at io_u.c:1111
#2  0x000000000041b93d in io_u_sync_complete (td=0x7f7d83e95ec0,
io_u=0x6f5140, bytes=0x7f7d77e0e070) at io_u.c:1174
#3  0x0000000000409ccb in do_io (td=<value optimized out>) at fio.c:651
#4  thread_main (td=<value optimized out>) at fio.c:1132
#5  0x00007f7d8569f65d in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#6  0x00007f7d84baae1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()
(gdb) list
179     {
180             struct rb_node **p, *parent;
181             struct io_piece *ipo, *__ipo;
182
183             ipo = malloc(sizeof(struct io_piece));
184             ipo->file = io_u->file;
185             ipo->offset = io_u->offset;
186             ipo->len = io_u->buflen;
187
188             /*

Valgrind reports the following for a run with --loops=10 and --numjobs=1:

==14843== 606,080 (407,040 direct, 199,040 indirect) bytes in 6,360
blocks are definitely lost in loss record 9 of 9
==14843==    at 0x4C24528: malloc (vg_replace_malloc.c:236)
==14843==    by 0x41236A: log_io_piece (log.c:183)
==14843==    by 0x41B58A: io_completed (io_u.c:1111)
==14843==    by 0x41B93C: io_u_sync_complete (io_u.c:1174)
==14843==    by 0x409CCA: thread_main (fio.c:651)
==14843==    by 0x4E3065C: start_thread (pthread_create.c:297)
==14843==    by 0x597AE1C: clone (in /lib64/libc-2.10.1.so)

Bart.


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

end of thread, other threads:[~2010-07-31  7:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-26 14:17 fio crash after running an I/O stress test for about half an hour Bart Van Assche
2010-07-29  8:46 ` Jens Axboe
2010-07-29  8:57 ` Jens Axboe
2010-07-31  7:24   ` Bart Van Assche

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.