This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
re: debugging
- From: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- To: libc-alpha at sources dot redhat dot com, jakub at redhat dot com
- Date: Wed, 25 Sep 2002 23:13:07 -0400 (EDT)
- Subject: re: debugging
Jakub,
Looking again, the crash occurs here according to
LD_DEBUG=files...
10485: calling init: /usr/lib/libpng.so.2
10485:
10485:
10485: calling init: /usr/lib/gdk-imlib1/libimlib-png.so
10485:
10485: opening file=/usr/lib/gdk-imlib1/libimlib-png.so; opencount == 1
10485:
10485: /usr/lib/libgmodule-1.2.so.0: error: relocation error: undefined symbol: g_module_check_init (fatal)
10485: /usr/lib/libgmodule-1.2.so.0: error: relocation error: undefined symbol: g_module_unload (fatal)
so perhaps we should look at /usr/lib/libgmodule-1.2.so.0 as the last
module loaded...its readelf -d is...
bogus:/lib# readelf -d /usr/lib/libgmodule-1.2.so.0
Dynamic segment at offset 0x324c contains 24 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libdl.so.2]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x0000000e (SONAME) Library soname: [libgmodule-1.2.so.0]
0x0000000c (INIT) 0x2551d48
0x0000000d (FINI) 0x2552fcc
0x00000004 (HASH) 0x2550094
0x00000005 (STRTAB) 0x25510b8
0x00000006 (SYMTAB) 0x2550578
0x0000000a (STRSZ) 1977 (bytes)
0x0000000b (SYMENT) 16 (bytes)
0x00000003 (PLTGOT) 0x2563344
0x00000002 (PLTRELSZ) 240 (bytes)
0x00000014 (PLTREL) RELA
0x00000017 (JMPREL) 0x2551c58
0x00000007 (RELA) 0x2551a3c
0x00000008 (RELASZ) 780 (bytes)
0x00000009 (RELAENT) 12 (bytes)
0x6ffffffe (VERNEED) 0x25519dc
0x6fffffff (VERNEEDNUM) 2
0x6ffffff0 (VERSYM) 0x2551872
0x6ffffff9 (RELACOUNT) 36
0x6ffffdf8 (CHECKSUM) 0x5df4ccc6
0x6ffffdf5 (GNU_PRELINKED) 2002-09-25T23:48:51
0x00000000 (NULL) 0x0
Hope that helps.
Jack