Bug 159917 - crash when copying text box from one graph to other
Summary: crash when copying text box from one graph to other
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.5.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-27 01:37 UTC by hholler
Modified: 2024-02-27 03:37 UTC (History)
1 user (show)

See Also:
Crash report or crash signature: [".LTHUNK9.lto_priv.11672"]


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hholler 2024-02-27 01:37:32 UTC
Description:
I did a stacked column graph and entered a text box as an explainer of something. I did another stacked column graph and wanted to copy/paste the text box from the first graph to this second (I can't seem to find the place to change default font/size for these boxes and I'm too lazy to format them each and every time). Upon pasting the box in the second graph, LO crashed. Crash report is here: https://crashreport.libreoffice.org/stats/crash_details/4654f08d-4fec-4cd0-a669-770d7ae44801;
I tried to reproduce it but it didn't happen right away. Then, later, when still working with textboxes inside another graph, I simply double clicked on one to change the text inside it and LO crashed again. I suppose both are related. The second crash report is here: https://crashreport.libreoffice.org/stats/crash_details/a0727a3a-6d88-4800-9921-9d5bce241bbf

Steps to Reproduce:
1. Create a simple graph in Calc. Add a text box inside the graph, e.g. to add the source of the data.
2. After re-entering the graph, try editing this text box or alternatively copy/paste it in another graph.
3.

Actual Results:
Libreoffice crashed without any further ado.

Expected Results:
I expected to be able to edit the text box or paste it inside the graph.


Reproducible: Sometimes


User Profile Reset: No

Additional Info:
Version: 7.5.6.2 (X86_64) / LibreOffice Community
Build ID: f654817fb68d6d4600d7d2f6b647e47729f55f15
CPU threads: 6; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded
Comment 1 Stéphane Guillou (stragu) 2024-02-27 03:37:26 UTC
Are you able to share an example file, maybe with more reliable steps to reproduce it?
Also, many crashes have been fixed since 7.5.6, and the 7.5 branch is not maintained anymore.
I would recommend moving to 7.6 or 24.2.

I tried reproducing with your steps and couldn't crash it in:

Version: 7.6.5.2 (X86_64) / LibreOffice Community
Build ID: 38d5f62f85355c192ef5f1dd47c5c0c0c6d6598b
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded