Crash only on CLI png export
Summary:
Non-GUI but CLI inkscape SVG --> PNG converter execution crashes.
Steps to reproduce:
Execution of inkscape --export-filename=out.png in.svg
fails on Linux by core dump:
> inkscape --export-filename=out.png in.svg
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.
** Message: 20:04:12.823: Error:
0# Inkscape::Application::crash_handler(int) in inkscape
1# 0x00007F7EB545FBB0 in /lib64/libc.so.6
2# 0x00007F7EB621A039 in /lib64/libgtk-3.so.0
3# 0x00007F7EB76CB09C in /lib64/libgio-2.0.so.0
4# 0x00007F7EB76CEE03 in /lib64/libgio-2.0.so.0
5# 0x00007F7EB773963B in /lib64/libgio-2.0.so.0
6# 0x00007F7EB76CB09C in /lib64/libgio-2.0.so.0
7# 0x00007F7EB76CEE03 in /lib64/libgio-2.0.so.0
8# 0x00007F7EB77269A2 in /lib64/libgio-2.0.so.0
9# 0x00007F7EB76CB09C in /lib64/libgio-2.0.so.0
10# 0x00007F7EB76CB0D5 in /lib64/libgio-2.0.so.0
11# 0x00007F7EB784B4FD in /lib64/libglib-2.0.so.0
12# g_main_context_dispatch in /lib64/libglib-2.0.so.0
13# 0x00007F7EB78AD6B8 in /lib64/libglib-2.0.so.0
14# g_main_context_iteration in /lib64/libglib-2.0.so.0
15# g_application_run in /lib64/libgio-2.0.so.0
16# main in inkscape
17# 0x00007F7EB5449B8A in /lib64/libc.so.6
18# __libc_start_main in /lib64/libc.so.6
19# _start in inkscape
Segmentation fault (core dumped)
Library RPMs corresponding to above core dump:
glibc-2.37-10.fc38
gtk3-3.24.38-1.fc38
glib2-2.76.5-2.fc38
in.svg
Attachment: Input file
Remark
Exporting the very same in.svg file to PNG using inkscape's GUI rather than CLI works just fine.
Version info
> inkscape --version
Inkscape 1.3 (0e150ed6c4, 2023-07-21)
Fedora Core 38 x86_64 Linux at current patchlevel