snd_pcm_avail() returned a value that is exceptionally large with snd_emu10k1

Bug #564968 reported by Brian Murray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I'm trying to listen to music I bought at the Ubuntu One music store ( \o/ ) and it keeps quitting mid song on me. This did not used to happen with kernel 2.6.32-19-generic.

I also found the following in my syslog.

Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: snd_pcm_avail() returned a value that is exceptionally large: 18446744073709537648 bytes (384307168129 ms).
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_emu10k1'. Please report this issue to the ALSA developers.
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: snd_pcm_dump():
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: Hooks PCM
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: Its setup is:
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: stream : PLAYBACK
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: access : MMAP_INTERLEAVED
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: format : S16_LE
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: subformat : STD
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: channels : 2
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: rate : 48000
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: exact rate : 48000 (48000/1)
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: msbits : 16
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: buffer_size : 16384
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: period_size : 8192
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: period_time : 170666
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: tstamp_mode : ENABLE
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: period_step : 1
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: avail_min : 15425
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: period_event : 0
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: start_threshold : -1
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: stop_threshold : 4611686018427387904
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: silence_threshold: 0
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: silence_size : 0
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: boundary : 4611686018427387904
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: Slave: Hardware PCM card 0 'SB Live! 5.1 [SB0060]' device 2 subdevice 0
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: Its setup is:
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: stream : PLAYBACK
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: access : MMAP_INTERLEAVED
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: format : S16_LE
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: subformat : STD
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: channels : 2
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: rate : 48000
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: exact rate : 48000 (48000/1)
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: msbits : 16
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: buffer_size : 16384
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: period_size : 8192
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: period_time : 170666
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: tstamp_mode : ENABLE
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: period_step : 1
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: avail_min : 15425
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: period_event : 0
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: start_threshold : -1
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: stop_threshold : 4611686018427387904
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: silence_threshold: 0
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: silence_size : 0
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: boundary : 4611686018427387904
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: appl_ptr : 18927014
Apr 16 09:10:52 flash pulseaudio[3493]: alsa-util.c: hw_ptr : 18907138

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: alsa-base 1.0.22.1+dfsg-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-21.31-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: bdmurray 3493 F.... pulseaudio
 /dev/snd/controlC0: bdmurray 3493 F.... pulseaudio
 /dev/snd/pcmC0D2p: bdmurray 3493 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'Live'/'SB Live! 5.1 [SB0060] (rev.7, serial:0x80611102) at 0xbce0, irq 17'
   Mixer name : 'SigmaTel STAC9708,11'
   Components : 'AC97a:83847608'
   Controls : 224
   Simple ctrls : 45
Card1.Amixer.info:
 Card hw:1 'Intel'/'HDA Intel at 0xefffc000 irq 16'
   Mixer name : 'SigmaTel STAC9221 A1'
   Components : 'HDA:83847680,102801a7,00103201'
   Controls : 27
   Simple ctrls : 14
Card2.Amixer.info:
 Card hw:2 'HDMI'/'HDA ATI HDMI at 0xefdec000 irq 17'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100100'
   Controls : 4
   Simple ctrls : 1
Card2.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
CheckboxSubmission: fee5e196cb921cbd36888f428b38b488
CheckboxSystem: 2a6f54df59af338184485e85cbcf0d32
Date: Fri Apr 16 12:44:25 2010
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
SourcePackage: alsa-driver
dmi.bios.date: 10/28/2005
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A02
dmi.board.name: 0YC523
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 7
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA02:bd10/28/2005:svnDellInc.:pnDellDXP051:pvr:rvnDellInc.:rn0YC523:rvr:cvnDellInc.:ct7:cvr:
dmi.product.name: Dell DXP051
dmi.sys.vendor: Dell Inc.

Revision history for this message
Brian Murray (brian-murray) wrote :
summary: - snd_pcm_avail() returned a value that is exceptionally large
+ snd_pcm_avail() returned a value that is exceptionally large with
+ snd_emu10k1
tags: added: regression-potential
Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 564968] [NEW] snd_pcm_avail() returned a value that is exceptionally large

Use linux-alsa-driver-modules-$(uname -r) from ppa:ubuntu-audio-dev. In some cases this can work around the issue, but ultimately your hardware is broken (please don't assume that because the messages weren't as in-your-face before that the bug didn't exist).

Changed in alsa-driver (Ubuntu):
status: New → Invalid
tags: removed: regression-potential
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.