Bug 530650

Summary: ca0106: snd_pcm_avail() returned a value that is exceptionally large
Product: [Fedora] Fedora Reporter: rvcsaba
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 12CC: dougsland, gansalmon, itamar, jin, kernel-maint, superquad.vortex2
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-04 03:43:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
messages
none
lspci -v
none
lsmod
none
dmesg
none
Part of the system log with the "value exceptionally large" messages
none
Not sure if it's needed, but here's the output of alsa-info. none

Description rvcsaba 2009-10-23 22:52:56 UTC
Created attachment 365906 [details]
messages

Description of problem:

I boot F12-Beta-x86_64-Live CD, play a music with rhythmbox, and pulseaudio crashing.

Version-Release number of selected component (if applicable):

kernel 2.6.31.1-56.fc12.x86_64
pulseaudio 0.9.19

How reproducible:

Play a sound on Creative Labs SB0410 SBLive! 24-bit sound card, and wait...


Steps to Reproduce:

1.
2.
3.
  
Actual results:

pulseaudio crash


Expected results:

correct, clear sound

Additional info:

This problem actually since Fedora 10!

Comment 1 rvcsaba 2009-10-23 22:54:16 UTC
Created attachment 365907 [details]
lspci -v

Comment 2 rvcsaba 2009-10-23 22:55:14 UTC
Created attachment 365908 [details]
lsmod

Comment 3 rvcsaba 2009-10-23 22:55:56 UTC
Created attachment 365909 [details]
dmesg

Comment 4 Bug Zapper 2009-11-16 14:09:03 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Sergey Bostandzhyan 2010-02-09 21:13:05 UTC
I have a different soundcard, but a similar error message, generally pulseaudio works well, but there is one scenario where it is crashing and where I get this error message.

Here's how I can reproduce it:

pulseaudio is installed on my Fedora 12 notebook, running kernel version 2.6.31.12-174.2.3.fc12.x86_64. I wanted to try the pulseaudio over LAN feature, I wanted to see how I could bring sound to a system that has no audio hardware.

I installed Angstrom linux for x86 in qemu-kvm and used this as my virtual "no-audio-hardware" system. 

I setup pulseaudio to listen for audio connection using paprefs on the Fedora box.

I copied my user pulseaudio cookie from the Fedora notebook/host to the virtual qemu machine.

I used paplay on the virtual machine to play a WAV file on my Fedora notebook/host.

I checked with wireshark and I see that data is being sent over.

About the same time when paplay on the virtual machine exits, pulseaudio on the Fedora notebook, which was supposed to play the file on the actual sound hardware, crashes:

#0  0x000000346ee326c5 in raise () from /lib64/libc.so.6
#1  0x000000346ee33ea5 in abort () from /lib64/libc.so.6
#2  0x0000003949c3f014 in pa_sink_input_peek ()
   from /usr/lib64/libpulsecore-0.9.21.so
#3  0x0000003949c49902 in ?? () from /usr/lib64/libpulsecore-0.9.21.so
#4  0x0000003949c4a164 in pa_sink_render_into ()
   from /usr/lib64/libpulsecore-0.9.21.so
#5  0x0000003949c4a6ff in pa_sink_render_into_full ()
   from /usr/lib64/libpulsecore-0.9.21.so
#6  0x00007fe7e1740675 in ?? ()
   from /usr/lib64/pulse-0.9.21/modules/libalsa-util.so
#7  0x000000394ce38788 in ?? () from /usr/lib64/libpulsecommon-0.9.21.so
#8  0x000000346fa06a3a in start_thread () from /lib64/libpthread.so.0
#9  0x000000346eede67d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

It's probably worth mentioning, that the Fedora host is running 64bit mode, while the qemu virtual machine uses 32bit mode.

I'm also attaching my alsa-info output and the /var/log/messages part.

Comment 6 Sergey Bostandzhyan 2010-02-09 21:15:35 UTC
Created attachment 389851 [details]
Part of the system log with the "value exceptionally large" messages

Comment 7 Sergey Bostandzhyan 2010-02-09 21:16:56 UTC
Created attachment 389852 [details]
Not sure if it's needed, but here's the output of alsa-info.

Comment 8 Raymond 2010-07-21 11:45:17 UTC
This is quite strange , did you have two PA server running ?


Feb  8 22:17:59 469 pulseaudio[9118]: pid.c: Stale PID file, overwriting.
Feb  8 22:18:00 469 pulseaudio[9124]: pid.c: Daemon already running.

Comment 9 Bug Zapper 2010-11-04 09:11:21 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 10 Raymond 2010-11-09 12:00:55 UTC
This is due to PA server abort and respawn

Feb  8 22:17:49 469 pulseaudio[9078]: ratelimit.c: 16 events suppressed
Feb  8 22:17:49 469 pulseaudio[9078]: sink-input.c: Assertion 'tchunk.length > 0' failed at pulsecore/sink-input.c:670, function pa_sink_input_peek(). Aborting.
Feb  8 22:17:50 469 abrt[9109]: saved core dump of pid 9078 (/usr/bin/pulseaudio) to /var/cache/abrt/ccpp-1265663869-9078/coredump (33624064 bytes)
Feb  8 22:17:59 469 pulseaudio[9118]: pid.c: Stale PID file, overwriting.
Feb  8 22:18:00 469 pulseaudio[9124]: pid.c: Daemon already running.

Comment 11 Bug Zapper 2010-12-04 03:43:42 UTC
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.