Battlefield 1942 d3d8 crash

Robert Reif reif at earthlink.net
Mon Sep 6 08:33:02 CDT 2004


I get the following crash when running the Battlefield 1942 single
player demo from http://www.3dgamers.com/games/battlefield1942/

fixme:ddraw:Main_DirectDraw_SetCooperativeLevel 
(0x40361cd8)->(00000000,00000008)
trace:d3d:Direct3DCreate8 SDKVersion = dc, Created Direct3D object at 
0x40362218
fixme:d3d_caps:IDirect3D8Impl_FillGLCaps found GL_VERSION  ("1.5.1 
NVIDIA 61.06")->(0x003d17da)
fixme:d3d_caps:IDirect3D8Impl_FillGLCaps found GL_RENDERER ("GeForce FX 
5200/AGP")->(0x0250)
trace:d3d:IDirect3D8Impl_CreateDevice (0x40362218)->(Adptr:0, DevType: 
1, FocusHwnd: 0x10022, BehFlags: 80, PresParms: 0x41fc40b8, RetDevInt: 
0x41fc409c)
trace:d3d:IDirect3D8Impl_AddRef (0x40362218) : AddRef from 1
trace:d3d:IDirect3DDeviceImpl_CreateStateBlock (0x40362498) : Type(1)
trace:d3d:IDirect3D8Impl_CreateDevice 
(0x40362218)->(DepthStencil:(75,D3DFMT_D24S8), 
BackBufferFormat:(22,D3DFMT_X8R8G8B8))
trace:d3d:IDirect3D8Impl_CreateDevice Context created (HWND=0x10022, 
glContext=0x43044054, Window=41943042, VisInfo=0x43043de0)
fixme:d3d:IDirect3DDevice8Impl_Reset (0x40362498) : stub
trace:d3d:IDirect3DDevice8Impl_GetBackBuffer (0x40362498) : BackBuf 0 
Type 0 returning (nil)
wine: Unhandled exception (thread 0009), starting debugger...
fixme:console:SetConsoleCtrlHandler (0x4074a8f8,1) - no error checking 
or testing yet
WineDbg starting on pid 0x8
Unhandled exception: page fault on read access to 0x00000004 in 32-bit 
code (0x40df748b).
In 32 bit mode.
0x40df748b IDirect3DSurface8Impl_AddRef 
[/home/wine/wine/dlls/d3d8/surface.c:59] in d3d8: movl  0x4(%esi),%eax
59          return ++(This->ref);
59          return ++(This->ref);
Wine-dbg>>bt
Backtrace:
=>1 0x40df748b IDirect3DSurface8Impl_AddRef+0x23(iface=0x0) 
[/home/wine/wine/dlls/d3d8/surface.c:59] in d3d8 (0x4081e84c)
  2 0x40dd7216 IDirect3DDevice8Impl_GetBackBuffer+0x76(iface=0x40362498, 
BackBuffer=0x0, Type=0x0, ppBackBuffer=0x41fc40a0) 
[/home/wine/wine/dlls/d3d8/device.c:577] in d3d8 (0x4081e864)
  3 0x00848ec0 (0x00000000)
Wine-dbg>






More information about the wine-devel mailing list