[pulseaudio-tickets] [PulseAudio] #160: Server hangs when trying to resume OSS sink

PulseAudio trac-noreply at tango.0pointer.de
Sat Nov 17 10:56:26 PST 2007


#160: Server hangs when trying to resume OSS sink
--------------------------+-------------------------------------------------
 Reporter:  NickLangille  |       Owner:  lennart
     Type:  defect        |      Status:  new    
 Priority:  normal        |   Milestone:         
Component:  daemon        |    Severity:  normal 
 Keywords:                |  
--------------------------+-------------------------------------------------
 Pulse 0.9.7 on Arch Linux with kernel 2.6.23.1, with a hda-intel audio
 device.

 Here's the out from the server:

 {{{
 I: core-util.c: Successfully gained nice level -11.
 I: main.c: Found user 'pulse' (UID 130) and group 'pulse' (GID 130).
 I: main.c: Successfully dropped root privileges.
 I: main.c: Page size is 4096 bytes
 I: main.c: Fresh high-resolution timers available! Bon appetit!
 D: oss-util.c: capabilities: DUPLEX MMAP REALTIME TRIGGER
 I: module-oss.c: Device opened in O_RDWR mode.
 I: module-oss.c: Input -- 4 fragments of size 4096.
 I: module-oss.c: Output -- 4 fragments of size 4096.
 D: module-oss.c: Successfully mmap()ed input buffer.
 I: source.c: Created source 0 "hw_in" with sample spec "s16le 2ch 44100Hz"
 D: module-oss.c: Successfully mmap()ed output buffer.
 I: sink.c: Created sink 0 "hw_out" with sample spec "s16le 2ch 44100Hz"
 I: source.c: Created source 1 "hw_out.monitor" with sample spec "s16le 2ch
 44100Hz"
 D: module-oss.c: Thread starting up
 I: core-util.c: Successfully enabled SCHED_FIFO scheduling for thread.
 D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
 D: module-oss.c: trigger
 D: module-oss.c: trigger: 2
 D: module-oss.c: trigger
 D: module-oss.c: trigger: 3
 I: module.c: Loaded "module-oss" (index: #0; argument: "device=/dev/dsp
 sink_name=hw_out source_name=hw_in").
 I: sink.c: Created sink 1 "pipe_out" with sample spec "s16le 2ch 44100Hz"
 I: source.c: Created source 2 "pipe_out.monitor" with sample spec "s16le
 2ch 44100Hz"
 D: module-pipe-sink.c: Thread starting up
 D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
 I: module.c: Loaded "module-pipe-sink" (index: #1; argument:
 "sink_name=pipe_out file=/tmp/sound_out").
 I: source.c: Created source 3 "pipe_in" with sample spec "s16le 2ch
 44100Hz"
 D: module-pipe-source.c: Thread starting up
 D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+27
 I: module.c: Loaded "module-pipe-source" (index: #2; argument:
 "source_name=pipe_in file=/tmp/sound_in").
 I: sink.c: Created sink 2 "null_out" with sample spec "s16le 2ch 44100Hz"
 I: source.c: Created source 4 "null_out.monitor" with sample spec "s16le
 2ch 44100Hz"
 D: module-null-sink.c: Thread starting up
 D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+26
 I: module.c: Loaded "module-null-sink" (index: #3; argument:
 "sink_name=null_out").
 I: protocol-native.c: Allowing access to group 'pulse-access'.
 I: protocol-native.c: loading cookie from disk.
 I: module.c: Loaded "module-native-protocol-unix" (index: #4; argument:
 "auth-anonymous=1").
 I: module.c: Loaded "module-volume-restore" (index: #5; argument: "").
 I: module.c: Loaded "module-rescue-streams" (index: #6; argument: "").
 I: main.c: Daemon startup complete.
 }}}

 Then in a different terminal I run for example "pasuspender sleep 5", and
 the server outputs this:

 {{{
 D: module-oss.c: trigger
 D: module-oss.c: trigger: 1
 D: module-oss.c: clearing playback buffer
 I: module-oss.c: Suspending...
 I: module-oss.c: Device suspended...
 I: module-oss.c: Trying resume...
 D: oss-util.c: capabilities: DUPLEX MMAP REALTIME TRIGGER
 }}}

 And then the server completely hangs and I have to kill -9 it.

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


More information about the pulseaudio-bugs mailing list