From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020 Epiphany/1.4.4 Description of problem: I have a specific PNG image file which consistently crashes pdflatex. When I pull that image into a document using "\includegraphics", pdflatex gets a segmentation fault. The PNG image appears to be well-formed. This all worked fine under Fedora Core 2, so apparently this is a regression under Fedora Core 3. I will attach the image and an example LaTeX document to this report. Version-Release number of selected component (if applicable): tetex-latex-2.0.2-21 How reproducible: Always Steps to Reproduce: 1. Save "master.tex" and "status-enabled.png", which are attached to this report. 2. Run "pdflatex master". Actual Results: pdflatex crashes with a segmentation fault at the point where it tries to pull in the PNG image. Expected Results: pdflatex should have completed without error, yielding a PDF document showing the PNG image. Additional info:
Created attachment 106883 [details] PNG file for inclusion into document
Created attachment 106884 [details] LaTeX document to be rendered using "pdflatex master"
Hi Ben, yes, I see the bug. The problem is with import of PNG images with alpha channel. I tried to cut out the alpha channel and I no longer face the segfault problem. So you can use it as a simple workaround now. I'm now figuring out the reason for the segfault. thanks, Jindrich
Jindrich, thank you so much for taking the time to look at this. I worried it wouldn't get much attention since pdflatex is a bit obscure. pdflatex doesn't do anything useful with alpha channels anyway, at least not yet. The workaround you suggest will be easy to enact and will get me back up and running (or at least typesetting) quickly. Thanks again!
Ben, I found the reason why pdflatex segfaults. It looks like the problem is not in pdflatex but libpng. The pdflatex segfaults only with libpng-1.2.7. To fix this please downgrade to libpng-1.2.2, where this error doesn't occur. (tested) You can get working libpng from: http://sunsite.mff.cuni.cz/pub/fedora/2/i386/os/Fedora/RPMS/libpng-1.2.2-22.i386.rpm I'll file a bug against libpng so hopefully this will be solved soon. greetings, Jindrich
The new release of libpng-1.2.8 fixes the issue.
Fix confirmed in libpng-1.2.8-1.fc3. Thanks, Jindrich!