Created attachment 76954 [details] Example Presentation Hyperlinks in Text Areas are wrapped if they are too long for the box. If a document contains such a wrapped link, an export to SVG lets LibreOffice crash. Please try it with the attached file.
reproducible with LO 4.0.1.2 (Win7 Home, 64bit)
Comment on attachment 76954 [details] Example Presentation Mimetype fixed
Created attachment 77219 [details] console + bt with symbols on master sources On pc Debian x86-64 with master sources updated today, I reproduced the crash. I attached console logs and bt. During gdb session, I got this: 1674 sContent = mrCurrentTextPortion->getString(); (gdb) p mrCurrentTextPortion $4 = empty uno::Reference
Thorsten/Radek: one for you?
Seems SVGTextWriter::writeTextPortion() gets confused about this mnLeftTextPortionLength filter/source/svg/svgwriter.cxx - for the wrapped line, it fails to notice a bunch of characters had already been used up
Thorsten Behrens committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=3c88993aeb262620b8e3bb3151e57f16260b51f3 fdo#62682 bandaid fix for hyperlink export crash 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: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
exporting twice will still crash because SetCalcFieldValueHdl is set, some *other* outliners are created internally that copy that, so while SetCalcFieldValueHdl is restored on the original the other point to the destroyed Link sigh
http://cgit.freedesktop.org/libreoffice/core/commit/?id=5bdfa8c12472eb9ff6ca054c2ada7150b1869fff