[pulseaudio-discuss] Assertion in module-oss

Stanley Cai stanley.w.cai at gmail.com
Sat Jul 26 20:45:25 PDT 2008


Hi,

I built PulseAudio 0.9.11 on ubuntu 8.04, without any special
parameters.  As I ran as "pulseaudio -v" and used pacat for testing,
an assertion jumped out. Here is my log:

----begin of log----
I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not
permitted
I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not
permitted
I: main.c: setrlimit(RLIMIT_RTTIME, (1000000, 1000000)) failed:
Invalid argument
W: main.c: High-priority scheduling enabled in configuration but not
allowed by policy.
W: core-util.c: setpriority(): Permission denied
I: main.c: This is PulseAudio 0.9.11
I: main.c: Page size is 4096 bytes
I: main.c: Using runtime directory /home/swcai/.pulse.
I: main.c: Running in system mode: no
I: main.c: Fresh high-resolution timers available! Bon appetit!
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.
I: source.c: Created source 0 "oss_input.dsp" with sample spec s16le
2ch 44100Hz and channel map front-left,front-right
I: sink.c: Created sink 0 "oss_output.dsp" with sample spec s16le 2ch
44100Hz and channel map front-left,front-right
I: source.c: Created source 1 "oss_output.dsp.monitor" with sample
spec s16le 2ch 44100Hz and channel map front-left,front-right
I: module.c: Loaded "module-oss" (index: #0; argument:
"device=/dev/dsp").
I: module-detect.c: loaded 1 modules.
I: module.c: Loaded "module-detect" (index: #1; argument: "").
I: module.c: Loaded "module-esound-protocol-unix" (index: #2;
argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #3;
argument: "").
I: module.c: Loaded "module-volume-restore" (index: #4; argument: "").
I: module-default-device-restore.c: Restored default sink
'oss_output.dsp'.
I: module-default-device-restore.c: Restored default source
'oss_input.dsp'.
I: module.c: Loaded "module-default-device-restore" (index: #5;
argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #6; argument: "").
I: module.c: Loaded "module-always-sink" (index: #7; argument: "").
I: module.c: Loaded "module-suspend-on-idle" (index: #8; argument:
"").
I: module.c: Loaded "module-position-event-sounds" (index: #9;
argument: "").
I: main.c: Daemon startup complete.
I: module.c: Unloading "module-detect" (index: #1).
I: module.c: Unloaded "module-detect" (index: #1).
I: module-suspend-on-idle.c: Source oss_output.dsp.monitor idle for
too long, suspending ...
I: module-suspend-on-idle.c: Source oss_input.dsp idle for too long,
suspending ...
I: module-suspend-on-idle.c: Sink oss_output.dsp 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)"
I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
I: module-volume-restore.c: Restoring sink for
<pulsecore/protocol-native.c$pacat>
I: module-volume-restore.c: Restoring volume for
<pulsecore/protocol-native.c$pacat>
I: module-oss.c: Trying resume...
E: module-oss.c: Assertion 'u->mixer_devmask & ((1 << 0)|(1 << 4))'
failed at modules/module-oss.c:785, function sink_get_volume().
Aborting.
----end of log----

when I disabled "module-suspend-on-idle", it worked well at least
"pacat < /dev/urandom".

Is it a new issue? As I am a newbie to pulseaudio, any help is very appreciated.

Thanks,
-stanley



More information about the pulseaudio-discuss mailing list