[pulseaudio-tickets] [PulseAudio] #251: Causes a deadlock when the pulseserver dies

PulseAudio trac-noreply at tango.0pointer.de
Sat Mar 1 12:52:12 PST 2008


#251: Causes a deadlock when the pulseserver dies
-----------------------+----------------------------------------------------
 Reporter:  sjoerd     |       Owner:  lennart
     Type:  defect     |      Status:  new    
 Priority:  high       |   Milestone:         
Component:  gst-pulse  |    Severity:  normal 
 Keywords:             |  
-----------------------+----------------------------------------------------
 If the pulseserver dies the sinks _write calls GST_ELEMENT_ERROR inside a
 section with the pulseaudio mainloop mutex locked..  GST_ELEMENT_ERROR
 locks the element

 The _reset function is called with the element locked and wants to lock
 the the mainloop mutex..

 So one thread locks A, B and the other B, A.. Obvious deadlock ensues :(

-- 
Ticket URL: <http://pulseaudio.org/ticket/251>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list