[pulseaudio-tickets] [PulseAudio] #545: PulseAudio module-oss+OSS4 hang
PulseAudio
trac-noreply at tango.0pointer.de
Sat Apr 18 08:11:53 PDT 2009
#545: PulseAudio module-oss+OSS4 hang
--------------------------+-------------------------------------------------
Reporter: blasux | Owner: lennart
Type: defect | Status: new
Priority: normal | Milestone:
Component: module-oss-* | Severity: normal
Keywords: |
--------------------------+-------------------------------------------------
If module module-suspend-on-idle is loaded, pulseaudio hangs on resuming
oss sink
{{{
# pulseaudio -vvvvvvv --system
D: main.c: Started as real root: yes, suid root: no
I: core-util.c: Successfully gained nice level -11.
D: main.c: Can realtime: yes, can high-priority: yes
D: main.c: Can realtime: yes, can high-priority: yes
W: main.c: Running in system mode, but --disallow-exit not set!
W: main.c: Running in system mode, but --disallow-module-loading not set!
N: main.c: Running in system mode, forcibly disabling SHM mode!
N: main.c: Running in system mode, forcibly disabling exit idle time!
I: main.c: Found user 'pulse' (UID 130) and group 'pulse' (GID 130).
I: main.c: Successfully dropped root privileges.
I: main.c: This is PulseAudio 0.9.15
D: main.c: Compilation host: i686-pc-linux-gnu
D: main.c: Compilation CFLAGS: -march=i686 -mtune=generic -O2 -pipe -Wall
-W -Wextra -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings
-Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare
-Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-
definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement
-Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls
-Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-
align -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-
math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
D: main.c: Running on host: Linux i686 2.6.29-ARCH #1 SMP PREEMPT Wed Mar
25 08:25:33 UTC 2009
D: main.c: Found 2 CPUs.
I: main.c: Page size is 4096 bytes
D: main.c: Compiled with Valgrind support: no
D: main.c: Running in valgrind mode: no
D: main.c: Optimized build: yes
D: main.c: All asserts enabled.
I: main.c: Machine ID is b8339df6c09b5f9f364c5fc84888dfa7.
I: main.c: Session ID is
b8339df6c09b5f9f364c5fc84888dfa7-1240038442.964351-774885083.
I: main.c: Using runtime directory /var/run/pulse.
I: main.c: Using state directory /var/lib/pulse.
I: main.c: Running in system mode: yes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: memblock.c: Using private memory pool with 1024 slots of size 64,0 KiB
each, total size is 64,0 MiB, maximum usable slot size is 65496
D: oss-util.c: capabilities: BATCH MMAP MULTI REALTIME TRIGGER
I: module-oss.c: Device opened for playback only, cannot do memory
mapping, falling back to UNIX write() mode.
I: module-oss.c: Hardware name is 'HD Audio play front (OUTPUT)'.
I: module-oss.c: Device opened in O_WRONLY mode.
D: oss-util.c: Asking for 4 fragments of size 4096 (requested 4408)
I: module-oss.c: Output -- 4 fragments of size 4096.
I: sink.c: Created sink 0 "output" with sample spec s16le 2ch 44100Hz and
channel map front-left,front-right
I: sink.c: device.string = "/dev/dsp0"
I: sink.c: device.api = "oss"
I: sink.c: device.description = "HD Audio play front (OUTPUT)"
I: sink.c: device.access_mode = "serial"
I: sink.c: device.buffering.buffer_size = "16384"
I: sink.c: device.buffering.fragment_size = "4096"
I: sink.c: device.icon_name = "audio-card"
I: source.c: Created source 0 "output.monitor" with sample spec s16le 2ch
44100Hz and channel map front-left,front-right
I: source.c: device.description = "Monitor of HD Audio play front
(OUTPUT)"
I: source.c: device.class = "monitor"
I: source.c: device.icon_name = "audio-input-microphone"
D: module-oss.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
D: module-oss.c: trigger
D: module-oss.c: trigger: 2
I: module.c: Loaded "module-oss" (index: #0; argument: "device="/dev/dsp0"
sink_name=output record=0").
D: oss-util.c: capabilities: BATCH MMAP MULTI REALTIME TRIGGER
I: module-oss.c: Hardware name is 'HD Audio play front (OUTPUT)'.
I: module-oss.c: Device opened in O_RDONLY mode.
D: oss-util.c: Asking for 4 fragments of size 4096 (requested 4408)
I: module-oss.c: Input -- 16 fragments of size 3764.
I: source.c: Created source 1 "input" with sample spec s16le 2ch 44100Hz
and channel map front-left,front-right
I: source.c: device.string = "/dev/oss/hdaudio0/pcmin0"
I: source.c: device.api = "oss"
I: source.c: device.description = "HD Audio play front (OUTPUT)"
I: source.c: device.access_mode = "serial"
I: source.c: device.buffering.buffer_size = "60224"
I: source.c: device.buffering.fragment_size = "3764"
I: source.c: device.icon_name = "audio-input-microphone"
D: module-oss.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
D: module-oss.c: trigger
D: module-oss.c: trigger: 1
I: module.c: Loaded "module-oss" (index: #1; argument:
"device="/dev/oss/hdaudio0/pcmin0" source_name=input playback=0 mmap=0").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9.15/modules
/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #2; argument:
"").
I: module.c: Loaded "module-native-protocol-unix" (index: #3; argument:
"").
I: module.c: Loaded "module-native-protocol-tcp" (index: #4; argument:
"auth-anonymous=0 auth-cookie-enabled=1 auth-
cookie=/var/run/pulse/netcookie").
I: module.c: Loaded "module-zeroconf-publish" (index: #5; argument: "").
I: module-stream-restore.c: Sucessfully opened database file
'/var/lib/pulse/b8339df6c09b5f9f364c5fc84888dfa7:stream-volumes.i686-pc-
linux-gnu.gdbm'.
I: module.c: Loaded "module-stream-restore" (index: #6; argument: "").
I: module-device-restore.c: Sucessfully opened database file
'/var/lib/pulse/b8339df6c09b5f9f364c5fc84888dfa7:device-volumes.i686-pc-
linux-gnu.gdbm'.
I: module.c: Loaded "module-device-restore" (index: #7; argument: "").
I: module-default-device-restore.c: Restored default sink 'output'.
D: core-subscribe.c: Dropped redundant event due to change event.
I: module-default-device-restore.c: Restored default source 'input'.
I: module.c: Loaded "module-default-device-restore" (index: #8; argument:
"").
I: module.c: Loaded "module-rescue-streams" (index: #9; argument: "").
I: module.c: Loaded "module-always-sink" (index: #10; argument: "").
D: module-suspend-on-idle.c: Sink output becomes idle.
D: module-suspend-on-idle.c: Source input becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #11; argument: "").
I: module.c: Loaded "module-position-event-sounds" (index: #12; argument:
"").
W: module-volume-restore.c: module-volume-restore is obsolete. It has been
replaced by module-stream-restore. We will now load the latter but please
make sure to remove module-volume-restore from your configuration.
E: module.c: Module "module-stream-restore" should be loaded once at most.
Refusing to load.
I: module.c: Loaded "module-volume-restore" (index: #13; argument:
"table="/var/pulse/volume-restore.table"").
D: dbus-util.c: Successfully connected to D-Bus system bus
522f0b81256d7635664bb94749e97c11 as :1.42
W: main.c: Failed to acquire org.pulseaudio.Server:
org.freedesktop.DBus.Error.AccessDenied: Connection ":1.42" is not allowed
to own the service "org.pulseaudio.Server" due to security policies in the
configuration file
I: main.c: Daemon startup complete.
I: module.c: Unloading "module-volume-restore" (index: #13).
I: module.c: Unloaded "module-volume-restore" (index: #13).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module-suspend-on-idle.c: Source input idle for too long, suspending
...
I: module-oss.c: Suspending...
I: module-oss.c: Device suspended...
I: module-suspend-on-idle.c: Sink output idle for too long, suspending ...
I: module-oss.c: Suspending...
I: module-oss.c: Device suspended...
I: client.c: Created 0 "Native client (UNIX socket client)"
D: protocol-native.c: Protocol version: remote 15, local 15
I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
D: protocol-native.c: SHM possible: no
D: protocol-native.c: Negotiated SHM: no
I: module-oss.c: Trying resume...
D: oss-util.c: capabilities: BATCH MMAP MULTI REALTIME TRIGGER
D: oss-util.c: Asking for 4 fragments of size 4096 (requested 4408)
}}}
And here it completly hangs
--
Ticket URL: <http://pulseaudio.org/ticket/545>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list