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 Nov 9, 2004

lore
Share & tools
lore
#0 lore raw

The following issue has been CLOSED
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=451>
======================================================================

Reported By:                cuardin
Assigned To:                perex
======================================================================
Project:                    ALSA - utils
Issue ID:                   451
Category:                   alsactl
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             08-18-2004 10:00 CEST
Last Modified:              11-09-2004 16:31 CET

======================================================================
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-04 18:44
----------------------------------------------------------------------
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 '"':

Issue History
Date Modified Username Field Change
======================================================================

08-18-04 10:00 cuardin        New Issue                                    
08-18-04 10:00 cuardin        File Added: asound.state                     
08-19-04 04:54 eradicator     Issue Monitored: eradicator                    
09-08-04 18:44 perex          Status                   new => resolved     
09-08-04 18:44 perex          Resolution               open => fixed       
09-08-04 18:44 perex          Assigned To               => perex           
09-08-04 18:44 perex          Note Added: 0001739                          
11-09-04 16:31 tiwai          Status                   resolved => closed  

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

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click