Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1052652: ghostscript: eps2write fails on test file

32 views
Skip to first unread message

Roland Rosenfeld

unread,
Sep 26, 2023, 11:00:04 AM9/26/23
to
retitle 1052652 ghostscript: eps2write fails with -sPageList=1
thanks

> Running
> gs -dSAFER -sDEVICE=eps2write -sPageList=1 -o line.eps line.pdf
> on 10.01.2~dfsg-1 (and older) versions works as expected, but fails
> with the following output on 10.02.0~dfsg-2:
>
> $ gs -dSAFER -sDEVICE=eps2write -sPageList=1 -o line.eps line.pdf
> GPL Ghostscript 10.02.0 (2023-09-13)
> Copyright (C) 2023 Artifex Software, Inc. All rights reserved.
> This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
> see the file COPYING for details.
> Error: /undefined in --runpdf--
> Operand stack: --nostringval-- 1 ( **** Error: PDF interpreter encountered an error processing the file.\n)
> Execution stack: %interp_exit .runexec2 --nostringval-- runpdf --nostringval-- 2 %stopped_push --nostringval-- runpdf runpdf false 1 %stopped_push 1944 1 3 %oparray_pop 1943 1 3 %oparray_pop 1928 1 3 %oparray_pop 1929 1 3 %oparray_pop runpdf
> Dictionary stack: --dict:752/1123(ro)(G)-- --dict:0/20(G)-- --dict:86/200(L)-- --dict:7/10(L)--
> Current allocation mode is local
> GPL Ghostscript 10.02.0: Unrecoverable error, exit code 1

> By trial-and-error I found out, that removing the option
> "-sPageList=1" avoids the error, but this may result in other side
> effects in fig2dev, since the above command only wants to convert the
> first page of the document.

It seems, that for my needs, I can replace
-sPageList=1
by
-dFirstPage=1 -dLastPage=1
which should do the same, but does not fail with the new ghostscript
version.

Anyway, both variants are still mentioned in the documentation
(https://ghostscript.readthedocs.io/en/gs10.02.0/Use.html), so they
should work as before, so this is still an important bug in the new
ghostscript version.

Greetings
Roland

Steven Robbins

unread,
Jan 6, 2024, 1:40:06 AM1/6/24
to
tags 1052652 upstream
forwarded 1052652 https://bugs.ghostscript.com/show_bug.cgi?id=707368
thanks


On Mon, 25 Sep 2023 20:05:27 +0200 Roland Rosenfeld <rol...@debian.org> wrote:
> Package: ghostscript
> Version: 10.02.0~dfsg-2
> Severity: important
>
> Dear Maintainer,
>
> upgrading ghostscript from 10.01.2~dfsg-1 to 10.02.0~dfsg-2 triggers a
> regression in the testsuite of fig2dev.

Reproduced with ghostscript 10.02.1.

> By trial-and-error I found out, that removing the option
> "-sPageList=1" avoids the error, but this may result in other side
> effects in fig2dev, since the above commend only wants to convert the
> first page of the document.

Thanks! This looks like the upstream bug https://bugs.ghostscript.com/
show_bug.cgi?id=707368

-Steve
signature.asc
0 new messages