Bug 149481

Summary: Calc 7.3.x crashed when pasting from tsv, but only if I deleted the existing contents
Product: LibreOffice Reporter: omui+libreoffice
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: xiscofauli
Priority: medium    
Version: 7.3.3.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: sample file to test on reproducing the error

Description omui+libreoffice 2022-06-07 20:46:09 UTC
Created attachment 180624 [details]
sample file to test on reproducing the error

For version 7.3.x only (not for 7.2.x), Calc would crash when I paste all the content from a .tsv file.

How to reproduce:

1. Extract the sample.zip file

2. Open 1.tsv file, Ctrl + A, then Ctrl + C (copy everything)

3. Open 2.ods file, go to the "Raw" tab, Ctrl + A, remove all contents, move mouse to A1, Ctrl + V (paste to A1)

5. Calc would crash.

OS: Archlinux
Calc: v7.3.x only, with no such a problem for v7.2.x

Some observation:

In step 3, direct pasting to A1 without deleting existing contents of the "Raw" tab appears to work okay, as if the "delete" step caused the issue.

Thanks!
Comment 1 Rafael Lima 2022-06-07 20:56:39 UTC
Not repro in

Version: 7.3.3.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.3~rc2-0ubuntu0.21.10.1~lo1
Calc: threaded
Comment 2 Xisco FaulĂ­ 2022-06-08 09:00:40 UTC
Not reproduced in

Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: b72c0abac105d2c921e3e5d3e36d5cf2e5ccdbb2
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: x11
Locale: es-ES (es_ES.UTF-8); UI: en-US
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 3 omui+libreoffice 2022-06-08 19:52:26 UTC
I tried restart in safe mode, but it still crashed. Tried in different Arch boxes, still the same.

However, since it couldn't be reproduced by 2 users running ubuntu, it could be related to my environment (xfce / clipboard) or an Arch-related packaging issue. I'll spin up a ubuntu and fedora vm to test and report back.
Comment 4 Rafael Lima 2022-06-14 15:01:33 UTC
(In reply to omui+libreoffice from comment #3)
> I'll spin up a ubuntu and fedora vm to test and report back.

Nice idea. Let us know of the results of your testing with Ubuntu/Fedora.
Comment 5 omui+libreoffice 2022-11-09 21:17:10 UTC
Just want to confirm that as of Ver. 7.4.2.3, it's fixed now.

It might have been fixed in an earlier version.

Marking as resolved. Thanks!