Ticket #175 (closed defect: fixed)
Simultaneous output freezes clients if removed mid-use
| Reported by: | coling | Owned by: | lennart |
|---|---|---|---|
| Milestone: | 0.9.16 | Component: | module-combine-* |
| Keywords: | Cc: |
Description
I think the module-rescue isn't working working 100% right when dealing with simultaneous output virtual device.
Clients can freeze if you
- Configure the virtual device for simultaneous output via paprefs (3rd tab)
- Start a stream playing (e.g. with mplayer)
- Use pavucontrol to move the stream to the simultaneous output "device"
- Untick the option in paprefs which causes the "device" to be removed.
After the above steps the client freezes. I would expect module-recover-streams to detect this and dump the stream to a real device. Indeed, this is what pavucontrol and the pulseaudio -vv logs report has happened, but this still doesn't stop it freezing the clients.
I have also had a more severe crash in testing where pa played an annoying tone and wouldn't respond to CTRL+C and I had to kill -9 it.
Below is log output from a "normal" failure in the hope it vaguely helps.
D: module-zeroconf-publish.c: Successfully created entry group for colin@jimmy: Simultaneous output to ALSA PCM on front:1 (USB Au. I: module-combine.c: No master selected, lacking suitable outputs. D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_27d8_alsa_playback_0 becomes idle. D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_27d8_alsa_playback_0 becomes idle. I: sink-input.c: Freeing output 3 "Simultaneous output on ALSA PCM on front:0 (STAC92xx Analog) via DMA" D: core-subscribe.c: dropped redundant event. D: core-subscribe.c: dropped redundant event. D: module-zeroconf-publish.c: Successfully created entry group for colin@jimmy: Simultaneous output to ALSA PCM on front:1 (USB Au. D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_27d8_alsa_playback_0 becomes busy. D: module-suspend-on-idle.c: Sink combined becomes idle. D: module-suspend-on-idle.c: Sink combined becomes idle. D: sink-input.c: Successfully moved sink input 4 from combined to alsa_output.pci_8086_27d8_alsa_playback_0. I: module-rescue-streams.c: Sucessfully moved sink input 4 "audio stream" to alsa_output.pci_8086_27d8_alsa_playback_0. D: module-zeroconf-publish.c: Removing entry group for colin@jimmy: Simultaneous output to ALSA PCM on front:1 (USB Au. D: module-rescue-streams.c: No source outputs to move away. D: core-subscribe.c: dropped redundant event. D: core-subscribe.c: dropped redundant event. D: module-combine.c: Thread shutting down I: sink.c: Freeing sink 2 "combined" I: source.c: Freeing source 4 "combined.monitor" I: module.c: Unloaded "module-combine" (index: #12). I: module-volume-restore.c: Saving sink for <pulsecore/protocol-native.c$MPlayer> I: module-suspend-on-idle.c: Sink alsa_output.usb_device_d8c_c_noserial_if0_alsa_playback_0 idle for too long, suspending ... I: module-alsa-sink.c: Device suspended... D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/acpi_BAT0, member=PropertyModified I: module-volume-restore.c: Saving rules... D: module-volume-restore.c: Successfully saved rules... D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/acpi_BAT0, member=PropertyModified
Change History
Note: See
TracTickets for help on using
tickets.
