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 764323 - Crash with CapsLock key
Crash with CapsLock key
Status: RESOLVED DUPLICATE of bug 648419
Product: GIMP
Classification: Other
Component: General
git master
Other All
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2016-03-29 17:52 UTC by jose americo gobbo
Modified: 2016-04-30 17:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jose americo gobbo 2016-03-29 17:52:55 UTC
Steps
# Painbrush to make strokes using Shift + Ctrl to do vertical/horizontal lines.
# I pressed by mistake CapsLock key ang GIMP crash.

Terminal message:
(gimp-2.9:7108): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion 'instance != NULL && instance->g_class != NULL' failed

(gimp-2.9:7108): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion 'instance != NULL && instance->g_class != NULL' failed
./gimp-2.9: fatal error: Segmentation fault
./gimp-2.9 (pid:7108): [E]xit, [H]alt, show [S]tack trace or [P]roceed: s

My box environment is:
DE: Gnome 3.10
Distro: Ubuntu Gnome 14.04.2

Notes: this crash was happening also with previous masters, but only now I have decided to open gimp via terminal to watch the messages.
The behaviour seems random but has relation with the keyboard, one of keys of the left-side (Ctrl, Shift or CapsLock).
Comment 1 jose americo gobbo 2016-03-29 18:45:41 UTC
Another message of crash:
(gimp-2.9:7355): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion 'instance != NULL && instance->g_class != NULL' failed

(gimp-2.9:7355): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion 'instance != NULL && instance->g_class != NULL' failed
./gimp-2.9: fatal error: Segmentation fault
./gimp-2.9 (pid:7355): [E]xit, [H]alt, show [S]tack trace or [P]roceed: E

(script-fu:7359): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
Comment 2 Michael Natterer 2016-03-29 21:41:30 UTC
Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 648419 ***
Comment 3 jose americo gobbo 2016-04-29 18:41:58 UTC
GIMP Crashing when I use CapsLock key, terminal output:

(gimp-2.9:20617): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion 'instance != NULL && instance->g_class != NULL' failed

(gimp-2.9:20617): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion 'instance != NULL && instance->g_class != NULL' failed
./gimp-2.9: fatal error: Segmentation fault
./gimp-2.9 (pid:20617): [E]xit, [H]alt, show [S]tack trace or [P]roceed: E

My DE is GNOME 3.10
Ubuntu Gnome 14.04.2
GIMP 2.9 Git Master commit 3d86a6c
Comment 4 Michael Schumacher 2016-04-30 08:56:41 UTC
Any reason why you broke the duplication? You seem to have addressed it in the gtk+ bug report as well.
Comment 5 jose americo gobbo 2016-04-30 16:50:06 UTC
Sorry, I have understood that my bug was a duplicate... but the original bug was closed and fixed. But now in my box with the last commit of GIMP 2.9 git master is happening again the crash when I hit on capslock... but the condition is a bit random. What I need to do? Open another bug report?
Comment 6 Michael Natterer 2016-04-30 17:47:59 UTC
You need the latest GTK+ 2.24.x, maybe even from git. I don't know if
there is a release with the fix. Nothing can be done in GIMP to fix this,
so a GIMP update can't change anything.

*** This bug has been marked as a duplicate of bug 648419 ***