Corrupted gif locks computer

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
Marcel71
Posts: 49
Joined: 2011-04-13T13:57:34-07:00
Authentication code: 8675308

Corrupted gif locks computer

Post by Marcel71 »

I received a corrupted gif, which usages all the memory when converting it.

gif: http://www.glitterbase.com/hosting/make2.gif
cmd: convert make2.gif -coalesce make3.gif

How to take care the image does not lock my server?

Should i 'turn-on' <policy domain="resource" name="disk" value="16eb"/> ?

I could not find what the value 16eb stands for...
(As i would like that other operations with imagemagick will use resources available, i just don't want that the server gets locked..

Regards.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Corrupted gif locks computer

Post by fmw42 »

Does this help (removing the virtual canvas)?

convert make2.gif +repage -coalesce make3.gif
Marcel71
Posts: 49
Joined: 2011-04-13T13:57:34-07:00
Authentication code: 8675308

Re: Corrupted gif locks computer

Post by Marcel71 »

Hi frm42, glennrp,

Thanks, the +repage helps indeed :)

But i would not mind if this image fails with convert, as long as it is not taking to many system resources.
What are the policy.xml you use for your server?

Regards
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Corrupted gif locks computer

Post by fmw42 »

Magick can answer that best, but this was a recent post of his to another user.

viewtopic.php?f=2&t=23385&p=98237#p98237
Post Reply