GNOME Bugzilla – Bug 775720
Caps lock crashes program after editing layer name
Last modified: 2017-01-12 02:10:18 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"
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
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 ***
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?
Was the GTK+ provided by your distro?
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.