Quote:
Originally Posted by knc1
To debug:
Set the environment variable:
LD_DEBUG=all
(all possible information)
LD_DEBUG=help
(other possible settings)
|
I attached the complete output (stdout and stderr incl. debug info). Maybe a trained eye can make something out of it.
(my previous text, not so promising: )
Spoiler:
This is the part just before the segfault (but debug output continues afterwards):
Code:
5620: symbol=strsignal; lookup in file=/bin/sh [0]
5620: symbol=strsignal; lookup in file=/usr/lib/libenvload.so [0]
5620: symbol=strsignal; lookup in file=/lib/libm.so.6 [0]
5620: symbol=strsignal; lookup in file=/lib/libc.so.6 [0]
5620: binding file /bin/sh [0] to /lib/libc.so.6 [0]: normal symbol `strsignal' [GLIBC_2.4]
5620: symbol=__vsnprintf_chk; lookup in file=/bin/sh [0]
5620: symbol=__vsnprintf_chk; lookup in file=/usr/lib/libenvload.so [0]
5620: symbol=__vsnprintf_chk; lookup in file=/lib/libm.so.6 [0]
5620: symbol=__vsnprintf_chk; lookup in file=/lib/libc.so.6 [0]
5620: binding file /bin/sh [0] to /lib/libc.so.6 [0]: normal symbol `__vsnprintf_chk' [GLIBC_2.4]
5620: symbol=fputs; lookup in file=/bin/sh [0]
5620: symbol=fputs; lookup in file=/usr/lib/libenvload.so [0]
5620: symbol=fputs; lookup in file=/lib/libm.so.6 [0]
5620: symbol=fputs; lookup in file=/lib/libc.so.6 [0]
5620: binding file /bin/sh [0] to /lib/libc.so.6 [0]: normal symbol `fputs' [GLIBC_2.4]
Segmentation fault
update: Now I also attached my gdb output.
some interesting lines:
Code:
...
Reading symbols from /lib/libpthread.so.0...Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /lib/libpthread.so.0]
...
Reading symbols from /lib/libgcc_s.so.1...Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /lib/libgcc_s.so.1]
...
Core was generated by `./gargoyle'.
Program terminated with signal 11, Segmentation fault.
#0 0x40e84dd4 in png_set_longjmp_fn ()
from /usr/lib/libpng16.so.16
(gdb) bt full
#0 0x40e84dd4 in png_set_longjmp_fn ()
from /usr/lib/libpng16.so.16
No symbol table info available.
#1 0x411bc08c in ?? ()
from /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
No symbol table info available.
I hope this is helpful