Skip to contentSkip to conversation

: Driver and all sound aplications hangs

ALSA - driver 0000761 [email protected] 1 participant 1 message Apr 2, 2005

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=761>
======================================================================
Reported By: mr-k
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   761
Category:                   OTHERS
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     new
Distribution:               Gentoo
Kernel Version:             2.6.10
======================================================================
Date Submitted:             12-30-2004 13:13 CET
Last Modified:              04-02-2005 21:50 CEST

======================================================================
Summary: Driver and all sound aplications hangs
Description:
I have a YMF-724F (lspci -v attached). Problem occur in alsa 1.0.7 and in alsa
from kernel 2.6.10. In other versions (also in 1.0.6a) i havn't any problems.

Sometimes (up to couple times a day) driver crash and all processes using sound hangs. I can't kill them (by SIGKILL and SIGTERM) and I can't remove the
module by rmmod (it hangs also). When i try to shutdown the system, it stops
when it try to remove the module. ps hangs when it try to get informations
about other hung processes, also when i try to do it manualy (by /proc/pid/),
it hangs. Everything else is working good.
There are no messages from the kernel in /var/log/messages and /var/log/dmesg or reported to the console.

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

----------------------------------------------------------------------
mr-k - 03-31-05 00:36
----------------------------------------------------------------------
Ok, i have another clue. I've been doing some tests. I had several processes running at the same time in the following way:
aplay file.wav & aplay file.wav & aplay.wav & .....
Everything was fine as long as the number of processes didn't exceed 32 (this card have 32 channels, right?). At 33rd I heard that 32 processes ran at a time, and the last one waited untill one of the others had finished (it's ok, right?). But if I launched 32 and before they'd ended - yet another 32, the driver crashed. This happens even just after rebooting and with the -Dhw parameter. I also attach the sysrq traces.

----------------------------------------------------------------------
mr-k - 04-02-05 21:50
----------------------------------------------------------------------
The last fine-working version is 1.0.6a. The problem occurs in versions 1.0.7 to 1.0.9rc2 (which is the one I'm currently using). I've also spotted that in all the versions with the problem the awaiting time between the process termination and the channel release (with all channels busy) is bigger than in the previous versions (where it's almost unnoticeable).

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

12-30-04 13:13 mr-k           New Issue                                    
12-30-04 13:13 mr-k           Distribution              => Gentoo          
12-30-04 13:13 mr-k           Kernel Version            => 2.6.10          
12-30-04 13:15 mr-k           File Added: alsa-report                      
12-30-04 13:18 mr-k           Issue Monitored: mr-k                        
12-30-04 15:09 tiwai          Note Added: 0003022                          
01-01-05 22:21 mr-k           Note Added: 0003038                          
01-07-05 22:41 mr-k           Note Added: 0003123                          
01-11-05 22:11 mr-k           Note Added: 0003158                          
01-11-05 22:12 mr-k           File Added: alsa.log                         
01-12-05 15:14 tiwai          Note Added: 0003170                          
01-12-05 15:57 mr-k           Note Added: 0003173                          
01-16-05 15:38 mr-k           Note Added: 0003218                          
02-09-05 21:45 mr-k           Note Edited: 0003173                         
02-09-05 21:46 mr-k           Note Edited: 0003123                         
03-10-05 16:46 mr-k           Note Added: 0003868                          
03-10-05 16:47 mr-k           Note Edited: 0003868                         
03-20-05 22:53 bendis         Issue Monitored: bendis                      
03-22-05 17:59 mr-k           Issue Monitored: tiwai                       
03-22-05 17:59 mr-k           Note Added: 0004126                          
03-30-05 18:27 tiwai          Note Added: 0004269                          
03-30-05 19:06 mr-k           Note Added: 0004270                          
03-30-05 19:19 tiwai          Note Added: 0004271                          
03-31-05 00:36 mr-k           Note Added: 0004276                          
03-31-05 00:36 mr-k           File Added: alsa-sysrq                       
04-02-05 21:50 mr-k           Note Added: 0004300                          

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

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click