[pulseaudio-tickets] [PulseAudio] #221: Daemon crashes after repeatative loading/unloading of module-alsa-sink

PulseAudio trac-noreply at tango.0pointer.de
Fri Jan 18 08:37:20 PST 2008


#221: Daemon crashes after repeatative loading/unloading of module-alsa-sink
-------------------------------+--------------------------------------------
 Reporter:  erik at slagter.name  |       Owner:  lennart
     Type:  defect             |      Status:  new    
 Priority:  high               |   Milestone:         
Component:  daemon             |    Severity:  major  
 Keywords:                     |  
-------------------------------+--------------------------------------------
 I have made a construction using udev that makes pulseaudio load module-
 alsa-sink with the correct device= parameter when an usb audio device is
 inserted. It also unloads the module when the device is unplugged. I
 cannot use module-detect-hal for several reasons, one of them being that I
 have the audio devices renamed depending on their USB id, so the devices
 also end up at the same, their own. hw:... alsa id. Also a bug in hal
 makes USB devices sometimes show up without USB id and I dislike the long
 sink names. The modules are loaded and unloaded using pacmd, btw.

 This works, for a few times though. After some 5-10 times of plugging in
 and unplugging pulseaudio crashes. This also occurs when the plugging
 doesn't actually take place but the module is loaded and unloaded, so it's
 not a hardware thing.

 More detailed information about the crash: glibc reports a double free and
 kills the process. When run using export MALLOC_CHECK_=0, pulseaudio
 generates a segfault and gets killed.

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


More information about the pulseaudio-bugs mailing list