| Summary: | Assert pasting content in Debug build | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Xisco Faulí <xiscofauli> |
| Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | serval2412, telesto, xiscofauli |
| Priority: | medium | Keywords: | haveBacktrace |
| Version: | 7.4.0.0 alpha0+ | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:7.4.0 target:7.3.2 | ||
| Crash report or crash signature: | Regression By: | ||
| Attachments: |
sample file
gdb bt |
||
|
Description
Xisco Faulí
2022-01-18 23:38:28 UTC
Since that is Debug build only, maybe Julien can confirm. soffice.bin: /home/xisco/libreoffice/sw/source/core/txtnode/atrfld.cxx:713: void SwTextInputField::UpdateTextNodeContent(const rtl::OUString&): Assertion `IsFieldInDoc() && "<SwTextInputField::UpdateTextNodeContent(..)> - misusage as Input Field is not in document content."' failed. Created attachment 177646 [details]
gdb bt
On pc Debian x86-64 with master sources updated today, I could reproduce this.
I provided a bt + console logs even it can help.
sw/qa/extras/uiwriter/data/tdf77014.odt also hits the same assert Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/71e8a947753d359bd5b4d1174f4d6332eaf4a309 tdf#146848 sw: fix assert about input field in undo nodes It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/c543106985abbaafeae08b7ced11422144f053e4 tdf#146848 sw: fix assert about input field in undo nodes It will be available in 7.3.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/2bf59e3b60a0d5c6ebcd4498f5038d6d2e86db62 tdf#146848: sw_uiwriter3: Add unittest It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. I guess we can close this. @Michael, Thanks for fixing this issue!! |