https://bugs.winehq.org/show_bug.cgi?id=41102
Bug ID: 41102 Summary: Alan Wake's American Nightmare crashes at launch randomly with 'm->state == STATE_PASSIVE' Product: Wine Version: 1.9.16 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: winepulse.drv Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com CC: aeikum@codeweavers.com Distribution: ---
Crashes very randomly, so hard to reproduce.
Assertion 'm->state == STATE_PASSIVE' failed at pulse/mainloop.c:787, function pa_mainloop_prepare(). Aborting. wine: Assertion failed at address 0xf779ad49 (thread 0028), starting debugger... Unhandled exception: assertion failed in 32-bit code (0xf779ad49).
Backtrace: =>0 0xf779ad49 __kernel_vsyscall+0x9() in [vdso].so (0x7c1bd2e8) 1 0xf73d95c9 gsignal+0x38() in libc.so.6 (0x7c1bd2e8) 2 0xf73daca7 abort+0x156() in libc.so.6 (0x7c1bd2e8) 3 0x7a9e9e47 pa_mainloop_prepare+0x286() in libpulse.so.0 (0x7c1bd2e8) 4 0x7a9ea923 pa_mainloop_iterate+0x32() in libpulse.so.0 (0x04a0dc98) 5 0x7aa512b3 pulse_test_connect+0x182() [/wine/dlls/winepulse.drv/mmdevdrv.c:566] in winepulse (0x04a0dc98) 6 0x7aa58590 AUDDRV_GetPriority+0x2f() [/wine/dlls/winepulse.drv/mmdevdrv.c:947] in winepulse (0x04a0dcc8) 7 0x7b8199bf init_driver+0x25e() [/wine/dlls/mmdevapi/main.c:103] in mmdevapi (0x04a0e1c8) 8 0x7b81a21c DllGetClassObject+0x3b(rclsid=<couldn't compute location>, riid=<couldn't compute location>, ppv=<couldn't compute location>) [/wine/dlls/mmdevapi/main.c:282] in mmdevapi (0x04a0e1f8) 9 0x7e95fc1c apartment_getclassobject+0x11b(apt=<is not available>, dllpath=<is not available>, apartment_threaded=<is not available>, rclsid=<is not available>, riid=<is not available>, ppv=<is not available>) [/wine/dlls/ole32/compobj.c:1372] in ole32 (0x04a0e268) 10 0x7e962bd5 get_inproc_class_object+0x114(apt=<is not available>, regdata=<is not available>, rclsid=<is not available>, riid=<is not available>, hostifnecessary=<is not available>, ppv=<is not available>) [/wine/dlls/ole32/compobj.c:2930] in ole32 (0x04a0e4c8) 11 0x7e965565 CoGetClassObject+0x50f(rclsid=<is not available>, dwClsContext=<is not available>, pServerInfo=<is not available>, iid=<is not available>, ppv=<is not available>) [/wine/dlls/ole32/compobj.c:3068] in ole32 (0x04a0e578) 12 0x7e966be1 CoCreateInstanceEx+0x1db(rclsid=<is not available>, pUnkOuter=<is not available>, dwClsContext=<is not available>, pServerInfo=<is not available>, cmq=<is not available>, pResults=<is not available>) [/wine/dlls/ole32/compobj.c:3305] in ole32 (0x04a0e5f8) 13 0x7e9670dd CoCreateInstance+0x67(rclsid=<is not available>, pUnkOuter=<is not available>, dwClsContext=<is not available>, iid=<is not available>, ppv=<is not available>) [/wine/dlls/ole32/compobj.c:3201] in ole32 (0x04a0e668) 14 0x01e8347b in fmodex (+0x347a) (0x04a0e694) 15 0x01f07e45 in fmodex (+0x87e44) (0x04a0e6bc) 16 0x01f07f7a in fmodex (+0x87f79) (0x04a0e6d4) 17 0x01f080b8 in fmodex (+0x880b7) (0x04a0e70c) 18 0x01ea2e74 in fmodex (+0x22e73) (0x04a0e728) 19 0x01e569b4 in snd_w32_f (+0x69b3) (0x04a0e900) 20 0x01e573fa in snd_w32_f (+0x73f9) (0x04a0e928) 21 0x01e57a9c in snd_w32_f (+0x7a9b) (0x04a0e948) 22 0x0042f4e4 in alan_wakes_american_nightmare (+0x2f4e3) (0x04a0e990) 23 0x0042fb0b in alan_wakes_american_nightmare (+0x2fb0a) (0x04a0e9c4) 24 0x006eded0 in alan_wakes_american_nightmare (+0x2edecf) (0x04a0e9f4) 25 0x00d99f02 in rl_w32_f (+0x59f01) (0x04a0ea08) 26 0x7bc7d8ac call_thread_func_wrapper+0xb() in ntdll (0x04a0ea18) 27 0x7bc80669 call_thread_func+0xa8(entry=0xd42b8a, arg=0x399d2a0, frame=0x4a0eb18) [/wine/dlls/ntdll/signal_i386.c:2759] in ntdll (0x04a0eaf8) 28 0x7bc7d88a call_thread_entry_point+0x11() in ntdll (0x04a0eb18) 29 0x7bc88073 start_thread+0xa2(info=0x7ffd0fb8) [/wine/dlls/ntdll/thread.c:453] in ntdll (0x04a0f368)
PulseAudio 8.0
https://bugs.winehq.org/show_bug.cgi?id=41102
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Alan Wake's American |Multiple games crash at |Nightmare crashes at launch |launch with 'm->state == |randomly with 'm->state == |STATE_PASSIVE' (Alan Wake's |STATE_PASSIVE' |American Nightmare, Watch | |Dogs)
--- Comment #1 from Andrey Gusev andrey.goosev@gmail.com --- For Watch Dogs this crash reproducible on each launch.
/ Crashes / -------------------- Windows XP, 7:
xaudio2_7 - builtin xaudio2_8 - builtin
--------------------
/ Sound just in the main menu but not in-game / -------------------- Windows XP:
xaudio2_7 - native xaudio2_8 - builtin --------------------
/ Sound works in the main menu and in-game / -------------------- Windows XP:
xaudio2_7 - native xaudio2_8 - native --------------------
wine-6.0-rc6 FAudio 20.12-4-g23470c3
https://bugs.winehq.org/show_bug.cgi?id=41102
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|winepulse.drv |-unknown
--- Comment #2 from Andrey Gusev andrey.goosev@gmail.com --- In addition to comment 1.
It doesn't crash with builtin xaudio2_* if launched from the game folder.
https://bugs.winehq.org/show_bug.cgi?id=41102
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #3 from Zeb Figura z.figura12@gmail.com --- Is this bug still present?
https://bugs.winehq.org/show_bug.cgi?id=41102
--- Comment #4 from Andrey Gusev andrey.goosev@gmail.com --- I tried Watch Dogs a couple of days ago and this doesn't happen. It also could be due to using Win 10 by default now.
https://bugs.winehq.org/show_bug.cgi?id=41102
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|NEW |RESOLVED
--- Comment #5 from Zeb Figura z.figura12@gmail.com --- (In reply to Andrey Gusev from comment #4)
I tried Watch Dogs a couple of days ago and this doesn't happen. It also could be due to using Win 10 by default now.
It's probably good enough to call it WORKSFORME then.
https://bugs.winehq.org/show_bug.cgi?id=41102
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Gijs Vermeulen gijsvrm@gmail.com --- Closing WORKSFORME.