Apache OpenOffice (AOO) Bugzilla – Issue 104936
Problem with png image in impress, possible crash
Last modified: 2013-08-07 15:20:06 UTC
When I try to show the attached slideshow it causes Impress to halt at side 2 which has pictures on it. The offending slide will also sometimes crash Impresss and cause it to go to the crash recovery screen when that slide is attempted to be show. Also the slideshow will stop at the slide just before the offending slide (#2 in this small show). Originally this slide was part of a show with about 103 slides that it would also crash. I deleted this slide and the show ran fine. This slide contains several pictures, two of which will not display. They may be pictures from a web page, I am not sure. I kept a copy of the offending slide in a small segment of the show to demonstrate it. I can send a copy.
Created attachment 64660 [details] Demonstrates how a particular slide with 4 images can crash Impress
Kevin Glinski 9-9-9 I was able to reproduce. On slide 2, there are 5 images total 3 do not display when editing the slides, but do show in the preview. if you delete the slides that don't display when editing, the show runs fine. it will still crash when you delete all images but one of the non-displayed ones.
I checked with "Ooo 3.1.1 WIN XP DE-multilingual version German UI activated [OOO310m19 (Build 9420)]" and can confirm problems: - no slide change from 1 to 2 - OOo crashes if I start it with slide 2 (select slide 2, then <f9> "2.0.2 German version WIN XP: [680m5(Build9011)]" will not run at all, after I opened and started document 2.0.2 ran into an endless recovery loop. I will contribute a crash report ID ASAP. @vaughant: Pls specify your OS ans Platform. How (with what presentation program) has the original presentation been created?
I found the element in slide 2 causing the problem, pls. see attached screenshot "malefactor.pdf"!
Created attachment 64664 [details] Pls. see "comments from rainerbielefeld Thu Sep 10 05:27:58"
During my tests to find the reason for the crash I created several crash reports with IDs r8273dc, r7273dc, rd273dc, r8w73dc, r3w73dc, rjw73dc, rtqr3dc good software should never crash, so NEW. But we also need requested additional information!
I can not confirm the crash but there is a png used 3 times on slide 3 that is rendered empty. Other applications render this png correctly so the issue seems to be the png filter.
Confirm cl' ideas, "1000000000000000000000001B7DAD45.png" is invisible when opened with any OOo version. If I open that picture with IrfanVIW and save it again, the new document will be visible without problems.
(Riederk, 21:12 9/9/09) I was able to get the same error when using vaughant's presentation file. Configuration Windows Vista SP2 OOo-dev 3.2.0 DEV300m56 (Build:9419) Steps Taken to Reproduce: 1) Launched by double clicking vaughant's file 2) click on the second slide ==> Notice the top 3 images disappear 3) click the first slide > click“slide show†on the presentation toolbar 4) after the first slide appears → right click > next ==> Impress will skip the second slide and got to the third. 5) right click > End Show 6) click second slide > click“slide show†on the presentation toolbar ==> Impress will crash and take you to the recovery page. I tried rearranging the images to see if that would change anything, but nothing did. I then tried replacing the images that disappeared in vaughant's file ( the top three on the second slide) and then tried again. It worked perfectly. The problem appears to be with the file type of those images. If you could find out what type they were it might narrow down the issue. For reference, when replacing the images on the slide I used JPEG, GIF, PNG, TIFF and Bitmap images. None of these had a problem during the slideshow. The PNG files I put on worked fine, so it could be that particular file?
I have analyzed the offending PNG file using TweakPNG. Looks fairly standard, but has an uncommon data chunk: 'msOG'. I will attach this chunk as a text file if anyone wants to inspect it. It seems (from a very quick web search) this is produced by MSOFFICE9.0, as a way of stuffing a GIF file into a PNG, probably to preserve a GIF animation. IMHO shouldn't cause a crash, as this extra data is stored after the PNG image data... of course we can store pretty much any user data in a PNG container, so OOo should be robust against this... I have attached the PNG with the msOG chunk removed- see if this fixes things. Cheers Andrew
Created attachment 65176 [details] Strange msOG data chunk from offending PNG image, as textfile
Created attachment 65177 [details] Updated PNG file (fixed?), with the msOG data chunk stripped.
Ok, it seems that OOo does something with the msOG chunk... Issue 5583 - Animated GIFs don't work in exported power point files For example, line 03769: http://docs.go-oo.org/svx/html/escherex_8cxx-source.html Note: I've not tested whether it is that odd chunk that is causing your problems in OOo... it just seems suspicious...