Description: Writer crashes when using hyphenation and adding text to a paragraph so that the final two words of the paragraph, which are separated by a non-breaking space, wrap to the next line. This happens in the following specific situation: - Final two words of a paragraph separated by non-breaking space; - Paragraph style with hyphenation activated; - "Hyphenate final word" DEACTIVATED. If any of the above conditions aren't true (e.g. the words separated by non-breaking space aren't at the end of the paragraph but there's other text after them), crash doesn't occur. Steps to Reproduce: 1. Open attached file 2. Add text anywhere in the paragraph except at the end, so that the final two words of the paragraph wrap to the next line Actual Results: Writer crashes. Expected Results: Words wrap to the next line. Reproducible: Always User Profile Reset: Yes Additional Info: Version: 25.8.4.2 (X86_64) / LibreOffice Community Build ID: 290daaa01b999472f0c7a3890eb6a550fd74c6df CPU threads: 12; OS: Linux 6.14; UI render: default; VCL: gtk3 Locale: it-IT (it_IT.UTF-8); UI: it-IT Flatpak Calc: threaded
Created attachment 205115 [details] Sample document which displays the issue
Update: bug is still present after updating to the newest Libreoffice version. Version: 26.2.0.3 (X86_64) Build ID: afbbd0df0edb6d40b450b0337ac646b0913a760c CPU threads: 12; OS: Linux 6.14; UI render: default; VCL: gtk3 Locale: it-IT (it_IT.UTF-8); UI: it-IT Flatpak Calc: threaded