Re: Setting bs could lead to some double free or segfault

From: Erwan Velu <erwan_at_seanodes.com>
Date: Fri, 20 Jul 2007 14:21:50 +0200

Jens Axboe wrote:
> [...]
> Hmm, doesn't make a lot of sense. Please remove the -O2 from your
> makefile, make clean, make, and reproduce and do the above procedure
> again!
>
>
based on the lastest git here come the backtrace when trying to do a 0K bs.

#0 0x00000000004114d7 in init_random_map (td=0x2aaaab5af000) at
filesetup.c:457
457 blocks = (f->real_file_size + td->o.rw_min_bs - 1) /
td->o.rw_min_bs;
(gdb) bt
#0 0x00000000004114d7 in init_random_map (td=0x2aaaab5af000) at
filesetup.c:457
#1 0x00000000004070ee in thread_main (data=0x2aaaab5af000) at fio.c:845
#2 0x000000000040768f in fork_main (shmid=327681, offset=0) at fio.c:963
#3 0x0000000000407e2d in run_threads () at fio.c:1165
#4 0x00000000004081ec in main (argc=2, argv=0x7fffff9cab78) at fio.c:1280
(gdb)
Received on Fri Jul 20 2007 - 14:21:50 CEST

This archive was generated by hypermail 2.2.0 : Fri Jul 20 2007 - 14:30:01 CEST