[Bug 23214] WM Desktop Alert crashes immediately after being run

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jun 18 02:38:22 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=23214


Andrew Nguyen <arethusa26 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download
             Status|UNCONFIRMED                 |NEW
                URL|                            |http://images.whiskeymiliti
                   |                            |a.com/docs/bin/wm/WMDesktop
                   |                            |Alert.exe
          Component|-unknown                    |windowscodecs
     Ever Confirmed|0                           |1




--- Comment #3 from Andrew Nguyen <arethusa26 at gmail.com>  2010-06-18 02:38:20 ---
It does, but some tracing suggests that it's not the real cause of the failure.
After adding some traces to dlls/windowscodecs/bmpdecode.c and turning on the
+gdiplus,+wincodecs debug channels I see:

trace:gdiplus:GdipCreateBitmapFromFile (L"C:\\Program
Files\\WhiskeyMilitia\\Desktop Alert\\Skins\\WM\\background.bmp") 0x32f0f8
trace:gdiplus:GdipCreateStreamOnFile (L"C:\\Program
Files\\WhiskeyMilitia\\Desktop Alert\\Skins\\WM\\background.bmp", 2147483648,
0x32f088)
trace:gdiplus:GdipCreateBitmapFromStream 0x18c6f0 0x32f0f8
trace:gdiplus:GdipLoadImageFromStream (0x18c6f0, 0x32f0f8)
...
trace:gdiplus:GdipCreateBitmapFromScan0 440 168 0 0x22009 (nil) 0x32ef68
trace:gdiplus:GdipCreateBitmapFromScan0 <-- 0x18ca58
trace:gdiplus:GdipBitmapLockBits 0x18ca58 (nil) 2 0x22009 0x32ef2c
trace:wincodecs:BmpFrameDecode_CopyPixels
(0x18c7fc,0x32ef1c,1760,1760,0x3820000)
trace:wincodecs:BmpFrameDecode_ReadRLE8 0x18c7f8
trace:wincodecs:BmpFrameDecode_ReadRLE8 hr = 0x00000000
trace:wincodecs:BmpFrameDecode_ReadRLE8 hr = 0x00000000, bytesread = 1024,
palettesize = 1024
trace:wincodecs:BmpFrameDecode_ReadRLE8 hr = 0x00000000
trace:wincodecs:BmpFrameDecode_ReadRLE8 hr = 0x00000000, bytesread = 12642,
rlesize = 73922
trace:wincodecs:BmpFrameDecode_CopyPixels hr = 0x80004005
trace:gdiplus:decode_image_wic hr = 0x80004005
...

So, the WIC BMP decoder is having trouble with the supplied background.bmp
image. Using either native gdiplus or native windowscodecs is sufficient to get
the app to start.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list