On Dienstag, 1. Mai 2018 22:22:33 CEST Paul Pluzhnikov wrote: > On Tue, May 1, 2018 at 11:09 AM Milian Wolff <m...@milianw.de> wrote: > > - why was the tls_model explicitly set to initial-exec? > > - can we just remove it? > > Note that when using dlopen-ed library with __thread variables, access to > them may result in malloc being called (at least under GLIBC): > https://sourceware.org/bugzilla/show_bug.cgi?id=16133 > > That is highly problematic when you want to unwind from within malloc > itself.
I do that in heaptrack all the time. And I guard against that via a simple recursion guard, I've never had an issue with that so far. Bye -- Milian Wolff m...@milianw.de http://milianw.de
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Libunwind-devel mailing list Libunwind-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/libunwind-devel