Bug 1870501

Summary: Libre Office Draw crash when saving a specific file
Product: Red Hat Enterprise Linux 8 Reporter: Romain Chantereau <rchanter>
Component: libreofficeAssignee: Caolan McNamara <caolanm>
Status: CLOSED ERRATA QA Contact: Martin Krajnak <mkrajnak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: jkoten, mkrajnak, tpelka
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libreoffice-6.4.7.2-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:26:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The file that makes LO drow crashes
none
Strace of the program execution
none
backtrace none

Description Romain Chantereau 2020-08-20 09:08:07 UTC
Created attachment 1711983 [details]
The file that makes LO drow crashes

Description of problem:

I have a file I built with a previous version of LO, I can open it, but when I want to save it, LO crashes.

Version-Release number of selected component (if applicable):
libreoffice-draw-6.0.6.1-20.el8.x86_64


How reproducible:
Everytime

Steps to Reproduce:
1. Open the attached file
2. Save it

Actual results:
LO crashes keeping the file untouched

Expected results:
File saved

Additional info:
n/a

Comment 1 Romain Chantereau 2020-08-20 09:12:33 UTC
Created attachment 1711985 [details]
Strace of the program execution

Comment 2 Romain Chantereau 2020-08-20 09:24:46 UTC
Created attachment 1711989 [details]
backtrace

Comment 3 Romain Chantereau 2020-08-20 09:35:05 UTC
I forgot to mentionĀ I am able to create and save new file from scratch. I am also able to open this new file and save it.

Workaround:

* Copy the content of the failing file and paste it to a new one.
* This new file can be saved and opened and save again.

Comment 4 Caolan McNamara 2020-08-20 09:40:17 UTC
crashes in master too, seems a bad "navigation position" for some reason

Comment 5 Caolan McNamara 2020-08-20 12:59:12 UTC
seems to have started crashing on re-export after https://cgit.freedesktop.org/libreoffice/core/commit/?id=450cd772aa734cfcb989c8cedd3c0a454db74a34

https://gerrit.libreoffice.org/c/core/+/101074 is a revert of that commit and an added test for this crash though its unknown if that would cause a reintroduction of another bug but I can't see one yet

Comment 6 Caolan McNamara 2020-08-21 09:58:02 UTC
I'll apply the proposed patch to F33+F32

Comment 7 Fedora Update System 2020-08-24 01:13:08 UTC
FEDORA-2020-127baec0f4 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Martin Krajnak 2020-10-30 16:03:38 UTC
I cannot reproduce the crash with libreoffice-draw-6.4.7.2-3.el8.x86_64

Comment 14 errata-xmlrpc 2021-05-18 15:26:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (libreoffice bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2021:1779