Page 1 of 1

Ternary Operator APPCRASH 6.8.6-8 WIN (x86 and x64)

Posted: 2013-08-17T00:18:30-07:00
by dasgalloway

Code: Select all

>convert -version
Version: ImageMagick 6.8.6-8 2013-08-04 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib djvu fftw fontconfig freetype jng jp2 jpeg lcms lzma openexr pango png ps tiff webp x xml zlib

Code: Select all

>convert -size 5x5 xc:red xc:none +append test.png

Code: Select all

>convert test.png -channel rgba -alpha on -format "%[pixel:u.p{0,0}]" info:
Outputs "red"

Code: Select all

>convert test.png -channel rgba -alpha on -format "%[pixel:u.p{0,0}=="red"?0:1]" info:
Running the above command with the ternary operator will result in an APPCRASH on both the x86 and x64 (dll) binary versions for Windows. My current running environment is Windows 7 Ultimate SP1.



------------
Problem signature:
Problem Event Name: APPCRASH
Application Name: convert.exe
Application Version: 1.0.0.0
Application Timestamp: 51ffcde3
Fault Module Name: StackHash_3db2
Fault Module Version: 6.1.7601.17725
Fault Module Timestamp: 4ec49b8f
Exception Code: c0000374
Exception Offset: 000ce6c3
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: 3db2
Additional Information 2: 3db29badaa0a881687bdf9136dbefd32
Additional Information 3: d14a
Additional Information 4: d14acf148051890a6eef450b1b85cc1b

Re: Ternary Operator APPCRASH 6.8.6-8 WIN (x86 and x64)

Posted: 2013-08-17T09:26:58-07:00
by magick
We can reproduce the problem you posted and have a patch in ImageMagick 6.8.6-9 Beta available by sometime tomorrow. Thanks.