Ticket #589 (closed defect: elsewhere)

Opened 3 years ago

Last modified 3 years ago

Pulseaudio dies within 10 minutes of use

Reported by: martt Owned by: ossman
Milestone: Component: module-alsa-*
Keywords: snd_pcm_avail_update exceptionally large terminating forcibly Cc:

Description

Hi,

whenever I am playing music through the pulseaudio it dies with the following message:

E: alsa-util.c: snd_pcm_avail_update() returned a value that is exceptionally large: 18158513697557718976 bytes (138110388533 ms) Most likely this is an ALSA driver bug. Please report this issue to the PulseAudio developers.
I: module-alsa-sink.c: Underrun!
Soft CPU time limit exhausted, terminating.
Hard CPU time limit exhausted, terminating forcibly.

Then I have to keep restarting the pulseaudio process every 5 or 10 minutes. I have had this problem eversince I started to use the pulseaudio about a year ago or so but only found time to report it now. I would really like to have it resolved so I am reporting this issue to the PulseAudio developers as the error message suggests.

I captured the detailed error output of the pulseaudio process and a backtrace in the attached files.

The card I am using is the Audigy 4 PRO:

[root@orion ~]# cat /proc/asound/cards
 0 [Audigy2        ]: Audigy2 - Audigy 4 PRO [SB0380]
                      Audigy 4 PRO [SB0380] (rev.4, serial:0x20071102) at 0xdc00, irq 16
 6 [SAA7134        ]: SAA7134 - SAA7134
                      saa7133[0] at 0xfcfff000 irq 17
 7 [LogitechWC     ]: USB-Audio - USB Device 0x46d:0x8ce
                      USB Device 0x46d:0x8ce at usb-0000:00:02.1-2, high speed
[

The alsa version:

[root@orion ~]# cat /proc/asound/version 
Advanced Linux Sound Architecture Driver Version 1.0.17.

I am running the Fedora Core 10.

[root@orion ~]# uname -a
Linux orion 2.6.27.24-170.2.68.fc10.x86_64 #1 SMP Wed May 20 22:47:23 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

These are the pulse package versions:

[root@orion ~]# rpm -qa |grep pulse
pulseaudio-libs-glib2-0.9.14-3.fc10.x86_64
wine-pulseaudio-1.1.15-1.fc10.i386
xine-lib-pulseaudio-1.1.16.3-2.fc10.x86_64
pulseaudio-core-libs-0.9.14-3.fc10.x86_64
pulseaudio-libs-0.9.14-3.fc10.i386
pulseaudio-libs-zeroconf-0.9.14-3.fc10.x86_64
pulseaudio-libs-devel-0.9.14-3.fc10.x86_64
pulseaudio-libs-0.9.14-3.fc10.x86_64
xmms-pulse-0.9.4-6.fc10.x86_64
pulseaudio-module-gconf-0.9.14-3.fc10.x86_64
alsa-plugins-pulseaudio-1.0.18-2.fc10.x86_64
alsa-plugins-pulseaudio-1.0.18-2.fc10.i386
pulseaudio-utils-0.9.14-3.fc10.x86_64
pulseaudio-0.9.14-3.fc10.x86_64
pulseaudio-debuginfo-0.9.14-3.fc10.x86_64
pulseaudio-module-x11-0.9.14-3.fc10.x86_64
pulseaudio-esound-compat-0.9.14-3.fc10.x86_64
pulseaudio-module-zeroconf-0.9.14-3.fc10.x86_64

And here are the snd modules:

[root@orion ~]# lsmod |grep snd
snd_emu10k1_synth      15488  0 
snd_emux_synth         43264  1 snd_emu10k1_synth
snd_seq_virmidi        14080  1 snd_emux_synth
snd_seq_midi_emul      14080  1 snd_emux_synth
snd_emu10k1           152464  4 snd_emu10k1_synth
snd_usb_audio         100352  1 
snd_ac97_codec        121160  1 snd_emu10k1
ac97_bus               10112  1 snd_ac97_codec
snd_seq_dummy          11396  0 
snd_seq_oss            39232  0 
snd_seq_midi_event     14848  2 snd_seq_virmidi,snd_seq_oss
snd_seq                61968  8 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            52224  0 
snd_mixer_oss          23168  1 snd_pcm_oss
snd_pcm                85640  6 saa7134_alsa,snd_emu10k1,snd_usb_audio,snd_ac97_codec,snd_pcm_oss
snd_timer              30352  3 snd_emu10k1,snd_seq,snd_pcm
snd_page_alloc         16656  2 snd_emu10k1,snd_pcm
snd_usb_lib            24576  1 snd_usb_audio
snd_util_mem           12416  2 snd_emux_synth,snd_emu10k1
snd_rawmidi            30848  3 snd_seq_virmidi,snd_emu10k1,snd_usb_lib
snd_seq_device         15380  7 snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd_hwdep              16392  3 snd_emux_synth,snd_emu10k1,snd_usb_audio
snd                    68984  27 snd_emu10k1_synth,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,saa7134_alsa,snd_emu10k1,snd_usb_audio,snd_ac97_codec,snd_seq_dummy,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_usb_lib,snd_util_mem,snd_rawmidi,snd_seq_device,snd_hwdep
soundcore              14992  1 snd

I am also attaching my pulse configuration files.

If the expert who wants to look at his defect needs more info from me please give me a shout.

Thanks, Martin

Attachments

pulseaudio.txt (46.3 kB) - added by martt 3 years ago.
Backtraces of pulseaudio threads after the death
pulseaudio2.txt.bz2 (6.2 kB) - added by martt 3 years ago.
Detailed pulseaudio log file.
daemon.conf (2.2 kB) - added by martt 3 years ago.
Pulse daemon conf
default.pa (4.8 kB) - added by martt 3 years ago.
Pulse default.pa file.

Change History

Changed 3 years ago by martt

Backtraces of pulseaudio threads after the death

Changed 3 years ago by martt

Detailed pulseaudio log file.

Changed 3 years ago by martt

Pulse daemon conf

Changed 3 years ago by martt

Pulse default.pa file.

Changed 3 years ago by lennart

  • status changed from new to closed
  • resolution set to elsewhere
  • component changed from alsa-plugins-pulse to module-alsa-*

This is not a bug in PA. This is a bug in your audio driver whose snd_pcm_avail_update() implementation overflows. Please file a bug against that kernel driver and paste the snd_pcm_delay() error line you posted above.

Note: See TracTickets for help on using tickets.