In Xpdf 4.04 (and earlier), a bad color space object in the input PDF file can cause a divide-by-zero.