Inkscape crashes on startup due to Gdk::Device::get_source() error
Inkscape 1.3.2 crashes immediately upon startup on Fedora Linux 39. The crash occurs in the Inkscape::Application::crash_handler function and seems to be related to the initialization of the Inkscape::DeviceManagerImpl object and the interaction with the Gtk/Gdk libraries.
Steps to reproduce:
- Open Inkscape
What happened?
Inkscape crashes immediately after launching, displaying a crash handler message. The stack trace indicates that the crash occurs in the Inkscape::Application::crash_handler function, specifically during the initialization of the Inkscape::DeviceManagerImpl object.
What should have happened?
Inkscape should start normally without crashing.
Version info:
Inkscape 1.3.2 (091e20ef0f, 2023-11-25)
GLib version: 2.78.3
GTK version: 3.24.41
glibmm version: 2.66.6
gtkmm version: 3.24.8
libxml2 version: 2.10.4
libxslt version: 1.1.39
Cairo version: 1.18.0
Pango version: 1.51.0
HarfBuzz version: 8.2.1
OS version: Fedora Linux 39 (Thirty Nine)
Stack trace:
0# Inkscape::Application::crash_handler(int) in /app/bin/../lib64/inkscape/libinkscape_base.so.1.3.2.0
1# 0x00007F9B50E5C9A0 in /lib64/libc.so.6
2# Gdk::Device::get_source() const in /app/lib64/libgdkmm-3.0.so.1
3# 0x00007F9B52746615 in /app/bin/../lib64/inkscape/libinkscape_base.so.1.3.2.0
4# Inkscape::DeviceManagerImpl::DeviceManagerImpl() in /app/bin/../lib64/inkscape/libinkscape_base.so.1.3.2.0
5# Inkscape::DeviceManager::getManager() in /app/bin/../lib64/inkscape/libinkscape_base.so.1.3.2.0
6# Inkscape::Application::Application(bool) in /app/bin/../lib64/inkscape/libinkscape_base.so.1.3.2.0
7# Inkscape::Application::create(bool) in /app/bin/../lib64/inkscape/libinkscape_base.so.1.3.2.0
8# InkscapeApplication::on_startup() in /app/bin/../lib64/inkscape/libinkscape_base.so.1.3.2.0
9# Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) in /app/lib64/libglibmm-2.4.so.1
10# g_closure_invoke in /lib64/libgobject-2.0.so.0
11# 0x00007F9B5034C3A5 in /lib64/libgobject-2.0.so.0
12# 0x00007F9B5033CD59 in /lib64/libgobject-2.0.so.0
13# g_signal_emit_valist in /lib64/libgobject-2.0.so.0
14# g_signal_emit in /lib64/libgobject-2.0.so.0
15# g_application_register in /lib64/libgio-2.0.so.0
16# 0x00007F9B507D052E in /lib64/libgio-2.0.so.0
17# g_application_run in /lib64/libgio-2.0.so.0
18# main in inkscape
19# 0x00007F9B50E4614A in /lib64/libc.so.6
20# __libc_start_main in /lib64/libc.so.6
21# _start in inkscape
This issue has been observed with both the Flatpak and Fedora builds of Inkscape.
Edited by Nikology