GNOME Bugzilla – Bug 785427
GIMP crashes after applying any GEGL filter
Last modified: 2017-07-27 21:11:44 UTC
Im on Ubuntu 16.04, using (according to apt-cache showpkg gimp) version 2.9.5 of GIMP. Immediately after upgrading GIMP, I tried to edit Colors on my photos. While changing the Curves settings (Colors -> Curves), my photo previewed the changes as its supposed to. After hitting 'OK' though, the window closes right after the little green loading circle finishes filling. I tried Colors -> Color Balance with the same effect. Changes are able to be made, the preview loads the changes, but once confirming with 'OK' the window closes right after the changes are finally applied (little green loading circle fills) without giving me a chance to save. I also found the same problem when applying gaussian blur
Can you get us a stack trace of this crash (from running GIMP from the terminal, in gdb)?
So I'll start with saying Im pretty new to command lines and open source but I'm trying to learn. I'll attach what I found in my package management along with what gdb spit out when I ran it and then used my mouse to crash GIMP. I noticed that I have GIMP 2.9 and GIMP 2.0 but I dont know if that's an issue, or it hasn't been until now. What I had found using package management via dpkg -L gimp : dpkg -L gimp /. /usr /usr/bin /usr/bin/gimp-2.9 /usr/bin/gimp-console-2.9 /usr/lib /usr/lib/gimp /usr/lib/gimp/2.0 /usr/lib/gimp/2.0/plug-ins /usr/lib/gimp/2.0/plug-ins/smooth-palette /usr/lib/gimp/2.0/plug-ins/metadata-viewer /usr/lib/gimp/2.0/plug-ins/sharpen /usr/lib/gimp/2.0/plug-ins/contrast-retinex /usr/lib/gimp/2.0/plug-ins/web-browser /usr/lib/gimp/2.0/plug-ins/gradient-map /usr/lib/gimp/2.0/plug-ins/help-browser /usr/lib/gimp/2.0/plug-ins/file-desktop-link /usr/lib/gimp/2.0/plug-ins/file-gif-save /usr/lib/gimp/2.0/plug-ins/histogram-export.py /usr/lib/gimp/2.0/plug-ins/file-webp /usr/lib/gimp/2.0/plug-ins/map-object /usr/lib/gimp/2.0/plug-ins/ifs-compose /usr/lib/gimp/2.0/plug-ins/gfig /usr/lib/gimp/2.0/plug-ins/file-xpm /usr/lib/gimp/2.0/plug-ins/file-bmp /usr/lib/gimp/2.0/plug-ins/gimpressionist /usr/lib/gimp/2.0/plug-ins/animation-play /usr/lib/gimp/2.0/plug-ins/print /usr/lib/gimp/2.0/plug-ins/file-xwd /usr/lib/gimp/2.0/plug-ins/python-console /usr/lib/gimp/2.0/plug-ins/python-console/pyconsole.py /usr/lib/gimp/2.0/plug-ins/python-console/python-console.py /usr/lib/gimp/2.0/plug-ins/film /usr/lib/gimp/2.0/plug-ins/compose /usr/lib/gimp/2.0/plug-ins/guillotine /usr/lib/gimp/2.0/plug-ins/tile-small /usr/lib/gimp/2.0/plug-ins/blur /usr/lib/gimp/2.0/plug-ins/file-csource /usr/lib/gimp/2.0/plug-ins/file-tiff /usr/lib/gimp/2.0/plug-ins/file-raw-data /usr/lib/gimp/2.0/plug-ins/curve-bend /usr/lib/gimp/2.0/plug-ins/file-glob /usr/lib/gimp/2.0/plug-ins/file-jpeg /usr/lib/gimp/2.0/plug-ins/metadata-editor /usr/lib/gimp/2.0/plug-ins/file-psp /usr/lib/gimp/2.0/plug-ins/selection-to-path /usr/lib/gimp/2.0/plug-ins/colormap-remap /usr/lib/gimp/2.0/plug-ins/file-pdf-save /usr/lib/gimp/2.0/plug-ins/file-xbm /usr/lib/gimp/2.0/plug-ins/jigsaw /usr/lib/gimp/2.0/plug-ins/file-wmf /usr/lib/gimp/2.0/plug-ins/softglow /usr/lib/gimp/2.0/plug-ins/file-exr /usr/lib/gimp/2.0/plug-ins/file-jp2-load /usr/lib/gimp/2.0/plug-ins/file-darktable /usr/lib/gimp/2.0/plug-ins/file-tga /usr/lib/gimp/2.0/plug-ins/file-xmc /usr/lib/gimp/2.0/plug-ins/file-cel /usr/lib/gimp/2.0/plug-ins/colorify /usr/lib/gimp/2.0/plug-ins/emboss /usr/lib/gimp/2.0/plug-ins/flame /usr/lib/gimp/2.0/plug-ins/destripe /usr/lib/gimp/2.0/plug-ins/cartoon /usr/lib/gimp/2.0/plug-ins/lighting /usr/lib/gimp/2.0/plug-ins/photocopy /usr/lib/gimp/2.0/plug-ins/sparkle /usr/lib/gimp/2.0/plug-ins/file-gih /usr/lib/gimp/2.0/plug-ins/oilify /usr/lib/gimp/2.0/plug-ins/palette-to-gradient.py /usr/lib/gimp/2.0/plug-ins/file-compressor /usr/lib/gimp/2.0/plug-ins/file-aa /usr/lib/gimp/2.0/plug-ins/border-average /usr/lib/gimp/2.0/plug-ins/nl-filter /usr/lib/gimp/2.0/plug-ins/max-rgb /usr/lib/gimp/2.0/plug-ins/colorxhtml.py /usr/lib/gimp/2.0/plug-ins/crop-zealous /usr/lib/gimp/2.0/plug-ins/file-gif-load /usr/lib/gimp/2.0/plug-ins/wavelet-decompose /usr/lib/gimp/2.0/plug-ins/fractal-explorer /usr/lib/gimp/2.0/plug-ins/screenshot /usr/lib/gimp/2.0/plug-ins/file-png /usr/lib/gimp/2.0/plug-ins/procedure-browser /usr/lib/gimp/2.0/plug-ins/file-sgi /usr/lib/gimp/2.0/plug-ins/blinds /usr/lib/gimp/2.0/plug-ins/file-html-table /usr/lib/gimp/2.0/plug-ins/file-ico /usr/lib/gimp/2.0/plug-ins/contrast-normalize /usr/lib/gimp/2.0/plug-ins/python-eval.py /usr/lib/gimp/2.0/plug-ins/file-pcx /usr/lib/gimp/2.0/plug-ins/file-gegl /usr/lib/gimp/2.0/plug-ins/unit-editor /usr/lib/gimp/2.0/plug-ins/py-slice.py /usr/lib/gimp/2.0/plug-ins/filter-pack /usr/lib/gimp/2.0/plug-ins/help /usr/lib/gimp/2.0/plug-ins/file-openraster.py /usr/lib/gimp/2.0/plug-ins/file-pat /usr/lib/gimp/2.0/plug-ins/sample-colorize /usr/lib/gimp/2.0/plug-ins/goat-exercise /usr/lib/gimp/2.0/plug-ins/file-fli /usr/lib/gimp/2.0/plug-ins/file-pix /usr/lib/gimp/2.0/plug-ins/file-header /usr/lib/gimp/2.0/plug-ins/checkerboard /usr/lib/gimp/2.0/plug-ins/file-dicommy package management /usr/lib/gimp/2.0/plug-ins/color-enhance /usr/lib/gimp/2.0/plug-ins/file-sunras /usr/lib/gimp/2.0/plug-ins/imagemap /usr/lib/gimp/2.0/plug-ins/palette-sort.py /usr/lib/gimp/2.0/plug-ins/file-faxg3 /usr/lib/gimp/2.0/plug-ins/color-cube-analyze /usr/lib/gimp/2.0/plug-ins/qbist /usr/lib/gimp/2.0/plug-ins/tile /usr/lib/gimp/2.0/plug-ins/unsharp-mask /usr/lib/gimp/2.0/plug-ins/despeckle /usr/lib/gimp/2.0/plug-ins/file-fits /usr/lib/gimp/2.0/plug-ins/sphere-designer /usr/lib/gimp/2.0/plug-ins/file-psd /usr/lib/gimp/2.0/plug-ins/file-mng /usr/lib/gimp/2.0/plug-ins/pagecurl /usr/lib/gimp/2.0/plug-ins/newsprint /usr/lib/gimp/2.0/plug-ins/file-svg /usr/lib/gimp/2.0/plug-ins/edge-dog /usr/lib/gimp/2.0/plug-ins/fractal-trace /usr/lib/gimp/2.0/plug-ins/van-gogh-lic /usr/lib/gimp/2.0/plug-ins/web-page /usr/lib/gimp/2.0/plug-ins/file-raw-placeholder /usr/lib/gimp/2.0/plug-ins/file-rawtherapee /usr/lib/gimp/2.0/plug-ins/plugin-browser /usr/lib/gimp/2.0/plug-ins/palette-offset.py /usr/lib/gimp/2.0/plug-ins/script-fu /usr/lib/gimp/2.0/plug-ins/ripple /usr/lib/gimp/2.0/plug-ins/warp /usr/lib/gimp/2.0/plug-ins/gradient-flare /usr/lib/gimp/2.0/plug-ins/foggify.py /usr/lib/gimp/2.0/plug-ins/depth-merge /usr/lib/gimp/2.0/plug-ins/mail /usr/lib/gimp/2.0/plug-ins/file-gbr /usr/lib/gimp/2.0/plug-ins/cml-explorer /usr/lib/gimp/2.0/plug-ins/gradients-save-as-css.py /usr/lib/gimp/2.0/plug-ins/edge-neon /usr/lib/gimp/2.0/plug-ins/align-layers /usr/lib/gimp/2.0/plug-ins/decompose /usr/lib/gimp/2.0/plug-ins/animation-optimize /usr/lib/gimp/2.0/plug-ins/hot /usr/lib/gimp/2.0/plug-ins/file-ps /usr/lib/gimp/2.0/plug-ins/grid /usr/lib/gimp/2.0/plug-ins/file-pnm /usr/lib/gimp/2.0/modules /usr/lib/gimp/2.0/modules/libcolor-selector-water.so /usr/lib/gimp/2.0/modules/libdisplay-filter-gamma.so /usr/lib/gimp/2.0/modules/libcontroller-linux-input.so /usr/lib/gimp/2.0/modules/libdisplay-filter-high-contrast.so /usr/lib/gimp/2.0/modules/libcolor-selector-wheel.so /usr/lib/gimp/2.0/modules/libdisplay-filter-color-blind.so /usr/lib/gimp/2.0/modules/libcolor-selector-cmyk.so /usr/lib/gimp/2.0/modules/libcontroller-midi.so /usr/lib/gimp/2.0/environ /usr/lib/gimp/2.0/environ/pygimp.env /usr/lib/gimp/2.0/environ/default.env /usr/lib/gimp/2.0/python /usr/lib/gimp/2.0/python/gimpplugin.py /usr/lib/gimp/2.0/python/gimpcolor.so /usr/lib/gimp/2.0/python/_gimpenums.so /usr/lib/gimp/2.0/python/gimpshelf.py /usr/lib/gimp/2.0/python/gimpthumb.so /usr/lib/gimp/2.0/python/_gimpui.so /usr/lib/gimp/2.0/python/pygimp-logo.png /usr/lib/gimp/2.0/python/gimpui.py /usr/lib/gimp/2.0/python/gimpenums.py /usr/lib/gimp/2.0/python/gimpfu.py /usr/lib/gimp/2.0/python/gimp.so /usr/lib/gimp/2.0/interpreters /usr/lib/gimp/2.0/interpreters/default.interp /usr/lib/gimp/2.0/interpreters/pygimp.interp /usr/share /usr/share/applications /usr/share/applications/gimp.desktop /usr/share/doc /usr/share/doc/gimp /usr/share/doc/gimp/NEWS.gz /usr/share/doc/gimp/README.Debian /usr/share/doc/gimp/changelog.Debian.gz /usr/share/doc/gimp/Wilber.svg /usr/share/doc/gimp/README.MIDI /usr/share/doc/gimp/Wilber.xcf.gz /usr/share/doc/gimp/copyright /usr/share/doc/gimp/README /usr/share/doc/gimp/Wilber_Construction_Kit.xcf.gz /usr/share/doc/gimp/Wilber.xcf.gz.README /usr/share/doc/gimp/AUTHORS.gz /usr/share/menu /usr/share/menu/gimp /usr/share/man /usr/share/man/man1 /usr/share/man/man1/gimp-2.9.1.gz /usr/share/python /usr/share/python/runtime.d /usr/share/python/runtime.d/gimp.rtupdate /usr/share/pixmaps /usr/share/pixmaps/gimp.xpm /usr/bin/gimp /usr/bin/gimp-console /usr/share/man/man1/gimp-console.1.gz /usr/share/man/man1/gimp-console-2.9.1.gz /usr/share/man/man1/gimp.1.gz /* Just want to remind you that this is my first time using gdb on a program like this, sorry if I included useless data */ (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /usr/bin/gimp [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe1c9e700 (LWP 9184)] [New Thread 0x7fffe149d700 (LWP 9185)] [New Thread 0x7fffe0c9c700 (LWP 9186)] This is a development version of GIMP. Debug messages may appear here. [New Thread 0x7fffc844a700 (LWP 9188)] Missing fast-path babl conversion detected, Implementing missing babl fast paths accelerates GEGL, GIMP and other software using babl, warnings are printed on first occurance of formats used where a conversion has to be synthesized programmatically by babl based on format description *WARNING*: missing babl fast path(s) between formats "CIE LCH(ab) double" and "R'G'B' double" (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gimp:9182): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", [New Thread 0x7fffc7760700 (LWP 9189)] [Thread 0x7fffc7760700 (LWP 9189) exited] [/build/gimp-qG4x8G/gimp-2.9.5~133/plug-ins/file-raw/file-darktable.c] trying to call 'darktable' [/build/gimp-qG4x8G/gimp-2.9.5~133/plug-ins/file-raw/file-darktable.c] g_spawn_sync failed [/build/gimp-qG4x8G/gimp-2.9.5~133/plug-ins/file-raw/file-darktable.c] error: Failed to execute child process "darktable" (No such file or directory) [/build/gimp-qG4x8G/gimp-2.9.5~133/plug-ins/file-raw/file-darktable.c] have_darktable: 0 gimp_display_shell_profile_update gimp_display_shell_profile_update gimp_display_shell_profile_update [New Thread 0x7fffc7760700 (LWP 9202)] [Thread 0x7fffc844a700 (LWP 9188) exited] [New Thread 0x7fffc844a700 (LWP 9213)] [New Thread 0x7fffc668e700 (LWP 9214)] [New Thread 0x7fffc5e8d700 (LWP 9215)] [New Thread 0x7fffc568c700 (LWP 9216)] [Thread 0x7fffc844a700 (LWP 9213) exited] [Thread 0x7fffc5e8d700 (LWP 9215) exited] [Thread 0x7fffc668e700 (LWP 9214) exited] [Thread 0x7fffc568c700 (LWP 9216) exited] magic match 4 on file-jpeg-load best magic match on file-jpeg-load [New Thread 0x7fffc568c700 (LWP 9231)] opened thumbnail at 160 x 120 magic match 4 on file-jpeg-load best magic match on file-jpeg-load (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (file-jpeg:9234): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", jpeg-load: found Exif block (19761 bytes) gimp_display_shell_profile_update src_profile: GIMP built-in sRGB src_format: R'G'B'A u8 dest_format: R'G'B'A u8 gimp_display_shell_profile_update src_profile: GIMP built-in sRGB src_format: R'G'B'A u8 dest_format: R'G'B'A u8 gimp_display_shell_profile_update src_profile: GIMP built-in sRGB src_format: R'G'B'A u8 dest_format: R'G'B'A u8 [Thread 0x7fffc7760700 (LWP 9202) exited] using gegl copy using gegl copy *** stack smashing detected ***: /usr/bin/gimp terminated Thread 1 "gimp" received signal SIGABRT, Aborted. 0x00007ffff3408428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) (gdb)
In gdb, when GIMP crashes, type "bt", hit Enter and copy-paste us the output. That will be the backtrace which Mitch asked for. :-)
Okay. Sorry about that! Heres the output I got : (gdb) bt
+ Trace 237706
*** Bug 785440 has been marked as a duplicate of this bug. ***
*** Bug 785469 has been marked as a duplicate of this bug. ***
Thanks, fixed in master: commit bb93e3401f0481dba8be80a387f04e7e8a76db07 Author: Michael Natterer <mitch@gimp.org> Date: Thu Jul 27 22:20:09 2017 +0200 Bug 785427 - GIMP crashes after applying any GEGL filter Need to access GimpSettings' "time" property using gint64 variables now. app/tools/gimpfiltertool.c | 4 +++- app/widgets/gimpsettingsbox.c | 16 ++++++++++++---- app/widgets/gimpsettingseditor.c | 10 +++++++--- 3 files changed, 22 insertions(+), 8 deletions(-)
Thank You!