Bug 688652 - pswrite/ps2write: /VMerror in --.pushpdf14devicefilter-- with given pdf file
Summary: pswrite/ps2write: /VMerror in --.pushpdf14devicefilter-- with given pdf file
Status: RESOLVED DUPLICATE of bug 688919
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PS Writer (show other bugs)
Version: master
Hardware: PC Linux
: P4 normal
Assignee: leonardo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-15 20:10 UTC by Hin-Tak Leung
Modified: 2007-12-13 12:55 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
the pdf file which triggers the problem (1.43 MB, application/pdf)
2006-04-15 20:17 UTC, Hin-Tak Leung
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hin-Tak Leung 2006-04-15 20:10:23 UTC
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$ 
====================
Comment 1 Hin-Tak Leung 2006-04-15 20:17:15 UTC
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).
Comment 2 Hin-Tak Leung 2006-04-30 18:18:16 UTC
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. 
Comment 3 leonardo 2006-09-26 02:26:50 UTC
The attachment 2155 [details] needs 220Mb RAM. Closing as a dup of Bug 688919 .

*** This bug has been marked as a duplicate of 688919 ***