snapcrafters / gimp

Unofficial GNU Image Manipulation Program (GIMP) installer for Linux
https://snapcraft.io/gimp
MIT License
53 stars 27 forks source link

[Bug]: GIMP crash upon opening file #217

Open johnrgregg3 opened 1 year ago

johnrgregg3 commented 1 year ago

What happened?

The whole UI was wacked. A lot of red x's. I'm running Ubuntu 22.0.4. I tried to open a file with ctrl-o and it crashed with the "GIMP Crash Debug" pop up box. At this point I'm just following its instructions as best I can.

What should have happened?

When I open a file, the app stays up.

Output of snap info $snap_name

name:      gimp
summary:   GNU Image Manipulation Program
publisher: Snapcrafters
store-url: https://snapcraft.io/gimp
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: 2022-08-22
channels:
  latest/stable:     2.10.30 2022-08-19 (393) 546MB -
  latest/candidate:  ↑                              
  latest/beta:       ↑                              
  latest/edge:       2.10.32 2022-08-23 (399) 547MB -
  preview/stable:    –                              
  preview/candidate: –                              
  preview/beta:      –                              
  preview/edge:      2.99.10 2022-08-17 (397) 650MB -
installed:           2.10.30            (393) 546MB -

Output of snap connections $snap_name

nterface                 Plug                  Slot                              Notes
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.57.6
snapd   2.57.6
series  16
ubuntu  22.04
kernel  6.0.12-76060006-generic

Relevant log output

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

GNU Image Manipulation Program version 2.10.30
git-describe: GIMP_2_10_30
Build: org.gimp.GIMP.snapcraft.stable rev 0 for linux
# C compiler #
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/build/gimp/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.1' --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-Av3uEd/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.1) 

# Libraries #
using babl version 0.1.92 (compiled against version 0.1.92)
using GEGL version 0.4.36 (compiled against version 0.4.36)
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: Segmentation fault

Stack trace:

/snap/gimp/393/usr/lib/libgimpbase-2.0.so.0(gimp_stack_trace_print+0x3e8)[0x7f9869488e38]
/snap/gimp/393/usr/bin/gimp(+0x7268ee)[0x5584f92c08ee]
/snap/gimp/393/usr/bin/gimp(+0x7269ce)[0x5584f92c09ce]
/snap/gimp/393/usr/bin/gimp(+0x7269ed)[0x5584f92c09ed]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f9869cb7420]
/snap/gimp/393/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_check_instance_cast+0x26)[0x7f9868ab70d6]
/snap/gimp/393/usr/bin/gimp(+0x442829)[0x5584f8fdc829]
/snap/gimp/393/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x1b2)[0x7f9868a8c8b2]
/snap/gimp/393/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x277d3)[0x7f9868aa07d3]
/snap/gimp/393/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x125b)[0x7f9868aaddcb]
/snap/gimp/393/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93)[0x7f9868aae143]
/snap/gimp/393/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x1b2)[0x7f9868a8c8b2]
/snap/gimp/393/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x277d3)[0x7f9868aa07d3]
/snap/gimp/393/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x125b)[0x7f9868aaddcb]
/snap/gimp/393/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93)[0x7f9868aae143]
/snap/gimp/393/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x18614)[0x7f9868a91614]
/snap/gimp/393/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x17f1d)[0x7f9868a90f1d]
/snap/gimp/393/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_set_valist+0x129)[0x7f9868a95579]
/snap/gimp/393/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_set+0xf4)[0x7f9868a96164]
/snap/gimp/393/usr/bin/gimp(gimp_imagefile_create_thumbnail_weak+0x1bf)[0x5584f8dd4bbf]
/snap/gimp/393/usr/bin/gimp(+0x441e3f)[0x5584f8fdbe3f]
/snap/gimp/393/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x15e)[0x7f986899433e]
/snap/gimp/393/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x59710)[0x7f9868994710]
/snap/gimp/393/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83)[0x7f9868994a03]
/snap/gimp/393/usr/bin/gimp(app_run+0x425)[0x5584f92c1005]
/snap/gimp/393/usr/bin/gimp(main+0x37e)[0x5584f8c83c4e]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f9869ad5083]
/snap/gimp/393/usr/bin/gimp(_start+0x2e)[0x5584f8c83dce]

### Teminal output of app

```shell
$ gimp
ESC[?2004l^MGIMP-Error: Failed to load data:

Error loading '/usr/share/mypaint-data/1.0/brushes/classic/blend+paint.myb': Couldn’t recognize the image file format for file “/usr/share/mypaint-data/1.0/brushes/classic/blend+paint_prev.png”

GIMP-Error: Failed to load data:

Error loading '/usr/share/mypaint-data/1.0/brushes/classic/blending_knife.myb': Couldn’t recognize the image file format for file “/usr/share/mypaint-data/1.0/brushes/classic/blending_knife_prev.png”

GIMP-Error: Failed to load data:

Error loading '/usr/share/mypaint-data/1.0/brushes/classic/blur.myb': Couldn’t recognize the image file format for file “/usr/share/mypaint-data/1.0/brushes/classic/blur_prev.png”

GIMP-Error: Failed to load data:

Error loading '/usr/share/mypaint-data/1.0/brushes/classic/brush.myb': Couldn’t recognize the image file format for file “/usr/share/mypaint-data/1.0/brushes/classic/brush_prev.png”

GIMP-Error: Failed to load data:

Error loading '/usr/share/mypaint-data/1.0/brushes/classic/bulk.myb': Couldn’t recognize the image file format for file “/usr/share/mypaint-data/1.0/brushes/classic/bulk_prev.png”

GIMP-Error: Failed to load data:

Error loading '/usr/share/mypaint-data/1.0/brushes/classic/calligraphy.myb': Couldn’t recognize the image file format for file “/usr/share/mypaint-data/1.0/brushes/classic/calligraphy_prev.png”

GIMP-Error: Failed to load data:

Error loading '/usr/share/mypaint-data/1.0/brushes/classic/charcoal.myb': Couldn’t recognize the image file format for file “/usr/share/mypaint-data/1.0/brushes/classic/charcoal_prev.png”

GIMP-Error: Failed to load data: