GIMP crashes every time I open Edit -> Input Devices
Environment/Versions
- GIMP version:
- Package: Flatpak from https://nightly.gnome.org/repo/appstream/org.gimp.GIMP
- Operating System: Linux, Fedora 34
- Using wayland
Description of the bug
Every time I open the Edit -> Input Devices dialog, I get a popup telling me GIMP has crashed. I suspect this may be related to the input devices I have, I have a touchpad, a touchscreen and a tablet input (I'm on a Yoga laptop if that's relevant, the tablet is built-in in the screen, just as is the touchscreen).
Let me know if I should provide any more info, I'm just unsure what will be needed for this.
Reproduction
- Start GIMP 2.99.8
- Using the stylus, go to Edit -> Input devices. Here, the use of the stylus is important. I don't get a crash otherwise. The stylus is an active pen, so this is not just touchscreen input. To select the Edit menu and then Input Devices, I am using a special button on my stylus pen which seems to be interpreted in most GTK applications correctly.
Expected result: No crash
Actual result: Crash/GIMP Debug dialog
Additional information
GNU Image Manipulation Program version 2.99.9
git-describe: e9ef4b7
Build: org.gimp.GIMP.flatpak.nightly rev 0 for linux
# C compiler #
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/11.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 --enable-deterministic-archives --enable-shared --build=x86_64-unknown-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
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.2.0 (GCC)
# Libraries #
using babl version 0.1.89 (compiled against version 0.1.89)
using GEGL version 0.4.32 (compiled against version 0.4.32)
using GLib version 2.71.0 (compiled against version 2.71.0)
using GdkPixbuf version 2.42.7 (compiled against version 2.42.7)
using GTK+ version 3.24.30 (compiled against version 3.24.30)
using Pango version 1.50.1 (compiled against version 1.50.1)
using Fontconfig version 2.13.1 (compiled against version 2.13.1)
using Cairo version 1.17.4 (compiled against version 1.17.4)
# Flatpak info #
[Application]
name=org.gimp.GIMP
runtime=runtime/org.gnome.Platform/x86_64/master
[Instance]
instance-id=2668256758
instance-path=/home/ilex/.var/app/org.gimp.GIMP
app-path=/home/ilex/.local/share/flatpak/app/org.gimp.GIMP/x86_64/master/d9dba567ce59720c60bd4641135246465a2eed5697e81877e30a0258e68380ee/files
app-commit=d9dba567ce59720c60bd4641135246465a2eed5697e81877e30a0258e68380ee
runtime-path=/home/ilex/.local/share/flatpak/runtime/org.gnome.Platform/x86_64/master/286d72d9f7cd1ecf86d0fb6ca040078e4b74c9ac55afc89677ed9e9988c25a4b/files
runtime-commit=286d72d9f7cd1ecf86d0fb6ca040078e4b74c9ac55afc89677ed9e9988c25a4b
runtime-extensions=org.gnome.Platform.Locale=c42e64ea6b6b55b44d3ec3274b5639fca1c747dba4aa18d3f3b92c739baaff18;org.freedesktop.Platform.GL.default=6bf43bd3988d8d3d6b34b3679496e2a8e7100d1bffadf5fdfea9c4870f1fb245;org.freedesktop.Platform.VAAPI.Intel=365d8e9cb60e981b56352595e0e66c036d637267953eb5c3f88785e225a1915e;org.freedesktop.Platform.openh264=901b15dbafbcefe928647df945f36e840a302993c234aba7ebcc11a5d2501a74;org.freedesktop.Platform.openh264=83ce50aaea6ba87ac96c5156fe1f71d3d50e797a7cec61a398db2ca0fceeae00
branch=master
arch=x86_64
flatpak-version=1.10.2
session-bus-proxy=true
system-bus-proxy=true
[Context]
shared=network;ipc;
sockets=x11;wayland;fallback-x11;
devices=dri;
filesystems=xdg-config/GIMP;xdg-config/gtk-3.0;/tmp;xdg-run/gvfsd;host;xdg-run/gvfs;
[Session Bus Policy]
org.gtk.vfs.*=talk
org.gtk.vfs=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
GIMP-CRITICAL: gimp_device_info_ignore_axis: assertion 'axis >= 0 && axis < info->priv->n_axes' failed
Stack trace:
/app/lib/libgimpbase-3.0.so.0(gimp_stack_trace_print+0x417) [0x7fe131ac8f87]
gimp-2.99(gui_message+0x311) [0x56313566d2e1]
gimp-2.99(gimp_show_message+0xce) [0x5631357ab8ce]
gimp-2.99(+0x103751) [0x563135654751]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_logv+0x242) [0x7fe1315c9b32]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log+0x93) [0x7fe1315c9e33]
gimp-2.99(gimp_device_info_ignore_axis+0xa2) [0x56313578b882]
gimp-2.99(+0x533dc3) [0x563135a84dc3]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x1c393) [0x7fe131305393]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new_valist+0x18a) [0x7fe131306dfa]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new+0x9f) [0x7fe13130739f]
gimp-2.99(+0x5325eb) [0x563135a835eb]
gimp-2.99(+0x532ace) [0x563135a83ace]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x1c393) [0x7fe131305393]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new_valist+0x18a) [0x7fe131306dfa]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new+0x9f) [0x7fe13130739f]
gimp-2.99(input_devices_dialog_new+0x140) [0x5631359e9630]
gimp-2.99(+0x1d012c) [0x56313572112c]
gimp-2.99(+0x1d1857) [0x563135722857]
gimp-2.99(gimp_dialog_factory_dialog_new+0xdc) [0x563135722f3c]
gimp-2.99(dialogs_create_toplevel_cmd_callback+0x66) [0x5631359a9096]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x179) [0x7fe1312ff3e9]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x29dcf) [0x7fe131312dcf]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x110f) [0x7fe131319c3f]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93) [0x7fe131319d93]
gimp-2.99(gimp_action_emit_activate+0x5b) [0x5631356f619b]
gimp-2.99(+0x2123df) [0x5631357633df]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x179) [0x7fe1312ff3e9]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x29a42) [0x7fe131312a42]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x110f) [0x7fe131319c3f]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93) [0x7fe131319d93]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3f6b46) [0x7fe130d97b46]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x16618) [0x7fe1312ff618]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x104b) [0x7fe131319b7b]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93) [0x7fe131319d93]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_activate+0x5c) [0x7fe130d47f6c]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_menu_shell_activate_item+0x146) [0x7fe130bea756]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x249aa6) [0x7fe130beaaa6]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0xa6f85) [0x7fe130a47f85]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x16618) [0x7fe1312ff618]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x33c) [0x7fe131318e6c]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93) [0x7fe131319d93]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3a3c54) [0x7fe130d44c54]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x23014f) [0x7fe130bd114f]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_main_do_event+0x7bc) [0x7fe130bd2dfc]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x418c2) [0x7fe1308d78c2]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x784cf) [0x7fe13090e4cf]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x19b) [0x7fe1315c1c3b]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5a148) [0x7fe1315c2148]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83) [0x7fe1315c2463]
gimp-2.99(app_run+0x2c7) [0x563135654337]
gimp-2.99(main+0x399) [0x563135651b79]
/usr/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fe12ff9cb90]
gimp-2.99(_start+0x2e) [0x563135651cde]
Edited by Ilia Bozhinov