Skip to contentSkip to conversation

: Corruption in /etc/asound.state causes alsa to hang when restoring mixer levels during reboot.

ALSA - utils 0000451 [email protected] 1 participant 1 message Sep 8, 2004

lore
Share & tools
lore
#0 lore raw

The following bug has been RESOLVED.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_advanced_page.php?bug_id=0000451
======================================================================

Reported By:                cuardin
Assigned To:                perex
======================================================================
Project:                    ALSA - utils
Bug ID:                     451
Category:                   alsactl
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
======================================================================
Date Submitted:             08-18-2004 10:00 CEST
Last Modified:              09-08-2004 18:44 CEST

======================================================================
Summary: Corruption in /etc/asound.state causes alsa to hang when restoring mixer levels during reboot.
Description:
If the file /etc/asound.state is corrupted, for example due to a file-system corruption after a hard-reboot, the boot process will halt when attempting to restore the mixer settings. Pressing Ctrl-C will resume the boot process.

Upon shutdown, the process will halt when attempting to store mixer settings requiring a hard reboot.

A work-around is to delete the offending file.
======================================================================

----------------------------------------------------------------------
perex - 09-08-2004 18:44 CEST
----------------------------------------------------------------------
This patch (included in CVS) fixes your problem:

Index: conf.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/conf.c,v
retrieving revision 1.69

conf.c 8 Sep 2004 16:41:59 -0000 renamed from conf.c 25 Feb 2004 11:24:29 -0000 1.69 +1 -0
diff -u -r1.69 conf.c
@@ -813,6 +813,7 @@
        case '}':
        case '[':
        case ']':
+       case '\\':
                return LOCAL_UNEXPECTED_CHAR;
        case '\'':
        case '"':

Bug History
Date Modified Username Field Change
======================================================================

08-18-04 10:00 cuardin        New Bug                                      
08-18-04 10:00 cuardin        File Added: asound.state                     
08-19-04 04:54 eradicator     Bug Monitored: eradicator                    
09-08-04 18:44 perex          Bugnote Added: 0001739                       
09-08-04 18:44 perex          Assigned To               => perex           
09-08-04 18:44 perex          Resolution               open => fixed       
09-08-04 18:44 perex          Status                   new => resolved     

======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click