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 775720 - Caps lock crashes program after editing layer name
Caps lock crashes program after editing layer name
Status: RESOLVED DUPLICATE of bug 648419
Product: GIMP
Classification: Other
Component: User Interface
2.8.16
Other Linux
: Normal critical
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2016-12-06 18:01 UTC by ecyrbnenneh
Modified: 2017-01-12 02:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description ecyrbnenneh 2016-12-06 18:01:40 UTC
Anytime I edit a layer name in the dockable window and then stop editing it, and immediately afterwards hit the capslock key, Gimp crashes without warning.

Step-by-step:
1) Double click any layer name to edit it in the layers dialog
2) Stop editing the name. (Can use enter, escape, whatever)
3) Press caps lock key.
4) Program crashes immediately without warning.

Here is the report from the terminal:
(gimp:26272): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion 'instance != NULL && instance->g_class != NULL' failed

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

(script-fu:26280): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
Segmentation fault


And the version info:
GNU Image Manipulation Program version 2.8.16
git-describe: GIMP_2_8_14-268-g3152b6e

using GEGL version 0.3.4 (compiled against version 0.3.4)
using GLib version 2.48.1 (compiled against version 2.48.0)
using GdkPixbuf version 2.32.2 (compiled against version 2.32.2)
using GTK+ version 2.24.30 (compiled against version 2.24.30)
using Pango version 1.38.1 (compiled against version 1.38.1)
using Fontconfig version 2.11.94 (compiled against version 2.11.94)
using Cairo version 1.14.6 (compiled against version 1.14.6)


My OS specs:
OS: Linux mint 18 cinnamon 64-bit
Cinnamon version: 3.0.7
Linux kernel: 4.4.0-21-generic


Also, I'm not sure if this is relevant, but there are some warnings on startup:
(gimp:26272): GLib-GObject-WARNING **: g_object_set_valist: object class 'GeglConfig' has no property named 'cache-size'

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17A85D0 from "gimp:point-layer-mode" to "gimp:dissolve-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17A7B30 from "gimp:point-layer-mode" to "gimp:behind-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17A7F20 from "gimp:point-layer-mode" to "gimp:multiply-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17A90F0 from "gimp:point-layer-mode" to "gimp:screen-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17A94C0 from "gimp:point-layer-mode" to "gimp:overlay-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17A98F0 from "gimp:point-layer-mode" to "gimp:difference-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17A9CB0 from "gimp:point-layer-mode" to "gimp:addition-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17AA0F0 from "gimp:point-layer-mode" to "gimp:subtract-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17AA4E0 from "gimp:point-layer-mode" to "gimp:darken-only-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17AA930 from "gimp:point-layer-mode" to "gimp:lighten-only-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17AAD70 from "gimp:point-layer-mode" to "gimp:hue-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17AB0D0 from "gimp:point-layer-mode" to "gimp:saturation-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17ABD00 from "gimp:point-layer-mode" to "gimp:color-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17AC0F0 from "gimp:point-layer-mode" to "gimp:value-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17AC4E0 from "gimp:point-layer-mode" to "gimp:divide-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17AC960 from "gimp:point-layer-mode" to "gimp:dodge-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17ACD50 from "gimp:point-layer-mode" to "gimp:burn-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17AD0C0 from "gimp:point-layer-mode" to "gimp:hardlight-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17AD3F0 from "gimp:point-layer-mode" to "gimp:softlight-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17AD7F0 from "gimp:point-layer-mode" to "gimp:grain-extract-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17ADC50 from "gimp:point-layer-mode" to "gimp:grain-merge-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17AE000 from "gimp:point-layer-mode" to "gimp:color-erase-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17AE3F0 from "gimp:point-layer-mode" to "gimp:erase-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17AE810 from "gimp:point-layer-mode" to "gimp:replace-mode"

(gimp:26272): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x17AEBE0 from "gimp:point-layer-mode" to "gimp:anti-erase-mode"
Comment 1 Jehan 2016-12-06 23:40:05 UTC
Thanks for reporting.
I can't reproduce the crash with these steps on the dev version. Have not tested a 2.8.

Could you please reproduce and get a stack trace please? Here are some procedure to get traces: https://wiki.gnome.org/Community/GettingInTouch/Bugzilla/GettingTraces/Details
Comment 2 Michael Natterer 2016-12-07 08:36:45 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.

Please upgrade to the latest released GTK+ 2.24.x, that will fix the bug.

*** This bug has been marked as a duplicate of bug 648419 ***
Comment 3 ecyrbnenneh 2017-01-10 00:16:39 UTC
Ok, I installed GTK+ 2.24.31, which fixed the original caps lock problem.

However, a side effect was that it made the UI of Gimp and many other programs look ugly. They seem to not use the system theme anymore.

Is there any way to fix this problem?
Comment 4 Michael Schumacher 2017-01-10 07:07:38 UTC
Was the GTK+ provided by your distro?
Comment 5 ecyrbnenneh 2017-01-12 02:10:18 UTC
No, the new GTK+ was downloaded and installed through the GTK+ website. 
My package manager said the GTK+ I was originally using was up to date, but it was using 2.24.30, so that's why I installed it through the GTK+ website.