snapcrafters / gimp

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

[Bug]: Crash when adjusting a rectangle with keyboard input #268

Open sergiusens opened 8 months ago

sergiusens commented 8 months ago

What happened?

I made a rectangle with the mouse and wanted to adjust the size using keyboard input when using the preview version of Gimp

What should have happened?

No crash

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:     preview/stable
refresh-date: hoy a las 08:33 -03
channels:
  latest/stable:     2.10.36 2024-02-22 (428) 540MB -
  latest/candidate:  2.10.36 2024-02-22 (428) 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.99.18            (433) 743MB -

Output of snap connections $snap_name

Interfaz                Enchufe               Ranura                          Notas
browser-support         gimp:browser-support  :browser-support                -
content[gnome-42-2204]  gimp:gnome-42-2204    gnome-42-2204:gnome-42-2204     -
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.61.2
snapd   2.61.2
series  16
ubuntu  22.04
kernel  6.1.0-1035-oem

Relevant log output

GNU Image Manipulation Program version 2.99.18
git-describe: GIMP_2_99_18
Build: org.gimp.GIMP.snapcraft.preview rev 0 for linux
# C compiler #
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --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-bootstrap --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 --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --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-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) 

# Libraries #
using babl version 0.1.109 (compiled against version 0.1.109)
using GEGL version 0.4.49 (compiled against version 0.4.49)
using GLib version 2.78.1 (compiled against version 2.78.1)
using GdkPixbuf version 2.42.10 (compiled against version 2.42.10)
using GTK+ version 3.24.38 (compiled against version 3.24.38)
using Pango version 1.51.0 (compiled against version 1.51.0)
using Fontconfig version 2.13.1 (compiled against version 2.13.1)
using Cairo version 1.18.0 (compiled against version 1.18.0)

> fatal error: Segmentation fault

Stack trace:

/snap/gimp/433/usr/lib/x86_64-linux-gnu/libgimpbase-3.0.so.0(gimp_stack_trace_print+0x50f)[0x7f6b0b696d4f]
/snap/gimp/433/usr/bin/gimp-2.99(+0x344857)[0x5608d1af6857]
/snap/gimp/433/usr/bin/gimp-2.99(gimp_fatal_error+0x1d)[0x5608d1af690d]
/snap/gimp/433/usr/bin/gimp-2.99(+0x34496c)[0x5608d1af696c]
/lib/x86_64-linux-gnu/libc.so.6(+0x4251f)[0x7f6b098b851f]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_check_instance_is_fundamentally_a+0x11)[0x7f6b0b1908f1]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_unref+0x1c)[0x7f6b0b16978c]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x16e)[0x7f6b0b16432e]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x2c2ba)[0x7f6b0b17a2ba]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x2ef82)[0x7f6b0b17cf82]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x38)[0x7f6b0b1863f8]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x92)[0x7f6b0b1864c2]
/snap/gimp/433/usr/bin/gimp-2.99(gimp_action_emit_activate+0x59)[0x5608d1beab69]
/snap/gimp/433/usr/bin/gimp-2.99(+0x48671a)[0x5608d1c3871a]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0xcbae1)[0x7f6b09ffaae1]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_window_activate_key+0x1c0)[0x7f6b0a2f2d30]
/snap/gimp/433/usr/bin/gimp-2.99(+0x4eb19a)[0x5608d1c9d19a]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x9b547)[0x7f6b09fca547]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x16568)[0x7f6b0b164568]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x2e1aa)[0x7f6b0b17c1aa]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x38)[0x7f6b0b1863f8]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x92)[0x7f6b0b1864c2]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x399ec3)[0x7f6b0a2c8ec3]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x22a8be)[0x7f6b0a1598be]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_main_do_event+0x7f4)[0x7f6b0a15b7b4]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x40e18)[0x7f6b09e53e18]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x7dce5)[0x7f6b09e90ce5]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5eeda)[0x7f6b0b050eda]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x6269f)[0x7f6b0b05469f]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x32)[0x7f6b0b054f62]
/snap/gimp/433/gnome-platform/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0(g_application_run+0x1a4)[0x7f6b0ad8f0d4]
/snap/gimp/433/usr/bin/gimp-2.99(app_run+0x244)[0x5608d1af5d14]
/snap/gimp/433/usr/bin/gimp-2.99(main+0x3ac)[0x5608d18a3e4c]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d8f)[0x7f6b0989fd8f]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x7f)[0x7f6b0989fe3f]
/snap/gimp/433/usr/bin/gimp-2.99(_start+0x24)[0x5608d18a3fd4]

Teminal output of app

In a pastebin as it reached the limits of what could be submitted https://pastebin.ubuntu.com/p/tGD2cSznYd/