When displaying above EPS file with GS 8.63 through gsview on AMD64 Linux it results in the following error: GSview 4.8 2006-02-25 play_sound: not implemented debug=0 Unknown in Comments section at line 5: %%DocumentFonts: (atend) GPL Ghostscript 8.63 (2008-08-01) Copyright (C) 2008 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Displaying DSC file /home/res/sources/CS/docs/texinfo/usingcs/ownprojects/msvc7proj/snap0.eps without pages Error: /rangecheck in --colorimage-- Operand stack: --nostringval-- (\335\333\2743B4\022Q%"R$"Q$"R%"R5"R5"R5"R5"R5"R5"b5"R5"b5"R5#b53b53b53b53b53b53b53b53RE3c63bF3c53cE3cF3cF3cF3cF3cF4cF3cF4cFDcF4cFDcFDsFDcFDtVDtVDtVDtWDtVDtWDtWDtWEtWEtWEtWUtWU\204WU\204WU\204WU\204WU\204gU\205gU\204gU\205gU\204gU\205hU\204gU\205hU\204...) 4278190419 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- false 1 %stopped_push 1905 1 3 %oparray_pop 1904 1 3 %oparray_pop 1888 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1808 7 3 %oparray_pop Dictionary stack: --dict:1147/1684(ro)(G)-- --dict:0/20(G)-- --dict:75/200(L)-- Current allocation mode is local Last OS error: 2 --- Begin offending input --- --- End offending input --- file offset = 4273 gsapi_run_string_continue returns -101 WM_GSTEXTINDEX not implemented -- however, displaying the same file on Win32 (specifically, Wine) no problem occurs. This suggests some problem on 64-bit platforms?
Created attachment 4538 [details] snap0.eps.gz -- local copy of the sample file. I confirm that the problem doesn't occur on 32-bit windows with with gs8.63, or current dev. version under GSview 4.8 or gswin32c.exe .
I confirm this does happen on my amd64 Linux box. However, calling Ghostcript 8.63 from the command line does not produce the error (at least not with the options I've tried).
Assigning to Russell since we can't reproduce this with the ghostscript command line.
This appears to be the same/similiar to Bug 689709 - a range check in image/colorimage which is specific to the 64-bit gsview environment, around gs 8.62/8.63 . Probably can be looked at together.
64-bit gsview 4.9 + gs 8.71 no longer show problem this file.