http://bugs.winehq.org/show_bug.cgi?id=23240
Summary: "Ambient Lighting" sample D3D program crashes Product: Wine Version: 1.2-rc3 Platform: x86 URL: http://www.applicachia.com/HLSLAmbientLighting.zip OS/Version: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
I ran into http://www.applicachia.com while looking for direct3d sample code. The simplest HLSL demo crashes with:
Unhandled exception: page fault on write access to 0x00002c10 in 32-bit code (0x00121b13). Backtrace: =>0 0x00121b13 1 IDirect3DDevice9Impl_GetDirect3D+0x90(iface=0x122308, ppD3D9=0x69be14) [dlls/d3d9/device.c:340] 2 IDirect3DDevice9Impl_GetDirect3D+0x90(iface=0x123ef8, ppD3D9=(nil)) [dlls/d3d9/device.c:340] 3 0x00498a84 in d3dx9_26 (+0x58a83)
'winetricks d3dx9' does not work around the problem.