Skip to contentSkip to conversation

tk8.4 +glibc 2.3.5 buid with gcc-4.0 SEGV

parisc-linux John David Anglin 1 participant 1 message Nov 13, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 4 lines
Quoted 3 lines

I just found another pb with glibc 2.3.5-7 build with gcc-4.0:

# tkinfo
Segmentation fault (core dumped)
Quoted 8 lines
Quoted 8 lines

(gdb) target core core.14394
Using host libthread_db library "/lib/libthread_db.so.1". Core was generated by `wish /usr/bin/tkinfo'.
Program terminated with signal 11, Segmentation fault. #0 0x40e98d5c in ?? ()
(gdb) bt
#0 0x40e98d5c in ?? ()
Cannot find bounds of current function (@0x0), unwinding will fail.

This is probably in glibc. Try with the debug versions.

export LD_LIBRARY_PATH=/usr/lib/debug

Another trick is to disassemble around 0x40e98d5c. You can see which code caused the problem. You may be able to manually unwind by looking at the stack and registers even when gdb is confused.

Dave

Signature · 6 lines
J. David Anglin                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux