Bug 138482 - CRASH: deleting content from document
Summary: CRASH: deleting content from document
Status: RESOLVED DUPLICATE of bug 135014
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha1+
Hardware: All All
: highest critical
Assignee: Not Assigned
URL:
Whiteboard: target:7.2.0
Keywords: bibisected, bisected, haveBacktrace, regression
Depends on:
Blocks:
 
Reported: 2020-11-25 11:09 UTC by Xisco Faulí
Modified: 2021-02-11 14:17 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
bt with debug symbols (11.38 KB, text/plain)
2020-11-25 20:15 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2020-11-25 11:09:45 UTC
Steps to reproduce:
1. Open attachment 81459 [details] from bug 66201
2. Select all
3. Delete

-> Crash

Reproduced in

Version: 7.1.0.0.beta1+
Build ID: e2cffcf55b04838abc7497f6c18518c7600b670b
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Xisco Faulí 2020-11-25 11:10:40 UTC
Regression introduced by:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=c0864f26f3143ea81c65d3826fae32a8fd54c531

author	Michael Stahl <Michael.Stahl@cib.de>	2020-11-06 21:47:21 +0100
committer	Michael Stahl <michael.stahl@cib.de>	2020-11-19 14:21:10 +0100
commit c0864f26f3143ea81c65d3826fae32a8fd54c531 (patch)
tree 28f11c81b913cb1dcab50df954431932b7e90852
parent c74a2fd835474caf311be10703c985e2f916a83b (diff)
sw_fieldmarkhide: init fieldmark mode from options

Bisected with: bibisect-linux64-7.1

Adding Cc: to Michael Stahl
Comment 2 Xisco Faulí 2020-11-25 11:15:59 UTC
Same issue reproduced with attachment 74944 [details] from bug 60957
Comment 3 Xisco Faulí 2020-11-25 11:18:53 UTC
and attachment from bug 52975 from bug 42458
Comment 4 Julien Nabet 2020-11-25 20:15:48 UTC
Created attachment 167576 [details]
bt with debug symbols

On pc Debian x86-64 with master sources updated today, I could reproduce this.
Comment 5 Xisco Faulí 2020-12-14 14:47:19 UTC
bumping importance
Comment 6 Xisco Faulí 2021-01-05 12:34:02 UTC
This week I ran the mass-uitesting script < https://cgit.freedesktop.org/libreoffice/contrib/dev-tools/tree/uitest/mass-testing > and found many files affected by this issue. this should get fixed before 7.1.0.3 is released. Increasing Importance
Comment 7 Buovjaga 2021-02-11 11:31:52 UTC
I tested this and noticed the crash was gone. I bisected the fix with linux-64-7.2 to: https://git.libreoffice.org/core/commit/eef10be20a4c5108c68b19ccdda263c5ca852386

*** This bug has been marked as a duplicate of bug 135014 ***
Comment 8 Commit Notification 2021-02-11 14:17:34 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

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

tdf#138482: sw_uiwriter3: Add unittest

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.