[pulseaudio-tickets] [PulseAudio] #398: Assertion 'PA_SINK_INPUT_IS_LINKED(st)' failed
PulseAudio
trac-noreply at tango.0pointer.de
Wed Nov 5 14:08:31 PST 2008
#398: Assertion 'PA_SINK_INPUT_IS_LINKED(st)' failed
-----------------------+----------------------------------------------------
Reporter: pl4nkton | Owner: lennart
Type: defect | Status: new
Priority: high | Milestone:
Component: daemon | Severity: critical
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by coling):
Not being an expert I'm not sure what the fix is here, but I also confirm
the problem.
Lennart probably wont be able to respond for the next month or so, so I
can say that this fix/workaround is probably one of two things:
* Use pa_sink_used_by() and pa_source_used_by() as opposed to the
pa_xxx_check_suspend() in modules-suspend-on-idle on lines 316 and 327
respectively. Or
* Change the offending ASSERT to a if (!blah) continue (and it's
companion source version too).
I've tested both approaches and they appear to work. As the check_suspend
function is widely used elsewhere I suspect the latter is the more correct
(even if it's not ultimately the correct fix)
--
Ticket URL: <http://www.pulseaudio.org/ticket/398#comment:5>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list