From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114 Description of problem: The dmallocthcxx library, which is supposed to be a version of dmalloc safe for multiple threads and C++, is apparently not. It claims to become reentrant; I do not use it from within a signal handler, so the only way this could happen is by not locking properly when used by multiple threads simultaneously. Version-Release number of selected component (if applicable): dmalloc-4.8.1-12 How reproducible: Always Steps to Reproduce: 1. Download the soon-to-be-attached dmallocthcxx-crash.cc 2. Compile with gcc -Wall dmallocthcxx-crash.cc -o dmallocthcxx -ldmallocthcxx -lpthread 3. Run with ./dmallocthcxx-crash Actual Results: $ ./dmallocthcxx-crash debug-malloc library: halting program, fatal error Error: malloc library has gone recursive (err 11) Expected Results: Looping forever with no output Additional info:
Created attachment 96689 [details] demonstration program
You might want to get the latest version of dmalloc (5.2.4) ... it might fix things ... http://dmalloc.com
Can't reproduce with dmalloc-5.3.0-3.