Page 1 of 1

EOFBlob: Assertion `image->blob->type != UndefinedStream' fa

Posted: 2010-02-16T12:24:09-07:00
by j2043
Hey folks,

When using ImageMagick 6.5.8 I get:

magick/blob.c:726: EOFBlob: Assertion `image->blob->type != UndefinedStream' failed.

When processing http://a.images.blip.tv/AlyssaDawnPrice ... als929.jpg

I'm using imagemagick 6.5.8.3-1 on Debian Etch AMD64 backported from the testing branch of debian. The bug is reproducable in 6.5.9 on OSX 10.6.

Thanks,

-Joel

Re: EOFBlob: Assertion `image->blob->type != UndefinedStream

Posted: 2010-02-16T13:47:28-07:00
by magick
The image is not in a proper JFIF / JPEG format or its corrupt. We'll work on displaying a better exception message in the next point release of ImageMagick.

Re: EOFBlob: Assertion `image->blob->type != UndefinedStream

Posted: 2010-02-16T15:42:25-07:00
by j2043
Thanks. I'm reading this image within Rmagick which just sorta blows up on these assertions. I haven't yet figured out a way to keep the ruby code from an untimely death.

-Joel

Re: EOFBlob: Assertion `image->blob->type != UndefinedStream

Posted: 2010-02-16T19:41:13-07:00
by magick
Turns out your image is a PICT with an embedded JPEG image. We have a patch to properly read your image in ImageMagick 6.5.9-7 available sometime tomorrow.