Diskfull unhelful ghostscript error: ioerror in showpage

Bug #859822 reported by Xan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ImageMagick
Invalid
Undecided
Unassigned
ghostscript (Debian)
Fix Released
Unknown
ghostscript (Ubuntu)
Invalid
Undecided
Unassigned
imagemagick (Ubuntu)
Invalid
Undecided
broucaries

Bug Description

When I try to convert pdf I found an io error:

$ convert -density 300 santillana-21.pdf santillana21.jpg
Error: /ioerror in --showpage--
Operand stack:
   1 true
Execution stack:
   %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1878 1 3 %oparray_pop 1877 1 3 %oparray_pop 1861 1 3 %oparray_pop --nostringval-- --nostringval-- 35 1 40 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- 1761 0 9 %oparray_pop --nostringval-- --nostringval--
Dictionary stack:
   --dict:1162/1684(ro)(G)-- --dict:1/20(G)-- --dict:75/200(L)-- --dict:75/200(L)-- --dict:108/127(ro)(G)-- --dict:288/300(ro)(G)-- --dict:22/25(L)-- --dict:6/8(L)-- --dict:25/40(L)--
Current allocation mode is local
Last OS error: 28
GPL Ghostscript 8.71: Unrecoverable error, exit code 1
convert: Postscript delegate failed `santillana-21.pdf': No such file or directory @ pdf.c/ReadPDFImage/634.
convert: missing an image filename `santillana21.jpg' @ convert.c/ConvertImageCommand/2838.
xan@fix:~$

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: imagemagick 7:6.5.7.8-1ubuntu1.1
ProcVersionSignature: Ubuntu 2.6.32-33.72-generic 2.6.32.41+drm33.18
Uname: Linux 2.6.32-33-generic x86_64
Architecture: amd64
Date: Mon Sep 26 19:17:43 2011
ProcEnviron:
 PATH=(custom, user)
 LANG=ca_ES.utf8
 SHELL=/bin/bash
SourcePackage: imagemagick

Revision history for this message
Xan (dxpublica) wrote :
Revision history for this message
Xan (dxpublica) wrote :

When I print file to pdf with evince, then I could convert the copy file.

Thanks,
Xan.

Revision history for this message
broucaries (roucaries-bastien+bugs) wrote :

Incomplete without santillana-21.pdf

Changed in imagemagick (Ubuntu):
status: New → Incomplete
Revision history for this message
Xan (dxpublica) wrote :

I hope this serve to untag as incomplete.

Changed in imagemagick (Ubuntu):
status: Incomplete → New
Revision history for this message
cubells (cubells) wrote :

I think the problem is solved if you execute this command:

$ convert santillana-21.pdf -density 300 santillana21.jpg

instead your first command:

$ convert -density 300 santillana-21.pdf santillana21.jpg

Is It possible?

Revision history for this message
Xan (dxpublica) wrote :

Not, it hangs.... no response of the program.

Revision history for this message
broucaries (roucaries-bastien+bugs) wrote :

Could yoyu type strace convert santillana-21.pdf -density 300 santillana21.jpg

Revision history for this message
Xan (dxpublica) wrote :

Yes, here. ;-)

Revision history for this message
broucaries (roucaries-bastien+bugs) wrote :
Changed in imagemagick (Ubuntu):
status: New → Confirmed
Revision history for this message
broucaries (roucaries-bastien+bugs) wrote :

Seems a gs bug
gs -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pam" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r300x300" -dUseCIEColor "-sOutputFile=/tmp/magick--V9s1G26-%08d" -f"/tmp/santillana-21.pdf"
Error: /ioerror in --showpage--
Operand stack:
   1 true
Execution stack:
   %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1910 1 3 %oparray_pop 1909 1 3 %oparray_pop 1893 1 3 %oparray_pop --nostringval-- --nostringval-- 31 1 40 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- 1793 0 9 %oparray_pop --nostringval-- --nostringval--
Dictionary stack:
   --dict:1168/1684(ro)(G)-- --dict:1/20(G)-- --dict:82/200(L)-- --dict:82/200(L)-- --dict:109/127(ro)(G)-- --dict:291/300(ro)(G)-- --dict:24/31(L)-- --dict:6/8(L)-- --dict:25/40(L)--
Current allocation mode is local
Last OS error: 28
GPL Ghostscript 9.05: Unrecoverable error, exit code 1

Revision history for this message
broucaries (roucaries-bastien+bugs) wrote :

Ok it is in fact a disk full under /tmp. Gserror is quite cryptic ....

summary: - convert ioerror in showpage
+ Diskfull unhelful ghostscript error: ioerror in showpage
Changed in ghostscript (Ubuntu):
status: New → Confirmed
Revision history for this message
broucaries (roucaries-bastien+bugs) wrote :

imagemagick could also help here by converting image by image instead of dumping the whole pdf...

Changed in imagemagick (Ubuntu):
assignee: nobody → broucaries (roucaries-bastien+bugs)
Changed in ghostscript (Debian):
status: Unknown → Confirmed
Changed in ghostscript (Debian):
status: Confirmed → Fix Released
Changed in ghostscript (Ubuntu):
status: Confirmed → In Progress
status: In Progress → Fix Committed
Changed in imagemagick (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
dino99 (9d9) wrote :

That version is no more supported

Changed in imagemagick (Ubuntu):
status: Fix Committed → Invalid
Changed in ghostscript (Ubuntu):
status: Fix Committed → Invalid
Changed in imagemagick:
status: New → Invalid
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.