Crash quitting Inkscape on startup while Text and Font dialog is loading
Steps to reproduce:
- have a lot of fonts installed (probably a requirement? It takes 40s for canvas slowdown inkscape#1107 disappear for me)
- open Inkscape
- Esc the startup screen
- open the Text and Font Dialog
- Restart Inkscape
- Esc the startup screen
- Quit Inkscape (Ctrl+Q)
What happened?
- some sort of crash in
check_resize
, at least some of the time.
Thread 1 "inkscape" received signal SIGSEGV, Segmentation fault.
0x00007ffff47d942b in Gtk::Container::resize_children (this=0x55555734ef40)
at ../gtkmm/container.h:117
117 ../gtkmm/container.h: No such file or directory.
(gdb) bt
#0 0x00007ffff47d942b in Gtk::Container::resize_children()
(this=0x55555734ef40) at ../gtkmm/container.h:117
#1 0x00007ffff785c915 in _resize_children(Gtk::Window*) (win=<optimised out>)
at ../src/inkscape-window.cpp:53
#2 0x00007ffff624904e in g_main_dispatch (context=0x5555555f6880)
at ../../../glib/gmain.c:3309
#3 g_main_context_dispatch (context=context@entry=0x5555555f6880)
at ../../../glib/gmain.c:3974
#4 0x00007ffff6249400 in g_main_context_iterate
(context=context@entry=0x5555555f6880, block=block@entry=0, dispatch=dispatch@entry=1, self=<optimised out>) at ../../../glib/gmain.c:4047
#5 0x00007ffff62494a3 in g_main_context_iteration
(context=context@entry=0x5555555f6880, may_block=may_block@entry=0)
at ../../../glib/gmain.c:4108
#6 0x00007ffff527905a in g_application_run
(application=0x5555557fa210 [gtkmm__GtkApplication], argc=<optimised out>, argv=<optimised out>) at ../../../gio/gapplication.c:2584
#7 0x0000555555557364 in main(int, char**)
(argc=<optimised out>, argv=<optimised out>)
at /usr/include/glibmm-2.4/glibmm/refptr.h:405
What should have happened?
Version Info:
- Inkscape 1.2-dev (bee661db15, 2021-04-18) appimage and personal build Linux Mint 20
- No crash so far with inkscape@4797f3ca, but crashes don't occur all the time