gs-gpl causes error in various gs processing commands

Bug #204489 reported by Christopher Barrington-Leigh
2
Affects Status Importance Assigned to Milestone
gs-gpl (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: gs-gpl

Under Hardy and the latest Gutsy updates:
 I have for a long time made frequent use of "psbind" for printing 2up in a reasonable way.
This has stoppd working recently. It appears the problem is on the gs side:

Given some pdf I want to print, I convert it to ps using pdftops or pdf2ps,
and then apply psbind. However, it now invariably crashes. The error can be reproduced
with the following (psbind uses this command): (insert your own ps file here)

gs -dNOPLATFONTS -dNOPAUSE -dQUIET -dSAFER -sDEVICE=bbox -dBATCH -sOutputFile=/dev/null myfile.ps

Error: /ioerror in --image--
Operand stack:

Execution stack:
   %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1889 1 3 %oparray_pop 1888 1 3 %oparray_pop 1872 1 3 %oparray_pop 1755 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 1793 1 7 %oparray_pop
Dictionary stack:
   --dict:1151/1684(ro)(G)-- --dict:0/20(G)-- --dict:93/200(L)-- --dict:65/75(L)-- --dict:18/25(L)-- --dict:11/15(L)-- --dict:0/15(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 215917
GPL Ghostscript SVN PRE-RELEASE 8.61: Unrecoverable error, exit code 1

Tags: testcase
Revision history for this message
Christopher Barrington-Leigh (cpbl) wrote :
Revision history for this message
Christopher Barrington-Leigh (cpbl) wrote :

Here's another simple/standard operation on a simple file which fails completely. I simply convert a perfectly functional PDF to ps and back again.

Consider the attached 2-page PDF file, testgs.pdf.

[0735][cpbl@:~/tmp]$ pdftops testgs.pdf
[0735][cpbl@:~/tmp]$ mv testgs.ps testgs.pdf.ps
[0735][cpbl@:~/tmp]$ pstopdf testgs.pdf.ps
PsToPdf | converting ps (ps) into pdf
PsToPdf | conversion method 2
PsToPdf | converting testgs.pdf.ps bounded
Error: /undefined in Aa!6FDeg#oPkTbgb
Operand stack:

Execution stack:
   %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --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--
Dictionary stack:
   --dict:1152/1684(ro)(G)-- --dict:0/20(G)-- --dict:93/200(L)-- --dict:65/75(L)-- --dict:18/25(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.61: Unrecoverable error, exit code 1
PsToPdf | job aborted due to some error: Broken pipe

Revision history for this message
Christopher Barrington-Leigh (cpbl) wrote :

This problem remains on the released Ubuntu 8.04! It's crippling me. Is no one else suffering this?! Can someone just try my test and confirm/deny?

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 or 9.04?

Changed in gs-gpl:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in gs-gpl:
status: Incomplete → Invalid
Revision history for this message
Christopher Barrington-Leigh (cpbl) wrote :

 In Ubuntu 9.10, it seems to be resolved: (testgs.pdf file is attached above)

sudo apt-get install context
pdftops testgs.pdf
mv testgs.ps testgs.pdf.ps
pstopdf testgs.pdf.ps

works alright, though the first page is rendered as raster (?)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.