Something wrong with snd_pcm_avail_update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Heya!

There seems to be something wrong with snd_pcm_update_avail() for mmap
in recent 2.6.26 kernels:

Quoting Alexander Gavrilov:

<snip>
Fedora 9 with kernel 2.6.26.3-29 exhibits a bug where
the driver decrements its hw.ptr under certain stress
conditions, or at least it appears so from debugging.

It causes alsa-lib to give absurdly huge avail numbers
to pulseaudio, which crashes it. This patch adds a
work-around to avoid such unfriendly behavior until
the bug is fixed.

As this is not a real fix, it displays a message every
time it is activated.
</snip>

https://bugzilla.redhat.com/show_bug.cgi?id=462200

(see the patch attached to that bug report)

Takashi, Jaroslav, do you know anything about this?

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux