Bug 108880 - Crash: LibO crashes quite randomly while pasting idiotic large images between Writer and Draw
Summary: Crash: LibO crashes quite randomly while pasting idiotic large images between...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.4.0.1 rc
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-30 18:30 UTC by Telesto
Modified: 2017-10-18 12:40 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of a disappeared image (594.00 KB, image/png)
2017-06-30 18:32 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2017-06-30 18:30:28 UTC
Description:
LibO crashes quite randomly while pasting very large images from Draw to Writer. I could accept the crashing as such, but not so randomly. It works until it stops working for some reason.  

It's also possible one of both image disappear (not sure if it's related) after pasting

Steps to Reproduce:
1. Open this link: https://drive.google.com/open?id=0B7DezVIXHrQObTV4dDZtajFiZTg (136mb)
2. Select both images and copy them to the clipboard (CTRL+C)
3. Open a new Writer document and paste -> Will crash (or won't depending)
4. If no crash -> Close the Writer document
5. Repeat step 3
6. If it's still not crashing -> add two pages to the draw document
7. Paste the image to both of them
8. Open a new Writer document and paste

Actual Results:  
Bad alloc crash at some point down to road

Expected Results:
No crash


Reproducible: Always

User Profile Reset: No

Additional Info:
Found in (but I find it very hard to reproduce, but could be system specific)
Version: 6.0.0.0.alpha0+
Build ID: 83634c9d11ea730f6525c66ba26a87e9d1ef3936
CPU threads: 4; OS: Windows 6.19; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-06-30_08:34:23
Locale: nl-NL (nl_NL); Calc: CL

and in
Versie: 5.4.0.1 
Build ID: 962a9c4e2f56d1dbdd354b1becda28edd471f4f2
CPU-threads: 4; Besturingssysteem:Windows 6.2; UI-render: standaard; 
Locale: nl-NL (nl_NL); Calc: CL


User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Comment 1 Telesto 2017-06-30 18:32:06 UTC
Created attachment 134417 [details]
Screenshot of a disappeared image
Comment 2 Buovjaga 2017-07-06 11:33:59 UTC
Sounds like it is an out of memory crash. I could not reproduce even though I did all the suggested actions. I have 32GB mem, which might protect me.

Arch Linux 64-bit, KDE Plasma 5
Version: 6.0.0.0.alpha0+
Build ID: 9eed346b0b745f0598eefc572c789d58353b5e31
CPU threads: 8; OS: Linux 4.11; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on July 5th 2017
Comment 3 Jean-Baptiste Faure 2017-08-19 21:16:00 UTC
Hi Telesto,

Did you monitor the ram used by LO ?

I do not reproduce the crash with LO 5.4.2.0.0+ under Ubuntu 16-04 x86-64.
I have 8 GB of RAM and LO uses 1,1 GB with the odg and the new Writer document with pictures.

Best regards. JBF
Comment 4 Xisco Faulí 2017-10-18 12:20:57 UTC Comment hidden (obsolete)
Comment 5 Telesto 2017-10-18 12:40:39 UTC
Closing as WFM