I finally got this bug tracked down and fixed. I have committed the fixes to cvs, so I
expect it to appear on anonymous cvs by the time you read this.
-- Jeff Smith
--- Mario Ohnewald <mar...@gm...> wrote:
> Hello List!
>
> I am running Debian sid, cvs from 05.05.2005, and i get this segfault
> when i want to export a table:
>
> shell command: /usr/local/bin/mdb-export -H -I file.pck ABFDok
>
> spiekey@SpiekLap:~$ gdb
> GNU gdb 6.3-debian
> 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 "i386-linux".
> (gdb) file /usr/local/bin/mdb-export
> Reading symbols from /usr/local/bin/mdb-export...done.
> Using host libthread_db library "/lib/tls/libthread_db.so.1".
> (gdb) run -H -I file.pck ABFDok
> Starting program: /usr/local/bin/mdb-export -H -I file.pck ABFDok
> Unhandled memo field flags = 3a
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x4012adb6 in free () from /lib/tls/libc.so.6
> (gdb) backtrace
> #0 0x4012adb6 in free () from /lib/tls/libc.so.6
> #1 0x40062a84 in g_free () from /usr/lib/libglib-2.0.so.0
> #2 0x4001e288 in mdb_xfer_bound_data (mdb=0x804b508, start=1179403647,
> col=0x4002549f, len=1) at data.c:222
> #3 0x4001e484 in _mdb_attempt_bind (mdb=0x804b508, col=0x1, isnull=0
> '\0', offset=1703, len=12) at data.c:301
> #4 0x4001e415 in mdb_read_row (table=0x80725e0, row=0) at data.c:279
> #5 0x4001e71e in mdb_fetch_row (table=0x80725e0) at data.c:397
> #6 0x08048d36 in main (argc=162, argv=0xbffff8c4) at mdb-export.c:147
>
> Unfortunately i cant upload the db file for you, so you could test and
> debug it.
> Any idea what causes this segfault?
> What else do you need to know?
>
> Thanks, Mario
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|