Created attachment 76954 [details]
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 220.127.116.11 (Win7 Home, 64bit)
Comment on attachment 76954 [details]
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":
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:
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