I am trying to convert some heavy PPTX file (more than 5 MB - lots of images) having more than 200 slides to PDF. But the Libre Office gets crashed.
Tried options like increasing Memory cache to 256 MB, number of objects and object removal time from memory. Tried all options, but editor crashes every time while converting PPTX to PDF.
Urgent help is required to fix this issue, is really appreciated.
can you please provide a test document so this can be tested against and subsequently be confirmed. If your document contains sensitive data, please clear that or replace it with random information. (if your document is to large for this tracker just use a file upload service)
A step-by-step description of how to reproduce the issue is most helpful and will help to speed up the processing of this problem a lot.
Setting to NEEDINFO until more detail is provided.
After providing the requested info, please reset this bug to UNCONFIRMED. Thanks :)
Steps to produce the issue::
1. Take a pptx document, add 4-5 images to 1 slide
2. Then copy paste the slide 200 time
3. Save the pptx
4. Open Libre Office Impress, convert the pptx to PDF
5. office crashes around at 65% mark completion every time
please specify your O/S and which LibO version do you experience the bug.
moreover try reducing your file to a minimal version in which you still experience the crash... I mean, create a backup copy then erare the last 100 slides and try to export to PDF.
if it still crash, try reducing it to 50 slide and see what happens.
once you have a minimal test case, try uploading it here.
I am using Windows 64 bit machine
Libre Office Version 4.1.4
Crash observed when slides are more than 150 in number.
(In reply to comment #5)
> I am using Windows 64 bit machine
> Libre Office Version 4.1.4
OK. I put this in version field (next time you open a bug report remember to indicate the version you are using).
> Crash observed when slides are more than 150 in number.
so basically 149 doesn't crash and 150 do crash?
Created attachment 91426 [details]
single slide test case
I still do not reproduce the issue.
I created a single slide PPTX with 4 images inside it.
I replicated that slide to obtain a 201 slides PPTX and saved it (300 MB)
Export to PDF works, take a few minutes but does not crash.
I attach that single slide, try doing the same and see if you still reproduce the crash.
maybe the bug is file specific and happens just with your PPTX.
Created attachment 91450 [details]
Sample PPTX crashes while converting to PDF using Libre Office Impress
Sample PPTX crashes while converting to PDF using Libre Office Impress attached.
Please copy the slide 200 times (as size was too large so 1 slide here). In each upload a image of 600 KB was there which was removed due to uploading capacity restriction.
Urgent help, is relayy appriciated
your test file has something wrong... it opens in Writer showing a single line with: "<## NASCA DRM FILE - VER1.00 ##>Â(¿Áƒ%##3 #k¦Â#¢”###„ÍÞr%³útÖ<## NASCA DRM FILE - VER1.00 ##>Â(¿Áƒ%##3 #k¦Â#¢”###„ÍÞr%³útÖ"
try uploading it again, maybe it got corrupted.
by the way, did you tey my test file? does it crashes your PC?
A workaround could be to download an install the powerpoint viewer and an PDF printer
Created attachment 91574 [details]
PPTX carsing using Libre Office Img
I have attach a png image which consist of slide show. After 6th slide, 1 sts slide is repeated from 7th to 200th slide. Libre Office crashes while converting this pptx to PDF.
While debugging pptx, it seems after 140th slide, the conversion fails. If pptx has 140th slide with above material, it works fine, above that it crashes, with error "bad alloc"
I tested your file, it does not crashes, copied it 10-200 times, different combinations, it works fine.
so problem must be specific to your file.
please send that PPTX so we can test.
if it's too large, just post the first 6 slides or use some webhosting site.
Please suggest, some Server on which large file can be uploaded(to use a file upload service).
PPTX file which cannot be converted is uploaded at following link, http://www.sendspace.com/file/rrwok3 . When converting to PDF using Libre Office, it crashes. Urgent help is appreciated.
When file has been downloaded, pls let me know, as i need to delete it.
I confirm crash with test file with 22.214.171.124 under Win7 64bit.
that file is very big 200 slides.
I suggest trying to reduce it to the minimal number of slides where the bug is still reproducible...
developers job will be easier if you remove redundant parts that do not cause the crash.
Crash is visisble after 140th slide, i cannot attach reduce file, as it gets encrypted, which yu wont be able to open. Since received this file from some, passed yu as it is.
(In reply to comment #12)
> above that it crashes, with error "bad alloc"
Sounds like too much memory to allocate for a 32-bit app (LO itself is 32-bit, even if Windows is 64-bit, see Bug 61683). That explains why it's reproducible only with a very big file.
I'm not sure that's it's all about 32-bit.
OOo 3.3.0 on my PC doesn't crash with that file: PDF conversion is slow but successful. LibO 3.3.3 does not crash as well
LibO 3.4.3, 3.6.7 and 4.1.4 crash.
so it's a LibO bug. an early regression.
(In reply to comment #23)
> I'm not sure that's it's all about 32-bit.
> OOo 3.3.0 on my PC doesn't crash with that file: PDF conversion is slow but
> successful. LibO 3.3.3 does not crash as well
Sure, but maybe in that version LO used some memory allocation scheme that didn't raise the limits in that case, and that changed with later versions. "bad alloc" means not able to allocate more memory.
(This is an automated message.)
LibreOffice development currently prioritizes bugs with the so called MAB (most annoying bugs) -- as this bug has not run through that process (including writing a short rationale for this bug being a candidate and other who are watching the tracker bug silently approving that rationale etc.) its priority is set to high. Note this is effectively no change in the urgency assigned to this bug, as we are currently not making a difference between high and highest and severity is untouched.
You can find out more about MABs and how the process works by contacting libreoffice qa on irc:
The QA wiki page also gives you hints on how to get in contact with the team (if IRC fails you, your next best choice is the mailing list):
This is rather an old bug; significant work has been done to improve memory management, and swapin/out lifecycle in LibreOffice 4.4 - it would be great to see if this problem still reproducible in a modern LibreOffice version (also ideally if that file with the 200x image slides could be attached it'd be great. If the images are the same the ultimate file size should be small since the images should be de-duplicated to just 1 copy each).
Migrating Whiteboard tags to Keywords: (preBibisect)
http://www.sendspace.com/file/rrwok3 is obsolete so impossible to test.
Let's put this to RESOLVED/INSUFFICIENTDATA.
Vikram: don't hesitate to reopen this tracker if you still reproduce this with recent LO version (5.0.4 is last stable one).