Crash on start after config reset
<!--
See our full bug reporting guidelines at https://inkscape.org/contribute/report-bugs/
Writing a good bug report will ensure we'll be able to help efficiently. 🙂
-->
#### Summary:
<!-- Summarize the issue/suggestion concisely: -->
Inkscape crashes on start-up
#### Steps to reproduce:
<!-- Describe what you did (step-by-step) so we can reproduce: -->
- remove Appdata/Roaming/Inkscape folder to force Inkscape to reset to default settings (because of previous crashes)
- open Inkscape
- it will show Welcome dialog
- create New Project, or try to open existing one
#### What happened?
Inkscape crash
Sample attachments:
<pre>
0# boost::stacktrace::basic_stacktrace<std::allocator<boost::stacktrace::frame> >::init(unsigned long long, unsigned long long) in libinkscape_base
1# Inkscape::Application::crash_handler(int) in libinkscape_base
2# 0x00007FF6EC392412 in inkscape
3# _C_specific_handler in ntdll
4# _chkstk in ntdll
5# _RtlFindCharInUnicodeString in ntdll
6# _KiUserExceptionDispatcher in ntdll
7# Glib::ustring::compose_argv(Glib::ustring const&, int, Glib::ustring const* const*) in libglibmm_2_4_1
8# rebuild_menu(Glib::RefPtr<Gio::MenuModel> const&, Glib::RefPtr<Gio::Menu> const&, UseIcons, Glib::Quark const&, Glib::RefPtr<Gio::Menu>&) in libinkscape_base
9# build_menu() in libinkscape_base
10# InkscapeWindow::InkscapeWindow(SPDocument*) in libinkscape_base
11# InkscapeApplication::window_open(SPDocument*) in libinkscape_base
12# InkscapeApplication::create_window(SPDocument*, bool) in libinkscape_base
13# InkscapeApplication::process_document(SPDocument*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in libinkscape_base
14# InkscapeApplication::on_activate() in libinkscape_base
15# Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) in libglibmm_2_4_1
16# _g_closure_invoke in libgobject_2_0_0
17# _g_param_spec_variant in libgobject_2_0_0
18# _g_param_spec_variant in libgobject_2_0_0
19# _g_signal_emit in libgobject_2_0_0
20# _g_application_open in libgio_2_0_0
21# _g_application_run in libgio_2_0_0
22# 0x00007FF6EC3941C2 in inkscape
23# 0x00007FF6EC3912EE in inkscape
24# 0x00007FF6EC3913E6 in inkscape
25# _BaseThreadInitThunk in KERNEL32
26# _RtlUserThreadStart in ntdll
</pre>
<details><summary>System info</summary>
Inkscape 1.4-beta2 (9aaf4f3498, 2024-07-30)
Compile (Run)
GLib version: 2.80.4
GTK version: 3.24.43 (3.24.43)
glibmm version: 2.66.7
gtkmm version: 3.24.9
libxml2 version: 2.12.9
libxslt version: 1.1.42
Cairo version: 1.18.0 (1.18.0)
Pango version: 1.54.0 (1.54.0)
HarfBuzz version: 9.0.0 (9.0.0)
OS version: Windows 11 23H2
</details>
issue