[Top][All Lists]

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

Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release

From: Arun Sharma
Subject: Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?
Date: Wed, 23 Mar 2011 12:27:53 -0700

On Wed, Mar 23, 2011 at 11:25 AM, Joe Damato <address@hidden> wrote:

> Again, pardon me being late to this conversation. I need to go back
> and see what you guys are trying to do, exactly, but perhaps you could
> use dl_iterate_phdr?

dl_iterate_phdr takes locks and is not reentrant. If a process
executing in libdl takes a lock and the kernel delivers a async signal
at an inconvenient time and the signal handler calls libunwind to
unwind the stack, the call to dl_iterate_phdr() will deadlock.

We want a dl_iterate_phdr() like interface that's lock free and reentrant.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]