http://bugs.winehq.org/show_bug.cgi?id=24420
Summary: Simple d3d8 application crashes Product: Wine Version: 1.3.2 Platform: x86 URL: http://www.xmission.com/~legalize/book/snippets/rt_D3D XSprite.zip OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: jeremielapuree@yahoo.fr
Created an attachment (id=30785) --> (http://bugs.winehq.org/attachment.cgi?id=30785) console output
rt_D3DXSprite.exe crashes.
The source code is also available.
http://bugs.winehq.org/show_bug.cgi?id=24420
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
http://bugs.winehq.org/show_bug.cgi?id=24420
3vi1 winehq.org@eternaldusk.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq.org@eternaldusk.com
--- Comment #1 from 3vi1 winehq.org@eternaldusk.com 2010-10-09 13:22:46 CDT --- Confirmed:
evil@saturn:~/src/rt_D3DXSprite$ wine rt_D3DXSprite.exe fixme:win:EnumDisplayDevicesW ((null),0,0x3052e8,0x00000000), stub! fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats wine: Unhandled page fault on read access to 0x00000000 at address 0x40d65e (thread 003a), starting debugger... Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x0040d65e).
http://bugs.winehq.org/show_bug.cgi?id=24420
--- Comment #2 from 3vi1 winehq.org@eternaldusk.com 2010-10-09 13:43:35 CDT --- Looks like this is not a Wine issue:
A quick peek at the debug channels and source shows the real issue:
dx5_logo.bmp is not included in the zip. If you create a bitmap with that name, it will run fine.
This example code wraps its calls to DXUtil_FindMediaFile and D3DXCreateTextureFromFileEx in a THR() macro, but that macro does not throw an exception and exit (it only writes to debug channels and continues).
This should be closed as invalid/bad-microsoft-example-code.
http://bugs.winehq.org/show_bug.cgi?id=24420
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |wylda@volny.cz Resolution| |INVALID
--- Comment #3 from Wylda wylda@volny.cz 2010-10-09 13:58:16 CDT ---
True :-) Crashes even under WinXP until you give it BMP file with that name...
http://bugs.winehq.org/show_bug.cgi?id=24420
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Wylda wylda@volny.cz 2010-10-09 13:58:32 CDT ---
Closing.