Disable -lmcheck when Python has threads (Re: [BUG] gdb crash when "python import gtk")
Tom Tromey
tromey@redhat.com
Thu Sep 6 19:30:00 GMT 2012
>>>>> "Yit" == Khoo Yit Phang <khooyp@cs.umd.edu> writes:
Yit> Here's the corresponding bug report for glibc stating that it is by
Yit> design: http://sourceware.org/bugzilla/show_bug.cgi?id=9939
I asked the local glibc hackers to see if they can fix it.
It seems to me that, while the existing malloc hooks are inherently
broken for multi-threading in the "wrapper" case, there is no deep
reason that mcheck has to use these hooks.
Tom
More information about the Gdb
mailing list