Bug 119663 - LO crashed when copying and pasting back and forth a Calc-embedded Writer file and other source files
Summary: LO crashed when copying and pasting back and forth a Calc-embedded Writer fil...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.0.6.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-03 11:51 UTC by chan2703
Modified: 2018-09-11 08:13 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
A Writer text file containing a Calc spreadsheet (29.49 KB, application/vnd.oasis.opendocument.text)
2018-09-04 07:10 UTC, chan2703
Details
A simple LO calc file. (12.90 KB, application/vnd.oasis.opendocument.spreadsheet)
2018-09-05 15:55 UTC, chan2703
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chan2703 2018-09-03 11:51:47 UTC
Description:
Whenever copying back and forth from some calc cells embedded in a Writer file and then pasting in a normal calc spreadsheet, LO just crashed.

Steps to Reproduce:
1.Open a Calc file
2.Open a Writer file with some embedded Calc cells
3.Copy a cell content from the Writer file and paste it into a cell of the calc file
4. Copy another cell from the embedded Calc cells



Actual Results:
LO Calc and Writer would crash.

Expected Results:
LO can copy and paste between embedded calc cells and a normal calc file.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 chan2703 2018-09-03 13:13:24 UTC
(In reply to chan2703 from comment #0)
> Description:
> Whenever copying back and forth from some calc cells embedded in a Writer
> file and then pasting in a normal calc spreadsheet, LO just crashed.
> 
> Steps to Reproduce:
> 1.Open a Calc file
> 2.Open a Writer file with some embedded Calc cells
> 3.Copy a cell content from the Writer file and paste it into a cell of the
> calc file
> 4. Copy another cell from the embedded Calc cells
> 
> 
> 
> Actual Results:
> LO Calc and Writer would crash.
> 
> Expected Results:
> LO can copy and paste between embedded calc cells and a normal calc file.
> 
> 
> Reproducible: Always
> 
> 
> User Profile Reset: No
> 
> 
> 
> Additional Info:

Further testing showed that the problem should be related with the calc-embedded Writer file.  Even copying from a web page and pasting back and forth into a calc cell embedded in a Writer text file would crashed LO.
Comment 2 Xisco Faulí 2018-09-03 13:37:30 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Comment 3 chan2703 2018-09-04 07:10:03 UTC
Created attachment 144652 [details]
A Writer text file containing a Calc spreadsheet

Existing crash problem: 
1.Copy the embedded spreadsheet to a blank calc file and save.
2. Copy and paste between the new spreadsheet and the embedded spreadsheet. Save and repeat the process.  Lo will crash.

New crash problem found:
After step 1, exit and reopen the newly saved spreadsheet using Calc.  LO will crash.  However, opening the same spreadsheet via Writer or File Manager (i.e. double clicking the file) will open the file.
Comment 4 Xisco Faulí 2018-09-05 10:53:46 UTC
I can't reproduce it in

Version: 6.2.0.0.alpha0+
Build ID: bf8fbbaa683ef7eef5f9587b60486f622b50cb80
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: threaded

To be certain the reported issue is not
related to corruption in the user profile, could you please reset your
Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and
re-test?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the issue is still present
Comment 5 chan2703 2018-09-05 15:55:28 UTC
Created attachment 144696 [details]
A simple LO calc file.

Reset user profile as suggested.  Opening the .ods file directly via Calc still crashed.  Removing Libreoffice completely and reinstalling it again did not help.

Version: 6.0.6.2
Build ID: 1:6.0.6-0ubuntu0.18.04.1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3
Comment 6 Telesto 2018-09-09 09:41:08 UTC
(In reply to chan2703 from comment #5)
> Created attachment 144696 [details]
> A simple LO calc file.
> 
> Reset user profile as suggested.  Opening the .ods file directly via Calc
> still crashed.  Removing Libreoffice completely and reinstalling it again
> did not help.
> 
> Version: 6.0.6.2
> Build ID: 1:6.0.6-0ubuntu0.18.04.1
> CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3

Is this also reproducible with LibO 6.1?
Comment 7 chan2703 2018-09-11 07:51:03 UTC
Upgraded to 6.1.  Problems resolved.

Thanks a lot.
Comment 8 Xisco Faulí 2018-09-11 08:13:01 UTC
Thanks for retesting with the latest version.
Setting to RESOLVED WORKSFORME as the commit fixing this issue hasn't been identified.