possible MCI deadlock

Damjan Jovanovic dj015 at yahoo.com
Thu May 11 01:06:37 CDT 2006


I've been looking at bug 3930
(http://bugs.winehq.org/show_bug.cgi?id=3930), where
Heroes of might and magic basically hangs on a black
screen when sound is enabled (and works when sound is
disabled).

It happens on all wine versions, the winedbg session
below is from wine 0.9.11 and was done during the
black screen. Any ideas? What's exception c0000005?

Wine-dbg>info process
 pid      threads  parent   executable (all id:s are
in hex)
 0000000a 1        00000008
'c:\windows\system32\explorer.exe'
 00000008 2        00000000 'C:\Program
Files\3DO\Heroes of Might and Magic\HEROES.EXE'
Wine-dbg>attach 8
0xffffe410: popl        %ebp
Wine-dbg>bt all

Backtracing for thread 0xc in process 0x8 (C:\Program
Files\3DO\Heroes of Might and Magic\HEROES.EXE):
Backtrace:
=>1 0xffffe410 (0xffffe410)
  2 0x7eced300 wodPlayer+0xc0(pmt=0x0)
[/home/dacha/Programs/InstallationFiles/wine-0.9.11/dlls/winmm/winealsa/audio.c:2261]
in winealsa (0x7eced300)
  3 0x7fc75dc9 THREAD_Start+0x119(ptr=0x7fd4a3e0)
[/home/dacha/Programs/InstallationFiles/wine-0.9.11/dlls/kernel/thread.c:76]
in kernel32 (0x7fc75dc9)
  4 0x7ffbba86 start_thread+0x236(info=0x7fd4a3f8)
[/home/dacha/Programs/InstallationFiles/wine-0.9.11/dlls/ntdll/thread.c:357]
in ntdll (0x7ffbba86)
  5 0xb7ec7380 (0xb7ec7380)
  6 0xb7e60c6e __clone+0x5e in libc.so.6 (0xb7e60c6e)
Process of pid=0x00000008 has terminated
0xffffe40e: jmp 0xffffe403

Backtracing for thread 0xb in process 0xa
(c:\windows\system32\explorer.exe):
Backtrace:
=>1 0xffffe40e (0xffffe40e)
  2 0x7ffb7d52
NTDLL_wait_for_multiple_objects+0x252(count=0x2,
handles=0x7fbbf4b0, flags=0x4, timeout=0x0,
signal_object=0x0)
[/home/dacha/Programs/InstallationFiles/wine-0.9.11/dlls/ntdll/sync.c:729]
in ntdll (0x7ffb7d52)
  3 0x7ffb7e57
NtWaitForMultipleObjects+0x67(count=0x2,
handles=0x7fbbf4b0, wait_all=0x0, alertable=0x0,
timeout=0x0)
[/home/dacha/Programs/InstallationFiles/wine-0.9.11/dlls/ntdll/sync.c:760]
in ntdll (0x7ffb7e57)
  4 0x7fc5d84e
WaitForMultipleObjectsEx+0xae(count=0x2,
handles=0x7fbbf600, wait_all=0x0, timeout=0xffffffff,
alertable=0x0)
[/home/dacha/Programs/InstallationFiles/wine-0.9.11/dlls/kernel/sync.c:213]
in kernel32 (0x7fc5d84e)
  5 0x7f774eac
X11DRV_MsgWaitForMultipleObjectsEx+0xfc(count=0x1,
handles=0x7fbbf768, timeout=0xffffffff, mask=0x4ff,
flags=0x0)
[/home/dacha/Programs/InstallationFiles/wine-0.9.11/dlls/x11drv/event.c:312]
in winex11 (0x7f774eac)
  6 0x7fa10dc1 GetMessageW+0x211(msg=0x7fbbf8f0,
hwnd=0x0, first=0x0, last=0x0)
[/home/dacha/Programs/InstallationFiles/wine-0.9.11/dlls/user/message.c:2836]
in user32 (0x7fa10dc1)
  7 0x7fbd57f5 manage_desktop+0x255(arg=0x7fcf075d)
[/home/dacha/Programs/InstallationFiles/wine-0.9.11/programs/explorer/desktop.c:190]
in explorer (0x7fbd57f5)
  8 0x7fbd5e38 WinMain+0x268(hinstance=0x7fbd0000,
previnstance=0x0, cmdline=0x7fcf0755, cmdshow=0x1)
[/home/dacha/Programs/InstallationFiles/wine-0.9.11/programs/explorer/explorer.c:139]
in explorer (0x7fbd5e38)
  9 0x7fbd71a7 main+0xd7(argc=0x2, argv=0x7fcf0450)
[/home/dacha/Programs/InstallationFiles/wine-0.9.11/dlls/winecrt0/exe_main.c:48]
in explorer (0x7fbd71a7)
  10 0x7fbd70b9
__wine_spec_exe_entry+0x99(peb=0x7ffdf2c0)
[/home/dacha/Programs/InstallationFiles/wine-0.9.11/dlls/winecrt0/exe_entry.c:37]
in explorer (0x7fbd70b9)
  11 0x7fc4a0ae start_process+0xee(arg=0x0)
[/home/dacha/Programs/InstallationFiles/wine-0.9.11/dlls/kernel/process.c:845]
in kernel32 (0x7fc4a0ae)
  12 0xb7ef5587 wine_switch_to_stack+0x17 in
libwine.so.1 (0xb7ef5587)
Process of pid=0x0000000a has terminated
0xffffe410: popl        %ebp

Backtracing for thread 0x9 in process 0x8 (C:\Program
Files\3DO\Heroes of Might and Magic\HEROES.EXE):
Backtrace:

Exception c0000005
Wine-dbg>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the wine-devel mailing list