GNOME Bugzilla – Bug 98630
mallopt crash or hang
Last modified: 2004-12-22 21:47:04 UTC
I've got a crazy crash/hang that occurs when I close a gtkhtml window. I am not sure if its gtkhtml's fault, gtk's fault, glib's fault, something in libc6 or possibly a weird guile-glib interaction ... ??? Stack trace:
+ Trace 30480
I'm not sure how to debug this, short of the brute-force approach of installing libc6 from source, and trying to figure out what mallopt does ...:-( Any suggestions? Is this bug unique? Is it a dup of another one? Is this a 'known bug'?
Basically you are causing memory corruption somewhere. A) Try setting the MALLOC_CHECK_ env variable to 2, this turns on more strict checking in glibc. B) Use a memory checking tool like valgrind.
Nothing we can do here from the GTK+ side.
For future reference if anyone runs across the bug, the stack trace looks similar to the ones in bug 98308, bug 112548 (which had some potentially interesting comments at the end), and bug 115666. Each of these bug reports was on a Debian testing/unstable system.