Bug 688774 - Error: /VMerror in --.imagemask1--
Summary: Error: /VMerror in --.imagemask1--
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PS Interpreter (show other bugs)
Version: 8.54
Hardware: PC Linux
: P3 normal
Assignee: Default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-27 14:37 UTC by Hin-Tak Leung
Modified: 2008-12-19 08:31 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
ps test file, gzip'ed (1.01 MB, application/octet-stream)
2006-06-27 14:41 UTC, Hin-Tak Leung
Details
page 4 of the trouble ps. (1.59 MB, application/postscript)
2006-06-28 03:45 UTC, Hin-Tak Leung
Details
The same page 4, just printed with different options. (457.96 KB, application/postscript)
2006-06-28 03:47 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-06-27 14:37:22 UTC
acroread 7.0.8 linux generated ps file, printing ok on the oki 
B6200 (with a Adobe licensed interpreter) (from the pdf file
http://bugs.ghostscript.com/show_bug.cgi?id=688764)

but crashes ghostscript with 

Error: /VMerror in --.imagemask1--
VM status: 2 2510418 3919704
Current allocation mode is local
Last OS error: 2
Current file position is 930133
AFPL Ghostscript 8.54: Unrecoverable error, exit code 1

file to follow
Comment 1 Hin-Tak Leung 2006-06-27 14:41:32 UTC
Created attachment 2309 [details]
ps test file, gzip'ed

ps file, gziped, which have the imagemask VM error.
Comment 2 Hin-Tak Leung 2006-06-28 03:45:12 UTC
Created attachment 2310 [details]
page 4 of the trouble ps.

Single page (Page 4) of the test file.

gs 8.54 dies on this with: 

Error: /VMerror in --.imagemask1--
VM status: 2 2326277 3741224
Current allocation mode is local
Last OS error: 2
Current file position is 962844
AFPL Ghostscript 8.54: Unrecoverable error, exit code 1
Comment 3 Hin-Tak Leung 2006-06-28 03:47:45 UTC
Created attachment 2311 [details]
The same page 4, just printed with different options.

(Just for reference, probably irrelevant) This is the same page 4 printed 
from acrobat reader, except selecting "level 3" rather than the default "level
2"
(attachment 2310 [details], the trouble ps, was printed with the default level 2).
Comment 4 Ralph Giles 2006-06-28 10:18:57 UTC
should still test this when 688396 is resolved to make sure it was a duplicate
and reopen if not.

*** This bug has been marked as a duplicate of 688396 ***
Comment 5 Marcos H. Woehrmann 2007-04-17 21:40:39 UTC
With r7864 the /VMerror no longer occurs, however at 200DPI and above on my 64
bit Linux box Ghostscript core dumps when converting "page 4 of the trouble ps."
to a ppmraw file.

GPL Ghostscript SVN PRE-RELEASE 8.57 (2007-03-15)
Copyright (C) 2007 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
../../gsheadppm: line 1: 11042 Segmentation fault     
~/Desktop/artifex/ghostscript/trunk/gs/bin/gs
-I/home/marcos/Desktop/artifex/ghostscript/trunk/gs/lib
-I/home/marcos/Desktop/artifex/fonts -sOutputFile=test.ppm -sDEVICE=ppmraw
-dBATCH -dNOPAUSE $*


Therefore I'm re-opening this bug.
Comment 6 Marcos H. Woehrmann 2007-04-18 13:58:03 UTC
Further testing shows that the core dump I reported in comment 5 may be limited to 64 bit Ghostscript.  
The same command line (gs -sDEVICE=ppmraw -sOutputFile=test.ppm -r300 ./page4.pdf) worked on my 
G5 iMac (it took 40+ minutes, but that's a different issue).  On my AMD64 Ubuntu box it core dumps after 
23 minutes.
Comment 7 leonardo 2007-04-18 23:28:41 UTC
Returning to support because I don't have 64 bits until July.
Comment 8 Alex Cherepanov 2008-08-16 18:00:01 UTC
Current revision (8994) processes the sample file quickly and correctly
as tested on 64-bit Darwin x86, 32-bit Darwin x86, 32-bit Linux x86, and 32-bit
Windows x86.