Created attachment 77675 [details] Crash log Problem description: LibreOffice Draw crashes when opening the exported SVG drawing. Steps to reproduce: 1. Open the document attached to bug 63321. 2. Export it to SVG by clicking File > Export. 3. Open the exported SVG with LibreOffice by clicking File > Open. Current behavior: Crash! Expected behavior: Opened document. -- Crash log attached. Operating System: Mac OS X Version: 4.0.2.2 release
Hello Dmitry, Thank you for your bug report. I can reprorduce this bug running LibreOffice 4.0.2.2 on mac osx 10.8.3.
On pc Debian x86-64 with master sources updated today, I don't reproduce the crash but the svg is quite broken. I noticed these logs: warn:legacy.tools:15282:1:xmloff/source/core/xmlimp.cxx:748: SvXMLImport::endElement: popped context has wrong prefix warn:legacy.tools:15282:1:xmloff/source/core/xmlimp.cxx:748: SvXMLImport::endElement: popped context has wrong prefix warn:legacy.osl:15282:1:xmloff/source/core/xmlerror.cxx:184: An error or a warning has occurred during XML import/export! Error-Id: 0x10020002 Flags: 1 WARNING Class: 2 FORMAT Number: 2 Parameters: 0: fo:font-family 1: Exception-Message: warn:legacy.osl:15282:1:svx/source/sdr/contact/viewcontactofsdrpathobj.cxx:66: PolyPolygon object without geometry detected, this should not be created (!) warn:legacy.osl:15282:1:xmloff/source/core/xmlerror.cxx:184: An error or a warning has occurred during XML import/export! Error-Id: 0x10040001 Flags: 1 WARNING Class: 4 API Number: 1 Parameters: 0: svggradient0 Exception-Message: Thorsten/Radek: one for you?
I could not reproduce this with LibreOffice 4.1.0.4. (But the SVG I had exported rendered quite brokenly in LO, more sanely in Safari.) Dmitry, if you still have the *SVG* file that crashes/crashed LibreOffice, please attach it.
(In reply to comment #3) > I could not reproduce this with LibreOffice 4.1.0.4. (But the SVG I had > exported rendered quite brokenly in LO, more sanely in Safari.) Indeed, no longer crashes in 4.1.0.4. I guess this bug can be marked as fixed. I'm still attaching the SVG which I verified crashed 4.0.3.3 on OS X (but not 4.0.2.2 on Ubuntu 13.04).
Created attachment 83720 [details] SVG exported from LibreOffice Opening this SVG crashed 4.0.3.3 on OS X, but no longer crashes 4.1.0.4.
Dmitry: thank you for your feedback, since it works for your in 4.1.0.4, I'll put it as WFM.