GNOME Bugzilla – Bug 101521
Interface finalization broken for GTypeModule registered types
Last modified: 2011-02-18 15:49:04 UTC
Whenever the right or left endpoints are set in the gradient editor using the <Right Button> -> Left/Right Endpoint Color... options, it crashes the GIMP the second time.
I can reproduce this bug on Red Hat Linux 8.0 (using 1.3.10, not current CVS due to CVS problems on my end) This is what is reported to the console: [brix@fungus brix]$ gimp-1.3 GLib-GObject-Message: finalizing interfaces for GObjectClass `ColorselTriangle' GLib-GObject-Message: finalizing interfaces for GObjectClass `ColorselWater' GLib-GObject-ERROR **: file gtype.c: line 1523 (type_class_init_Wm): assertion failed: (entry->vtable == NULL) aborting... gimp-1.3: terminated: Aborted (script-fu:1661): LibGimpBase-WARNING **: script-fu: wire_read(): error
This has nothing to do with the gradient editor. Actually it's a bug in glib-2-0/gobject/gtype.c. I told Tim Janik on #gtk+ and he is about to send me some patches to try. Once it is fixed we will need to depend on the fixed GLIB version. Until then, a workaround is to open the toolbox' main color selection once (which creates color selector instences that persist until gimp quits).
Applied to both branches: 2002-12-18 Michael Natterer <mitch@gimp.org> * gobject/gtype.c (type_data_finalize_class_ifaces_Wm): applied patch I got from Tim Janik for testing which fixes bug #101521. (restart iterating the interface enties each time we finalized one because they might have been modified).
*** Bug 103801 has been marked as a duplicate of this bug. ***
*** Bug 109492 has been marked as a duplicate of this bug. ***