------- Comment #2 from fche at redhat dot com 2006-11-10 16:04 ------- As shown by MUDFLAP_OPTIONS="-viol-gdb", the deallocation is occurring during the pthread exit process, and relates to dlopen's thread-local variables.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28578