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

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.

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

Postby dasgalloway » 2013-08-17T00:18:30+00:00

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
dasgalloway
 
Posts: 4
Joined: 2013-08-16T18:55:02+00:00

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

Postby magick » 2013-08-17T09:26:58+00:00

We can reproduce the problem you posted and have a patch in ImageMagick 6.8.6-9 Beta available by sometime tomorrow. Thanks.
User avatar
magick
Site Admin
 
Posts: 9547
Joined: 2003-05-31T11:32:55+00:00


Return to Bugs

Who is online

Users browsing this forum: Google Adsense [Bot], Majestic-12 [Bot] and 5 guests