Bug 108596 - Unable to paste over 1,09M lines from Kate editor
Summary: Unable to paste over 1,09M lines from Kate editor
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.1.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paste
  Show dependency treegraph
 
Reported: 2017-06-17 19:18 UTC by kamesh
Modified: 2021-01-13 14:46 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kamesh 2017-06-17 19:18:48 UTC
Description:
I first copied the text from Kate. Then when I try to paste it in Libreoffice Calc, Kate crashed.

The crash can be reproduced every time.

Filed a bug report on KDE bugzilla. The KDE developer there is of the opinion that this is a Libreoffice Calc bug and asked me to file a bug report here. Link below to the bug filed at KDE.

https://bugs.kde.org/show_bug.cgi?id=381329

I have made a video with the steps leading to the crash. Please check the following link.

https://www.amazon.com/clouddrive/share/dPTbEfihqSWXuxYZFbHLKSAxlozdVHeDSRfoqqcClNE?ref_=cd_ph_share_link_copy

I could not attach the text file as it is too large. But here is the link to it.

https://drive.google.com/open?id=0BzoIenLKgsD5Q0djQ0gtN2EyTkU

I understand that the text is huge and Libreoffice Calc may not be the right tool for it. But it should not crash other applications :-).


Steps to Reproduce:
1. I first copied the text from Kate
2. Then when I try to paste it in Libreoffice Calc
3. Kate crashed

Actual Results:  
Crashes Kate

Expected Results:
It should not crash other applications. 


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
Comment 1 Xisco Faulí 2017-06-17 19:27:20 UTC
Thank you for reporting the bug.
it seems you're using an old version of LibreOffice.
Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 2 kamesh 2017-06-17 20:39:54 UTC
I upgraded libreoffice using ppa (sudo apt-add-repository ppa:libreoffice/ppa). 

Now running Version: 5.3.3.2.

Kate still crashes for me.

But in the KDE bugzilla like I provided, KDE developer on version 5.3.1.2, Kubuntu 17.04 reports that it offers text import options.
Comment 3 Xavier Van Wijmeersch 2017-06-18 13:19:53 UTC
I did the test with the sha1.txt; total rows 1095124
I have no crash with kate but the hole is not paste in calc; only 1048576 rows
It copy 80 rows and than there is a message "cannot copy the text in calc"; i press ok and than it continue to paste till row 1048576; saving the document is slow.

Version: 5.4.0.0.beta2+
Build ID: f540a8031e84e9da7fc9aa08522360dbb365b035
CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: kde4; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:libreoffice-5-4, Time: 2017-06-17_01:11:05
Locale: nl-BE (en_US.UTF-8); Calc: group

and the same in

Version: 6.0.0.0.alpha0+
Build ID: 2404a17e157273430d40ceaa1ab1275e7b50ba6e
CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: kde4; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-06-17_03:43:01
Locale: nl-BE (en_US.UTF-8); Calc: group
Comment 4 Buovjaga 2017-06-18 18:27:39 UTC
Kate crashes with 5.3, but with master nothing happens.. nothing is pasted, it just thinks for some time.

The text file has 1 million lines.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.3.2
Build ID: 5.3.3-1
CPU Threads: 8; OS Version: Linux 4.10; UI Render: default; VCL: kde4; Layout Engine: new; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group

Arch Linux 64-bit, KDE Plasma 5
Version: 6.0.0.0.alpha0+
Build ID: d6c4c576ef71f2294ec8eefc6576a797220e6809
CPU threads: 8; OS: Linux 4.11; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on June 18th 2017
Comment 5 Xavier Van Wijmeersch 2019-01-06 22:02:59 UTC
Still repro
Kde's kate in not crashing and not all lines are pasted in calc, only 1048576
A warning is given it cannot past the text but it does

Version: 6.3.0.0.alpha0+
Build ID: 66b919c8674066871a06e7cdf5595dc6951524e0
CPU threads: 2; OS: Linux 4.19; UI render: default; VCL: gtk2; 
Locale: nl-BE (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 6 Xisco Faulí 2019-01-07 09:59:13 UTC
(In reply to Xavier Van Wijmeersch from comment #5)
> Still repro
> Kde's kate in not crashing and not all lines are pasted in calc, only 1048576
> A warning is given it cannot past the text but it does
> 
> Version: 6.3.0.0.alpha0+
> Build ID: 66b919c8674066871a06e7cdf5595dc6951524e0
> CPU threads: 2; OS: Linux 4.19; UI render: default; VCL: gtk2; 
> Locale: nl-BE (en_US.UTF-8); UI-Language: en-US
> Calc: threaded

Hi Xavier,
you tried with gtk2, could you please try with kde5 ?
Comment 7 Xavier Van Wijmeersch 2019-01-07 11:35:03 UTC
@Xisco

I have no kde5 for my OS slackware64current but have kde4.
For the moment I use a spare laptop, workstation is out need to reinstall everything, Will test later with kde4
Comment 8 Buovjaga 2019-01-07 12:01:27 UTC
(In reply to Xavier Van Wijmeersch from comment #7)
> @Xisco
> 
> I have no kde5 for my OS slackware64current but have kde4.
> For the moment I use a spare laptop, workstation is out need to reinstall
> everything, Will test later with kde4

I don't think it makes sense to test with kde4 as it has been removed from master.

I tested with kde5 and nothing is pasted.

Adjusting summary and importance.

Arch Linux 64-bit
Version: 6.3.0.0.alpha0+
Build ID: 2c7b0030b40de00e8c9ab997bdfe83631861968a
CPU threads: 8; OS: Linux 4.20; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 1 January 2019
Comment 9 Xavier Van Wijmeersch 2019-01-07 16:15:17 UTC
@Buovjaga

Yes removed in master but still in 6.2

Kde's kate in not crashing and not all lines are pasted in calc, only 1048576
A warning is given it cannot past the text but it does

Version: 6.2.0.1.0+
Build ID: 6e87f31a097123b40d9c2523160409db2b5964a5
CPU threads: 2; OS: Linux 4.19; UI render: default; VCL: kde4; 
Locale: nl-BE (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 10 QA Administrators 2021-01-07 04:10:44 UTC Comment hidden (obsolete)
Comment 11 Roman Kuznetsov 2021-01-13 14:30:44 UTC
hm, of course we can't paste more rows than there are in Calc by default. I think it will work after enable the "Jumbo table" feature in 7.2.

Yep, I checked in

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 94f6765d6ecc3145fa2d266231124003cf953118
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded

with enabled Jumbo table features and it just works

Buovjaga, Xisco, can we close it as WFM now?
Comment 12 Buovjaga 2021-01-13 14:46:48 UTC
Thanks, let's close