pthread_mutex_lock hang during tls_get_addr_tail()

Paul Pluzhnikov ppluzhnikov@google.com
Sun Sep 11 00:50:00 GMT 2016


On Sat, Sep 10, 2016 at 4:09 PM, Paul Smith <paul@mad-scientist.net> wrote:

> Does anything else take this lock, other than a dlopen() or similar?

The lock appears to be used in quite a few places:
dlopen/dlclose/dl_iterate_phdr, init and fini processing, symbol
resolution for STB_GNU_UNIQUE symbols, __cxa_thread_atexit.

> Certainly my library doesn't do any dlopen() or similar.

But Java certainly does.

-- 
Paul Pluzhnikov



More information about the Libc-help mailing list