After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 101521 - Interface finalization broken for GTypeModule registered types
Interface finalization broken for GTypeModule registered types
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gobject
2.0.x
Other All
: Normal normal
: ---
Assigned To: GIMP Bugs
Daniel Egger
: 103801 109492 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-12-18 12:42 UTC by Shlomi Fish
Modified: 2011-02-18 15:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Shlomi Fish 2002-12-18 12:42:23 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.
Comment 1 Henrik Brix Andersen 2002-12-18 15:57:25 UTC
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
Comment 2 Michael Natterer 2002-12-18 17:05:11 UTC
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).
Comment 3 Michael Natterer 2002-12-18 18:17:13 UTC
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).
Comment 4 Michael Natterer 2003-01-18 13:50:05 UTC
*** Bug 103801 has been marked as a duplicate of this bug. ***
Comment 5 Michael Natterer 2003-04-10 11:26:35 UTC
*** Bug 109492 has been marked as a duplicate of this bug. ***