Bug 105417

Summary: Automatic hypenation goes into infinite loop
Product: LibreOffice Reporter: Miklos Vajna <vmiklos>
Component: WriterAssignee: Miklos Vajna <vmiklos>
Status: RESOLVED FIXED    
Severity: normal CC: aron.budea
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard: target:5.4.0 target:5.3.1 target:5.2.6
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 96000    
Attachments: Writer reproducer.

Description Miklos Vajna 2017-01-18 16:16:44 UTC
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.
Comment 1 Commit Notification 2017-01-19 12:19:59 UTC
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.
Comment 2 Commit Notification 2017-01-19 16:00:55 UTC
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.
Comment 3 Commit Notification 2017-01-19 16:02:22 UTC
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.