[Hardy] module-suspend-on-idle fails an assertion when manually configuring alsa outputs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pulseaudio (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
I commented out "load-module module-hal-detect" and added in "load-module module-alsa-sink device=dmix" as well as "load-module module-alsa-source device=dsnoop", in an effort to get PulseAudio to use dmix so that Skype can coexist with it. However, occassionally, I get some assertion failed:
pulseaudio: pulsecore/
`PA_SOURCE_
This is very similar to the case reported here: https:/
Appropriate snippet:
Second, PulseAudio would crash on startup with this message:
I: module-
suspending ...
pulseaudio: pulsecore/
`PA_SOURCE_
(In fact, nobody ever opened that source.) To cure the problem I omitted
loading module-
there something I might have done / not done to break it?
In my case, omitting module-
Also this problem happens randomly. Sometimes it works, sometimes it doesn't. As such I suspect it's some sort of race condition.
Backtrace when it does happen:
#0 0xb7f00410 in ?? () from /usr/lib/
#1 0xb7705d58 in ?? ()
#2 0x00000006 in ?? ()
#3 0x00003e58 in ?? ()
#4 0xb7b8ff75 in ?? ()
#5 0xb7cafff4 in envz_merge () from /lib/tls/
#6 0xb7b91a45 in ?? ()
#7 0x00000006 in ?? ()
#8 0xb7705d6c in ?? ()
#9 0x00000000 in ?? ()
Output of "pulseaudio -vv"
I: main.c: We're in the group 'pulse-rt', allowing real-time and high-priority scheduling.
I: core-util.c: Successfully gained nice level -11.
I: main.c: setrlimit(
I: main.c: setrlimit(
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
I: module-alsa-sink.c: Successfully opened device dmix.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.
I: alsa-util.c: Unable to attach to mixer dmix: No such file or directory
I: alsa-util.c: Unable to attach to mixer hw:(null): No such device
I: sink.c: Created sink 0 "output" with sample spec "s16le 2ch 48000Hz"
I: source.c: Created source 0 "output.monitor" with sample spec "s16le 2ch 48000Hz"
I: module-alsa-sink.c: Using 5 fragments of size 4096 bytes.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device=dmix sink_name=output").
I: module-
I: module-
ALSA lib control.
I: alsa-util.c: Unable to attach to mixer dsnoop: No such file or directory
I: alsa-util.c: Unable to attach to mixer hw:(null): No such device
I: source.c: Created source 1 "input" with sample spec "s16le 2ch 48000Hz"
I: module-
D: module-
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-
D: cli-command.c: Checking for existance of '/usr/lib/
I: module.c: Loaded "module-
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-
I: module.c: Loaded "module-
D: module-
D: module-
I: module.c: Loaded "module-
I: module.c: Loaded "module-
D: module-
D: module-
D: module-
I: module.c: Loaded "module-
D: cli-command.c: Checking for existance of '/usr/lib/
D: cli-command.c: Checking for existance of '/usr/lib/
D: module-gconf.c: Loading module 'module-
I: protocol-native.c: using already loaded auth cookie.
I: protocol-native.c: using already loaded auth cookie.
I: module.c: Loaded "module-
D: module-gconf.c: Loading module 'module-
I: module.c: Loaded "module-
D: module-gconf.c: Loading module 'module-
D: module-
D: module-
D: module-
I: module.c: Loaded "module-
I: module.c: Loaded "module-gconf" (index: #11; argument: "").
I: main.c: Daemon startup complete.
I: module-
I: module-
I: module-
I: module-
I: module-
I: module-
pulseaudio: pulsecore/
Aborted
Related branches
- Luke Yelavich: Pending requested
Changed in pulseaudio: | |
assignee: | nobody → desktop-bugs |
Changed in pulseaudio: | |
assignee: | desktop-bugs → nobody |
Changed in pulseaudio: | |
status: | Confirmed → Fix Committed |
The workaround is to load module- suspend- on-idle first.