Crash when importing svg from FreeCad (file has nested sodipodi:namedview)
Summary:
Exported a drawing from the TechDraw workbench in FreeCAD 0.20 in Ubuntu 21.04 as an svg file, but when I try to load it with Inkscape 1.1, it fails with the error "Inkscape encountered an internal error and will close now"
What happened?
Crash
/home/mfraser/Pictures/SVG/Squeezebox Bedroom.svg:114: namespace error : Namespace prefix sodipodi for type on perspective is not defined
ersp3d" inkscape:persp3d-origin="32 : 21.333333 : 1" inkscape:vp_z="64 : 32 : 1"
^
...
a load of similar errors to above (unrelated)
...
**
ERROR:./src/object/sp-namedview.cpp:1115:SPNamedView* sp_document_namedview(SPDocument*, const gchar*): assertion failed: (nv != nullptr)
Bail out! ERROR:./src/object/sp-namedview.cpp:1115:SPNamedView* sp_document_namedview(SPDocument*, const gchar*): assertion failed: (nv != nullptr)
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.
Canvas::on_idle: clean region is empty!
Aborted (core dumped)
Backtrace in 1.2-dev: inkscape_backtrace_12dev_inbox5724.txt
Backtrace in 1.1 release appimage: inkscape_backtrace_1_1_appimage_inbox5724.txt
Version Info
- 1.1+rc+202105232055+f4db50c7~ubuntu21.04.1 Ubuntu 21.04
Edited by Nathan Lee