Ghostscript master (13028e7b90) seg faults when reading the attached PostScript file. Older versions of Ghostscript (e.g. 8.54), Apple Preview, and Adobe Acrobat open the file without problem. The command line I'm using: bin/gs -sDEVICE=ppmraw -o test.ppm ./58756.PS I'm bisecting to find the responsible revision now.
The seg faults started with commit 6a82ae29ea4826048fc923388f4f59823e3a55c6: Merge: 254698b 53e03bb Author: Michael Vrhel <michael.vrhel@artifex.com> Date: Mon May 24 16:31:58 2010 +0000 Merge of icc_work branch into trunk.
Interesting the icc table in the clist is screwed up for some reason. Digging further into this now
Even more strange. What we have is a pattern that is a clist. Its icc_table which is stored in the clist is correctly read back. Later during a memcpy during an install of an Halftone it is corrupted though. I will dig more into this tomorrow.
Fixed with http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=36925c8f0864e8ecd54625011696d4bcdbc26fcc issue was that a restore was blowing away the icc_table. The table needed to allocated in stable memory so that it remains present in the presence of save and restore operations.
*** Bug 691652 has been marked as a duplicate of this bug. ***