Bug 155731

Summary: PRINTING: Compare two writer documents, attempt to print result -> CRASH
Product: LibreOffice Reporter: Andrew Watson <notinteresting>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: dgp-mail, notinteresting
Priority: medium    
Version: 6.4 all versions   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Later document for comparison
Earlier document to compare

Description Andrew Watson 2023-06-08 10:03:00 UTC
Description:
Comparing two minimal sample files yields a change-marked version that looks OK, but any attempt to Print or Export as PDF causes an immediate crash.

Steps to Reproduce:
1. Open file Later-version.odt
2. Select Edit > Track Chnages > Compare Document ...
3. Select file Earlier-version.odt
4. Click "Close" button on "Manage Changes" window.
5. Select File > Print ... or Export As > Export as PDF ...

Immediate crash.

Actual Results:
LO Writer crashes.

Expected Results:
LO writer does not crash.


Reproducible: Always


User Profile Reset: No

Additional Info:
No crash on:

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Mac OS X 10.14.6

Version: 6.1.5.2
Build ID: 1:6.1.5-3+deb10u7
CPU threads: 2; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-GB (en_GB.UTF-8); Calc: group threaded

-----

Crashes on:

Version: 6.4.4.2
Build ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-GB
Calc: threaded

Version: 7.3.7.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.2
Calc: threaded

Version: 7.4.7.2 / LibreOffice Community
Build ID: 723314e595e8007d3cf785c16538505a1c878ca5
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Calc: threaded
Comment 1 Andrew Watson 2023-06-08 10:04:51 UTC
Created attachment 187779 [details]
Later document for comparison
Comment 2 Andrew Watson 2023-06-08 10:05:26 UTC
Created attachment 187780 [details]
Earlier document to compare
Comment 3 Julien Nabet 2023-06-08 13:32:06 UTC
Just for the record, I don't reproduce this on pc Debian x86-64 with master sources updated today (gtk3 rendering).
Comment 4 Andrew Watson 2023-06-08 14:06:37 UTC
Further testing:

No crash on:

Version: 6.3.0.1
Build ID: 41ac97386aba908b6db860cfb4cfe2da871886ae
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-GB
Calc: threaded

Version: 6.3.6.2
Build ID: 2196df99b074d8a661f4036fca8fa0cbfa33a497
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-GB
Calc: threaded

Version: 7.5.4.2 (X86_64) / LibreOffice Community
Build ID: 36ccfdc35048b057fd9854c757a8b67ec53977b6
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Calc: threaded

-----

Crash occurs on:

Version: 6.4.0.1
Build ID: 1b6477b31f0334bd8620a96f0aeeb449b587be9f
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-GB
Calc: threaded

-----

So it looks as though this bug was introduced at LO 6.4, was fixed somewhere around LO 7.5, but the fix was not back-ported to LO 7.4.

Set "Earliest affected version" to 6.4 (all versions).

(BTW, I'm not using LO "Fresh" branch (7.5) for production work under Intel MacOS at the moment because it's noticeably slower than the "still" branch (7.4).
Comment 5 Dieter 2023-06-08 16:08:18 UTC
(In reply to Andrew Watson from comment #4)
> -----> So it looks as though this bug was introduced at LO 6.4, was fixed somewhere
> around LO 7.5, but the fix was not back-ported to LO 7.4.

=> So let's close it as RESOLVED WORKSFORME. There won't be further development on LO 7.4.