View Single Post
Old 02-12-2016, 04:49 AM   #62
jue
Junior Member
jue is on a distinguished road
 
Posts: 8
Karma: 62
Join Date: Feb 2016
Location: Germany
Device: kindle PW2 9017
Quote:
Originally Posted by knc1 View Post
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
Attached Files
File Type: gz debug_all.tar.gz (297.4 KB, 261 views)
File Type: gz gdb.log.tar.gz (1.2 KB, 276 views)

Last edited by jue; 02-12-2016 at 05:49 AM.
jue is offline   Reply With Quote