[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#430697: marked as done (ps2ps + ps2epsi ceased to work)



Your message dated Mon, 7 Feb 2011 16:28:12 +0100
with message-id <201102071628.13695.roucaries.bastien@gmail.com>
and subject line Done: ps2ps + ps2epsi ceased to work
has caused the Debian Bug report #430697,
regarding ps2ps + ps2epsi ceased to work
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
430697: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=430697
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gs-common
Version: 0.3.13
After using ps2ps to sanitize a PS file, applying ps2epsi on the same file exits with code 0 (!) after outputting the following dump (I shortened the \000 lines a bit further):

ERROR: /rangecheck in --.getbitsrect--
Operand stack:
-1 839 (\000\000\000\000\000\000\000\000...) --nostringval-- 0 839 595 842 0 --nostringval-- (\000\000\000\000\000\000\000\000\000\000\000...)
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push --nostringval-- --nostringval-- --nostringval-- 840 1 3369 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- 6 5 %oparray_pop --nostringval--
Dictionary stack:
--dict:1127/1686(ro)(G)-- --dict:0/20(G)-- --dict:105/200(L)-- --dict:26/30(L)-- --dict:26/30(L)--
Current allocation mode is local
Last OS error: 2
ESP Ghostscript 815.03: Unrecoverable error, exit code 1

Actually ps2epsi produces an epsi file, but that file does not contain any bounding box, and thus is not embeddable. Obviously it should not crash, and secondly if it crashes, why does it not return an error code?

I tried with older versions of gs-common I still had in the archives, and 0.3.11 did not have this bug.

Steps to reproduce the problem:

~/ps % cat wtf.ps
%!PS-Adobe-3.0 WTF

initclip newpath clippath pathbbox
/PageTop exch def
/PageRight exch def
/PageBottom exch def
/PageLeft exch def

/DefaultFont /Helvetica-Bold findfont
[300 0 0 300 0 0] makefont def
DefaultFont setfont

400 50 moveto
90 rotate
(WTF) show


showpage
~/ps % gv wtf.ps
~/ps % ps2ps wtf.ps wtf.tmp
~/ps % ps2epsi wtf.tmp wtf.epsi
< ... see above ... >
ESP Ghostscript 815.03: Unrecoverable error, exit code 1
~/ps % echo $?         # huh?
0
~/ps % gv wtf.epsi     # viewable, correct display
~/ps % vim wtf.epsi    # but no bounding box
~/ps %


--- End Message ---
--- Begin Message ---
Package: gs-common
Version: 8.71~dfsg2-9

Work with my version



--- End Message ---

Reply to: