Skip to content

Arch Linux Inkscape Crash on starting New Document

Summary:

Arch Linux: Inkscape crashing when loading any file or starting a new document

Steps to reproduce:

  • open Inkscape
  • It loads onto the starter menu with quick setup, supported by you, time to draw.
  • Click "Time to Draw"
  • Then either clicking "new document" or "Open" will immediately crash the program

In the last few days I have: I have installed a new font into /usr/local/share/fonts/ttf and run fc-cache etc. following https://wiki.archlinux.org/title/Fonts The inkscape which was open at the time worked still, but since will not open as described above.

I have yay -Rns inkscape Then yay -S inkscape to complete reinstall the program

This did not resolve so I also removed files: yay -Rns inkscape rm -rf ~/.config/inkscape yay -S inkscape

Still does not work.

I am new to arch, so please advise me if you need further information, I will try and provide it.

The most recent errors are:

Command line:

/usr/include/c++/14.2.1/bits/stl_vector.h:1130: constexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator [with _Tp = std::__cxx11::basic_string; _Alloc = std::allocator<std::__cxx11::basic_string >; reference = std::__cxx11::basic_string&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.

Emergency save activated! Emergency save completed. Inkscape will close now. If you can reproduce this crash, please file a bug at https://inkscape.org/report with a detailed description of the steps leading to the crash, so we can fix it. [1] 5107 IOT instruction (core dumped) inkscape

Inkscape crash report

 0# Inkscape::Application::crash_handler(int) in /usr/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
 1# 0x0000700846A4C1D0 in /usr/lib/libc.so.6
 2# 0x0000700846AA53F4 in /usr/lib/libc.so.6
 3# gsignal in /usr/lib/libc.so.6
 4# abort in /usr/lib/libc.so.6
 5# std::chrono::_V2::system_clock::now() in /usr/lib/libstdc++.so.6
 6# 0x00007008487AF17D in /usr/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
 7# build_menu() in /usr/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
 8# InkscapeWindow::InkscapeWindow(SPDocument*) in /usr/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
 9# InkscapeApplication::window_open(SPDocument*) in /usr/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
10# InkscapeApplication::create_window(SPDocument*, bool) in /usr/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
11# InkscapeApplication::process_document(SPDocument*, std::__cxx11::basic_string, std::allocator >) in /usr/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
12# InkscapeApplication::on_activate() in /usr/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
13# Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) in /usr/lib/libglibmm-2.4.so.1
14# g_closure_invoke in /usr/bin/../lib/inkscape/../libgobject-2.0.so.0
15# 0x0000700846F998DF in /usr/bin/../lib/inkscape/../libgobject-2.0.so.0
16# 0x0000700846F89CA9 in /usr/bin/../lib/inkscape/../libgobject-2.0.so.0
17# g_signal_emit_valist in /usr/bin/../lib/inkscape/../libgobject-2.0.so.0
18# g_signal_emit in /usr/bin/../lib/inkscape/../libgobject-2.0.so.0
19# 0x0000700845B25A21 in /usr/bin/../lib/inkscape/../libgio-2.0.so.0
20# g_application_run in /usr/bin/../lib/inkscape/../libgio-2.0.so.0
21# main in inkscape
22# 0x0000700846A34E08 in /usr/lib/libc.so.6
23# __libc_start_main in /usr/lib/libc.so.6
24# _start in inkscape
System info Inkscape 1.4 (e7c3feb100, 2024-10-09)
                  Compile  (Run)
GLib version:     2.82.1
GTK version:      3.24.43 (3.24.43)
glibmm version:   2.66.7
gtkmm version:    3.24.9
libxml2 version:  2.13.4
libxslt version:  1.1.42
Cairo version:    1.18.2 (1.18.2)
Pango version:    1.54.0 (1.54.0)
HarfBuzz version: 10.0.1 (10.0.1)

OS version:       Arch Linux
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information