https://bugs.documentfoundation.org/show_bug.cgi?id=154463
Bug ID: 154463
Summary: Typing dots in Text Form Field crashes Writer
Product: LibreOffice
Version: 6.4.0.3 release
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: bibisected, bisected, regression
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Blocks: 105537, 119060
Created attachment 186306
--> https://bugs.documentfoundation.org/attachment.cgi?id=186306&action=edit
Sample DOCX
The attached document was created in Writer by:
- first enabling "Reorganize Form menu for Microsoft compatibility" in Tools ->
Options..., LibreOffice Writer -> Compatibility,
- adding a Form -> Legacy Form Fields -> Text Form Field,
- saving as DOCX.
Another prerequisite is that Tools -> AutoCorrect is enabled.
Open the sample, click into the field, and type a bunch of dots (about 4-6).
=> Crash.
Crash report:
https://crashreport.libreoffice.org/stats/crash_details/0a8cc30e-d1ba-409b-b2d8-33e8b581e6c7
(a crash report taken on Win with LO 7.5.0.3 should be here, but it isn't for
some reason, Xisco, do you know if something is wrong with the crash report
server?)
A debug build fails with the following assertion:
sw/source/core/crsr/bookmark.cxx:89: SwPosition sw::mark::FindFieldSep(const
sw::mark::IFieldmark&): Assertion `0 <= nFields' failed
Observed in LO 7.6.0.0.alpha0+ (7a7eb4aa21ca0c83db825fe8d5a5278611b391d8) /
Ubuntu.
This is a regression from the following commit, bibisected using repo
bibisect-linux-64-6.4:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=b522fc0646915d4da94df38dd249c88b28f25be7
author Michael Stahl <[email protected]> 2019-09-24 18:11:45
+0200
committer Michael Stahl <[email protected]> 2019-10-23 12:47:40
+0200
sw: maintain fieldmarks in DeleteRange()/DeleteAndJoin()/ReplaceRange()
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=105537
[Bug 105537] [META] Assertion failed crashes
https://bugs.documentfoundation.org/show_bug.cgi?id=119060
[Bug 119060] [META] XLSX (OOXML) ActiveX and Legacy form control related issues
--
You are receiving this mail because:
You are the assignee for the bug.