Crash on opening a specific svg document
Summary:
I observe a crash when trying to open the svg pasted below.
Steps to reproduce:
inkscape panel_model_and_defects.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.
fish: “inkscape panel_model_and_defect…” terminated by signal SIGSEGV (Address boundary error)
What happened?
See above
What should have happened?
Either an error about malformed svg or opening the file.
Sample attachments:
<?xml version='1.0' encoding='ASCII' standalone='yes'?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="16.0cm" viewBox="0 0 16.0 6.5" height="6.5cm">
<g>
<sodipodi:namedview xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" id="base"/>
</g>
</svg>
Version info
Inkscape 1.1.1 (3bf5ae0d25, 2021-09-20)
GLib version: 2.68.4
GTK version: 3.24.30
glibmm version: 2.64.2
gtkmm version: 3.24.5
libxml2 version: 2.9.12
libxslt version: 1.1.34
Cairo version: 1.16.0
Pango version: 1.48.10
HarfBuzz version: 2.7.4
Poppler version: 21.06.1
OS version: Ubuntu 21.10
Edited by Anton Akhmerov