Lazy TLS initialization vs. TCMalloc.
Carlos O'Donell
carlos@redhat.com
Tue Mar 22 19:58:00 GMT 2016
I was asked to comment on Ceph/TCMalloc deadlock problems
which appeared to be glibc-related. Given that I stood up
and represented the community I'm posting what I wrote
here for posterity:
http://tracker.ceph.com/issues/13522#note-23
The basic problem is that lazy TLS initialization has
unknown requirements on the interposing malloc and TCMalloc
gets it wrong.
I hope that we can find somebody to fix the issue and that
consensus remains that dlopen should allocate up front to
avoid the issues with lazy initialization.
--
Cheers,
Carlos.
More information about the Libc-alpha
mailing list