http://bugs.winehq.org/show_bug.cgi?id=31562
Bug #: 31562 Summary: crash in mmdevapi/MMDevCol_GetCount() using lithtech game engine. Product: Wine Version: 1.5.11 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mmdevapi AssignedTo: wine-bugs@winehq.org ReportedBy: manuel.lauss@gmail.com Classification: Unclassified
The game "No One Lives Forever" crashes very early with the below backtrace. Running with WINEDEBUG=all works around it (but is incredibly slow).
Unhandled exception: page fault on read access to 0x00000030 in 32-bit code (0x7dfc9d61). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7dfc9d61 ESP:0032e408 EBP:0032e450 EFLAGS:00210202( R- -- I - - - ) EAX:0000000c EBX:7dfd72e0 ECX:7dfc9cb5 EDX:00000004 ESI:03626ff8 EDI:00000000 Stack dump: 0x0032e408: 035e1ef0 03626ff8 0032e450 7dfca3ff 0x0032e418: 0032e48c 00000000 00000001 7c883628 0x0032e428: 0032e490 00000000 00000001 0000000c 0x0032e438: 7c89a7f0 03626ff8 035e1ef0 00000001 0x0032e448: 035c2700 7c89a7f0 0032e4c0 7c87037b 0x0032e458: 035e1ef0 0032e488 00000001 0032e48c Backtrace: =>0 0x7dfc9d61 MMDevCol_GetCount+0xac(iface=0x35e1ef0, numdevs=0x32e488) [/var/tmp/portage/app-emulation/wine-1.5.11/work/wine-1.5.11/dlls/mmdevapi/devenum.c:786] in mmdevapi (0x0032e450) 1 0x7c87037b get_mmdevice+0xe1(flow=eRender, tgt=0x32e4f0, device=0x32e4e8) [/var/tmp/portage/app-emulation/wine-1.5.11/work/wine-1.5.11/dlls/dsound/dsound_main.c:381] in dsound (0x0032e4c0) 2 0x7c86cb5c DirectSoundDevice_Initialize+0x1d6(ppDevice=0x35e1ba0, lpcGUID=0x7c88ea98) [/var/tmp/portage/app-emulation/wine-1.5.11/work/wine-1.5.11/dlls/dsound/dsound.c:723] in dsound (0x0032e540) 3 0x7c86b4fb IDirectSound8Impl_Initialize+0x93(iface=0x35e1b8c, lpcGuid=(nil)) [/var/tmp/portage/app-emulation/wine-1.5.11/work/wine-1.5.11/dlls/dsound/dsound.c:294] in dsound (0x0032e580) 4 0x7c86b8f9 DirectSoundCreate+0x164(lpcGUID=(nil), ppDS=0x3627098, pUnkOuter=(nil)) [/var/tmp/portage/app-emulation/wine-1.5.11/work/wine-1.5.11/dlls/dsound/dsound.c:405] in dsound (0x0032e5d0) 0x7dfc9d61 MMDevCol_GetCount+0xac [/var/tmp/portage/app-emulation/wine-1.5.11/work/wine-1.5.11/dlls/mmdevapi/devenum.c:786] in mmdevapi: movl 0x24(%eax),%edx 786 if ((cur->flow == This->flow || This->flow == eAll) Modules: Module Address Debug info Name (139 modules) PE 340000- 3f5000 Deferred cres PE 400000- 4c7000 Deferred lithtech PE d20000- e63000 Deferred cshell PE 1590000- 1645000 Deferred d3d.ren PE 10000000-10008000 Deferred ltmsg PE 21100000-2115e000 Export mss32 PE 22100000-22114000 Deferred mssa3d.m3d PE 22200000-22215000 Deferred mssa3d2.m3d PE 22300000-22310000 Deferred mssds3ds.m3d PE 22400000-22414000 Deferred mssds3dh.m3d PE 22500000-22514000 Deferred msseax.m3d PE 22600000-22616000 Deferred mssfast.m3d PE 22700000-22716000 Deferred mssdolby.m3d PE 22900000-22912000 Deferred mssdx7sl.m3d PE 22a00000-22a12000 Deferred mssdx7sh.m3d PE 22b00000-22b13000 Deferred mssdx7sn.m3d PE 22c00000-22c18000 Deferred msseax2.m3d PE 22d00000-22d62000 Deferred mssrsx.m3d PE 24100000-2410d000 Deferred lowpass.flt PE 24200000-2420d000 Deferred highpass.flt PE 24300000-2430d000 Deferred bandpass.flt PE 24400000-2440d000 Deferred reverb1.flt PE 24500000-24510000 Deferred reverb2.flt PE 24600000-24611000 Deferred reverb3.flt PE 24700000-2470d000 Deferred reson.flt PE 24800000-24810000 Deferred phaser.flt PE 24900000-2490d000 Deferred parmeq.flt PE 24a00000-24a0d000 Deferred mdelay.flt PE 24b00000-24b0d000 Deferred sdelay.flt PE 24c00000-24c0d000 Deferred ringmod.flt PE 24d00000-24d0d000 Deferred flange.flt PE 24e00000-24e0d000 Deferred chorus.flt PE 24f00000-24f10000 Deferred shelfeq.flt PE 25100000-2510d000 Deferred compress.flt PE 25200000-2520d000 Deferred autopan.flt PE 25300000-2530e000 Deferred laginter.flt PE 25400000-2540b000 Deferred capture.flt PE 26f00000-26f2a000 Deferred mp3dec.asi ELF 79afc000-7b800000 Deferred libnvidia-glcore.so.304.37 ELF 7b800000-7ba41000 Deferred kernel32<elf> -PE 7b810000-7ba41000 \ kernel32 ELF 7bc00000-7bcde000 Deferred ntdll<elf> -PE 7bc10000-7bcde000 \ ntdll ELF 7bf00000-7bf03000 Deferred <wine-loader> ELF 7c59f000-7c5c0000 Deferred dmsynth<elf> -PE 7c5b0000-7c5c0000 \ dmsynth ELF 7c5c0000-7c5d0000 Deferred libspeexdsp.so.1 ELF 7c5d0000-7c68f000 Deferred libasound.so.2 ELF 7c6a4000-7c6d1000 Deferred dmusic<elf> -PE 7c6b0000-7c6d1000 \ dmusic ELF 7c6d1000-7c702000 Deferred winealsa<elf> -PE 7c6e0000-7c702000 \ winealsa ELF 7c702000-7c84f000 Deferred oleaut32<elf> -PE 7c720000-7c84f000 \ oleaut32 ELF 7c84f000-7c89c000 Dwarf dsound<elf> -PE 7c860000-7c89c000 \ dsound ELF 7db4b000-7db61000 Deferred midimap<elf> -PE 7db50000-7db61000 \ midimap ELF 7dcac000-7dcc6000 Deferred msacm32<elf> -PE 7dcb0000-7dcc6000 \ msacm32 PE 7dd66000-7dd69000 Deferred libasound_module_rate_speexrate. ELF 7dd79000-7ddc6000 Deferred dmime<elf> -PE 7dd80000-7ddc6000 \ dmime ELF 7debd000-7df99000 Deferred libgl.so.1 ELF 7dfab000-7dfb4000 Deferred librt.so.1 ELF 7dfb4000-7dfd8000 Dwarf mmdevapi<elf> -PE 7dfc0000-7dfd8000 \ mmdevapi ELF 7dfdb000-7e0c4000 Deferred opengl32<elf> -PE 7dff0000-7e0c4000 \ opengl32 ELF 7e0c4000-7e231000 Deferred wined3d<elf> -PE 7e0d0000-7e231000 \ wined3d ELF 7e231000-7e2a9000 Deferred ddraw<elf> -PE 7e240000-7e2a9000 \ ddraw ELF 7e35c000-7e362000 Deferred libxfixes.so.3 ELF 7e362000-7e36c000 Deferred libxcursor.so.1 ELF 7e372000-7e376000 Deferred libnvidia-tls.so.304.37 ELF 7e376000-7e3ac000 Deferred uxtheme<elf> -PE 7e380000-7e3ac000 \ uxtheme ELF 7e434000-7e45e000 Deferred libexpat.so.1 ELF 7e45e000-7e48d000 Deferred libfontconfig.so.1 ELF 7e48d000-7e49b000 Deferred libxi.so.6 ELF 7e49b000-7e49f000 Deferred libxcomposite.so.1 ELF 7e49f000-7e4a7000 Deferred libxrandr.so.2 ELF 7e4a7000-7e4b1000 Deferred libxrender.so.1 ELF 7e4b1000-7e4b7000 Deferred libxxf86vm.so.1 ELF 7e4b7000-7e4bb000 Deferred libxinerama.so.1 ELF 7e4bb000-7e4de000 Deferred imm32<elf> -PE 7e4c0000-7e4de000 \ imm32 ELF 7e4de000-7e4e4000 Deferred libxdmcp.so.6 ELF 7e4e4000-7e4fe000 Deferred libxcb.so.1 ELF 7e4fe000-7e503000 Deferred libuuid.so.1 ELF 7e503000-7e51b000 Deferred libice.so.6 ELF 7e51b000-7e638000 Deferred libx11.so.6 ELF 7e638000-7e648000 Deferred libxext.so.6 ELF 7e648000-7e6e7000 Deferred winex11<elf> -PE 7e650000-7e6e7000 \ winex11 ELF 7e6e7000-7e6f8000 Deferred libbz2.so.1 ELF 7e6f8000-7e70d000 Deferred libz.so.1 ELF 7e70d000-7e797000 Deferred libfreetype.so.6 ELF 7e797000-7e7db000 Deferred libncurses.so.5 ELF 7e81d000-7e841000 Deferred iphlpapi<elf> -PE 7e820000-7e841000 \ iphlpapi ELF 7e841000-7e872000 Deferred ws2_32<elf> -PE 7e850000-7e872000 \ ws2_32 ELF 7e872000-7e98e000 Deferred comctl32<elf> -PE 7e880000-7e98e000 \ comctl32 ELF 7e98e000-7e9da000 Deferred dinput<elf> -PE 7e9a0000-7e9da000 \ dinput ELF 7e9da000-7ea05000 Deferred msacm32<elf> -PE 7e9e0000-7ea05000 \ msacm32 ELF 7ea05000-7ea8d000 Deferred rpcrt4<elf> -PE 7ea10000-7ea8d000 \ rpcrt4 ELF 7ea8d000-7ebd9000 Deferred ole32<elf> -PE 7eaa0000-7ebd9000 \ ole32 ELF 7ebd9000-7ec47000 Deferred advapi32<elf> -PE 7ebf0000-7ec47000 \ advapi32 ELF 7ec47000-7ed24000 Deferred gdi32<elf> -PE 7ec50000-7ed24000 \ gdi32 ELF 7ed24000-7ee8c000 Deferred user32<elf> -PE 7ed40000-7ee8c000 \ user32 ELF 7ee8c000-7ef42000 Deferred winmm<elf> -PE 7ee90000-7ef42000 \ winmm ELF 7ef42000-7ef50000 Deferred libnss_files.so.2 ELF 7ef50000-7ef5c000 Deferred libnss_nis.so.2 ELF 7ef5c000-7ef75000 Deferred libnsl.so.1 ELF 7ef75000-7ef7f000 Deferred libnss_compat.so.2 ELF 7ef7f000-7efbe000 Deferred libm.so.6 ELF 7efbf000-7efc3000 Deferred libxau.so.6 ELF 7efc3000-7efcb000 Deferred libsm.so.6 ELF 7efcb000-7efe6000 Deferred wsock32<elf> -PE 7efd0000-7efe6000 \ wsock32 ELF 7efe6000-7f000000 Deferred version<elf> -PE 7eff0000-7f000000 \ version ELF f7475000-f747a000 Deferred libdl.so.2 ELF f747a000-f7623000 Deferred libc.so.6 ELF f7623000-f763e000 Deferred libpthread.so.0 ELF f7680000-f77c4000 Dwarf libwine.so.1 ELF f77c5000-f77e7000 Deferred ld-linux.so.2 ELF f77e7000-f77e8000 Deferred [vdso].so Threads: process tid prio (all id:s are in hex) 00000008 (D) E:\games\nolf\lithtech.exe 00000027 0 00000026 15 00000025 0 00000024 0 00000023 0 00000009 0 <== 0000000e services.exe 0000001f 0 0000001e 0 0000001d 0 00000017 0 00000015 0 00000010 0 0000000f 0 00000012 winedevice.exe 0000001b 0 00000018 0 00000014 0 00000013 0 00000019 plugplay.exe 00000020 0 0000001c 0 0000001a 0 00000021 explorer.exe 00000022 0 System information: Wine build: wine-1.5.11 Platform: i386 Host system: Linux Host version: 3.6.0-rc3-00170-gd6723da-dirty