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

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

Erwan Velu wrote:
> Jens Axboe wrote:
>> [...]
>> It works here, can you generate the core dump like described yesterday
>> and show in gdb where it traps?
>>
Please forget my previous mail... something was wrong on my system..
Now you procedure works perfectly,

[root_at_max1 ~]# gdb /home/build/rpm/BUILD/fio/fio core.3316
GNU gdb 6.3-5mdk (Mandriva Linux release 2006.0)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-mandriva-linux-gnu"...Using host
libthread_db library "/lib64/tls/libthread_db.so.1".

Core was generated by `fio /home/build/rpm/BUILD/fio/fio asimplejob.fio'.
Program terminated with signal 8, Arithmetic exception.
#0 0x000000000040dd89 in add_stat_sample (is=0x6f69662e,
data=7308332184076772724) at stat.c:610
610 is->S += delta * (val - is->mean);
(gdb) bt
#0 0x000000000040dd89 in add_stat_sample (is=0x6f69662e,
data=7308332184076772724) at stat.c:610
#1 0x0000000000000004 in ?? ()
#2 0x000000000052c450 in options ()
#3 0x0000000000000000 in ?? ()
(gdb)
Received on Fri Jul 20 2007 - 13:21:45 CEST

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