PulseAudio crashes when moving audio stream
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pulseaudio (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: pulseaudio
Pulseaudio frequently crashes when I move a live audio stream from my external USB audio sound card (Creative Xmod) to my onboard HDA intel card.
If I start the pulseaudio daemon manually with:
$ pulseaudio -vv
I get this before the crash:
D: sink-input.c: Successfully moved sink input 0 from alsa_output.
I: module-
D: memblock.c: Memory block too large for pool: 49152 > 16376
Soft CPU time limit exhausted, terminating.
Hard CPU time limit exhausted, terminating forcibly.
Aborted
This was with Rhythmbox as the only application currently outputting audio. When pulseaudio crashes, Rhythmbox hangs hard and must be killed.
I've not tweaked anything in the Ubuntu 8.10 audio configuration, except for installing the pavucontrol-
$ LANG=C apt-cache policy pulseaudio
pulseaudio:
Installed: 0.9.10-2ubuntu9
Candidate: 0.9.10-2ubuntu9
Version table:
*** 0.9.10-2ubuntu9 0
500 http://
100 /var/lib/
Related branches
- Luke Yelavich: Pending requested
Attaching to pulseaudio-daemon with gdb and reproducing the problem (which is easy) gives this message:
Program received signal SIGXCPU, CPU time limit exceeded.
And a "thread apply all backtrace" gives this for the main-thread:
Thread 1 (Thread 0xb79be920 (LWP 9755)): i686/cmov/ libpthread. so.0 semaphore- posix.c: 65 asyncmsgq. c:169 get_playback_ latency (pd=0x842cc48, command=14, tag=1397, t=0x844d5d8, userdata=0x845c938) protocol- native. c:1736 pdispatch. c:241 packet_ callback (p=0x842ded0, packet=0x8481408, creds=0x842df98, userdata=0x845c938) protocol- native. c:3105 pstream. c:818 iochannel. c:121 dispatch (m=0x842a4a8) at pulse/mainloop. c:679 c:922 c:937 libasound. so.2
#0 0xb7f49430 in __kernel_vsyscall ()
#1 0xb7b6b405 in sem_wait@@GLIBC_2.1 () from /lib/tls/
#2 0xb7f07a38 in pa_semaphore_wait (s=0x8454b90) at pulsecore/
#3 0xb7efef6d in pa_asyncmsgq_send (a=0x842f3c8, object=0x845f988, code=11, userdata=0x84584b8, offset=0, chunk=0x0)
at pulsecore/
#4 0xb54f8722 in command_
at pulsecore/
---Type <return> to continue, or q <return> to quit---
#5 0xb54e1a99 in pa_pdispatch_run (pd=0x842cc48, packet=0x8481408, creds=0x842df98, userdata=0x845c938)
at pulsecore/
#6 0xb54f21b2 in pstream_
at pulsecore/
#7 0xb551102b in do_something (p=0x842ded0) at pulsecore/
#8 0xb551d488 in callback (m=0x842a4ec, e=0x844a2c8, fd=16, f=<value optimized out>, userdata=0x8490200)
at pulsecore/
#9 0xb7eb4d49 in pa_mainloop_
#10 0xb7eb50a1 in pa_mainloop_iterate (m=0x842a4a8, block=1, retval=0xbfa486e4) at pulse/mainloop.
#11 0xb7eb5164 in pa_mainloop_run (m=0x842a4a8, retval=0xbfa486e4) at pulse/mainloop.
#12 0x0805118d in main (argc=2, argv=0xbfa48794) at daemon/main.c:812
#0 0xb75e2602 in ?? () from /usr/lib/
I got the following debug-packages installed:
libpulse0-dbg
libpulsecore5-dbg
pulseaudio-dbg