Created attachment 130532 [details] Writer reproducer. Steps to reproduce: 1) Open the bugdoc 2) Go to Tools -> Language -> Hyphenate -> Hyphenate all Expected result: soft hyphens are added in the document. Actual result: Writer hangs.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1b6fa616087e7415be9dc7113bbd8bf381aadd70 tdf#105417 sw hyphenation: avoid infinite loop on zero-length last line It will be available in 5.4.0. 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.
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-5-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=bb895db932ac8ed5b8c2d221ac7268b2d787194d&h=libreoffice-5-3 tdf#105417 sw hyphenation: avoid infinite loop on zero-length last line It will be available in 5.3.1. 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.
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-5-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1cba69762fc0a2d586bcfdf0893a6177aa63dfc4&h=libreoffice-5-2 tdf#105417 sw hyphenation: avoid infinite loop on zero-length last line It will be available in 5.2.6. 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.