<!-- Copy-paste this whole debug data to report to developers --> ``` 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=x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/12/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-12.2.1_p20230121-r1/work/gcc-12-20230121/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/12 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/12/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/12/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 12.2.1_p20230121-r1 p10' --with-gcc-major-version-only --disable-esp --enable-libstdcxx-time --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --without-zstd --enable-lto --without-isl --enable-default-pie --enable-default-ssp Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.2.1 20230121 (Gentoo 12.2.1_p20230121-r1 p10) # Libraries # using babl version 0.1.102 (compiled against version 0.1.102) using GEGL version 0.4.44 (compiled against version 0.4.40) using GLib version 2.76.3 (compiled against version 2.76.2) 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.50.14 (compiled against version 1.50.12) using Fontconfig version 2.14.2 (compiled against version 2.14.2) using Cairo version 1.17.8 (compiled against version 1.17.6) ``` > fatal error: Aborted Stack trace: ``` /usr/lib64/libgimpbase-2.0.so.0(gimp_stack_trace_print+0x3f7)[0x7fafd19e96a7] gimp(+0xdba42)[0x56256fca7a42] gimp(+0xdbe28)[0x56256fca7e28] gimp(+0xdc489)[0x56256fca8489] /lib64/libc.so.6(+0x385d0)[0x7fafd0c815d0] /lib64/libc.so.6(+0x85d0c)[0x7fafd0cced0c] /lib64/libc.so.6(gsignal+0x12)[0x7fafd0c81532] /lib64/libc.so.6(abort+0xd3)[0x7fafd0c6b4b2] /lib64/libc.so.6(+0x233b5)[0x7fafd0c6c3b5] /lib64/libc.so.6(+0x113175)[0x7fafd0d5c175] /lib64/libc.so.6(__fortify_fail+0x0)[0x7fafd0d5c160] gimp(+0x239621)[0x56256fe05621] gimp(gimp_device_info_get_event_coords+0x51)[0x56256fe05681] gimp(+0x1bf2a6)[0x56256fd8b2a6] gimp(+0x1bfe95)[0x56256fd8be95] gimp(gimp_display_shell_canvas_tool_events+0x79)[0x56256fd8d929] /usr/lib64/libgtk-x11-2.0.so.0(+0x137d87)[0x7fafd1b37d87] /usr/lib64/libgobject-2.0.so.0(g_closure_invoke+0x160)[0x7fafd10894f0] /usr/lib64/libgobject-2.0.so.0(+0x2934a)[0x7fafd109c34a] /usr/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0x760)[0x7fafd10a2610] /usr/lib64/libgobject-2.0.so.0(g_signal_emit+0x97)[0x7fafd10a2fd7] /usr/lib64/libgtk-x11-2.0.so.0(+0x256044)[0x7fafd1c56044] /usr/lib64/libgtk-x11-2.0.so.0(gtk_widget_send_focus_change+0x93)[0x7fafd1c620a3] /usr/lib64/libgtk-x11-2.0.so.0(+0x265045)[0x7fafd1c65045] /usr/lib64/libgtk-x11-2.0.so.0(+0x26cda6)[0x7fafd1c6cda6] /usr/lib64/libgtk-x11-2.0.so.0(+0x26cfb2)[0x7fafd1c6cfb2] /usr/lib64/libgtk-x11-2.0.so.0(+0x137d87)[0x7fafd1b37d87] /usr/lib64/libgobject-2.0.so.0(g_closure_invoke+0x160)[0x7fafd10894f0] /usr/lib64/libgobject-2.0.so.0(+0x29479)[0x7fafd109c479] /usr/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0x760)[0x7fafd10a2610] /usr/lib64/libgobject-2.0.so.0(g_signal_emit+0x97)[0x7fafd10a2fd7] /usr/lib64/libgtk-x11-2.0.so.0(+0x256044)[0x7fafd1c56044] /usr/lib64/libgtk-x11-2.0.so.0(gtk_main_do_event+0x4db)[0x7fafd1b369cb] /usr/lib64/libgdk-x11-2.0.so.0(+0x5fcec)[0x7fafd1f31cec] /usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x2ac)[0x7fafd0f891dc] /usr/lib64/libglib-2.0.so.0(+0x5a478)[0x7fafd0f89478] /usr/lib64/libglib-2.0.so.0(g_main_loop_run+0x6f)[0x7fafd0f8972f] gimp(app_run+0x339)[0x56256fca7209] gimp(main+0x35f)[0x56256fca6b1f] /lib64/libc.so.6(+0x238ca)[0x7fafd0c6c8ca] /lib64/libc.so.6(__libc_start_main+0x85)[0x7fafd0c6c985] gimp(_start+0x21)[0x56256fca6ca1] ``` Occurs whenever gimp is interacted with in (as far as I can tell) any way using a stylus. Stylus is used with a Huion pen display, and wacom kernel drivers. This bug occurred sometime after updating gimp, but unfortunately I cannot remember which version it worked on. I tried replicating the bug with version 2.10.32-r4, and it also crashed but took slightly longer: I was able to draw a line and then it crashed when I began drawing a second one. I additionally tried downgrading x11-drivers/xf86-input-wacom to version 1.1.0, but this did not resolve the crash Here is the my 42-libinput.conf: ``` Section "InputClass" Identifier "Huion Stylus" MatchDevicePath "/dev/input/event*" MatchUSBID "256c:006e" Driver "wacom" EndSection Section "InputClass" Identifier "Huion Buttons" MatchUSBID "256c:006e" MatchIsKeyboard "on" MatchDevicePath "/dev/input/event*" Driver "evdev" EndSection Section "InputClass" Identifier "Huion Scroll" MatchUSBID "256c:006e" MatchIsPointer "off" MatchIsKeyboard "off" MatchIsTouchpad "off" MatchIsTablet "off" MatchIsTouchscreen "off" MatchDevicePath "/dev/input/event*" Driver "evdev" EndSection ``` I should note there is no crash when using stylus buttons or the scroll, so the bug may be in the interaction between the wacom driver and gimp. Kernel options: CONFIG_INPUT_TABLET=y CONFIG_TABLET_SERIAL_WACOM4=y CONFIG_INPUT_TOUCHSCREEN=y CONFIG_INPUT_WACOM_I2C=y
> (In reply to Bailey Bussiere from comment #0) > I additionally tried downgrading x11-drivers/xf86-input-wacom to version 1.1.0, but this did not resolve the crash Did you initially reboot you system after dowgrading of xf86-input-wacom driver to version 1.1.0 before the crash was reproduced again?
(In reply to Sergey Torokhov from comment #1) > > (In reply to Bailey Bussiere from comment #0) > > I additionally tried downgrading x11-drivers/xf86-input-wacom to version 1.1.0, but this did not resolve the crash > > Did you initially reboot you system after dowgrading of xf86-input-wacom > driver to version 1.1.0 before the crash was reproduced again? I did not originally, which in hindsight seems like the obvious thing to do. Now that I have rebooted with xf86-input-wacom-1.1.0 the crash appears not to be happening. I suppose the bug is with the most recent wacom drivers after all. With version 1.2.0 interestingly the bug was not happening with inkscape or any other program that I noticed, just Gimp. I will try using Gimp with the 1.1.0 version of the wacom drivers for an extended period of time and see if the crash happens at all, but as of yet I have been unable to reproduce it with 1.1.0.
Thanks for response I then close thisil issue as duplicate. There are two proposed similar merge request mentioned in wacom upstream issue https://github.com/linuxwacom/xf86-input-wacom/issues/307 but no one of them still is merged. Also this issue is related to gtk2: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6045 *** This bug has been marked as a duplicate of bug 906995 ***