Convert crash, gs bug ?

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00
Contact:

Convert crash, gs bug ?

Post by broucaries »

From https://bugs.launchpad.net/ubuntu/+sour ... bug/487637

onvert -define pdf:use-cropbox=true -depth 8 -flatten "pdf:foo.pdf" "ppm:foo.ppm"
**** Page has no /MediaBox attribute. Using the current page size.
Error: /stackunderflow in --run--
Operand stack:
--dict:6/6(L)-- 612.0 792.0 3
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval--
Dictionary stack:
--dict:1159/1684(ro)(G)-- --dict:1/20(G)-- --dict:75/200(L)-- --dict:75/200(L)-- --dict:106/127(ro)(G)-- --dict:285/300(ro)(G)-- --dict:21/25(L)-- --dict:2/6(L)--
Current allocation mode is local
GPL Ghostscript 8.70: Unrecoverable error, exit code 1
convert: Postscript delegate failed `foo.pdf': No such file or directory @ pdf.c/ReadPDFImage/612.
convert: missing an image filename `ppm:foo.ppm' @ convert.c/ConvertImageCommand/2775.
nmn@laptop:~/temp$

The problem is in "-define pdf:use-cropbox=true" option. Without this option everything works Ok

Thank you
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Convert crash, gs bug ?

Post by magick »

The bug you reported is in Ghostscript. We have reports it has been fixed but we're not sure which release the patch is in.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests