[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#278705: tetex-bin: pdflatex seg faults on loading particular PNG



On 28.10.04 Graham Williams (Graham.Williams@togaware.com) wrote:

Hi,

> I understand tetex-bin has undergone some changes lately. Now
> pdflatex fails for me. I'm still investigating it to see exactly
> what is causing it, but a simple \includegraphics of a specific PNG
> file leads to a Seg Violation:
> 
IIRC there where some changes in the pdf processing code of pdftex in
latest release, but only there. So I can't see, how the png-part
could be affected.
However, could you try to downgrade to tetex-bin 2.0.2-22? It should
be sufficient to just download the deb-file, unpavk it using dpkg-deb
or ar and put /usr/bin/pdftex into the actual directory and then call
./pdftex filename.tex
does that cause the same segfault?
 
> loading : Context Support Macros / PDF
> ) <TMP.png, id=1, 567.11874pt x 577.15625pt> <use TMP.png> [1{/var/lib/texmf/dv
> ips/config/pdftex.map} <./TMP.pngSegmentation fault
> ------------------------------------------------------------------------
> 
> If I replace TMP.png with another png it works just fine. It also
> works just fine on an older pdflatex.  Display of TMP.png and edit
> of TMP.png in gimp work just fine.
> 
So it seems a valid file.

> TMP.tex contains:
> ------------------------------------------------------------------------
> \documentclass[12pt,a4paper,twoside]{book}
> \usepackage{graphicx}
> \begin{document}
> \begin{figure}[htbp]
>   \begin{center}
>     \includegraphics[width=\textwidth]{TMP}
>     \caption{Sample GIMP screenshot.}
>     \label{fig:gimp01}
>   \end{center}
> \end{figure}
> \end{document}
> ------------------------------------------------------------------------
> 
Well, just valid LaTeX code. 

Regards,
  Hilmar
-- 
sigmentation fault



Reply to: