-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi!
Am 05.02.2005 um 19:08 schrieb primorec:
Here is the output from ELECTRIC FENCE.
I hope that this output will put more light to this problem
It worked, fine.
[EMAIL PROTECTED] morgan]$ setenv LD_PRELOAD /usr/lib/libefence.so
[EMAIL PROTECTED] morgan]$ gdb /usr/local/bin/gerbv
This way, gdb as well as the prgram to debug both use libefence. Since efence can slow don execution and increas memory usage dramatically, you might prefer to only let the program to debug use efence.
The easy way is to not run the target in the debugger but let is dump core and use the debugger to do a post mortem core analysis. The other option is to set the environment variable inside gdb.
(gdb) r Starting program: /home/local/bin/gerbv
Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens <[EMAIL PROTECTED]>
<etc etc etc>
Program received signal SIGSEGV, Segmentation fault. 0x403bd3de in strcat () from /lib/libc.so.6 (gdb) where #0 0x403bd3de in strcat () from /lib/libc.so.6 #1 0x080543ec in cb_ok_project (widget=0x4218be10, data=0x429e1ff4) at gerbv.c:847
It could have been usefull to have executed 'up', to see the call to strcat() and then to print its arguments.
73, Mario
- -- Mario Klebsch [EMAIL PROTECTED]
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)
iD8DBQFCBS1YMM6fsqBHnOARAhR1AJsFugdgz6mGvHaPd0NJ47i3j7p0nQCcCjXb GysZD+5puq1Bo3sSv1VqFnY= =4b8w -----END PGP SIGNATURE-----
