# [pdftex] how to crash all (well, some) pdf viewers with pdflatex

Hans Hagen Outside pragma at wxs.nl
Mon Jul 26 23:52:47 CEST 2004

William F. Adams wrote:

> On Monday, July 26, 2004, at 02:18  PM,
> <ivo_welch-pdftex at mailblocks.com> wrote:
>
>> \documentclass{article}
>> \usepackage{graphicx}
>>
>> \begin{document}
>>     any other text here.
>>   \includegraphics[width=0em]{give-a-real-figure's-name-here}
>> \end{document}
>>
>> crashes both xpdf and acrobat as soon as you go to the page where the
>> graphic sits.  hope this helps.
>
>
> Well, it doesn't crash Mac OS X's pdf object (not in TeXshop when
> processed, nor in Preview.app)
>
> It also doesn't crash Acrobat Reader 5 in Mac OS X There was an
> error processing a page. Wrong operand type.'' which perhaps is helpful?
>
Acrobat does not like zero transformation matrices; things like

0.0 0 0 0.0 0 0 cm

will therefore fail (the wrong operands are 0.0 & 0.0). As far as i know this has been reported to adobe.

Hans

-----------------------------------------------------------------