|
From: | Arun Sharma |
Subject: | Re: [Libunwind-devel] UNW_CACHE_PER_THREAD |
Date: | Tue, 8 Jan 2013 15:27:17 -0800 |
malloc
observe_malloc - our malloc hook
unwind_stack - Linux libunwind implementation
unw_step (takes libunwind CACHE lock)
dl_interate_hdr (takes dl lock)
The same deadlock may happen while THREAD 1 is in dlsym and other dl functions that all internally use the same recursive lock dl lock and allocate memory.
[Prev in Thread] | Current Thread | [Next in Thread] |