This is the mail archive of the libc-alpha@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]

Lazy TLS initialization vs. TCMalloc.


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.


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