https://bugs.winehq.org/show_bug.cgi?id=40147
Bug ID: 40147 Summary: Assertion 'm->state == STATE_PASSIVE' failed at pulse/mainloop.c:827 on starting Skype 7.18.0.112 Product: Wine Version: 1.9.3 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: winepulse.drv Assignee: wine-bugs@winehq.org Reporter: t.artem@mailcity.com Distribution: Red Hat
Created attachment 53645 --> https://bugs.winehq.org/attachment.cgi?id=53645 backtrace
Perhaps it's because I'm not using Pulse Audio.
err:winsock:WSAIoctl -> _WSAIO(IOC_WS2, 23) request failed with status 0x2733 fixme:win:RegisterDeviceNotificationA (hwnd=0x1009c, filter=0x608e1d4,flags=0x00000000) returns a fake device notification handle! fixme:win:RegisterDeviceNotificationW (hwnd=0x1009a, filter=0x4f4dca8,flags=0x00000000) returns a fake device notification handle! err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded Assertion 'm->state == STATE_PASSIVE' failed at pulse/mainloop.c:827, function pa_mainloop_prepare(). Aborting. wine: Assertion failed at address 0xf7708c99 (thread 0046), starting debugger...
Unhandled exception: assertion failed in 32-bit code (0xf7708c99). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:f7708c99 ESP:05e8c408 EBP:05e8c420 EFLAGS:00200202( - -- I - - - ) EAX:00000000 EBX:00001b0d ECX:00001b4f EDX:00000006 ESI:05e8c85c EDI:f74ebff4 Stack dump: 0x05e8c408: 05e8c420 00000006 00001b4f f7383871 0x05e8c418: f74ebff4 05e8c540 05e8c548 f738514a 0x05e8c428: 00000006 05e8c4c0 00000000 7c704f28 0x05e8c438: 05e8c498 7c4816cf 7c704f28 00000000 0x05e8c448: 00000001 7c4613a0 f73cc066 7c705e30 0x05e8c458: 00e8c498 7c480200 00000091 00000004 Backtrace: =>0 0xf7708c99 __kernel_vsyscall+0x9() in [vdso].so (0x05e8c420) 1 0xf7383871 gsignal+0x50() in libc.so.6 (0x05e8c420) 2 0xf738514a abort+0x179() in libc.so.6 (0x05e8c548) 3 0x7c480238 pa_mainloop_prepare+0x497() in libpulse.so.0 (0x05e8c5c8) 4 0x7c480d36 pa_mainloop_iterate+0x35() in libpulse.so.0 (0x05e8c618) 5 0x7cc5d11a pulse_test_connect+0x1d9() in winepulse (0x05e8c878) 6 0x7cc63673 AUDDRV_GetPriority+0x32() in winepulse (0x05e8c8a8) 7 0x7cc8547b init_driver+0x26a() in mmdevapi (0x05e8cdd8) 8 0x7cc85dcc DllGetClassObject+0x3b() in mmdevapi (0x05e8ce38) 9 0x7eb96947 apartment_getclassobject+0x116() in ole32 (0x05e8ceb8) 10 0x7eb99479 get_inproc_class_object+0x108() in ole32 (0x05e8d148)
Steps to reproduce:
1. Install Skype (currently at http://www.skype.com/go/getskype-full)
md5sum(SkypeSetupFull.exe) 3616301a86a2f78d94e2baa86805112c
2. Shutdown/uninstall PA server
3. Run Skype.exe
4. Get a crash
P.S. Distro = CentOS 6.7 i686
https://bugs.winehq.org/show_bug.cgi?id=40147
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.skype.com/go/get | |skype-full
https://bugs.winehq.org/show_bug.cgi?id=40147
--- Comment #1 from Artem S. Tashkinov t.artem@mailcity.com --- Created attachment 53646 --> https://bugs.winehq.org/attachment.cgi?id=53646 backtrace when running under apulse
Running under apulse (ALSA pulse emulator) yields yet another crash.
https://bugs.winehq.org/show_bug.cgi?id=40147
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com, | |sebastian@fds-team.de Severity|major |normal
--- Comment #2 from Sebastian Lackner sebastian@fds-team.de --- Not major, you can still switch to the ALSA backend when winepulse causes problems for you (with winetricks or by manually creating the necessary registry entries). In this case I suspect its because of the terribly outdated packages of CentOS, but maybe Andrew has a better idea.
https://bugs.winehq.org/show_bug.cgi?id=40147
--- Comment #3 from Artem S. Tashkinov t.artem@mailcity.com --- (In reply to Sebastian Lackner from comment #2)
Not major, you can still switch to the ALSA backend when winepulse causes problems for you (with winetricks or by manually creating the necessary registry entries). In this case I suspect its because of the terribly outdated packages of CentOS, but maybe Andrew has a better idea.
I agree with your reasoning but even then I guess a patch for `./configure` is required so that wine's PA plugin was excluded if the system doesn't contain a recent enough version of PA.
https://bugs.winehq.org/show_bug.cgi?id=40147
--- Comment #4 from Andrew Eikum aeikum@codeweavers.com --- Created attachment 53656 --> https://bugs.winehq.org/attachment.cgi?id=53656 Verify the connection succeeded before trying to use it
Well, the APIs we're using haven't changed since before 0.9, so we definitely shouldn't be causing an assert failure if pulse isn't running.
Artem, can you apply this patch and see if it fixes the issue for you? It shouldn't crash, and winecfg should report that the winealsa driver is being used.
https://bugs.winehq.org/show_bug.cgi?id=40147
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #5 from super_man@post.com --- This bug is dupe or similar to bug 39654.
https://bugs.winehq.org/show_bug.cgi?id=40147
--- Comment #6 from Artem S. Tashkinov t.artem@mailcity.com --- (In reply to Andrew Eikum from comment #4)
Created attachment 53656 [details] Verify the connection succeeded before trying to use it
Well, the APIs we're using haven't changed since before 0.9, so we definitely shouldn't be causing an assert failure if pulse isn't running.
Artem, can you apply this patch and see if it fixes the issue for you? It shouldn't crash, and winecfg should report that the winealsa driver is being used.
Seems like this patch has helped. Thanks!
https://bugs.winehq.org/show_bug.cgi?id=40147
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=40147
scar 6crg8xyfu6@snkmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |6crg8xyfu6@snkmail.com
--- Comment #7 from scar 6crg8xyfu6@snkmail.com --- i'm getting a similar error with wine-1.9.4: Assertion 'm->state == STATE_PASSIVE' failed at pulse/mainloop.c:793, function pa_mainloop_prepare(). Aborting.
i installed the same Skype mentioned here (SkypeSetupFull.exe 3616301a86a2f78d94e2baa86805112c)... the installation seemed to crash but Skype.exe exists in my "Program Files" and when i try to start it i receive the above error.
if there is a workaround, i can't figure it out. with winecfg i tried setting Skype.exe to use Windows 7, and on the Audio tab the only option i have is either (system default) or Pulseaudio. i don't see a way to make it use ALSA with winetricks either... when i start that program i don't see anything that looks related to changing the audio settings...
what registry entries is Sebastian talking about?
https://bugs.winehq.org/show_bug.cgi?id=40147
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |0766334d04d00f1de6d601a4b05 | |2f7dfedcd9c64 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #8 from Andrew Eikum aeikum@codeweavers.com --- (In reply to Artem S. Tashkinov from comment #6)
Seems like this patch has helped. Thanks!
Thanks for testing, this patch is in Wine now:
commit 0766334d04d00f1de6d601a4b052f7dfedcd9c64 Author: Andrew Eikum aeikum@codeweavers.com Date: Fri Mar 4 10:16:15 2016 -0600
winepulse.drv: Check that the server connection actually succeeded.
https://bugs.winehq.org/show_bug.cgi?id=40147
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=40147
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.6.
https://bugs.winehq.org/show_bug.cgi?id=40147
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #10 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.2.
https://bugs.winehq.org/show_bug.cgi?id=40147
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |public@maxqia.com
--- Comment #11 from Zeb Figura z.figura12@gmail.com --- *** Bug 39654 has been marked as a duplicate of this bug. ***