snapcrafters / gimp

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

[Bug]: Crashed while trying to open lens correct #274

Open Someonethirsty opened 6 months ago

Someonethirsty commented 6 months ago

What happened?

I was messing around with GEGL operations when the program crashed. I think I went from json dropshadow2 to lens correct. I had been messing around and switching from one GEGL operation to another without closing the window (?) and then going back to tools, selecting GEGL operation, and then choosing a new operation to experiment with. Initially, before I experienced the bug, I didn't know I could do that, so I was closing the and then re-selecting GEGL operation and choosing a new operation to experiment with. I never applied any operations, only previewed them.

I tried it again to see if it did the same thing, it did, so I'm not sure if it's lens correct itself or the transition from json dropshadow2. Also, upon opening GIMP again it seems as if I am missing a lot of the GEGL operations now. This seems to be fixed when I restart my computer, however. Here is the thing it told me to paste both times:

1st time:

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: Segmentation fault

Stack trace:

/snap/gimp/436/usr/lib/libgimpbase-2.0.so.0(gimp_stack_trace_print+0x3e8)[0x7f15af166e38]
/snap/gimp/436/usr/bin/gimp(+0x72cfae)[0x55c40d0b4fae]
/snap/gimp/436/usr/bin/gimp(+0x72d08e)[0x55c40d0b508e]
/snap/gimp/436/usr/bin/gimp(+0x72d0ad)[0x55c40d0b50ad]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f15af995420]
/lib/x86_64-linux-gnu/libc.so.6(+0xfadf1)[0x7f15af889df1]
/lib/x86_64-linux-gnu/libc.so.6(+0xfca13)[0x7f15af88ba13]
/lib/x86_64-linux-gnu/libc.so.6(+0xfcb36)[0x7f15af88bb36]
/lib/x86_64-linux-gnu/libc.so.6(+0xf9919)[0x7f15af888919]
/lib/x86_64-linux-gnu/libc.so.6(+0xfca13)[0x7f15af88ba13]
/lib/x86_64-linux-gnu/libc.so.6(+0xfcb36)[0x7f15af88bb36]
/lib/x86_64-linux-gnu/libc.so.6(+0xfd889)[0x7f15af88c889]
/lib/x86_64-linux-gnu/libc.so.6(regcomp+0xa6)[0x7f15af88e3d6]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/liblensfun.so.1(_ZN6lfLens15GuessParametersEv+0x625)[0x7f15877e52d5]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/liblensfun.so.1(_ZN6lfLens5CheckEv+0xd)[0x7f15877e533d]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/liblensfun.so.1(+0xb76c)[0x7f15877e476c]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5db64)[0x7f15ae676b64]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_markup_parse_context_parse+0x112d)[0x7f15ae677e0d]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/liblensfun.so.1(_ZN10lfDatabase4LoadEPKcS1_m+0xe0)[0x7f15877e2ef0]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/liblensfun.so.1(_ZN10lfDatabase4LoadEPKc+0x94)[0x7f15877e3044]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/liblensfun.so.1(_ZN10lfDatabase13LoadDirectoryEPKc+0xbf)[0x7f15877e311f]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/liblensfun.so.1(_ZN10lfDatabase4LoadEv+0xdb)[0x7f15877e321b]
/usr/lib/x86_64-linux-gnu/gegl-0.4/lens-correct.so(+0x2c04)[0x7f15877f9c04]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0(+0x68f92)[0x7f15aec76f92]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0(+0xbf7d7)[0x7f15aeccd7d7]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0(+0xc0683)[0x7f15aecce683]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x8be31)[0x7f15ae6a4e31]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8609)[0x7f15af989609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43)[0x7f15af8ae353]

2nd time:

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: Segmentation fault

Stack trace:

/snap/gimp/436/usr/lib/libgimpbase-2.0.so.0(gimp_stack_trace_print+0x3e8)[0x7f2a926a2e38]
/snap/gimp/436/usr/bin/gimp(+0x72cfae)[0x55da02a32fae]
/snap/gimp/436/usr/bin/gimp(+0x72d08e)[0x55da02a3308e]
/snap/gimp/436/usr/bin/gimp(+0x72d0ad)[0x55da02a330ad]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f2a92ed1420]
/lib/x86_64-linux-gnu/libc.so.6(+0xfd84f)[0x7f2a92dc884f]
/lib/x86_64-linux-gnu/libc.so.6(regcomp+0xa6)[0x7f2a92dca3d6]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/liblensfun.so.1(_ZN6lfLens15GuessParametersEv+0x625)[0x7f2a6ad202d5]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/liblensfun.so.1(_ZN6lfLens5CheckEv+0xd)[0x7f2a6ad2033d]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/liblensfun.so.1(+0xb76c)[0x7f2a6ad1f76c]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5db64)[0x7f2a91bb2b64]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_markup_parse_context_parse+0x112d)[0x7f2a91bb3e0d]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/liblensfun.so.1(_ZN10lfDatabase4LoadEPKcS1_m+0xe0)[0x7f2a6ad1def0]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/liblensfun.so.1(_ZN10lfDatabase4LoadEPKc+0x94)[0x7f2a6ad1e044]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/liblensfun.so.1(_ZN10lfDatabase13LoadDirectoryEPKc+0xbf)[0x7f2a6ad1e11f]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/liblensfun.so.1(_ZN10lfDatabase4LoadEv+0xdb)[0x7f2a6ad1e21b]
/usr/lib/x86_64-linux-gnu/gegl-0.4/lens-correct.so(+0x2c04)[0x7f2a6ad34c04]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0(+0x68f92)[0x7f2a921b2f92]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0(+0xbf7d7)[0x7f2a922097d7]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0(gegl_parallel_distribute+0xec)[0x7f2a9220b9bc]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0(gegl_parallel_distribute_area+0x1d6)[0x7f2a9220bf36]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0(+0x69a2d)[0x7f2a921b3a2d]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0(gegl_operation_process+0x24a)[0x7f2a921a9a0a]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0(gegl_graph_process+0x112)[0x7f2a921aa5d2]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0(gegl_eval_manager_apply+0xd6)[0x7f2a921aaaf6]
/snap/gimp/436/usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0(gegl_node_blit_buffer+0x61)[0x7f2a921bfb01]
/snap/gimp/436/usr/bin/gimp(+0x1051d4)[0x55da0240b1d4]
/snap/gimp/436/usr/bin/gimp(gimp_tile_handler_validate_validate+0x14b)[0x55da0241666b]
/snap/gimp/436/usr/bin/gimp(+0x1f07a5)[0x55da024f67a5]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x15e)[0x7f2a91bae86e]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x59c40)[0x7f2a91baec40]
/snap/gimp/436/data-dir/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83)[0x7f2a91baef33]
/snap/gimp/436/usr/bin/gimp(app_run+0x3e4)[0x55da02a33684]
/snap/gimp/436/usr/bin/gimp(main+0x3b8)[0x55da023f0dc8]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f2a92cef083]
/snap/gimp/436/usr/bin/gimp(_start+0x2e)[0x55da023f0f3e]

What should have happened?

When I clicked lens correct it should've began processing the operation, and then shown a preview of the image.

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: 2 days ago, at 20:34 CDT
channels:
  latest/stable:     2.10.38 2024-05-10 (436) 540MB -
  latest/candidate:  2.10.38 2024-05-10 (436) 540MB -
  latest/beta:       ↑                              
  latest/edge:       ↑                              
  preview/stable:    2.99.18 2024-02-22 (433) 743MB -
  preview/candidate: 2.99.18 2024-02-22 (433) 743MB -
  preview/beta:      ↑                              
  preview/edge:      ↑                              
installed:           2.10.38            (436) 540MB -

Output of snap connections $snap_name

Interface                 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.62+22.04
snapd   2.62+22.04
series  16
ubuntu  22.04
kernel  5.15.0-105-generic

Relevant log output

dmesg: read kernel buffer failed: Operation not permitted

Teminal output of app

Gtk-Message: 16:08:14.280: Failed to load module "canberra-gtk-module"