Bug 61013

Summary: Clients hang with latest stable-3.x branch
Product: PulseAudio Reporter: Daniel Schaal <farbing>
Component: alsaAssignee: pulseaudio-bugs
Status: RESOLVED FIXED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Revert commit e02e290d7c

Description Daniel Schaal 2013-02-17 17:50:13 UTC
Created attachment 74996 [details]
Revert commit e02e290d7c

Using the latest stable-3.x branch, clients hang for a while, and e.g. paplay times out with the error "Failed to drain stream: Timeout". Other clients like mplayer seem to be stuck indefinitely.

I bisected it to commit e02e290d7cccd0cfbc89bacf5c0be7934ee58ece (Call change_cb() only when there's an actual change.). With this reverted it works again. (see attachment)

In the case of paplay it seems to be stuck in the ppoll call from pulse/mainloop.c:862 until it times out and then exits with an error.
Comment 1 Daniel Schaal 2013-02-17 18:45:27 UTC
Forgot to mention: This only happens on the first start after the machine boots up. After killing pulseaudio and letting it autospawn again it works.

Also I just tested it with git master, which worked fine.

After cherry-picking cb0f3d2 (reserve: Move get_name_owner() to the public rd_device API) and 58def1f (reserve: Fix leaking NameLost signals after release+acquire) the stable-3.x branch also works again.
Comment 2 Tanu Kaskinen 2013-02-18 17:41:33 UTC
Thanks for reporting. I have now added those two patches to stable-3.x.

I'll close this bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.