Skip to contentSkip to conversation

: Crash on trying to set "any" hw_params

ALSA - lib 0000642 [email protected] 1 participant 1 message Nov 18, 2004

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=642>
======================================================================
Reported By: rbultje
Assigned To:
======================================================================

Project:                    ALSA - lib
Issue ID:                   642
Category:                   ordinary pcm
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             11-11-2004 11:48 CET
Last Modified:              11-18-2004 18:29 CET

======================================================================
Summary: Crash on trying to set "any" hw_params
Description:
Hi,

we received several similar bug reports in our bugzilla about ALSA-related crashers. It seems that the simple sequence of snd_pcm_hw_params_any() followed by snd_pcm_hw_params() will cause a floating point exception in libalsa. I can't reproduce it myself, but for backtraces and email addresses of people that can, see e.g.
http://bugzilla.gnome.org/show_bug.cgi?id=151288 or
http://bugzilla.gnome.org/show_bug.cgi?id=153227 (plus all the bug reports dupped to those).

If you need any information, either from me or from the reporters, feel free to contact me, I'll try to get all information required to resolve this. I've added a workaround in GStreamer CVS, but still think that this is a bug.
======================================================================

----------------------------------------------------------------------
tiwai - 11-18-04 18:29
----------------------------------------------------------------------
Please provide the alsa-lib version number they use. I guess this bug occurs when the rate plugin is used. Do you have any simple test case?

Issue History
Date Modified Username Field Change
======================================================================
11-11-04 11:48 rbultje New Issue
11-18-04 18:29 tiwai Note Added: 0002457
======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8