tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: using backtrace(3) in libpthread
Emmanuel Dreyfus <manu%netbsd.org@localhost> wrote:
> That helps! I get my first backtrace logged, but the process then
> deadlocks somewhere else.
But this time I can attach with gdb:
0xbb7fa407 in ___lwp_park50 () from /usr/libexec/ld.elf_so
(gdb) bt
#0 0xbb7fa407 in ___lwp_park50 () from /usr/libexec/ld.elf_so
#1 0xbb7f25c5 in _rtld_exclusive_enter () from /usr/libexec/ld.elf_so
#2 0xbb639275 in __register_frame_info () from /lib/libgcc_s.so.1
I see that libexecinfo has a weak reference on __register_frame_info(),
but I do not understand how it relates to the code it contains.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index