Bug 159917

Summary: crash when copying text box from one graph to other
Product: LibreOffice Reporter: hholler
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: NEEDINFO ---    
Severity: normal CC: stephane.guillou
Priority: medium    
Version: 7.5.6.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: [".LTHUNK9.lto_priv.11672"] Regression By:

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