http://bugs.winehq.org/show_bug.cgi?id=28260
Summary: dsound/ds3d.ok crashes under WINEDEBUG=warn+heap Product: Wine Version: 1.3.27 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: directx-dsound AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Here's a backtrace:
export WINEDEBUG=warn+heap ../../../tools/runtest -q -P wine -M dsound.dll -T ../../.. -p dsound_test.exe.so ds3d.c && touch ds3d.ok ... wine: Unhandled page fault on read access to 0xfeef021a at address 0x68d6775f (thread 002c), starting debugger... Backtrace: =>0 0x68d6775f IDirectSound3DListenerImpl_Release+0xe9(iface=0x1d5170) [dlls/dsound/sound3d.c:791] 1 0x684bce32 test_primary_3d_with_listener+0x677(lpGuid=(nil)) [dlls/dsound/tests/ds3d.c:1228] 2 0x684bd181 dsenum_callback+0x183(lpGuid=(nil), lpcstrDescription="Primary Sound Driver", lpcstrModule="", lpContext=0x0(nil)) [dlls/dsound/tests/ds3d.c:1283] 3 0x68d558e4 a_to_w_callback+0xe0(guid=(nil), descW="Primary Sound Driver", modW="", data=0x33fc80) [dlls/dsound/dsound_main.c:291] 4 0x68d55c3b DirectSoundEnumerateW+0x2ab(lpDSEnumCallback=0x68d55803, lpContext=0x33fc80) [dlls/dsound/dsound_main.c:370] 5 0x68d55985 DirectSoundEnumerateA+0x88(lpDSEnumCallback=0x684bcffd, lpContext=0x0(nil)) [dlls/dsound/dsound_main.c:321] 6 0x684bd50d ds3d_tests+0x2a() [dlls/dsound/tests/ds3d.c:1307] 7 0x684bd5cd func_ds3d+0x7b() [dlls/dsound/tests/ds3d.c:1326]
http://bugs.winehq.org/show_bug.cgi?id=28260
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com
--- Comment #1 from Michael Stefaniuc mstefani@redhat.com 2012-07-22 14:43:06 CDT --- Dan,
do you still see this problem? It runs fine here.
http://bugs.winehq.org/show_bug.cgi?id=28260
--- Comment #2 from Dan Kegel dank@kegel.com 2012-07-22 16:54:32 CDT --- I can't tell - the test fails for me on my q9300:
ds3d.c:982: Test failed: DirectSoundCreate() failed: 8889000a ds3d.c:1006: Test failed: DirectSoundCreate() failed: 8889000a ds3d.c:1089: Test failed: DirectSoundCreate() failed: 8889000a ...
http://bugs.winehq.org/show_bug.cgi?id=28260
--- Comment #3 from Michael Stefaniuc mstefani@redhat.com 2012-07-22 17:35:56 CDT --- That's winealsa.drv with PA. Easy to workaround by playing some other sound at the same time. E.g. playing something on Youtube fixes it for me.
http://bugs.winehq.org/show_bug.cgi?id=28260
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #4 from Dan Kegel dank@kegel.com 2012-07-22 18:13:55 CDT --- I'm not seeing that crash now, and tests pass, if I play something else at same time. I'll close this as fixed, though I can't quite be sure that it's not masked by that odd failure.
http://bugs.winehq.org/show_bug.cgi?id=28260
--- Comment #5 from Michael Stefaniuc mstefani@redhat.com 2012-07-23 02:49:55 CDT --- As Andrew explained the odd failure to me: 0x8889000a is AUDCLNT_E_DEVICE_IN_USE. PA enumerates the HW device too but then goes to grab it for a short time and winealsa.drv cannot open it. When something else is playing PA won't enumerate the HW device as available thus winealsa.drv won't try to open it.
http://bugs.winehq.org/show_bug.cgi?id=28260
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2012-07-31 14:20:35 CDT --- Closing bugs fixed in 1.5.10.