Skip to contentSkip to conversation

: Apps that uses alsa-1.0.11rc3 crashes with my asound.conf

ALSA - lib 0001812 [email protected] 1 participant 1 message Feb 8, 2006

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=1812>
======================================================================
Reported By: AnarSoul
Assigned To:
======================================================================

Project:                    ALSA - lib
Issue ID:                   1812
Category:                   0_general
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             02-03-2006 15:19 CET
Last Modified:              02-08-2006 18:14 CET

======================================================================
Summary: Apps that uses alsa-1.0.11rc3 crashes with my
asound.conf
Description:
All apps that uses alsa-1.0.11rc3 crashed with my asound.conf with message:

conf.c:3144: snd_config_iterator_first: Assertion `node->type ==
SND_CONFIG_TYPE_COMPOUND' failed.

With alsa-1.0.10 everything is OK :)
======================================================================

----------------------------------------------------------------------
AnarSoul - 02-04-06 17:35
----------------------------------------------------------------------
2 theli:
without /etc/asound.conf at all I have soft mixing :) but I have no special device "guitar" (dmix+dsnoop with small buffer size) that I need :)

----------------------------------------------------------------------
kareltejnora - 02-08-06 18:14
----------------------------------------------------------------------
Quick fix is replace row:
pcm "hw:0,0"
with:
pcm {
type hw
card 0
device 0
}

The string not work for dsnoop too.
The problem is that in conf.c:3144 assert checks node->type and waits 1024 SND_CONFIG_TYPE_COMPOUND but node->type==3 (String) with node value hw:0,0 comes.
it means that PCM session is expected to be COMPOUND

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

02-03-06 15:19 AnarSoul       New Issue                                    
02-03-06 15:19 AnarSoul       File Added: asound.conf                      
02-04-06 10:05 theli          Issue Monitored: theli                       
02-04-06 10:10 theli          Note Added: 0007914                          
02-04-06 17:35 AnarSoul       Note Added: 0007917                          
02-04-06 23:54 AnarSoul       Issue Monitored: AnarSoul                    
02-08-06 18:08 kareltejnora   Issue Monitored: kareltejnora                    
02-08-06 18:14 kareltejnora   Note Added: 0007967                          

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

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642