This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/24776] pthread_key_create, pthread_setspecific are incompatible with dlmopen


https://sourceware.org/bugzilla/show_bug.cgi?id=24776

--- Comment #7 from wangbj at gmail dot com <wangbj at gmail dot com> ---
It could be even more nuanced than that: __tls_get_addr could cause mallocing
memory from the default namespace, while free from the new namespace would end
up freeing memory allocated from the default namespace, resulting memory
corruption, I've seen this happen sporadically, though haven't found a solid
instance it indeed happened, as neither gdb nor lldb is friendly to core dumps
with multiple linker namespace.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]