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 55735 - gimp locks up when selecting tools (Mandrake GTK+ theme)
gimp locks up when selecting tools (Mandrake GTK+ theme)
Status: VERIFIED NOTGNOME
Product: GIMP
Classification: Other
Component: General
1.x
Other Linux
: Normal major
: ---
Assigned To: GIMP Bugs
Daniel Egger
: 52467 53749 55398 57701 69825 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-06-05 02:50 UTC by stratfloyd
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description stratfloyd 2001-06-05 02:50:39 UTC
After using the fill tool, if you select the gradient tool, gimp locks up.
This is a consistent problem, it is the same problem under GNOME, KDE,
Enlightenment, etc. It does the same thing on all of my machines, including
laptops.

If I do a ctl-alt-backspace to exit X, ps ax shows gimp still running,
script-fu running as tho there is no problem.
Comment 1 Raphaël Quinet 2001-06-08 15:18:49 UTC
I cannot reproduce this problem.  I can use the fill tool to fill an
image, then select the blend/gradient tool and everything works fine.
I tried this on several platforms (Solaris and Linux, compiled from
sources or taken from Ximian RPMs) and I do not have any problems.

It would be helpful if you could add a comment to this bug report,
specifying (step by step) what you are doing in order to get this
problem.  Are you using a version of the Gimp that you compiled from
the sources, or a pre-compiled package?

Maybe this is a problem that exists only in the Mandrake package
for the Gimp, because it looks a bit similar to bug #55398.  Maybe
you should have a look at that bug report too.  Anyway, please
provide more information so that we can track down this bug.
Comment 2 stratfloyd 2001-06-09 03:37:25 UTC
Detail: gimp binary package provided in Mandrake 8.0
Start gimp, new image, fill image with color or pattern, select the 
gradient tool - gimp locks up. This is the EXACT sequence.
Comment 3 Raphaël Quinet 2001-06-10 16:43:41 UTC
I cannot reproduce this, but I am confirming the bug anyway.  I would
appreciate any comments from people using Mandrake 8.0 (even if you
are not affected by the bug).  I would like to know if this bug is in
the Mandrake package or if we should look at some other causes.
Comment 4 Henri Kuittinen 2001-06-13 19:20:24 UTC
Same here!

I'm using Mandrake 8.0 w/ gnome.
Gimp binary from Mandrake 8.0 - locks up
Updated binary - locks up
Got rid of binaries and compiled from sources - locks up

No exact pattern though. Just hangs after couple minutes of work (it's
killing me!)
Personally i think it's mandrake problem.
Comment 5 Raphaël Quinet 2001-06-15 09:19:42 UTC
It would be helpful to know exactly where the Gimp process locks up.
If you experience this problem under Mandrake 8.0, please try to
attach gdb to the running process and see where it is stuck.  If you
are not familiar with gdb, start it and then try "help attach" and
"help where".  If you get a stack trace, attach it to this bug report
so that we can analyze it.

By the way, it is interesting to know that the same error occurs when
compiling from sources.  Henri, did you compile from the source RPM
distributed by Mandrake, or from the original Gimp sources?  Maybe
they are slightly different?
Comment 6 Henri Kuittinen 2001-06-15 23:21:49 UTC
After 15 minutes of inspection i managed to run gimp through gdb - and
eventually reproduced at least one of the bugs. This is when i tried
to open a file after editing another. Here it goes:

Gtk-WARNING **: invalid unclassed pointer in cast to `GtkWidget'
Gtk-CRITICAL **: file gtkwidget.c: line 3311
(gtk_widget_set_sensitive): assertion `GTK_IS_WIDGET (widget)' failed.
Gtk-WARNING **: invalid unclassed pointer in cast to `GtkObject'
Gtk-WARNING **: invalid unclassed pointer in cast to
`GtkFileSelection'
Gtk-CRITICAL **: file gtkfilesel.c: line 620
(gtk_file_selection_set_filename): assertion `GTK_IS_FILE_SELECTION
(filesel)' failed.
Gtk-WARNING **: invalid unclassed pointer in cast to `GtkWindow'
Gtk-CRITICAL **: file gtkwindow.c: line 402 (gtk_window_set_title):
assertion `GTK_IS_WINDOW (window)' failed.
Gtk-WARNING **: invalid unclassed pointer in cast to `GtkFrame'
Gtk-CRITICAL **: file gtkframe.c: line 221 (gtk_frame_set_label):
assertion `GTK_IS_FRAME (frame)'failed.
Gtk-WARNING **: invalid cast from `(unknown)' to `GtkLabel'
Gtk-CRITICAL **: file gtklabel.c: line 260 (gtk_label_set_text):
assertion `GTK_IS_LABEL (label)' failed.
Gtk-WARNING **: invalid cast from `(unknown)' to `GtkWidget'
Gtk-CRITICAL **: file gtkwidget.c: line 1428 (gtk_widget_show):
assertion `GTK_IS_WIDGET (widget)'failed.
Gtk-WARNING **: invalid cast from `(unknown)' to `GtkWidget'
Gtk-CRITICAL **: file gtkwidget.c: line 1511 (gtk_widget_hide):
assertion `GTK_IS_WIDGET (widget)'failed.
Gtk-WARNING **: invalid unclassed pointer in cast to `GtkWidget'
Gtk-CRITICAL **: file gtkwidget.c: line 3311
(gtk_widget_set_sensitive): assertion `GTK_IS_WIDGET (widget)' failed.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 7946)]
0x4013476f in gtk_widget_show () from /usr/lib/libgtk-1.2.so.0

This was from my 4th package (gimp-1.2.1-5mdk.i586.rpm from
rpmfind.net).
The sources from ftp.gimp.org had the same problem (locking up) and
jpgs didn't work at all (some configuration stuff), so i got rid of
those too.
Comment 7 Raphaël Quinet 2001-06-17 15:10:12 UTC
As reported in bug #55398, this strange error is probably due to a
severe bug in the GTK+ theme installed by default in Mandrake 8.0.
If this is really the source of the problem, then recompiling or
installing new Gimp packages will not help, since the error comes
from the GTK+ theme and not from the Gimp itself.

Please have a look at the security advisory MDKA-2001:010, here:
http://www.linux-mandrake.com/en/security/2001/MDKA-2001-010.php3
If the upgrade available via MandrakeUpdate fixes the problems, then
we can close this bug and related ones.  Please report if it works.
Comment 8 Henri Kuittinen 2001-06-17 20:09:08 UTC
Well, at least it changed a bit :). The Gimp keeps crashing, but no
longer takes 100% cpu-time (after crash) and ps aux won't show any
locked processes.
There's one interesting point; after the first crash Gimp locks up
more easily, even there is no any dead processes left behind.
Here's what gdb reported:

Gdk-WARNING **: GdkWindow 0x26010af unexpectedly destroyed

Gdk-WARNING **: GdkWindow 0x26010ae unexpectedly destroyed

Gtk-WARNING **: invalid cast from `GtkSubmenuPlacement' to `GtkWidget'

Gtk-CRITICAL **: file gtkwidget.c: line 3311
(gtk_widget_set_sensitive): assertion `GTK_IS_WIDGET (widget)' failed.

Gtk-WARNING **: invalid cast from `GtkSubmenuPlacement' to `GtkObject'

Gtk-WARNING **: invalid cast from `GtkSubmenuPlacement' to
`GtkFileSelection'

Gtk-CRITICAL **: file gtkfilesel.c: line 620
(gtk_file_selection_set_filename): assertion `GTK_IS_FILE_SELECTION
(filesel)' failed.

Gtk-WARNING **: invalid cast from `GtkSubmenuPlacement' to `GtkWindow'

Gtk-CRITICAL **: file gtkwindow.c: line 402 (gtk_window_set_title):
assertion `GTK_IS_WINDOW (window)' failed.

Gtk-WARNING **: invalid unclassed pointer in cast to `GtkFrame'

Gtk-CRITICAL **: file gtkframe.c: line 221 (gtk_frame_set_label):
assertion `GTK_IS_FRAME (frame)' failed.

Gtk-WARNING **: invalid cast from `(unknown)' to `GtkLabel'

Gtk-CRITICAL **: file gtklabel.c: line 260 (gtk_label_set_text):
assertion `GTK_IS_LABEL (label)' failed.

Gtk-WARNING **: invalid cast from `(unknown)' to `GtkWidget'

Gtk-CRITICAL **: file gtkwidget.c: line 1428 (gtk_widget_show):
assertion `GTK_IS_WIDGET (widget)' failed.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 2485)]
0x40129ea0 in gtk_type_check_object_cast () from
/usr/lib/libgtk-1.2.so.0


Comment 9 Daniel Egger 2001-10-03 15:04:14 UTC
I'm really getting sick of Mandrake problems.
Can someone with the "best distribution of the year" please
slap them appropriatly?
Comment 10 Raphaël Quinet 2001-12-05 16:37:52 UTC
*** Bug 52467 has been marked as a duplicate of this bug. ***
Comment 11 Raphaël Quinet 2002-04-11 11:13:46 UTC
*** Bug 53749 has been marked as a duplicate of this bug. ***
Comment 12 Raphaël Quinet 2002-04-11 11:15:27 UTC
*** Bug 55398 has been marked as a duplicate of this bug. ***
Comment 13 Raphaël Quinet 2002-04-11 11:17:14 UTC
*** Bug 57701 has been marked as a duplicate of this bug. ***
Comment 14 Raphaël Quinet 2002-04-11 11:19:40 UTC
*** Bug 69825 has been marked as a duplicate of this bug. ***