From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
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):
Steps to Reproduce:
1. Save "master.tex" and "status-enabled.png", which are attached to
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.
Created attachment 106883 [details]
PNG file for inclusion into document
Created attachment 106884 [details]
LaTeX document to be rendered using "pdflatex master"
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.
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.
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:
I'll file a bug against libpng so hopefully this will be solved soon.
The new release of libpng-1.2.8 fixes the issue.
Fix confirmed in libpng-1.2.8-1.fc3.