This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/24776] pthread_key_create, pthread_setspecific are incompatible with dlmopen
- From: "wangbj at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 26 Jul 2019 15:33:12 +0000
- Subject: [Bug nptl/24776] pthread_key_create, pthread_setspecific are incompatible with dlmopen
- Auto-submitted: auto-generated
- References: <bug-24776-131@http.sourceware.org/bugzilla/>
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.