[pulseaudio-tickets] [PulseAudio] #175: Simultaneous output freezes clients if removed mid-use

PulseAudio trac-noreply at tango.0pointer.de
Tue Dec 4 11:37:39 PST 2007


#175: Simultaneous output freezes clients if removed mid-use
--------------------+-------------------------------------------------------
 Reporter:  coling  |       Owner:  lennart
     Type:  defect  |      Status:  new    
 Priority:  normal  |   Milestone:         
Component:  daemon  |    Severity:  normal 
 Keywords:          |  
--------------------+-------------------------------------------------------
 I think the module-rescue isn't working working 100% right when dealing
 with simultaneous output virtual device.

 Clients can freeze if you

  1. Configure the virtual device for simultaneous output via paprefs (3rd
 tab)
  2. Start a stream playing (e.g. with mplayer)
  3. Use pavucontrol to move the stream to the simultaneous output "device"
  4. 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 at 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 at 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 at 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
 }}}

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


More information about the pulseaudio-bugs mailing list