On Wed, Mar 23, 2011 at 11:25 AM, Joe Damato <[email protected]> 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.

 -Arun

_______________________________________________
Libunwind-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to