GNOME Bugzilla – Bug 327639
crash when disposing GimpRectangleTool
Last modified: 2006-01-19 17:45:33 UTC
what i did was: press the button with the tooltip: "Select a rectangular part of an image" then press the button with the tooltip: "Select rectangular regions" ==> crash I'm using Gtk, glib and pango from CVS HEAD, so this might be related on the console i get: *** glibc detected *** double free or corruption (out): 0x086d2250 *** backtrace:
+ Trace 65358
Very likely that there are bugs in the yet unfinished new rectangle select tool. However, I cannot reproduce this problem. I ran GIMP CVS with valgrind and it did not report problems when first clicking on the new rect-select-tool and then on the old rect-select-tool. For some reasons the linenumbers and filenames in the GIMP parts of your stack-trace are missing. Can you please recompile GIMP with more debugging symbols and try to reproduce this? Setting to NEEDINFO. Thanks.
gimp_rectangle_tool_dispose() calls g_free() on a widget pointer. That's a bad idea :)
Fixed in CVS: 2006-01-19 Michael Natterer <mitch@gimp.org> * app/tools/gimprectangletool.c (gimp_rectangle_tool_dispose): don't call g_free() on a widget pointer. Fixes bug #327639.