Bug 131831 - Bad allocation crash pasting hug document as RTF
Summary: Bad allocation crash pasting hug document as RTF
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTF-Paste Crash
  Show dependency treegraph
 
Reported: 2020-04-02 18:58 UTC by Telesto
Modified: 2020-07-03 20:08 UTC (History)
2 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 Telesto 2020-04-02 18:58:21 UTC
Description:
Bad allocation crash pasting hug document as RTF

Steps to Reproduce:
1. Open https://cloud.libreofficechina.org/s/AHda2EyCYeKSjAb/download
2. CTRL+A CTRL+C
3. CTRL+N (new) Document
4. CTRL+SHIFT+V Paste as RTF

Actual Results:
Crash after a while

Expected Results:
No crash


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: 4501a0ba623ad61c5a4e0b807da2e96f0e4ce82c
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 1 Dieter 2020-04-20 06:15:53 UTC
I confirm it with

Version: 7.0.0.0.alpha0+ (x64)
Build ID: 1c9ced04189c9d23ffea05d5570960b54b05ef28
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: CL
Comment 2 Xisco Faulí 2020-04-22 18:00:09 UTC
Hi Telesto,
Could you please create a minimal sample reproducible?
Same goes for most of the bugs you report. it's just a nightmare to deal with 30mbs documents, 100 pages documents or documents with hundred of tables...
Comment 3 Telesto 2020-04-22 19:08:55 UTC
(In reply to Xisco Faulí from comment #2)
-> most of the bugs you report.. 

Sounds like an overstatement..There are a bunch of bugs with larger files, but most of them are quite normal
And pinpointing the issue can be rather hard.. as you are certainly aware of. And I'm not heaving the developer view to 'know' where to look anyhow.
And big file can show issue which aren't apparent for small files. 
 
I have tried to reduce the file (splitting in half), but no crash.
Comment 4 QA Administrators 2020-04-23 03:38:37 UTC Comment hidden (obsolete)
Comment 5 Xisco Faulí 2020-05-19 12:44:26 UTC
(In reply to Telesto from comment #0)
> Description:
> Bad allocation crash pasting hug document as RTF
> 
> Steps to Reproduce:
> 1. Open https://cloud.libreofficechina.org/s/AHda2EyCYeKSjAb/download

I get a 504 Gateway Time-out. Please upload the document somewhere else or create a smaller document and attach it here
Comment 6 Telesto 2020-07-03 20:08:51 UTC
No crash