I am using ImageMagic-5.5.7.
I was converting the GIF image to JPEG. I had given corrupted GIF file as input , as a result of which core is generated.
When I had checked the core I found the failure of assert in the AcquireMemory function of memory.c.
The following is the call stack :-
libc.so.1`_lwp_kill+8(6, 0, fef72dd8, fef28df8, ffffffff, 6)
libc.so.1`abort+0x110(fa22ac98, 1, 0, ad260, fef712d8, 0)
libc.so.1`_assert+0x64(fe521c64, fe521c70, 58, fe2f4400, acf7c, 71034)
mod_mmsxcode.so.mlib`AcquireMemory+0x30(0, 0, 102946d1, abacadab, abacadab,
fe521c00)
mod_mmsxcode.so.mlib`SignatureImage+0x68(10293d10, 10293d10, fe2e8e28,
abacac00, c8c, 0)
mod_mmsxcode.so.mlib`TranslateText+0xb2c(2817, 10293d10, 10322f1d, 10325d08,
fe628270, fe628260
)
mod_mmsxcode.so.mlib`SetImageAttribute+0x1e0(10293d10, fe535d60, 10321d00,
fe524800, abacadab,
abacadab)
mod_mmsxcode.so.mlib`ReadGIFImage+0x3b0(6697f40, fa22dadc, 0, 10293d10, 0, 0)
mod_mmsxcode.so.mlib`ReadImage+0x1f8(6693f38, fa22dadc, 6699807, 2000, 20dc,
fe51d400)
mod_mmsxcode.so.mlib`BlobToImage+0xe0(668ff30, 8c3998, 18c7, fa22dadc,
abacadab, abacac00)
Can you please tell me how to handle this situation ?
Assert Failure
Re: Assert Failure
Post a URL to your corrupted GIF image. We need to download it and reproduce the problem before we can comment further.