6706/trunk and 8.53. psmono and psrgb and psgray works fine, but pswrite and ps2write doesn't. pdf file to follow. ================= bin/gs -dNOPAUSE -dBATCH -dSAFER -sDEVICE=ps2write -sOutputFile=a.ps -c save pop -f file.pdf AFPL Ghostscript CVS PRE-RELEASE 8.54 (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 Error: /VMerror in --.pushpdf14devicefilter-- VM status: 4 1813711 3116976 Current allocation mode is local Last OS error: 12 AFPL Ghostscript CVS PRE-RELEASE 8.54: Unrecoverable error, exit code 1 bin/gs -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite -sOutputFile=a.ps -c save pop -f file.pdf AFPL Ghostscript CVS PRE-RELEASE 8.54 (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 Error: /VMerror in --.pushpdf14devicefilter-- VM status: 4 1387987 2682252 Current allocation mode is local Last OS error: 12 AFPL Ghostscript CVS PRE-RELEASE 8.54: Unrecoverable error, exit code 1 bash-3.00$ ====================
Created attachment 2155 [details] the pdf file which triggers the problem it displays find with x11, and other devices, but also have problem with ijs in devicegray (separate bug, will follow).
Apologies - the problem seems to be at least partly resource related. On a different machine (opteron with more RAM), pswrite ran to completion, but file sizes very different for the bad pdf file and good pdf file (http://bugs.ghostscript.com/attachment.cgi?id=2155&action=view http://bugs.ghostscript.com/attachment.cgi?id=2156&action=view) 64-bit gs 815.1 on opteron -rw-r--r-- 1 50139 fuse 142919220 May 1 02:02 bad.ps -rw-r--r-- 1 50139 fuse 16453037 May 1 02:03 good.ps 32-bit gs 8.53 on opteron -rw-r--r-- 1 50139 fuse 139439169 May 1 02:04 bad.ps -rw-r--r-- 1 50139 fuse 16514479 May 1 02:03 good.ps So the crash is probably due to the fact that the original machine is a bit under-powered. So the bug probably should be rephrased as why the resource requirement and nearly 100x increase in file size from pdf to ps.
The attachment 2155 [details] needs 220Mb RAM. Closing as a dup of Bug 688919 . *** This bug has been marked as a duplicate of 688919 ***