Am Dienstag, 10. April 2007 12:46 schrieb Stefan Dösinger:
> > attached you find the trace. I am wondering why it so much smaller. I was
> > also able to get a proper callstack of the crash.
> You didn't set the trace flags properly. Maybe you misspelled WINEDEBUG ? 
> However, according to the crash dump it crashes in the 3D driver, which is 
> rather suspicious. It could be a driver bug, or a case of an multithreaded 
> d3d ap. Can you make a ddraw,d3d7,tid trace?
> 

As requested I traced wine with

export WINEDEBUG=+ddraw,+d3d7,+tid  
./wine "C:\CSoft\Matheland2\Mathe2.exe" &>trace+ddraw+d3d7+tid.txt 

It looks like as if wine crashes instantly when calling the first d3d 
functions.

Regards,

Klaus
0009:trace:ddraw:DllMain (0x7e9d0000,8,(nil))
ALSA lib seq_hw.c:456:(snd_seq_hw_open) open /dev/snd/seq failed: No such file 
or directory
0009:trace:ddraw:DllMain (0x7e9d0000,1,0x1)
0009:trace:ddraw:DllMain appname = [Mathe2.exe\Direct3D]
0009:trace:ddraw:DllMain Defaulting to opengl surfaces
0009:trace:ddraw:DirectDrawCreate ((null),0x34ebd0,(nil))
0009:trace:ddraw:DDRAW_Create ((null),0x34ebd0,(nil))
0009:trace:ddraw:DDRAW_Create WineD3D created at 0x1be390
0009:fixme:d3d:IWineD3DImpl_FillGLCaps >>>>>>>>>>>>>>>>> 0x501 from extension 
detection
 @ directx.c / 825
0009:trace:ddraw:DDRAW_Create wineD3DDevice created at 0x1be920
0009:fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x1be920) : stub, 
simulating 64MB for now, returning 64MB left
0009:trace:ddraw:IDirectDrawImpl_QueryInterface 
(0x1bdd20)->({6c14db80-a733-11ce-a521-0020af0be560},0x34ebd0)
0009:trace:ddraw:IDirectDrawImpl_QueryInterface (0x1bdd20) Returning 
IDirectDraw interface at 0x1bdd30
0009:trace:ddraw:IDirectDrawImpl_QueryInterface 
(0x1bdd20)->({b3a6f3e0-2b43-11cf-a2de-00aa00b93356},0x8131f0)
0009:trace:ddraw:IDirectDrawImpl_QueryInterface (0x1bdd20) Returning 
IDirectDraw2 interface at 0x1bdd2c
0009:fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel 
(0x1bdd20)->(0x10026,00000011)
 - DDSCL_FULLSCREEN DDSCL_EXCLUSIVE 
0009:trace:ddraw:IDirectDrawImpl_SetCooperativeLevel SetCooperativeLevel 
retuning DD_OK
0009:trace:ddraw:IDirectDrawImpl_SetDisplayMode (0x1bdd20)->(800,600,8,0,0: 
Relay!
0009:fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 
to 8
0009:trace:ddraw:IDirectDrawImpl_CreatePalette 
(0x1bdd20)->(44,0x34edfc,0x8131f8,(nil))
0009:trace:ddraw:IDirectDrawImpl_AddRef (0x1bdd20) : incrementing IDirectDraw7 
refcount from 0.
0009:trace:ddraw:IDirectDrawImpl_Release (0x1bdd20)->() decrementing 
IDirectDraw7 refcount from 1.
0009:trace:ddraw:IDirectDrawImpl_CreateSurface 
(0x1bdd20)->(0x34f1fc,0x34ea1c,(nil))
0009:trace:ddraw:IDirectDrawImpl_CreateSurface  (0x1bdd20) Requesting surface 
desc :
 - DDSD_CAPS : DDSCAPS_PRIMARYSURFACE 
0009:trace:ddraw:PixelFormat_WineD3DtoDD Converting WINED3DFORMAT 41 to DDRAW
0009:trace:ddraw:PixelFormat_WineD3DtoDD Returning: ( DDPF_PALETTEINDEXED8 
DDPF_RGB , RGB bits: 8,  R 00 G 00 B 00)
0009:trace:ddraw:IDirectDrawImpl_CreateSurface Using window 0x10026's 
dimensions: 800x600
0009:trace:ddraw:IDirectDrawImpl_CreateNewSurface  (0x1bdd20) Requesting 
surface desc :
 - DDSD_CAPS : DDSCAPS_FRONTBUFFER DDSCAPS_PRIMARYSURFACE 
 - DDSD_HEIGHT : 600
 - DDSD_WIDTH : 800
 - DDSD_PIXELFORMAT : ( DDPF_PALETTEINDEXED8 DDPF_RGB , RGB bits: 8,  R 00 G 00 
B 00)
0009:trace:ddraw:PixelFormat_DD2WineD3D Convert a DirectDraw Pixelformat to a 
WineD3D Pixelformat
( DDPF_PALETTEINDEXED8 DDPF_RGB , RGB bits: 8,  R 00 G 00 B 00)
0009:trace:ddraw:IDirectDrawImpl_CreateNewSurface (0x1bdd20) Created 
IDirectDrawSurface implementation structure at 0x20c918
0009:trace:ddraw:IDirectDrawImpl_CreateNewSurface Using IParent interface 
0x20c9f8 as parent
0009:trace:ddraw:PixelFormat_WineD3DtoDD Converting WINED3DFORMAT 41 to DDRAW
0009:trace:ddraw:PixelFormat_WineD3DtoDD Returning: ( DDPF_PALETTEINDEXED8 
DDPF_RGB , RGB bits: 8,  R 00 G 00 B 00)
0009:trace:ddraw:IDirectDrawImpl_AddRef (0x1bdd20) : incrementing IDirectDraw7 
refcount from 0.
0009:trace:ddraw:IDirectDrawImpl_CreateSurface Using primary 0x20c918 as render 
target
0009:trace:ddraw:IDirectDrawImpl_CreateSurface (0x1bdd20) Attaching a 
D3DDevice, rendertarget = 0x20c918
0009:trace:ddraw:IDirectDrawImpl_AttachD3DDevice (0x1bdd20)->(0x20c918)
0009:trace:ddraw:IDirectDrawImpl_AttachD3DDevice (0x1bdd20) Using existing 
window 0x10026 for Direct3D rendering
0009:trace:ddraw:PixelFormat_DD2WineD3D Convert a DirectDraw Pixelformat to a 
WineD3D Pixelformat
( DDPF_PALETTEINDEXED8 DDPF_RGB , RGB bits: 8,  R 00 G 00 B 00)
0009:trace:ddraw:IDirectDrawImpl_AttachD3DDevice Passing mode 41
0009:trace:ddraw:D3D7CB_CreateAdditionalSwapChain (0x1bdd20) call back
0009:trace:ddraw:D3D7CB_CreateRenderTarget (0x1bdd20) call back
0009:trace:ddraw:D3D7CB_CreateRenderTarget Returning wineD3DSurface 0x20ca10, 
it belongs to surface 0x20c918
0009:fixme:d3d:IWineD3DImpl_FillGLCaps >>>>>>>>>>>>>>>>> 0x501 from extension 
detection
 @ directx.c / 825
0009:trace:ddraw:IDirectDrawImpl_AttachD3DDevice (0x1bdd20) Successfully 
initialized 3D
0009:trace:ddraw:IDirectDrawImpl_Release (0x1bdd20)->() decrementing 
IDirectDraw7 refcount from 1.
0009:trace:ddraw:IDirectDrawSurfaceImpl_QueryInterface 
(0x20c918)->({57805885-6eec-11cf-9441-a82303c10e27},0x8131f4)
0009:trace:ddraw:IDirectDrawSurfaceImpl_AddRef (0x20c918) : AddRef increasing 
from 1
0009:trace:ddraw:IDirectDrawSurfaceImpl_QueryInterface (0x20c918) returning 
IDirectDrawSurface3 interface at 0x20c91c
0009:trace:ddraw:IDirectDrawSurfaceImpl_SetPalette (0x20c918)->(0x20bcb0)
0009:trace:ddraw:IDirectDrawSurfaceImpl_GetPalette (0x20c918)->(0x34ea00): Relay
0009:trace:ddraw:IDirectDrawPaletteImpl_AddRef (0x20bcb0)->() incrementing from 
1.
0009:trace:ddraw:IDirectDrawSurfaceImpl_Release (0x20c918) : Releasing from 2
0009:trace:ddraw:IDirectDrawImpl_Release (0x1bdd20)->() decrementing 
IDirectDraw refcount from 1.
0009:trace:ddraw:IDirectDrawImpl_CreateSurface 
(0x1bdd20)->(0x34eea0,0x34edd0,(nil))
0009:trace:ddraw:IDirectDrawImpl_CreateSurface  (0x1bdd20) Requesting surface 
desc :
 - DDSD_CAPS : DDSCAPS_OFFSCREENPLAIN DDSCAPS_SYSTEMMEMORY 
 - DDSD_HEIGHT : 600
 - DDSD_WIDTH : 800
 - DDSD_PIXELFORMAT : ( DDPF_PALETTEINDEXED8 DDPF_RGB , RGB bits: 8,  R 00 G 00 
B 00)
0009:trace:ddraw:IDirectDrawImpl_CreateNewSurface  (0x1bdd20) Requesting 
surface desc :
 - DDSD_CAPS : DDSCAPS_OFFSCREENPLAIN DDSCAPS_SYSTEMMEMORY 
 - DDSD_HEIGHT : 600
 - DDSD_WIDTH : 800
 - DDSD_PIXELFORMAT : ( DDPF_PALETTEINDEXED8 DDPF_RGB , RGB bits: 8,  R 00 G 00 
B 00)
0009:trace:ddraw:PixelFormat_DD2WineD3D Convert a DirectDraw Pixelformat to a 
WineD3D Pixelformat
( DDPF_PALETTEINDEXED8 DDPF_RGB , RGB bits: 8,  R 00 G 00 B 00)
0009:trace:ddraw:IDirectDrawImpl_CreateNewSurface (0x1bdd20) Created 
IDirectDrawSurface implementation structure at 0x21fe00
0009:trace:ddraw:IDirectDrawImpl_CreateNewSurface Using Surface interface 
0x21fe00 as parent
0009:trace:ddraw:PixelFormat_WineD3DtoDD Converting WINED3DFORMAT 41 to DDRAW
0009:trace:ddraw:PixelFormat_WineD3DtoDD Returning: ( DDPF_PALETTEINDEXED8 
DDPF_RGB , RGB bits: 8,  R 00 G 00 B 00)
0009:trace:ddraw:IDirectDrawImpl_AddRef (0x1bdd20) : incrementing IDirectDraw7 
refcount from 0.
0009:trace:ddraw:IDirectDrawImpl_Release (0x1bdd20)->() decrementing 
IDirectDraw7 refcount from 1.
0009:trace:ddraw:IDirectDrawSurfaceImpl_QueryInterface 
(0x21fe00)->({57805885-6eec-11cf-9441-a82303c10e27},0x829938)
0009:trace:ddraw:IDirectDrawSurfaceImpl_AddRef (0x21fe00) : AddRef increasing 
from 1
0009:trace:ddraw:IDirectDrawSurfaceImpl_QueryInterface (0x21fe00) returning 
IDirectDrawSurface3 interface at 0x21fe04
0009:trace:ddraw:IDirectDrawSurfaceImpl_SetPalette (0x21fe00)->(0x20bcb0)
0009:trace:ddraw:IDirectDrawSurfaceImpl_GetPalette (0x21fe00)->(0x34edb4): Relay
0009:trace:ddraw:IDirectDrawPaletteImpl_AddRef (0x20bcb0)->() incrementing from 
2.
0009:trace:ddraw:IDirectDrawSurfaceImpl_Release (0x21fe00) : Releasing from 2
0009:trace:ddraw:IDirectDrawSurfaceImpl_BltFast 
(0x20c918)->(0,0,0x21fe00,0x34f910,16): Relay
0009:trace:ddraw:IDirectDrawSurfaceImpl_Lock 
(0x21fe00)->((nil),0x34faa8,0,(nil))
wine: Unhandled page fault on read access to 0x00d20002 at address 0x7e42e2e9 
(thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00d20002 in 32-bit code 
(0x7e42e2e9).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:7e42e2e9 ESP:0034f218 EBP:0034f2f0 EFLAGS:00010202(   - 00      - -RI1)
 EAX:7d1906e4 EBX:7e55a118 ECX:00d20004 EDX:00000400
 ESI:00000139 EDI:7d190200
Stack dump:
0x0034f218:  00000002 7c0a34c4 00b40020 00000400
0x0034f228:  00000400 00001908 00001401 00000000
0x0034f238:  00000000 00000000 7ef2a4a0 7ef27bff
0x0034f248:  b7dc0adc b7dc2320 fffffff0 0034f270
0x0034f258:  01cfb411 b7dc2320 00400204 0155a118
0x0034f268:  00000200 7c6e63a8 0034f280 7e3fcb8d
Backtrace:
=>1 0x7e42e2e9 (0x0034f2f0)
  2 0x7e432c7e (0x0034f350)
  3 0x7e3b392c (0x0034f3a0)
  4 0x7e421670 (0x0034f400)
  5 0x7e59b4da (0x0034f430)
  6 0x7d7c8213 (0x0034f470)
  7 0x7d7d2ebb (0x0034f8f0)
  8 0x7d7c8b8e (0x0034f940)
  9 0x7d7ced23 (0x0034f9a0)
  10 0x7e9f58c6 (0x0034f9f0)
  11 0x7e9f93ab (0x0034fa20)
  12 0x0048153f in mathe2 (+0x8153f) (0x0034fb1c)
  13 0x004224b8 in mathe2 (+0x224b8) (0x0034fb74)
  14 0x0046635b in mathe2 (+0x6635b) (0x0034fc30)
  15 0x00575e1a in mathe2 (+0x175e1a) (0x0034fc90)
  16 0x0047d80e in mathe2 (+0x7d80e) (0x0034fd28)
  17 0x0047d75c in mathe2 (+0x7d75c) (0x0034fd84)
  18 0x0048838f in mathe2 (+0x8838f) (0x0034fdf8)
  19 0x004d8ae8 in mathe2 (+0xd8ae8) (0x0034fe78)
  20 0x0059a996 in mathe2 (+0x19a996) (0x0034ff08)
  21 0x7ee4750f in kernel32 (+0x5750f) (0x0034ffe8)
  22 0xb7df9397 (0x00000000)
0x7e42e2e9: movzbl      0xfffffffe(%ecx),%edx
Modules:
Module  Address                 Debug info      Name (11 modules)
PE      400000-6f4000   Export          mathe2
PE      7e750000-7e754000       Deferred        dsound
PE      7e7d0000-7e7d4000       Deferred        rpcrt4
PE      7e830000-7e8b8000       Deferred        ole32
PE      7e9d0000-7e9d4000       Deferred        ddraw
PE      7ea20000-7ea68000       Deferred        winmm
PE      7eab0000-7eab4000       Deferred        advapi32
PE      7eb00000-7eb04000       Deferred        gdi32
PE      7eb90000-7eba1000       Deferred        user32
PE      7edf0000-7ee5c000       Export          kernel32
PE      7ef80000-7ef84000       Deferred        ntdll
Threads:
process  tid      prio (all id:s are in hex)
0000000b 
        0000000c    0
00000008 (D) C:\CSoft\Matheland2\Mathe2.exe
        0000000f    0
        0000000e    0
        0000000d   15
        0000000a    0
        00000009    0 <==


Reply via email to