Fatal Error when activating dynamics due to driver clashing with GDK_AXIS_LAST (related to gimp_device_info_get_event_coords)
Environment/Versions
- GIMP version:2.10.34
- Package: Occurs in both Flatpak and Arch Community Repository
- Operating System: Manjaro
Description of the bug
As long as the wacom pen is disabled, all works fine. (Though obviously with no dynamics). As soon as dynamics are activated in the input controller settings, a random crash will occur; usually when trying to move a slider or tap a toggle in the GUI/Tool Options. On canvas controls actually work until that point. Can draw with dynamics until I tap to try to change something, leading to a fatal error.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Open Edit --> Input Devices and change the wacom pen setting to screen
- Tap in the toolbox or tool options area to try to change a setting
- Paste bug report.
…
Expected result: It works
Actual result: It crashes
Additional information
I plugged in my old Huion drawing tablet and it worked fine. But in order to get buttons on it working, you have to create a .conf file to make the xsetwacom recognize it. As soon as I did that, it began crashing with the same error, meaning I guess it has to have something to do with the wacom driver? I uninstalled, deleted all configs, and reinstalled everything having to do with wacom just to be on the safe side, but did not solve the issue.
GNU Image Manipulation Program version 2.10.34
git-describe: GIMP_2_10_34
Build: org.gimp.GIMP.flatpak.stable rev 0 for linux
# C compiler #
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/12.2.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-tune=generic --enable-deterministic-archives --enable-shared --build=x86_64-bootstrapper-linux-gnu --host=x86_64-unknown-linux-gnu lt_cv_sys_lib_dlsearch_path_spec=/usr/lib/x86_64-linux-gnu --target=x86_64-unknown-linux-gnu --disable-multilib --enable-multiarch --disable-bootstrap --with-build-sysroot=/cross-installation --enable-languages=c,c++,fortran,objc,obj-c++ --enable-default-pie --enable-default-ssp --with-isl --disable-libssp --enable-linker-build-id --disable-libstdcxx-filesystem-ts --enable-cet host_configargs=lt_cv_sys_lib_dlsearch_path_spec=/usr/lib/x86_64-linux-gnu target_configargs=lt_cv_sys_lib_dlsearch_path_spec=/usr/lib/x86_64-linux-gnu --with-tune=generic
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.2.0 (GCC)
# Libraries #
using babl version 0.1.102 (compiled against version 0.1.102)
using GEGL version 0.4.44 (compiled against version 0.4.44)
using GLib version 2.74.6 (compiled against version 2.74.6)
using GdkPixbuf version 2.42.10 (compiled against version 2.42.10)
using GTK+ version 2.24.32 (compiled against version 2.24.32)
using Pango version 1.50.14 (compiled against version 1.50.14)
using Fontconfig version 2.14.1 (compiled against version 2.14.1)
using Cairo version 1.17.8 (compiled against version 1.17.8)
# Flatpak info #
[Application]
name=org.gimp.GIMP
runtime=runtime/org.gnome.Platform/x86_64/43
[Instance]
instance-id=2883136555
instance-path=/home/paulie76/.var/app/org.gimp.GIMP
app-path=/var/lib/flatpak/app/org.gimp.GIMP/x86_64/stable/af2b348ebd61d80ce79a2c78c43ed991897f170a112c1dc223dfd1115e2cfd1d/files
app-commit=af2b348ebd61d80ce79a2c78c43ed991897f170a112c1dc223dfd1115e2cfd1d
app-extensions=org.gimp.GIMP.Plugin.GMic=84ba316ae34cd58c52b1e124708b1b2f32084b67c69d29c6389f306b019b8fdd;org.gimp.GIMP.Plugin.LiquidRescale=83626de9daa6fe482873254ab42b52bf41fe5068d52fc73d059d30c5b90051ae;org.gimp.GIMP.Plugin.Resynthesizer=aa5e980797e48a1a1294729eb985a642c8a0e1a951d3e33e521b920309b0ba3c;org.gimp.GIMP.Plugin.Resynthesizer.Locale=1d593680d86e621e8b7374b713b3c02d6ea5cd04708ed58cbd6fd3e4a64fed59
runtime-path=/var/lib/flatpak/runtime/org.gnome.Platform/x86_64/43/c4c4c30cbefd9109cba49dfc515758d7f1edca36ff423f972875b86d7c86b2a3/files
runtime-commit=c4c4c30cbefd9109cba49dfc515758d7f1edca36ff423f972875b86d7c86b2a3
runtime-extensions=org.gnome.Platform.Locale=78af3bc7a5eebe5f7149a8643dfa04cbe802eb63aed7d4cf3ee273da78ac76c0;org.freedesktop.Platform.GL.default=abee275b6a5b094d49a289430687fc7cbcfd7470f49faabe68f4d926bb760f24;org.freedesktop.Platform.GL.nvidia-530-41-03=67d680dff055dd6d1d76770c5a6688bb7093f363352b5d2441e6e052e613358f;org.freedesktop.Platform.openh264=bf24f23f3ba385f6e8c9215ed94d979db99814b0b614504a23a6d0751dc5f063;org.freedesktop.Platform.GL.default=39d4171ee0ababb7e9568ec43f2097bb5c19be55af47c76f029a8884f066e3fd
branch=stable
arch=x86_64
flatpak-version=1.15.4
session-bus-proxy=true
system-bus-proxy=true
[Context]
shared=network;ipc;
sockets=x11;
devices=dri;
filesystems=xdg-config/GIMP;xdg-config/gtk-3.0;/tmp;xdg-run/gvfsd;host;xdg-run/gvfs;
[Session Bus Policy]
org.kde.kwin.Screenshot=talk
org.gtk.vfs.*=talk
org.gnome.Shell.Screenshot=talk
org.freedesktop.FileManager1=talk
[Environment]
ALSA_CONFIG_PATH=/usr/share/alsa/alsa-flatpak.conf
GI_TYPELIB_PATH=/app/lib/girepository-1.0
GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0:/usr/lib/extensions/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0
XDG_DATA_DIRS=/app/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share
ALSA_CONFIG_DIR=/usr/share/alsa
__EGL_EXTERNAL_PLATFORM_CONFIG_DIRS=/etc/egl/egl_external_platform.d:/usr/lib/x86_64-linux-gnu/GL/egl/egl_external_platform.d:/usr/share/egl/egl_external_platform.d
fatal error: Aborted
Stack trace:
/app/lib/libgimpbase-2.0.so.0(gimp_stack_trace_print+0x427)[0x7fba9bcbd3c7]
gimp-2.10(+0xfb617)[0x560a945b7617]
gimp-2.10(+0xfba1c)[0x560a945b7a1c]
gimp-2.10(+0xfc08e)[0x560a945b808e]
/usr/lib/x86_64-linux-gnu/libc.so.6(+0x3f0c0)[0x7fba9a83f0c0]
/usr/lib/x86_64-linux-gnu/libc.so.6(+0x91184)[0x7fba9a891184]
/usr/lib/x86_64-linux-gnu/libc.so.6(raise+0x1e)[0x7fba9a83f00e]
/usr/lib/x86_64-linux-gnu/libc.so.6(abort+0xd7)[0x7fba9a8287fc]
/usr/lib/x86_64-linux-gnu/libc.so.6(+0x84c1e)[0x7fba9a884c1e]
/usr/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x2a)[0x7fba9a927c1a]
/usr/lib/x86_64-linux-gnu/libc.so.6(+0x127be4)[0x7fba9a927be4]
gimp-2.10(+0x29dfd9)[0x560a94759fd9]
gimp-2.10(gimp_device_info_get_event_coords+0x58)[0x560a9475a038]
gimp-2.10(+0x20f61b)[0x560a946cb61b]
gimp-2.10(+0x21027e)[0x560a946cc27e]
gimp-2.10(gimp_display_shell_canvas_tool_events+0x82)[0x560a946cdfd2]
/app/lib/libgtk-x11-2.0.so.0(+0x152601)[0x7fba9b952601]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x172)[0x7fba9ae5f4f2]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x2c1e8)[0x7fba9ae741e8]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x8c6)[0x7fba9ae7aac6]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93)[0x7fba9ae7b363]
/app/lib/libgtk-x11-2.0.so.0(+0x27cc24)[0x7fba9ba7cc24]
/app/lib/libgtk-x11-2.0.so.0(gtk_widget_send_focus_change+0x95)[0x7fba9ba897d5]
/app/lib/libgtk-x11-2.0.so.0(+0x28c832)[0x7fba9ba8c832]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x172)[0x7fba9ae5f4f2]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x2c303)[0x7fba9ae74303]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xf95)[0x7fba9ae7b195]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93)[0x7fba9ae7b363]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x172)[0x7fba9ae5f4f2]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x2c303)[0x7fba9ae74303]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xf95)[0x7fba9ae7b195]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93)[0x7fba9ae7b363]
/app/lib/libgtk-x11-2.0.so.0(gtk_widget_grab_focus+0x6a)[0x7fba9ba7de3a]
/app/lib/libgtk-x11-2.0.so.0(+0x9fd2e)[0x7fba9b89fd2e]
/app/lib/libgtk-x11-2.0.so.0(+0x152601)[0x7fba9b952601]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x172)[0x7fba9ae5f4f2]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x2c303)[0x7fba9ae74303]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x8c6)[0x7fba9ae7aac6]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93)[0x7fba9ae7b363]
/app/lib/libgtk-x11-2.0.so.0(+0x27cc24)[0x7fba9ba7cc24]
/app/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xa3)[0x7fba9b950653]
/app/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x35b)[0x7fba9b950abb]
/app/lib/libgdk-x11-2.0.so.0(+0x67a88)[0x7fba9bda7a88]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x191)[0x7fba9ad5b681]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5bbd8)[0x7fba9ad5bbd8]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x7f)[0x7fba9ad5bebf]
gimp-2.10(app_run+0x305)[0x560a945b6dd5]
gimp-2.10(main+0x35f)[0x560a945b670f]
/usr/lib/x86_64-linux-gnu/libc.so.6(+0x2954a)[0x7fba9a82954a]
/usr/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b)[0x7fba9a82960b]
gimp-2.10(_start+0x25)[0x560a945b6885]