Ticket #221 (closed defect: worksforme)

Opened 4 years ago

Last modified 4 years ago

Daemon crashes after repeatative loading/unloading of module-alsa-sink

Reported by: erik@… Owned by: lennart
Milestone: Component: daemon
Keywords: Cc:

Description

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.

Change History

Changed 4 years ago by lennart

Please provide me with a backtrace of this ans specify the PA version you are using.

Changed 4 years ago by lennart

  • status changed from new to closed
  • resolution set to worksforme

Closing because of lack of response.

Note: See TracTickets for help on using tickets.