GIMP consistently crashes when using drawing tablet

Bug #2043413 reported by Justin Tracey
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
The Gimp
Fix Released
Unknown
gimp (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Xubuntu 23.10
GIMP 2.10.34-1

I can sometimes get a couple brush strokes in, but consistently, the program crashes quickly once I start using the drawing tablet. I thought maybe it had something to do with multi-monitor setup, but it happens when only using one monitor as well. XFCE so X, not Wayland. Tablet model is reported by xsetwacom as "Wacom Bamboo 2FG 6x8". This did not happen in Xubuntu 23.04.

```
GNU Image Manipulation Program version 2.10.34
git-describe: GIMP_2_10_34
Build: unknown rev 0 for linux
# C compiler #
 Using built-in specs.
 COLLECT_GCC=gcc
 COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/12/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 12.2.0-16ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-12 --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 --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-12-TwSidC/gcc-12-12.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-12-TwSidC/gcc-12-12.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
 Thread model: posix
 Supported LTO compression algorithms: zlib zstd
 gcc version 12.2.0 (Ubuntu 12.2.0-16ubuntu1)

# Libraries #
using babl version 0.1.106 (compiled against version 0.1.98)
using GEGL version 0.4.44 (compiled against version 0.4.42)
using GLib version 2.78.0 (compiled against version 2.75.3)
using GdkPixbuf version 2.42.10 (compiled against version 2.42.10)
using GTK+ version 2.24.33 (compiled against version 2.24.33)
using Pango version 1.51.0 (compiled against version 1.50.12)
using Fontconfig version 2.14.2 (compiled against version 2.14.1)
using Cairo version 1.18.0 (compiled against version 1.16.0)

```
> fatal error: Aborted

Stack trace:
```
/lib/x86_64-linux-gnu/libgimpbase-2.0.so.0(gimp_stack_trace_print+0x410)[0x7f15ab126360]
/usr/bin/gimp-2.10(+0xeca99)[0x564e3c60aa99]
/usr/bin/gimp-2.10(+0xecb5e)[0x564e3c60ab5e]
/usr/bin/gimp-2.10(+0xecbbd)[0x564e3c60abbd]
/lib/x86_64-linux-gnu/libc.so.6(+0x42910)[0x7f15aa242910]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b)[0x7f15aa29999b]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f15aa242866]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd7)[0x7f15aa2268b7]
/lib/x86_64-linux-gnu/libc.so.6(+0x27750)[0x7f15aa227750]
/lib/x86_64-linux-gnu/libc.so.6(+0x137b1b)[0x7f15aa337b1b]
/lib/x86_64-linux-gnu/libc.so.6(+0x138dc6)[0x7f15aa338dc6]
/usr/bin/gimp-2.10(+0x252c59)[0x564e3c770c59]
/usr/bin/gimp-2.10(gimp_device_info_get_event_coords+0x55)[0x564e3c770cb5]
/usr/bin/gimp-2.10(+0x1d6c36)[0x564e3c6f4c36]
/usr/bin/gimp-2.10(+0x1def7c)[0x564e3c6fcf7c]
/usr/bin/gimp-2.10(gimp_display_shell_canvas_tool_events+0x81)[0x564e3c6e9be1]
/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x1434d7)[0x7f15ab3434d7]
/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x140)[0x7f15aa795130]
/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x424ac)[0x7f15aa7c24ac]
/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x33312)[0x7f15aa7b3312]
/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x36)[0x7f15aa7b3bd6]
/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93)[0x7f15aa7b3c93]
/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x26f024)[0x7f15ab46f024]
/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_propagate_event+0xa4)[0x7f15ab341094]
/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main_do_event+0x36b)[0x7f15ab3426db]
/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(+0x6716b)[0x7f15ab1a616b]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5ab2c)[0x7f15aa693b2c]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0xb646f)[0x7f15aa6ef46f]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x11f)[0x7f15aa69446f]
/usr/bin/gimp-2.10(app_run+0x3c4)[0x564e3c60f254]
/usr/bin/gimp-2.10(main+0x35f)[0x564e3c6052af]
/lib/x86_64-linux-gnu/libc.so.6(+0x280d0)[0x7f15aa2280d0]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89)[0x7f15aa228189]
/usr/bin/gimp-2.10(_start+0x25)[0x564e3c605435]

```

Revision history for this message
Michael Schumacher (schumaml) wrote :

This is https://gitlab.gnome.org/GNOME/gimp/-/issues/9385 - triggered by a change in linuxwacom, fixed in GIMP 2.10.36.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gimp (Ubuntu):
status: New → Confirmed
Revision history for this message
Łukasz Zemczak (sil2100) wrote (last edit ):

This sadly affects me as well, confirmed that GIMP 2.10.36 from noble works fine. I backported the noble version to mantic in my PPA ppa:sil2100/gimp as a temporary workaround to get this working back again, but I think someone should fix this properly and upload to the -updates pocket as an SRU.

Just to be clear: for me GIMP from 23.10 is 100% unusable with my wacom tablet. Even one touch on the canvas causes the outlined crash. With 2.10.36 the crash is no more.

Changed in gimp (Ubuntu):
importance: Undecided → High
Changed in gimp:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.