Created attachment 94847 [details]
SVG-file that leads to a crash of LO-writer, when embedded into writer-document
Writer crashes when some kind of SVG-files are embedded.
Open writer and embed the attached SVG-file. Writer will crash when you try to save the file.
I also have successfully created a odt-file with an embedded SVG-file with Libreoffice 3.5 (the version that is preinstalled on Ubuntu 12.4), that can no longer be opened with LO 188.8.131.52 on OpenSuSE. So this bug is applicable to both the FILEOPEN and FILESAVE sub components.
There seems to be a bugreport for Archlinux which seems to describe the same bug also:
In there, some people also report that LO3 was working fine with these SVG-files and only LO4 crashes on them, which is exactly what I am also experiencing.
Operating System: openSUSE
Version: 184.108.40.206 release
Fixed on master towards LO 4.3 now with <http://cgit.freedesktop.org/libreoffice/core/commit/?id=29c3bb0968cb9770f7b822f5cf466314be9db825> "Handle vnd.sun.star.Package: URLs provoking MalrformedUriException" et al, requested backport to libreoffice-4-2 towards LO 4.2.3 at <https://gerrit.libreoffice.org/#/c/8399/> "fdo#75582: Handle MalformedUriException"
Stephan Bergmann committed a patch related to this issue.
It has been pushed to "libreoffice-4-2":
fdo#75582: Handle MalformedUriException
It will be available in LibreOffice 4.2.3.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.