Page 1 of 1

Convert.exe "Corrupt image"

Posted: 2007-03-18T09:11:42-07:00
by maga
Noting that several image spam mails slipped our ocr scripts, I found out that some manipulated gif images cause errors in CONVERT.EXE. However, the same images can be displayed correctly. Updating to the latest version of CONVERT.EXE did not solve the problem.

Software version:
ImageMagick 6.3.3 03/10/07 Q16 http://www.imagemagick.org

Commandline utilized:
  • C:\temp\xocr\convert.exe +adjoin -depth 8 "C:\temp\xocr\viag01\fbcib.gif" pnm:"C:\temp\xocr\viag01\PNM\fbcib.gif.pnm"
Debug Log:
  • 2007-03-16T12:37:31+01:00 0:01 0.000u 6.3.3 Configure convert.exe[2880]: nt-base.c/NTRegistryKeyLookup/1536/Configure
    SOFTWARE\ImageMagick\6.3.3\Q:16
    2007-03-16T12:37:31+01:00 0:01 0.000u 6.3.3 Configure convert.exe[2880]: nt-base.c/NTRegistryKeyLookup/1554/Configure
    ConfigurePath
    2007-03-16T12:37:31+01:00 0:01 0.000u 6.3.3 Configure convert.exe[2880]: configure.c/GetConfigureOptions/482/Configure
    Searching for configure file: "C:\Programme\ImageMagick-6.3.3-Q16\delegates.xml"
    2007-03-16T12:37:31+01:00 0:01 0.000u 6.3.3 Configure convert.exe[2880]: configure.c/GetConfigureOptions/482/Configure
    Searching for configure file: "C:\Dokumente und Einstellungen\gnm\delegates.xml"
    2007-03-16T12:37:31+01:00 0:01 0.000u 6.3.3 Configure convert.exe[2880]: configure.c/GetConfigureOptions/482/Configure
    Searching for configure file: "delegates.xml"
    2007-03-16T12:37:31+01:00 0:01 0.000u 6.3.3 Configure convert.exe[2880]: delegate.c/LoadDelegateList/1159/Configure
    Loading delegate map "C:\Programme\ImageMagick-6.3.3-Q16\delegates.xml" ...
    2007-03-16T12:37:31+01:00 0:01 0.016u 6.3.3 Configure convert.exe[2880]: delegate.c/LoadDelegateList/1159/Configure
    Loading delegate map "delegates.xml" ...
    2007-03-16T12:37:31+01:00 0:01 0.016u 6.3.3 Configure convert.exe[2880]: utility.c/ExpandFilenames/812/Configure
    Command line: C:\temp\xocr\convert.exe{+adjoin}{-depth}{8}{-debug}{all}{C:\temp\xocr\viag01\fbcib.gif}{pnm:C:\temp\xocr\viag01\PNM\fbcib.gif.pnm}

    2007-03-16T12:37:31+01:00 0:01 0.016u 6.3.3 Blob convert.exe[2880]: blob.c/OpenBlob/2185/Blob
    read 4096 magic header bytes
    2007-03-16T12:37:31+01:00 0:01 0.016u 6.3.3 Cache convert.exe[2880]: cache.c/DestroyCacheInfo/1851/Cache
    destroy
    2007-03-16T12:37:31+01:00 0:01 0.016u 6.3.3 Configure convert.exe[2880]: nt-base.c/NTRegistryKeyLookup/1536/Configure
    SOFTWARE\ImageMagick\6.3.3\Q:16
    2007-03-16T12:37:31+01:00 0:01 0.016u 6.3.3 Configure convert.exe[2880]: nt-base.c/NTRegistryKeyLookup/1554/Configure
    ConfigurePath
    2007-03-16T12:37:31+01:00 0:01 0.016u 6.3.3 Configure convert.exe[2880]: configure.c/GetConfigureOptions/482/Configure
    Searching for configure file: "C:\Programme\ImageMagick-6.3.3-Q16\magic.xml"
    2007-03-16T12:37:31+01:00 0:01 0.016u 6.3.3 Configure convert.exe[2880]: configure.c/GetConfigureOptions/482/Configure
    Searching for configure file: "C:\Dokumente und Einstellungen\gnm\magic.xml"
    2007-03-16T12:37:31+01:00 0:01 0.016u 6.3.3 Configure convert.exe[2880]: configure.c/GetConfigureOptions/482/Configure
    Searching for configure file: "magic.xml"
    2007-03-16T12:37:31+01:00 0:01 0.016u 6.3.3 Configure convert.exe[2880]: magic.c/LoadMagicList/673/Configure
    Loading magic map "C:\Programme\ImageMagick-6.3.3-Q16\magic.xml" ...
    2007-03-16T12:37:31+01:00 0:01 0.031u 6.3.3 Configure convert.exe[2880]: magic.c/LoadMagicList/673/Configure
    Loading magic map "magic.xml" ...
    2007-03-16T12:37:31+01:00 0:01 0.031u 6.3.3 Blob convert.exe[2880]: blob.c/OpenBlob/2185/Blob
    read 4096 magic header bytes
    2007-03-16T12:37:31+01:00 0:01 0.031u 6.3.3 Resource convert.exe[2880]: resource.c/AcquireMagickResource/216/Resource
    Area: 893.496kb/893.496kb/4gb
    2007-03-16T12:37:31+01:00 0:01 0.031u 6.3.3 Resource convert.exe[2880]: resource.c/AcquireMagickResource/216/Resource
    Memory: 893.496kb/893.496kb/3gb
    2007-03-16T12:37:31+01:00 0:01 0.031u 6.3.3 Cache convert.exe[2880]: cache.c/OpenCache/3221/Cache
    open C:\temp\xocr\viag01\fbcib.gif[0] (anonymous memory, 391x234 893.496kb)
    2007-03-16T12:37:31+01:00 0:01 0.063u 6.3.3 Configure convert.exe[2880]: nt-base.c/NTRegistryKeyLookup/1536/Configure
    SOFTWARE\ImageMagick\6.3.3\Q:16
    2007-03-16T12:37:31+01:00 0:01 0.063u 6.3.3 Configure convert.exe[2880]: nt-base.c/NTRegistryKeyLookup/1554/Configure
    ConfigurePath
    2007-03-16T12:37:31+01:00 0:01 0.063u 6.3.3 Locale convert.exe[2880]: locale.c/GetLocaleOptions/498/Locale
    Searching for locale file: "C:\Programme\ImageMagick-6.3.3-Q16\locale.xml"
    2007-03-16T12:37:31+01:00 0:01 0.063u 6.3.3 Locale convert.exe[2880]: locale.c/GetLocaleOptions/498/Locale
    Searching for locale file: "C:\Dokumente und Einstellungen\gnm\locale.xml"
    2007-03-16T12:37:31+01:00 0:01 0.063u 6.3.3 Locale convert.exe[2880]: locale.c/GetLocaleOptions/498/Locale
    Searching for locale file: "locale.xml"
    2007-03-16T12:37:31+01:00 0:01 0.063u 6.3.3 Configure convert.exe[2880]: locale.c/LoadLocaleList/830/Configure
    Loading locale map "C:\Programme\ImageMagick-6.3.3-Q16\locale.xml" ...
    2007-03-16T12:37:31+01:00 0:01 0.063u 6.3.3 Configure convert.exe[2880]: locale.c/LoadLocaleList/830/Configure
    Loading locale map "C:\Programme\ImageMagick-6.3.3-Q16\english.xml" ...
    2007-03-16T12:37:31+01:00 0:01 0.109u 6.3.3 Configure convert.exe[2880]: locale.c/LoadLocaleList/830/Configure
    Loading locale map "" ...
    2007-03-16T12:37:31+01:00 0:01 0.109u 6.3.3 Exception convert.exe[2880]: blob.c/FileToBlob/797/Exception
    unable to open file `english.xml': No such file or directory
    2007-03-16T12:37:31+01:00 0:01 0.109u 6.3.3 Configure convert.exe[2880]: locale.c/LoadLocaleList/830/Configure
    Loading locale map "english.xml" ...
    2007-03-16T12:37:31+01:00 0:01 0.109u 6.3.3 Exception convert.exe[2880]: gif.c/DecodeImage/500/Exception
    Corrupt image `C:\temp\xocr\viag01\fbcib.gif'
    2007-03-16T12:37:31+01:00 0:01 0.109u 6.3.3 Exception convert.exe[2880]: gif.c/ReadGIFImage/1243/Exception
    Corrupt image `C:\temp\xocr\viag01\fbcib.gif'
    2007-03-16T12:37:31+01:00 0:01 0.109u 6.3.3 Resource convert.exe[2880]: resource.c/RelinquishMagickResource/819/Resource

    Memory: 893.496kb/0b/3gb
    2007-03-16T12:37:31+01:00 0:01 0.125u 6.3.3 Cache convert.exe[2880]: cache.c/DestroyCacheInfo/1851/Cache
    destroy C:\temp\xocr\viag01\fbcib.gif[0]
    2007-03-16T12:37:31+01:00 0:01 0.125u 6.3.3 Exception convert.exe[2880]: convert.c/ConvertImageCommand/2541/Exception
    missing an image filename `pnm:C:\temp\xocr\viag01\PNM\fbcib.gif.pnm'
"Corrupt" fbcib.gif file:
  • --- Begin of base64 encoded test.gif ---
    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
    6VA/utKlbnSkU/3pV4+61b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72uw1Dln
    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
    MpVTPkKb2WyMJ00oxSmGkISHPGEtDwkZLXqP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ARi2TmDClKjSRd0XGVbSUrSxnPO+5z38OdJftrGcqwF6bFfGbHGiYA0fucQyezoeM
    X1rN5+WACQLwASO8+yWfXomnYcKMsDMk5vYOxsnnwm8jynskahd72W9ONIdBzGN0r7vd7473
    iYFMZCQjRQHywIFcc+DiGOdDHfgw+MAnHuoB2AIGgk1zm9R7H2BPOTi5LpZ8UNbDBRm5ymtu
    bLeXZV7+9RqY6U+P+tSrXl8FO9jRQdEFPwD+4oQvfADwsIQcDD4GtecDHwLQAhuLAt5OMUm9
    je31T0/e5sF1BEqKfXxP14TmYfnLuNqF/exrf/vselcqCnAHxD/dBCb4QwA6gJoutADx5DeB
    7+twBy68HqhFHSfZwRIR4xJ37CpBNgZNmVw+lXlf0U2S93ZMFg5OwAV1EAANCH8dMAWIwAJ1
    QIEUmAUfIHyaB3nJNhF61HIIOB9dwAUqMzl+oAh+wAIk2AIRiBUH5X/v9hggyCRs0AXZEgpE
    YwQhJ4M7iBk86IOmcBz0gSJWIiFK8oPxEoTgsSVFUiJHqD0OgiURUiVCkh71VFgk+lEdV9iE
    Tqg7WhIkTIgmI+IjBvIgzwEkUcgfCaIHcUARNcIkbigIcIgIOqAjY9IjASKFYAgfYkiG7YGG
    Y9iHXLg1d8iHZ1iFXFKERpghGBIhRiiI4EKIX7gIhfiHQIiHh3iFxdIGL2IGMdIGVPCIk/gh
    kigglGgl0KGFR9KIqxiKlpMkRLiEiJiIZTiFaTiFUuKFRNiKu8iLveiLvwiMwSiMw0iMxWiM
    xygXwJIrwcIrzbiMz6iM0Wgr0DiN0uiM1ugr1HiN
    --- End of base64 encoded fbcib.gif ---

Re: Convert.exe "Corrupt image"

Posted: 2007-04-03T12:33:01-07:00
by maga
The issue is still unsolved with version ImageMagick-6.3.3-5-Q16-windows-static.exe.

I was able to convert the "corrupt" images with other (GUI) tools, but none of them offers the flexible commandline interface of convert.exe.

If I can provide more information to pinpoint the bug, please let me know.

Re: Convert.exe "Corrupt image"

Posted: 2007-04-03T13:00:14-07:00
by magick
We tried a number of tools to read your image and they all failed because the image is corrupt. We tend to bail if an image is corrupt to avoid possible stack overflow or other vulnerability exploits.

Re: Convert.exe "Corrupt image"

Posted: 2007-04-03T20:24:23-07:00
by maga
Thank you for your efforts. I agree that a stable tool should comply to standards and give up converting rather than producing ambiguous results.

On some occasions, however, a commandline switch to "repair" or just "ignore errors" would be great, either to salvage broken images or to work around intentional image corruption.

I wonder... any browser and e-mail client can display the image. IrfanView and PVW32Con can do some conversions on it. Is there a thing like minor and major image corruption?

Re: Convert.exe "Corrupt image"

Posted: 2007-04-04T04:20:30-07:00
by maga
The problem is solved. The culprit was the image extraction step which failed to properly convert the e-mail attachment into an image file.

We tried different e-mail extractors of course, but more than one creates the same corrupt output. As it looks, these extractors seem to base on the same image handling libraries.

Sorry for bothering and thank you for your input.