Bug 141924 - A specific file crashes with Style Inspector open, after deleting some text
Summary: A specific file crashes with Style Inspector open, after deleting some text
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.2.2 release
Hardware: All All
: medium normal
Assignee: Mike Kaganski
URL:
Whiteboard: target:7.2.0 target:7.1.3
Keywords:
Depends on:
Blocks: Styles_Inspector
  Show dependency treegraph
 
Reported: 2021-04-27 02:35 UTC by Mike Kaganski
Modified: 2021-04-27 09:06 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Crashes after deletion of some text (68.07 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-04-27 02:35 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2021-04-27 02:35:21 UTC
Created attachment 171436 [details]
Crashes after deletion of some text

* Open the attachment;
* Go to page 4;
* Put cursor to the empty paragraph before 'van der Gaag,';
* Press Delete to delete forward

=> crash

Tested with Version: 7.1.3.1 (x64) / LibreOffice Community
Build ID: fa76d07d7006a0e2866c3247cef2d5eb55ae8369
CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: en-US (ru_RU); UI: en-US
Calc: CL

(Bugdoc from https://ask.libreoffice.org/en/question/306290)
Comment 1 Mike Kaganski 2021-04-27 02:43:42 UTC
https://gerrit.libreoffice.org/c/core/+/114685
Comment 2 Commit Notification 2021-04-27 03:36:23 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/d08c7fecd6b38442ea7a4ac79315603cc7084208

tdf#141924: SwFormatAutoFormat::GetStyleHandle may return nullptr

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.
Comment 3 Commit Notification 2021-04-27 07:22:04 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-7-1":

https://git.libreoffice.org/core/commit/d1ac603b006a14c3cf8c8f852eb481a27e3c46fa

tdf#141924: SwFormatAutoFormat::GetStyleHandle may return nullptr

It will be available in 7.1.4.

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.
Comment 4 Commit Notification 2021-04-27 08:17:54 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-7-1-3":

https://git.libreoffice.org/core/commit/85ebaaea6c794caff37042beb04c6cb81bfc9e3f

tdf#141924: SwFormatAutoFormat::GetStyleHandle may return nullptr

It will be available in 7.1.3.

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.