[Debian-astro-maintainers] Bug#997359: Inkscape crashes when running as batch without X11

Ole Streicher olebole at debian.org
Sun Oct 24 16:14:19 BST 2021


Control: reassign -1 inkscape 1.1.1-2
Control: affects -1 src:debian-astro
Control: retitle -1 Inkscape crashes when running as batch without X11

Inkscape is used during the debian-astro package to create a png icon
from the original svg image. This now crashes:


--------------------------8<---------------------------------------------------------
$ DISPLAY= inkscape --batch-process Debian-Astro-logo.svg --export-width=25 --export-filename=Debian-Astro-logo-25x39.png
Unable to init server: Could not connect: Connection refused

(inkscape:187075): Gtk-CRITICAL **: 17:05:58.380: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' 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.

(inkscape:187075): Gtk-CRITICAL **: 17:05:58.381: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(inkscape:187075): Gtk-CRITICAL **: 17:05:58.381: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(inkscape:187075): Gtk-CRITICAL **: 17:05:58.381: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
Speicherzugriffsfehler (Speicherabzug geschrieben)
--------------------------8<---------------------------------------------------------

This is the backtrace:

(gdb) bt
#0  0x00007ffff4ac4eef in Gtk::IconTheme::prepend_search_path(Glib::ustring const&) ()
     at /usr/bin/../lib/x86_64-linux-gnu/inkscape/../libgtkmm-3.0.so.1
#1  0x00007ffff77ec85e in Inkscape::Application::Application(bool) ()
     at /usr/bin/../lib/x86_64-linux-gnu/inkscape/libinkscape_base.so
#2  0x00007ffff77ed1c0 in Inkscape::Application::create(bool) ()
     at /usr/bin/../lib/x86_64-linux-gnu/inkscape/libinkscape_base.so
#3  0x00007ffff788a03a in InkscapeApplication::on_startup2() ()
     at /usr/bin/../lib/x86_64-linux-gnu/inkscape/libinkscape_base.so
#4  0x00007ffff7896389 in InkscapeApplication::on_open(std::vector<Glib::RefPtr<Gio::File>, std::allocator<Glib::RefPtr<Gio::File> > > const&, Glib::ustring const&) ()
     at /usr/bin/../lib/x86_64-linux-gnu/inkscape/libinkscape_base.so
#5  0x00007ffff63393ad in  () at /usr/lib/x86_64-linux-gnu/libgiomm-2.4.so.1
#6  0x00007ffff546b6cf in g_closure_invoke ()
     at /usr/bin/../lib/x86_64-linux-gnu/inkscape/../libgobject-2.0.so.0
#7  0x00007ffff547dc92 in  () at /usr/bin/../lib/x86_64-linux-gnu/inkscape/../libgobject-2.0.so.0
#8  0x00007ffff5483d5f in g_signal_emit_valist ()
     at /usr/bin/../lib/x86_64-linux-gnu/inkscape/../libgobject-2.0.so.0
#9  0x00007ffff54842cf in g_signal_emit ()
     at /usr/bin/../lib/x86_64-linux-gnu/inkscape/../libgobject-2.0.so.0
#10 0x00007ffff55934c8 in  () at /usr/bin/../lib/x86_64-linux-gnu/inkscape/../libgio-2.0.so.0
#11 0x00007ffff559376e in g_application_run ()
     at /usr/bin/../lib/x86_64-linux-gnu/inkscape/../libgio-2.0.so.0
#12 0x00007ffff5defe4a in __libc_start_main (main=
     0x5555555565e0 <main>, argc=5, argv=0x7fffffffe0b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe0a8) at ../csu/libc-start.c:314
#13 0x0000555555556eba in _start ()


This happend before in #959885, but was not really reproducible.

Best regards

Ole



More information about the Debian-astro-maintainers mailing list