http://bugs.winehq.com/show_bug.cgi?id=1670
------- Additional Comments From puoti@inwind.it 2004-05-01 18:25 ------- The dx99 patch from Jason fixes the problem with d3d8, so mafia now works perfectly. Without sound. With sound there is a nice bug that starts the debugger, hopefully useful winedbg output follows.
Unhandled exception: assertion failed in 32-bit code (0x400b3d71). In 32-bit mode. 0x400b3d71 (MSVCRT.DLL.frexp+0xc71): movl %edx,%ebx Wine-dbg>nexti First chance exception: c0000025 in 32-bit code (0x40213c6d). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:1107 GS:001f EIP:40213c6d ESP:4229fb98 EBP:4229fbfc EFLAGS:00000202( - 00 I - - 1 ) EAX:4229fba0 EBX:4024916c ECX:4229f900 EDX:00000000 ESI:422a01dc EDI:41744000 Stack dump: 0x4229fb98 (MIDIMAP.DRV..data+0x73bb98): 00000000 00000000 c0000025 00000001 0x4229fba8 (MIDIMAP.DRV..data+0x73bba8): 4229fedc 00000000 00000000 00000000 0x4229fbb8 (MIDIMAP.DRV..data+0x73bbb8): 00000000 00000000 00000000 00000000 0x4229fbc8 (MIDIMAP.DRV..data+0x73bbc8): 00000000 00000000 00000000 00000000 0x4229fbd8 (MIDIMAP.DRV..data+0x73bbd8): 00000000 00000000 00000000 00000000 0x4229fbe8 (MIDIMAP.DRV..data+0x73bbe8): 00000000 00000000 00001cb7 00001cb7 0x4229fbf8 (MIDIMAP.DRV..data+0x73bbf8):
0220: sel=1107 base=41744000 limit=00001fff 32-bit rw- Backtrace: =>0 0x40213c6d (NTDLL.DLL.RtlRestoreLastWin32Error+0x48d in NTDLL.DLL) (ebp=4229fbfc) 1 0x40234500 (NTDLL.DLL.__wine_call_from_32_regs+0x124 in NTDLL.DLL) (ebp=4229ff50) 2 0x40043b8b (VORBISFILE.DLL..reloc+0x3003db8b) (ebp=4229ff70) 3 0x400b3b04 (MSVCRT.DLL.frexp+0xa04) (ebp=4229ff90) 4 0x400b51e0 (NTDLL.DLL.atol+0x220) (ebp=422a00c0) 5 0x400ad0ad (VORBISFILE.DLL..reloc+0x300a70ad) (ebp=422a0100) 6 0x41557307 (DSOUND.DLL.DllCanUnloadNow+0x2687 in DSOUND.DLL) (ebp=422a0140) 7 0x41557430 (DSOUND.DLL.DllCanUnloadNow+0x27b0 in DSOUND.DLL) (ebp=422a0154) 8 0x40a1e4d5 (WINMM.DLL.mmsystemGetVersion+0x175 in WINMM.DLL) (ebp=422a017c) 9 0x40a1e657 (WINMM.DLL.mmsystemGetVersion+0x2f7 in WINMM.DLL) (ebp=422a01a8) 10 0x40a1e777 (WINMM.DLL.mmsystemGetVersion+0x417 in WINMM.DLL) (ebp=422a01c4) 11 0x404f832c (KERNEL32.DLL.GetDOSEnvironment16+0x3dc in KERNEL32.DLL) (ebp=422a0298) 12 0x4022f5a4 (NTDLL.DLL.RtlVerifyVersionInfo+0xa54 in NTDLL.DLL) (ebp=422a0ad4) 13 0x40041600 (VORBISFILE.DLL..reloc+0x3003b600) (ebp=422a0bd4) 14 0x40165a37 (MSVCRT.DLL.strftime+0x3d447) (ebp=00000000)
0x40213c6d (NTDLL.DLL.RtlRestoreLastWin32Error+0x48d in NTDLL.DLL): movl 0x0(%esi),%esi Wine-dbg>quit WineDbg terminated on pid 12 [ivan@localhost MafiaDemo]$