Description of problem: updated Gimp from default version in FC3 to the latest in updates and it crashes at startup with 'segmantation fault' error Version-Release number of selected component (if applicable): gimp-2.2.2-0.fc3.3 Actual results: [nicu@nicu ~]$ gimp (gimp:4775): GLib-GObject-WARNING **: specified class size for type `GimpContainerEntry' is smaller than the parent type's `GtkEntry' class size (gimp:4775): GLib-GObject-CRITICAL **: file gtype.c: line 2319 (g_type_add_interface_static): assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed (gimp:4775): GLib-GObject-CRITICAL **: file gobject.c: line 819 (g_object_new): assertion `G_TYPE_IS_OBJECT (object_type)' failed (gimp:4775): Gimp-Widgets-CRITICAL **: file gimpcontainerview.c: line 535 (gimp_container_view_set_preview_size): assertion `GIMP_IS_CONTAINER_VIEW (view)' failed (gimp:4775): Gimp-Widgets-CRITICAL **: file gimpcontainerview.c: line 306 (gimp_container_view_set_container): assertion `GIMP_IS_CONTAINER_VIEW (view)' failed (gimp:4775): Gimp-Widgets-CRITICAL **: file gimpcontainerview.c: line 450 (gimp_container_view_set_context): assertion `GIMP_IS_CONTAINER_VIEW (view)' failed (gimp:4775): Gtk-CRITICAL **: file gtkwidget.c: line 5592 (gtk_widget_set_size_request): assertion `GTK_IS_WIDGET (widget)' failed (gimp:4775): Gtk-CRITICAL **: file gtkbox.c: line 373 (gtk_box_pack_start): assertion `GTK_IS_WIDGET (child)' failed Segmentation fault
Which version of gtk2 do you have? I have: nils@wombat:~> rpm -q gimp gtk2 gimp-2.2.2-0.fc3.3 gtk2-2.4.14-2.fc3 and it works beautifully here. This kind of error hints of that you have mixed up Rawhide and FC3 packages somehow.
thanks for the tip, it appears gtk2 was too old (gtk2-2.4.13-9), which is surprising, because i used yum to update gimp and expected all dependencies (like gtk2) to be upgraded as needed. however, after manually updating gtk2 it appears to work, thanks
The problem in this case was that GIMP was built against an updated version of gtk2 which apparently is not backwards compatible in the way that binaries built with the newer version of gtk2 won't 100% run against the older version. This is not a problem of yum -- it can't know that the new gimp needs the new gtk2, even the gimp package itself can't know it. Reassigning this to gtk2.
gtk2 has never guaranteed this form of backwards compatibility. If you want something to run against gtk 2.x you have to build it against 2.x.
Sorry, I should have read the bug more carefully. In this case, it is an ABI break, as acknowledged in the rpm changelog: * Wed Dec 01 2004 Matthias Clasen <mclasen> - 2.4.13-10.fc3 - Fix an inadverted ABI break which crept in with the backspace patch. (#151450) Sorry about that.
Does this mean that we will have to rebuild against 2.4.13-10.fc3?
Rebuilding against 2.4.14-2.fc3 should work fine
So the ABI breakage was in 2.4.13-9 and not 2.4.14-2.fc3? Now I understand ;-).
*** Bug 146642 has been marked as a duplicate of this bug. ***
it appears upgrading the gtk2 package also solved a crash in Inkscape (from Fedora Extras) occuring when opening the 'XML Editor'