http://bugs.winehq.org/show_bug.cgi?id=34942
--- Comment #2 from Anastasius Focht focht@gmx.net 2013-11-19 17:28:24 CST --- Hello Vincent,
yes ... with that patch it goes further and now shows a dialog box "Value does not fall within expected range". Though this might not be directly related.
--- snip --- ... 0009:trace:wincodecs:PngEncoder_CreateInstance ((nil),{00000103-a8f2-4877-ba0a-fd2b6645fb94},0x33e6cc) 0009:trace:wincodecs:PngEncoder_QueryInterface (0x5809dd0,{00000103-a8f2-4877-ba0a-fd2b6645fb94},0x33e6cc) 0009:trace:wincodecs:PngEncoder_AddRef (0x5809dd0) refcount=2 0009:trace:wincodecs:PngEncoder_Release (0x5809dd0) refcount=1 0009:trace:wincodecs:ClassFactoryImpl_Release (0x7947e78) refcount=0 0009:trace:wincodecs:BitmapEncoderInfo_Release (0x589a7f0) refcount=2 0009:trace:wincodecs:BitmapEncoderInfo_Release (0x589a7f0) refcount=1 0009:trace:wincodecs:ComponentEnum_Release (0x7947920) refcount=0 0009:trace:wincodecs:BitmapEncoderInfo_Release (0x16c628) refcount=0 0009:trace:wincodecs:BitmapEncoderInfo_Release (0x15d6b8) refcount=0 0009:trace:wincodecs:BitmapEncoderInfo_Release (0x589a7f0) refcount=0 0009:trace:wincodecs:BitmapEncoderInfo_Release (0x15fe48) refcount=0 0009:trace:wincodecs:BitmapEncoderInfo_Release (0x203f08) refcount=0 0009:trace:wincodecs:ComponentFactory_Release (0x16b588) refcount=0 0009:trace:wincodecs:PngEncoder_Initialize (0x5809dd0,0x1af968,2) 0009:trace:wincodecs:PngEncoder_CreateNewFrame (0x5809dd0,0x33e834,0x33e830) 0009:trace:wincodecs:PngEncoder_AddRef (0x5809dd0) refcount=2 0009:trace:wincodecs:PropertyBag_Write (0x1aefe8,1,0x33e74c,0x33e76c) 0009:trace:wincodecs:PngFrameEncode_Initialize (0x5809dd4,0x1aefe8) 0009:trace:wincodecs:PropertyBag_Read (0x1aefe8,1,0x33e614,(nil),0x33e600,0x33e5fc) 0009:trace:wincodecs:PngFrameEncode_SetSize (0x5809dd4,238,139) 0009:trace:wincodecs:PngFrameEncode_SetResolution (0x5809dd4,72.01,72.01) 0009:trace:wincodecs:WICSetEncoderFormat_Proxy 0x5806fdc,(nil),0x5809dd4,0x33e75c 0009:trace:wincodecs:BitmapImpl_GetPixelFormat (0x5806fdc,0x33e698) 0009:trace:wincodecs:PngFrameEncode_SetPixelFormat (0x5809dd4,{6fddc324-4e03-4bfe-b185-3d77768dc90f}) 0009:trace:wincodecs:BitmapImpl_AddRef (0x5806fdc) refcount=6 0009:trace:wincodecs:PngFrameEncode_WriteSource (0x5809dd4,0x5806fdc,0x33e814) 0009:trace:wincodecs:BitmapImpl_GetPixelFormat (0x5806fdc,0x33e5fc) 0009:trace:seh:raise_exception code=e0434352 flags=1 addr=0x7b83a8bf ip=7b83a8bf tid=0009 0009:trace:seh:raise_exception info[0]=80070057 0009:trace:seh:raise_exception info[1]=00000000 0009:trace:seh:raise_exception info[2]=00000000 0009:trace:seh:raise_exception info[3]=00000000 0009:trace:seh:raise_exception info[4]=79140000 0009:trace:seh:raise_exception eax=7b8268f1 ebx=7b8ba000 ecx=79140000 edx=0033e618 esi=0033e6ac edi=0012e018 0009:trace:seh:raise_exception ebp=0033e648 esp=0033e5e4 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00200287 --- snip ---
The 80070057 comes from:
--- snip --- 002b:Call windowscodecs.IWICBitmapFrameEncode_WriteSource_Proxy(001b852c,0582e1c4,0033e7d4) ret=05eb1cdb 002b:trace:wincodecs:PngFrameEncode_WriteSource (0x1b852c,0x582e1c4,0x33e7d4) 002b:trace:wincodecs:BitmapImpl_GetPixelFormat (0x582e1c4,0x33e58c) 002b:Ret windowscodecs.IWICBitmapFrameEncode_WriteSource_Proxy() retval=80070057 ret=05eb1cdb --- snip ---
Regards