Bug 382891 - pcm_params.c:2351: sndrv_pcm_hw_params: Assertion `err >= 0' failed.
Summary: pcm_params.c:2351: sndrv_pcm_hw_params: Assertion `err >= 0' failed.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: pulseaudio
Version: 8
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL: https://bugtrack.alsa-project.org/als...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-14 17:15 UTC by Naveed Hasan
Modified: 2008-06-12 04:35 UTC (History)
4 users (show)

Fixed In Version: 9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-06-12 04:35:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Naveed Hasan 2007-11-14 17:15:00 UTC
Various applications using sound always fail in Fedora 8. Appears to be an
upstream ALSA bug.

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2601
http://pulseaudio.org/ticket/23

I encountered it when trying to start ustunts (from the
ultimatestunts-0.7.3-4.fc8.x86_64 package.)

Comment 1 Martin Stransky 2007-12-07 11:16:56 UTC
aha, okay. moved to pulseaudio.

Comment 2 Naveed Hasan 2007-12-14 08:30:41 UTC
The comments at the two links I originally posted seemed to imply the bug is
somewhere in alsa-lib.

In any case, that these applications fail to start / crash due to the new alsa /
pulseaudio setup in Fedora 8 is very unfortunate.


Comment 3 JM 2008-01-21 18:21:57 UTC
I have the same problem with xemacs (when I use sound in the xemacs config),
xemacs fails then with:

xemacs: pcm_params.c:2351: sndrv_pcm_hw_params: Assertion `err >= 0' failed.

My workaround for the moment is to remove 'alsa-plugins-pulseaudio', I found
this workaround here
http://support.gizmoproject.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=330


Comment 4 Mark Wielaard 2008-01-23 20:07:43 UTC
This also causes ekiga to crash and burn unless you set "Preferences -> Sound
Events -> Alternative Output Device" to anything NOT the "Default".

Comment 5 Lennart Poettering 2008-03-28 20:14:04 UTC
This is most likely fixed by the newest alsa-plugins-pulseaudio. Could you
please try?

Comment 6 Naveed Hasan 2008-03-29 01:15:18 UTC
No such luck - it's still broken with the same error message. Does
alsa-plugins-pulseaudio-1.0.15-3.fc8.1 include this patch
https://bugtrack.alsa-project.org/alsa-bug/file_download.php?file_id=2513&type=bug
 as described on https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2601 or
would change need to go into an updated alsa-lib?


Comment 7 Naveed Hasan 2008-06-12 04:35:56 UTC
It looks like this bug has been fixed in Fedora 9. I currently have
alsa-lib-1.0.16-3.fc9 and alsa-lib-1.0.16-3.fc9 installed and ustunts now starts
fine.


Note You need to log in before you can comment on or make changes to this bug.