Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

[Bug]: GIMP crashed converting unsaved JPG to greyscale #458

@sbin-umount

Description

@sbin-umount

What happened?

The app crashed when I tried to convert it to greyscale (Bild Modus Graustufen)

image being 2600x1600 px, set to 900 DPI

What should have happened?

It should have converted the image to greyscale

Output of snap info $snap_name

name:      gimp
summary:   GNU Image Manipulation Program
publisher: Snapcrafters✪
contact:   https://github.com/snapcrafters/gimp/issues
license:   unset
description: |
  Whether you are a graphic designer, photographer, illustrator, or
  scientist, GIMP provides you with sophisticated tools to get your job done.
  You can further enhance your productivity with GIMP thanks to many
  customization options and 3rd party plugins.
  
  This snap is maintained by the Snapcrafters community, and is not
  necessarily endorsed or officially maintained by the upstream developers.
  
  Upstream Project: https://www.gimp.org/
  snapcraft.yaml Build Definition:
  https://github.com/snapcrafters/gimp/blob/master/snap/snapcraft.yaml
commands:
  - gimp
snap-id:      KDHYbyuzZukmLhiogKiUksByRhXD2gYV
tracking:     latest/stable
refresh-date: 2024-05-12
installed:    2.10.38 (436) 540MB -

Output of snap connections $snap_name

Schnittstelle             Plug                  Slot                              Notizen
browser-support           gimp:browser-support  :browser-support                  -
content[gnome-3-38-2004]  gimp:gnome-3-38-2004  gnome-3-38-2004:gnome-3-38-2004   -
content[gtk-2-engines]    gimp:gtk-2-engines    gtk2-common-themes:gtk-2-engines  -
content[gtk-3-themes]     gimp:gtk-3-themes     gtk-common-themes:gtk-3-themes    -
content[icon-themes]      gimp:icon-themes      gtk-common-themes:icon-themes     -
content[sound-themes]     gimp:sound-themes     gtk-common-themes:sound-themes    -
cups-control              gimp:cups-control     -                                 -
dbus                      -                     gimp:dbus-gimp                    -
desktop                   gimp:desktop          :desktop                          -
desktop-legacy            gimp:desktop-legacy   :desktop-legacy                   -
gsettings                 gimp:gsettings        :gsettings                        -
home                      gimp:home             :home                             -
network                   gimp:network          :network                          -
opengl                    gimp:opengl           :opengl                           -
removable-media           gimp:removable-media  -                                 -
unity7                    gimp:unity7           :unity7                           -
wayland                   gimp:wayland          :wayland                          -
x11                       gimp:x11              :x11                              -

Output of snap version

snap    2.68.5+ubuntu24.04.1
snapd   2.68.5+ubuntu24.04.1
series  16
ubuntu  24.04
kernel  6.8.0-79-generic

Relevant log output

Teminal output of app

<!-- Copy-paste this whole debug data to report to developers -->



GNU Image Manipulation Program version 2.10.38
git-describe: GIMP_2_10_38
Build: org.gimp.GIMP.snapcraft.stable rev 0 for linux
# C compiler #
	Using built-in specs.
	COLLECT_GCC=gcc
	COLLECT_LTO_WRAPPER=/build/snapcraft-gimp-32b886384cf5577f0713f2746a79fcd3/stage/usr/bin/../lib/gcc/x86_64-linux-gnu/9/lto-wrapper
	OFFLOAD_TARGET_NAMES=nvptx-none:hsa
	OFFLOAD_TARGET_DEFAULT=1
	Target: x86_64-linux-gnu
	Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-9QDOt0/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
	Thread model: posix
	gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2) 

# Libraries #
using babl version 0.1.92 (compiled against version 0.1.92)
using GEGL version 0.4.38 (compiled against version 0.4.38)
using GLib version 2.64.6 (compiled against version 2.64.6)
using GdkPixbuf version 2.40.1 (compiled against version 2.40.0)
using GTK+ version 2.24.32 (compiled against version 2.24.32)
using Pango version 1.48.0 (compiled against version 1.44.7)
using Fontconfig version 2.13.1 (compiled against version 2.13.1)
using Cairo version 1.17.4 (compiled against version 1.16.0)


> fatal error: Aborted

Stack trace:

/snap/gimp/436/usr/lib/libgimpbase-2.0.so.0(gimp_stack_trace_print+0x3e8)[0x715ebc9cce38]
/snap/gimp/436/usr/bin/gimp(+0x72cfae)[0x56ffff4b4fae]
/snap/gimp/436/usr/bin/gimp(+0x72d08e)[0x56ffff4b508e]
/snap/gimp/436/usr/bin/gimp(+0x72d0ad)[0x56ffff4b50ad]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x715ebd1fb420]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x715ebd03800b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x715ebd017859]
/lib/x86_64-linux-gnu/libc.so.6(+0x22729)[0x715ebd017729]
/lib/x86_64-linux-gnu/libc.so.6(+0x33fd6)[0x715ebd028fd6]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x3e643)[0x715ebbbda643]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x3e6ed)[0x715ebbbda6ed]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libX11.so.6(_XEventsQueued+0x5a)[0x715ebbbda9ea]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libX11.so.6(_XGetRequest+0x5d)[0x715ebbbdd9dd]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libX11.so.6(_XSetClipRectangles+0x44)[0x715ebbbd4324]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libX11.so.6(XSetClipRectangles+0x52)[0x715ebbbd44f2]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(+0x617f1)[0x715ebca9c7f1]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(+0x5a846)[0x715ebca95846]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(gdk_draw_rectangle+0xf6)[0x715ebca60576]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(+0x3ffb8)[0x715ebca7afb8]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(gdk_draw_rectangle+0xf6)[0x715ebca60576]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x1c1e6f)[0x715ebccb7e6f]
/snap/gimp/436/usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so(+0x39b4)[0x715e81dc79b4]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0xd7073)[0x715ebcbcd073]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x13db9b)[0x715ebcc33b9b]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x1b2)[0x715ebbfd08b2]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x26dda)[0x715ebbfe3dda]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x98d)[0x715ebbff14fd]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93)[0x715ebbff2143]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x25922d)[0x715ebcd4f22d]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main_do_event+0x5c0)[0x715ebcc32390]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(+0x45c4f)[0x715ebca80c4f]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(+0x45bf3)[0x715ebca80bf3]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(+0x4264d)[0x715ebca7d64d]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(gdk_window_process_all_updates+0x130)[0x715ebca7df80]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(+0x42fdd)[0x715ebca7dfdd]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(+0x20e99)[0x715ebca5be99]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x15e)[0x715ebbed886e]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x59c40)[0x715ebbed8c40]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83)[0x715ebbed8f33]
/snap/gimp/436/usr/bin/gimp(app_run+0x3e4)[0x56ffff4b5684]
/snap/gimp/436/usr/bin/gimp(main+0x3b8)[0x56fffee72dc8]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x715ebd019083]
/snap/gimp/436/usr/bin/gimp(_start+0x2e)[0x56fffee72f3e]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions