Hi all,
when running an educational game, wine crashed and asked me to contact wine-devel. Below is the post mortem trace. Can anyone give me a hint what can be done?
Thanks for your help.
Best regards,
Klaus
xxx@yyy:~/make/wine/loader$ ./wine "C:\CSoft\Matheland2\Mathe2.exe" ALSA lib seq_hw.c:456:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory fixme:d3d:IWineD3DImpl_FillGLCaps >>>>>>>>>>>>>>>>> 0x501 from extension detection @ directx.c / 825 fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x1be928) : stub, simulating 64MB for now, returning 64MB fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x1bdd28)->(0x10026,00000011) fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 8 err:ddraw:IDirectDrawImpl_QueryInterface (0x1bdd28) The App is requesting a D3D device, but a non-OpenGL surface type was choosen. Prepare for trouble! err:ddraw:IDirectDrawImpl_QueryInterface (0x1bdd28) You may want to contact wine-devel for help fixme:d3d:IWineD3DImpl_FillGLCaps >>>>>>>>>>>>>>>>> 0x501 from extension detection @ directx.c / 825 fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x1bdd28)->((nil),00000008) fixme:d3d:IWineD3DStateBlockImpl_Release Releasing primary stateblock xxx@yyy:~/make/wine/loader$
when running an educational game, wine crashed and asked me to contact wine-devel. Below is the post mortem trace. Can anyone give me a hint what can be done?
err:ddraw:IDirectDrawImpl_QueryInterface (0x1bdd28) The App is requesting a D3D device, but a non-OpenGL surface type was choosen. Prepare for trouble! err:ddraw:IDirectDrawImpl_QueryInterface (0x1bdd28) You may want to contact wine-devel for help
Funky. Do you have any registry key like HKEY_CURRENT_USER/Software/Wine/Direct3D/DirectDrawRenderer = "gdi" set? I think no, because otherwise you should get a different warnding I think. If you have such a key set remove it, otherwise can you send a +ddraw trace? (compressed, preferably).
The fixme:d3d:IWineD3DImpl_FillGLCaps >>>>>>>>>>>>>>>>> 0x501 from extension are propably because you have an Intel graphics card. Those are fairly untested by the Direct3D developers. The other fixme's are not necessarilly unusual.
Am Samstag, 7. April 2007 14:01 schrieb Stefan Dösinger:
when running an educational game, wine crashed and asked me to contact wine-devel. Below is the post mortem trace. Can anyone give me a hint what can be done?
err:ddraw:IDirectDrawImpl_QueryInterface (0x1bdd28) The App is requesting
a
D3D device, but a non-OpenGL surface type was choosen. Prepare for
trouble!
err:ddraw:IDirectDrawImpl_QueryInterface (0x1bdd28) You may want to contact wine-devel for help
Funky. Do you have any registry key like HKEY_CURRENT_USER/Software/Wine/Direct3D/DirectDrawRenderer = "gdi" set? I think no, because otherwise you should get a different warnding I think. If you have such a key set remove it, otherwise can you send a +ddraw trace? (compressed, preferably).
The fixme:d3d:IWineD3DImpl_FillGLCaps >>>>>>>>>>>>>>>>> 0x501 from extension are propably because you have an Intel graphics card. Those are fairly untested by the Direct3D developers. The other fixme's are not necessarilly unusual.
Hi Stefan,
the registry does not have the DirectDrawRenderer key. I activated the ddraw trace. Hope that helps to findout whats going on. I send the trace to your email address.
Thanks for your help.
Best regards,
Klaus
Am Samstag 07 April 2007 20:49 schrieb Klaus Layer:
Am Samstag, 7. April 2007 14:01 schrieb Stefan Dösinger:
when running an educational game, wine crashed and asked me to contact wine-devel. Below is the post mortem trace. Can anyone give me a hint what can be done?
err:ddraw:IDirectDrawImpl_QueryInterface (0x1bdd28) The App is requesting
a
D3D device, but a non-OpenGL surface type was choosen. Prepare for
trouble!
err:ddraw:IDirectDrawImpl_QueryInterface (0x1bdd28) You may want to contact wine-devel for help
Funky. Do you have any registry key like HKEY_CURRENT_USER/Software/Wine/Direct3D/DirectDrawRenderer = "gdi" set? I think no, because otherwise you should get a different warnding I think. If you have such a key set remove it, otherwise can you send a +ddraw trace? (compressed, preferably).
The fixme:d3d:IWineD3DImpl_FillGLCaps >>>>>>>>>>>>>>>>> 0x501 from extension are propably because you have an Intel graphics card. Those are fairly untested by the Direct3D developers. The other fixme's are not necessarilly unusual.
Hi Stefan,
the registry does not have the DirectDrawRenderer key. I activated the ddraw trace. Hope that helps to findout whats going on. I send the trace to your email address.
Looks like there is a bug in my ddraw usage detection code, but to be sure I'd need a +ddraw,+d3d7 trace.
You can override the detection in favor of Direct3D / OpenGL by setting the following registry key:
HKEY_CURRENT_USER/Software/Wine/Direct3D/DirectDrawRenderer = "opengl"
But yet the detection should be fixed.
Am Samstag, 7. April 2007 22:23 schrieben Sie:
Am Samstag 07 April 2007 20:49 schrieb Klaus Layer:
Am Samstag, 7. April 2007 14:01 schrieb Stefan Dösinger:
when running an educational game, wine crashed and asked me to contact wine-devel. Below is the post mortem trace. Can anyone give me a hint what can be done?
err:ddraw:IDirectDrawImpl_QueryInterface (0x1bdd28) The App is requesting
a
D3D device, but a non-OpenGL surface type was choosen. Prepare for
trouble!
err:ddraw:IDirectDrawImpl_QueryInterface (0x1bdd28) You may want to contact wine-devel for help
Funky. Do you have any registry key like HKEY_CURRENT_USER/Software/Wine/Direct3D/DirectDrawRenderer = "gdi" set? I think no, because otherwise you should get a different warnding I think. If you have such a key set remove it, otherwise can you send a +ddraw trace? (compressed, preferably).
The fixme:d3d:IWineD3DImpl_FillGLCaps >>>>>>>>>>>>>>>>> 0x501 from extension are propably because you have an Intel graphics card. Those
are
fairly untested by the Direct3D developers. The other fixme's are not necessarilly unusual.
Hi Stefan,
the registry does not have the DirectDrawRenderer key. I activated the ddraw trace. Hope that helps to findout whats going on. I send the trace
to
your email address.
Looks like there is a bug in my ddraw usage detection code, but to be sure
I'd
need a +ddraw,+d3d7 trace.
You can override the detection in favor of Direct3D / OpenGL by setting the following registry key:
HKEY_CURRENT_USER/Software/Wine/Direct3D/DirectDrawRenderer = "opengl"
But yet the detection should be fixed.
I created the key, but with it wine crashes with the dump below. I therefore removed the key and recorded a +ddraw,+d3d7 trace I will send separately to you.
Thanks Klaus
xxx@yyy:~/make/wine/loader$ ./wine "C:\CSoft\Matheland2\Mathe2.exe" ALSA lib seq_hw.c:456:(snd_seq_hw_open) open /dev/snd/seq failed: No such file o r directory fixme:d3d:IWineD3DImpl_FillGLCaps >>>>>>>>>>>>>>>>> 0x501 from extension detecti on @ directx.c / 825 fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x1be928) : stub, simulating 64MB for now, returning 64MB left fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x1bdd28)->(0x10026,00000011) fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 8 fixme:d3d:IWineD3DImpl_FillGLCaps >>>>>>>>>>>>>>>>> 0x501 from extension detection @ directx.c / 825 wine: Unhandled page fault on read access to 0x00d20002 at address 0x7e42f2e9 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0x00d20002 in 32-bit code (0x7e42f2e9). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:7e42f2e9 ESP:0034f218 EBP:0034f2f0 EFLAGS:00010202( - 00 - -RI1) EAX:7d0806e4 EBX:7e55b118 ECX:00d20004 EDX:00000400 ESI:00000139 EDI:7d080200 Stack dump: 0x0034f218: 00000002 7c0a337c 00b40020 00000400 0x0034f228: 00000400 00001908 00001401 00000000 0x0034f238: 00000000 00000000 7e9c84a0 7e9c5bff 0x0034f248: b7e8fadc b7e91320 fffffff0 0034f270 0x0034f258: 01dca411 b7e91320 00400204 0155b118 0x0034f268: 00000200 7c6e63c8 0034f280 7e3fdb8d Backtrace: =>1 0x7e42f2e9 (0x0034f2f0) 2 0x7e433c7e (0x0034f350) 3 0x7e3b492c (0x0034f3a0) 4 0x7e422670 (0x0034f400) 5 0x7e59c4da (0x0034f430) 6 0x7d7c9213 (0x0034f470) 7 0x7d7d3ebb (0x0034f8f0) 8 0x7d7c9b8e (0x0034f940) 9 0x7d7cfd23 (0x0034f9a0) 10 0x7e9fe8c6 (0x0034f9f0) 11 0x7ea023ab (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 0x7ee5050f in kernel32 (+0x5050f) (0x0034ffe8) 22 0xb7ec8397 (0x00000000) 0x7e42f2e9: movzbl 0xfffffffe(%ecx),%edx Modules: Module Address Debug info Name (11 modules) PE 400000-6f4000 Export mathe2 PE 7e760000-7e764000 Deferred dsound PE 7e7d0000-7e7d4000 Deferred rpcrt4 PE 7e830000-7e8b8000 Deferred ole32 PE 7e9e0000-7e9e4000 Deferred ddraw PE 7ea30000-7ea78000 Deferred winmm PE 7eab0000-7eab4000 Deferred advapi32 PE 7eb00000-7eb04000 Deferred gdi32 PE 7eba0000-7ebb1000 Deferred user32 PE 7ee00000-7ee6c000 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 <== xxx@yyy:~/make/wine/loader$
I created the key, but with it wine crashes with the dump below. I therefore removed the key and recorded a +ddraw,+d3d7 trace I will send separately to you.
Looks like this crash is unrelated to the original issue. The key worked around the first issue, now we have another one of which I have no quick idea how to debug.
Klaus Layer wrote:
21 0x7ee5050f in kernel32 (+0x5050f) (0x0034ffe8)
Do not strip Wine when you debuggin it, _especially_ when you sending your traces to wine-devel.
22 0xb7ec8397 (0x00000000) 0x7e42f2e9: movzbl 0xfffffffe(%ecx),%edx Modules: Module Address Debug info Name (11 modules) PE 400000-6f4000 Export mathe2 PE 7e760000-7e764000 Deferred dsound PE 7e7d0000-7e7d4000 Deferred rpcrt4 PE 7e830000-7e8b8000 Deferred ole32 PE 7e9e0000-7e9e4000 Deferred ddraw PE 7ea30000-7ea78000 Deferred winmm PE 7eab0000-7eab4000 Deferred advapi32 PE 7eb00000-7eb04000 Deferred gdi32 PE 7eba0000-7ebb1000 Deferred user32 PE 7ee00000-7ee6c000 Export kernel32 PE 7ef80000-7ef84000 Deferred ntdll
Properly compiling Wine would help. This is invalid. Please visit wiki page(s) for gentoo that state which flags you should and which flags you _can not_ use.
Btw what is the bug # for this problem?
Vitaliy
Am Sonntag, 8. April 2007 01:14 schrieb Vitaliy Margolen:
Do not strip Wine when you debuggin it, _especially_ when you sending your traces to wine-devel.
Properly compiling Wine would help. This is invalid. Please visit wiki page(s) for gentoo that state which flags you should and which flags you _can not_ use.
Btw what is the bug # for this problem?
Vitaliy
Hi Vitaly,
I did not strip the symbols. The callstack with the missing symbols I sent was one of my first tries after experiencing the crash. Today I noticed that sometimes I get proper callstacks with symbols sometimes not. I not yet created a bugzilla entry but will do it later.
Best regards,
Klaus
ALSA lib seq_hw.c:456:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory fixme:d3d:IWineD3DImpl_FillGLCaps >>>>>>>>>>>>>>>>> 0x501 from extension detection @ directx.c / 825 fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x1be720) : stub, simulating 64MB for now, returning 64MB left fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x1bdb20)->(0x10026,00000011) fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 8 fixme:d3d:IWineD3DImpl_FillGLCaps >>>>>>>>>>>>>>>>> 0x501 from extension detection @ directx.c / 825 wine: Unhandled page fault on read access to 0x00d20002 at address 0x7e42f2e9 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0x00d20002 in 32-bit code (0x7e42f2e9). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:7e42f2e9 ESP:0034f218 EBP:0034f2f0 EFLAGS:00010202( - 00 - -RI1) EAX:7d1916e4 EBX:7e55b118 ECX:00d20004 EDX:00000400 ESI:00000139 EDI:7d191200 Stack dump: 0x0034f218: 00000002 7c0a33e4 00b40020 00000400 0x0034f228: 00000400 00001908 00001401 00000000 0x0034f238: 00000000 00000000 7e9c84a0 7e9c5bff 0x0034f248: b7dcfadc b7dd1320 fffffff0 0034f270 0x0034f258: 01d0a411 b7dd1320 00400204 0155b118 0x0034f268: 00000200 7c6e9838 0034f280 7e3fdb8d Backtrace: =>1 0x7e42f2e9 _mesa_texstore_argb8888+0x63e() in i915_dri.so (0x0034f2f0) 2 0x7e433c7e _mesa_store_texsubimage2d+0xfa() in i915_dri.so (0x0034f350) 3 0x7e3b492c in i915_dri.so (+0x4092c) (0x0034f3a0) 4 0x7e422670 _mesa_TexSubImage2D+0x1a8() in i915_dri.so (0x0034f400) 5 0x7e59c4da glTexSubImage2D+0x62() in libgl.so.1 (0x0034f430) 6 0x7d7c9213 surface_upload_data+0xb3(This=<register ESI not in topmost frame>, width=0x400, height=<register EDI not in topmost frame>, format=<register EAX not in topmost frame>, type=<register EAX not in topmost frame>, data=0xb40020) [/home/klaus/make/wine/dlls/wined3d/surface.c:190] in wined3d (0x0034f470) 7 0x7d7d3ebb IWineD3DSurfaceImpl_LoadTexture+0x33c(iface=0x9aeaf0) [/home/klaus/make/wine/dlls/wined3d/surface.c:1922] in wined3d (0x0034f8f0) 8 0x7d7c9b8e IWineD3DSurfaceImpl_PreLoad+0x127(iface=<register EDI not in topmost frame>) [/home/klaus/make/wine/dlls/wined3d/surface.c:404] in wined3d (0x0034f940) 9 0x7d7cfd23 IWineD3DSurfaceImpl_LockRect+0x8f6(iface=0x9aeaf0, pLockedRect=0x34f9dc, pRect=0x0, Flags=0x0) [/home/klaus/make/wine/dlls/wined3d/surface.c:817] in wined3d (0x0034f9a0) 10 0x7e9fe8c6 IDirectDrawSurfaceImpl_Lock+0xb7(iface=0x9aea10, Rect=0x0, DDSD=<register EDI not in topmost frame>, Flags=0x0, h=<register EAX not in topmost frame>) [/home/klaus/make/wine/dlls/ddraw/surface.c:569] in ddraw (0x0034f9f0) 11 0x7ea023ab IDirectDrawSurface3Impl_Lock+0x53(This=0x9aea14, pRect=<register EAX not in topmost frame>, pDDSD=<register EAX not in topmost frame>, dwFlags=<register EAX not in topmost frame>, h=<register EAX not in topmost frame>) [/home/klaus/make/wine/dlls/ddraw/surface_thunks.c:293] in ddraw (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 0x7ee5050f start_process+0xe3(arg=0x0) [/home/klaus/make/wine/dlls/kernel32/process.c:821] in kernel32 (0x0034ffe8) 22 0xb7e08397 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000) 0x7e42f2e9 _mesa_texstore_argb8888+0x63e in i915_dri.so: movzbl 0xfffffffe(%ecx),%edx Modules: Module Address Debug info Name (70 modules) PE 400000-6f4000 Export mathe2 ELF 7bf00000-7bf03000 Deferred <wine-loader> ELF 7d5f2000-7d5fc000 Deferred libgcc_s.so.1 ELF 7d6d1000-7d747000 Deferred libglu.so.1 ELF 7d761000-7d81a000 Dwarf wined3d<elf> -PE 7d770000-7d81a000 \ wined3d ELF 7d92b000-7d951000 Deferred msacm32<elf> -PE 7d930000-7d951000 \ msacm32 ELF 7d951000-7da06000 Deferred libasound.so.2 ELF 7da0b000-7da20000 Deferred midimap<elf> -PE 7da10000-7da20000 \ midimap ELF 7da20000-7da4b000 Deferred winealsa<elf> -PE 7da30000-7da4b000 \ winealsa ELF 7da4b000-7da4f000 Deferred libxfixes.so.3 ELF 7da4f000-7da58000 Deferred libxcursor.so.1 ELF 7da58000-7da74000 Deferred imm32<elf> -PE 7da60000-7da74000 \ imm32 ELF 7e374000-7e576000 Export i915_dri.so ELF 7e576000-7e5dc000 Export libgl.so.1 ELF 7e5dc000-7e5f4000 Deferred msacm32<elf> -PE 7e5e0000-7e5f4000 \ msacm32 ELF 7e5f6000-7e682000 Deferred winex11<elf> -PE 7e600000-7e682000 \ winex11 ELF 7e682000-7e6a1000 Deferred libexpat.so.1 ELF 7e6a1000-7e6cf000 Deferred libfontconfig.so.1 ELF 7e6cf000-7e6e3000 Deferred libz.so.1 ELF 7e6e3000-7e74d000 Deferred libfreetype.so.6 ELF 7e74d000-7e795000 Deferred dsound<elf> -PE 7e760000-7e795000 \ dsound ELF 7e795000-7e7a8000 Deferred libresolv.so.2 ELF 7e7a8000-7e7c7000 Deferred iphlpapi<elf> -PE 7e7b0000-7e7c7000 \ iphlpapi ELF 7e7c7000-7e81b000 Deferred rpcrt4<elf> -PE 7e7d0000-7e81b000 \ rpcrt4 ELF 7e81b000-7e8b3000 Deferred ole32<elf> -PE 7e830000-7e8b3000 \ ole32 ELF 7e8b3000-7e8b6000 Deferred libxau.so.6 ELF 7e8b6000-7e99c000 Deferred libx11.so.6 ELF 7e99c000-7e9b4000 Deferred libice.so.6 ELF 7e9b4000-7e9b7000 Deferred libxrandr.so.2 ELF 7e9b7000-7e9bf000 Deferred libxrender.so.1 ELF 7e9bf000-7e9c2000 Deferred libxinerama.so.1 ELF 7e9c2000-7e9c9000 Deferred libdrm.so.2 ELF 7e9c9000-7e9ce000 Deferred libxxf86vm.so.1 ELF 7e9ce000-7ea1c000 Dwarf ddraw<elf> -PE 7e9e0000-7ea1c000 \ ddraw ELF 7ea1c000-7eaa9000 Deferred winmm<elf> -PE 7ea30000-7eaa9000 \ winmm ELF 7eaa9000-7eaed000 Deferred advapi32<elf> -PE 7eab0000-7eaed000 \ advapi32 ELF 7eaed000-7eb7f000 Deferred gdi32<elf> -PE 7eb00000-7eb7f000 \ gdi32 ELF 7eb7f000-7ecb5000 Deferred user32<elf> -PE 7eba0000-7ecb5000 \ user32 ELF 7ede3000-7ef03000 Dwarf kernel32<elf> -PE 7ee00000-7ef03000 \ kernel32 ELF 7ef03000-7ef0d000 Deferred libnss_files.so.2 ELF 7ef0d000-7ef16000 Deferred libnss_nis.so.2 ELF 7ef18000-7ef25000 Deferred libxext.so.6 ELF 7ef25000-7ef2d000 Deferred libsm.so.6 ELF 7ef30000-7ef52000 Deferred libm.so.6 ELF 7ef57000-7ef6c000 Deferred libnsl.so.1 ELF 7ef6c000-7f000000 Deferred ntdll<elf> -PE 7ef80000-7f000000 \ ntdll ELF b7ca2000-b7ca5000 Deferred libdl.so.2 ELF b7ca5000-b7dd4000 Deferred libc.so.6 ELF b7dd4000-b7de6000 Deferred libpthread.so.0 ELF b7de7000-b7df0000 Deferred libnss_compat.so.2 ELF b7e01000-b7f12000 Dwarf libwine.so.1 ELF b7f15000-b7f2b000 Deferred ld-linux.so.2 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 <==
Am Montag, 9. April 2007 23:09 schrieb Klaus Layer:
Am Sonntag, 8. April 2007 01:14 schrieb Vitaliy Margolen:
Do not strip Wine when you debuggin it, _especially_ when you sending your traces to wine-devel.
Properly compiling Wine would help. This is invalid. Please visit wiki page(s) for gentoo that state which flags you should and which flags you _can not_ use.
Btw what is the bug # for this problem?
I not yet created a bugzilla entry but will do it later.
reported issue in bugzilla with #7999