[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gerbv crashes (was Re: gEDA-user: gerbv 1.0 on RH8)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Am 02.02.2005 um 04:40 schrieb primorec:

more data  ( stack trace )
----------------------------------------

[igor@nemo morgan]$ gdb gerbv
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 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-redhat-linux"...
(gdb) r
Starting program: /usr/local/bin/gerbv


Program received signal SIGSEGV, Segmentation fault.
0x403b338d in calloc () from /lib/libc.so.6
(gdb) where
#0  0x403b338d in calloc () from /lib/libc.so.6
#1  0x403b4098 in free () from /lib/libc.so.6
#2  0x401d2da3 in g_free () from /usr/lib/libglib-1.2.so.0
...

Looks like you need to check out efence (Electric Fence), a malloc()/free() debugger, of this problem. The program will still segfault, but with some luck the debugger will shot the real location of the error.

73, Mario
- -- Mario Klebsch mario@xxxxxxxxxx
PGP-Key available at http://www.klebsch.de/public.key
Fingerprint DSS: EE7C DBCC D9C8 5DC1 D4DB 1483 30CE 9FB2 A047 9CE0
Diffie-Hellman: D447 4ED6 8A10 2C65 C5E5 8B98 9464 53FF 9382 F518
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)


iD8DBQFCASuuMM6fsqBHnOARAqLtAKCjIr/LPC2DYQTCO3aTCwMW6Vt6FQCgxw3K
dPXn4wZnJKEVP0JYEGU0ec0=
=Pzt5
-----END PGP SIGNATURE-----