tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: using backtrace(3) in libpthread



On Apr 27,  2:23pm, manu%netbsd.org@localhost (Emmanuel Dreyfus) wrote:
-- Subject: Re: using backtrace(3) in libpthread

| Emmanuel Dreyfus <manu%netbsd.org@localhost> wrote:
| 
| > 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.
| 
| If I skip the two first backtrace (I use a static counter to count
| that), it works fine. Since the goal is to track a pthread_key leak,
| that will be fine for my usage.

It probably can't handle things right during dynamic linking.

christos


Home | Main Index | Thread Index | Old Index