Bug 98202 - Comparing two GettingStarted files makes LibreOffice crash ( steps in comment 10 )
Summary: Comparing two GettingStarted files makes LibreOffice crash ( steps in comment...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: highest critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Undo-Redo Document-Comparison
  Show dependency treegraph
 
Reported: 2016-02-26 10:32 UTC by Kees Kriek
Modified: 2020-07-20 20:19 UTC (History)
9 users (show)

See Also:
Crash report or crash signature: ["SwNode::RemoveAnchoredFly(SwFrameFormat *)", "GetFrameOfModify(SwRootFrame const *,SwModify const &,SwFrameType,Point const *,SwPosition const *,bool)"]


Attachments
bt with debug symbols (13.58 KB, text/plain)
2016-02-26 19:05 UTC, Julien Nabet
Details
Example file (19.33 MB, application/vnd.oasis.opendocument.text)
2020-07-20 20:19 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kees Kriek 2016-02-26 10:32:48 UTC
Comparing two files makes LibreOffice crash

OS = Windows 7 (confirmed on a Linux platform too)
LibreOffice version 4.2, 5.0 and 5.1

Steps

I open de file GS5007-GettingStartedWithDraw.odt
I go to Edit > Track changes > Compare files (5.1)
I chose the file GS4207-GettingStartedWithDraw.odt
After comparing the changes are visible.
Than I chose to save the file and LibreOffcie crashes.

The files are downloaded from: https://wiki.documentfoundation.org/Documentation/Publications

I compared other files successfully before, but these files make LO crash.
Comment 1 Julien Nabet 2016-02-26 19:05:33 UTC
Created attachment 123016 [details]
bt with debug symbols

On pc Debian x86-64 with master sources (+enable-dbgutil) updated today, I could reproduced the crash.
However, the crash is an assert inside a DEBUG block.
Comment 2 Kees Kriek 2016-03-20 08:59:40 UTC
I struggled through the first part of the document without saving it after comparing.
After that i deleted about half of the clean document and compared it with the earlier version again.
Then saving it caused no crash anymore.
Can it be the size of the document or the amount of changes that causes the crash?
Comment 3 Kees Kriek 2016-03-26 07:02:10 UTC
Saving the compared file as a .docx file doesn't make LibreOffice crash.
Comment 4 Xisco Faulí 2017-02-27 12:49:55 UTC
Issue still reproducible in

Version: 5.4.0.0.alpha0+
Build ID: eb7b03b052ffe8c2c577b2349987653db6c53f76
CPU threads: 1; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2017-02-26_22:34:18
Locale: en-GB (es_ES); Calc: group

and

Version: 5.4.0.0.alpha0+
Build ID: e9e6228533b336317aa809a7aaaa4fd1c338d4f7
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Comment 5 Xisco Faulí 2017-02-27 12:56:47 UTC
Also reproduced in

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 7 Julien Nabet 2017-03-19 10:28:20 UTC
*** Bug 98868 has been marked as a duplicate of this bug. ***
Comment 8 Xisco Faulí 2017-07-26 13:25:55 UTC
*** Bug 109376 has been marked as a duplicate of this bug. ***
Comment 9 Telesto 2018-09-06 17:07:31 UTC
Repro with
Version: 6.2.0.0.alpha0+
Build ID: 76bf3939b0583212a56c317c85aea110f8ac6fee
CPU threads: 4; OS: Mac OS X 10.12.6; UI render: default; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2018-07-27_06:01:47
Locale: nl-NL (nl_NL.UTF-8); Calc: group threaded
Comment 10 Xisco Faulí 2018-11-14 13:59:59 UTC
I can't reproduce this issue with GS4207-GettingStartedWithDraw.odt and GS5007-GettingStartedWithDraw.odt but I can with the documents from bug 98868:

1. download full getting started guide 4.2 and 5.0 from 
https://wiki.documentfoundation.org/images/0/0f/GS42-GettingStartedLO.odt
and
https://wiki.documentfoundation.org/images/f/f3/GS50-GettingStartedLO.odt
2. open GS Guide 5.0 in LO
3. select menu Edit - Track Changes - Compare Document
4. select GS Guide 4.2 and wait
5. after compare try to save file
6. LO crashes
Comment 11 Hector Monzalez 2018-12-17 20:16:56 UTC Comment hidden (spam)
Comment 12 Xisco Faulí 2019-04-16 08:26:47 UTC
Still reproducible in

Version: 6.3.0.0.alpha0+
Build ID: 033e1130a65ec7f0fa9c46e5124adc9d8bf724ba
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 13 Akriti 2019-09-12 16:01:29 UTC Comment hidden (spam)
Comment 14 Buovjaga 2020-07-20 14:47:09 UTC
(In reply to Xisco Faulí from comment #10)
> I can't reproduce this issue with GS4207-GettingStartedWithDraw.odt and
> GS5007-GettingStartedWithDraw.odt but I can with the documents from bug
> 98868:
> 
> 1. download full getting started guide 4.2 and 5.0 from 
> https://wiki.documentfoundation.org/images/0/0f/GS42-GettingStartedLO.odt
> and
> https://wiki.documentfoundation.org/images/f/f3/GS50-GettingStartedLO.odt
> 2. open GS Guide 5.0 in LO
> 3. select menu Edit - Track Changes - Compare Document
> 4. select GS Guide 4.2 and wait
> 5. after compare try to save file
> 6. LO crashes

I can't repro with these steps using master. I *can* repro with the oldest commit of 6.3 bibisect repo, so I will close as WFM.

Version: 7.1.0.0.alpha0+ (x64)
Build ID: f7eff4319be741143f6d8d5e0f2995e3ce46b126
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded
Comment 15 Telesto 2020-07-20 19:50:03 UTC
1. download full getting started guide 4.2 and 5.0 from 
https://wiki.documentfoundation.org/images/0/0f/GS42-GettingStartedLO.odt
and
https://wiki.documentfoundation.org/images/f/f3/GS50-GettingStartedLO.odt
2. open GS Guide 5.0 in LO
3. select menu Edit - Track Changes - Compare Document
4. select GS Guide 4.2 and wait

5. Press Reject all -> Crash

BT without symbols points to bug 126726
Comment 16 Telesto 2020-07-20 20:19:37 UTC
Created attachment 163340 [details]
Example file

Simplified. Press Reject