Summary: | "Apply and Edit changes" from AutoCorrect crashes LO writer | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | mattia.b89 <mattia.b89> |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEEDINFO --- | ||
Severity: | normal | CC: | buzea.bogdan, mattia.b89, sdc.blanco, serval2412 |
Priority: | medium | Keywords: | haveBacktrace |
Version: | 7.0.4.2 release | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=145546 | ||
Whiteboard: | target:7.2.0 | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 133092 | ||
Attachments: |
bt with debug symbols
second bt with debug symbols |
Description
mattia.b89
2021-03-07 07:40:28 UTC
Created attachment 170287 [details]
bt with debug symbols
On pc Debian x86-64 with master sources updated yesterday, I could reproduce this.
I could reproduce this too with LO Debian package 7.0.4.2 => update version (since it's the earliest affected for the moment) Created attachment 170289 [details] second bt with debug symbols On pc Debian x86-64 with master sources updated today + a patch to fix the assesrtion https://gerrit.libreoffice.org/c/core/+/112118, I got another assertion this time which will indeed lead to a crash. (The first retrieved assertion doesn't lead to a crash since it's just a control) Maybe this is a Linux only problem? Have been using "Apply and Edit Changes" in Windows without problem (See bug 139953). After digging a bit, I submitted a second patch to fix the other bt but it concerns only French UI since it fails at line 670: 662 if ( rCC.getLanguageTag().getLanguage() == "fr" ) 663 { 664 bool bFrCA = (rCC.getLanguageTag().getCountry() == "CA"); 665 OUString allChars = ":;?!%"; 666 OUString chars( allChars ); 667 if ( bFrCA ) 668 chars = ":"; 669 670 sal_Unicode cChar = rTxt[ nEndPos ]; so in the "if ( rCC.getLanguageTag().getLanguage() == "fr" )" block and you use Locale: it-IT (en_GB.UTF-8); UI: en-GB To start from a good basis, could you apply https://wiki.documentfoundation.org/QA/FirstSteps then if you still reproduce the crash try to retrieve a backtrace? (See https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux:_How_to_get_a_backtrace) Julien Nabet committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/ce01b5d4a81f1b407522dbdd831900bab8e9ef00 Related tdf#140849: "Apply and Edit changes" from AutoCorrect crashes LO writer It will be available in 7.2.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. Maybe this ticket is resolved? or WFM? (In reply to sdc.blanco from comment #7) > Maybe this ticket is resolved? or WFM? No repro using: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 1b1c51ff9e3fe3356a0ba259a0c3e9cfccda0089 CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded Marking NEEDINFO |