Summary: | Adding long entry to Autocorrect replace table causes a crash ( steps on comment 6 ) | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Elmar <roberg> |
Component: | Writer | Assignee: | Xisco Faulí <xiscofauli> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | ggurbet, ilmari.lauhakangas, serval2412, telesto, xiscofauli |
Priority: | high | Keywords: | bibisected, bisected, haveBacktrace, regression |
Version: | 6.1.0.0.alpha0+ | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://crashreport.libreoffice.org/stats/signature/SwXMLTextBlocks::GetBlockText(rtl::OUString%20const%20&,rtl::OUString%20&) | ||
Whiteboard: | target:6.2.0 target:6.1.1 target:6.1.0 | ||
Crash report or crash signature: | ["SwXMLTextBlocks::GetBlockText(rtl::OUString const &,rtl::OUString &)"] | Regression By: | |
Bug Depends on: | |||
Bug Blocks: | 103341 | ||
Attachments: |
text for autocorrect
GDB trace of crash with master |
Description
Elmar
2018-07-03 09:12:06 UTC
Created attachment 143282 [details]
text for autocorrect
For example, if I create an entry in Autokey, like this: 1. ejr- with correction as "Elmar" , (excluding the "") or 2. ejr= to be "Elmar Josef Roberg" 3. pmbok- should be PMBOK® 4. pmbok= should be Project Management Body of Knowledge 5. pmi- should be PMI® 6. pmi= should be Project Management Institute, Inc. then here in Firefox and text editor and other tools comes out right (as in the examples above) I cannot figure out the logic in LO, it does this (with the same text as above): 1. ejr- E 2. Elmar Josef Roberg 3. pmPMBOK 4. pProject Management Body of Knowledge 5. pmiP 6. Project Management Institute, Inc. Created attachment 143561 [details] GDB trace of crash with master Copied the text to Autocorrect Options "Replace" tab "With" field and gave some string to "Replace" field, New, OK. Arch Linux 64-bit Version: 6.2.0.0.alpha0+ Build ID: 860a9daf2b45942a4b10ff22d36aa3fe29be19f4 CPU threads: 8; OS: Linux 4.17; UI render: default; VCL: gtk3; Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded Built on July 14th 2018 Bisected with Win 6.1 repo to https://cgit.freedesktop.org/libreoffice/core/commit/?id=0f166ef5240ee155bf2544e6bc3c985b1e3bf646 cppcheck - fix variableScope in some files Reduced the scope of some variables in source. It includes a change to editeng/source/misc/svxacorr.cxx Adding Cc: to Gökhan Gurbetoğlu @Julien, I thought you could be interested in this issue.... Steps to reproduce: 1. Open the attached document 2. Select all 3. Copy 4. Go to tools - Autocorrect - Autocorrect Options 5. Add some text to Replace textbox 6. Click on New 7. Click Ok patch in gerrit: https://gerrit.libreoffice.org/#/c/57881/ Xisco Fauli committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a61d61f66f80c91c14825f8fe8fb9bd3f295591b tdf#118517: Use xStg before resetting it It will be available in 6.2.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. Xisco Fauli committed a patch related to this issue. It has been pushed to "libreoffice-6-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1706ed7334461420274584b875ae6ab209f4dad9&h=libreoffice-6-1 tdf#118517: Use xStg before resetting it It will be available in 6.1.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. Xisco Fauli committed a patch related to this issue. It has been pushed to "libreoffice-6-1-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=28f8e7434065e040e17562014db3624a8d3cd6ea&h=libreoffice-6-1-0 tdf#118517: Use xStg before resetting it It will be available in 6.1.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. |