[bug-gs] PDF -> JPG conversion problems

Brian Crumrine brian at dealerfusion.com
Wed Jan 11 15:06:37 PST 2006


I have a couple PDFs that when converting to JPG produce Segmentation Faults
in Ghostscript.   The PDF processes OK by the press and in Acrobat (passed
pre-flight checks as well).

Here are the scenarios:

[root at dm ~]# gs -dNOPAUSE -dBATCH -dSAFER -sDEVICE=jpeggray -r200
-sOutputFile=/tmp/filewPK4qn.%02d.jpg -c save pop -f filehawd2t.pdf 

GNU Ghostscript 7.07 (2003-05-17)
Copyright (C) 2003 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusRomNo9L-Regu font from
/usr/share/fonts/default/Type1/n021003l.pfb... 2471956 1109386 1662616
356238 0 done.
Using NimbusRomanNo9L-Regu font for NimbusRomNo9L-Regu.
Loading NimbusSanL-Regu font from
/usr/share/fonts/default/Type1/n019003l.pfb... 2867012 1457372 1682712
367446 0 done.
Using NimbusSansL-Regu font for NimbusSanL-Regu.
Processing pages 1 through 1.
Page 1
Segmentation fault

** AFPL 8.51 works on one machine,
[root at dm bin]# ./gs -dNOPAUSE -dBATCH -dSAFER -sDEVICE=jpeggray -r200
-sOutputFile=/tmp/filewPK4qn.%02d.jpg -c save pop -f /root/filehawd2t.pdf 
AFPL Ghostscript 8.51 (2005-04-18)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1

** AFPL 8.53 doesn’t work on another machine.
[cds at piston gs]$ ./bin/gs   -sDEVICE=jpeg -r140
-sOutputFile=/tmp/filewsGrTW.jpg  -f "/tmp/fileUwuQ7g.pdf" 
AFPL Ghostscript 8.53 (2005-10-20)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
Segmentation fault

I can’t seem to compile AFPL 8.51 on second machine (missing JPEG library,
but 8.53 doesn’t complain about it). 

So, is there a bug in PDF processing to look at here?  Or should I look
elsewhere?

Regards,
Brian Crumrine
Dealer Fusion, Inc.



More information about the bug-gs mailing list