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