: pcm_dmix hangs on device close
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1074>
======================================================================
Reported By: ikonst
Assigned To:
======================================================================
Project: ALSA - lib Issue ID: 1074 Category: pcm - digital audio Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 04-24-2005 08:48 CEST Last Modified: 05-11-2005 18:11 CEST
======================================================================
Summary: pcm_dmix hangs on device close
Description:
The fix in pcm_dmix.c revision 1.71 causes the following regression:
Everytime I access a Flash site thru my 'aoss'-wrapped Mozilla, it hangs:
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0 0x40a951c3 in poll () from /lib/tls/libc.so.6
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1 0x4001a1fd in poll () from /usr/lib/libaoss.so
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2 0x40c7bf78 in snd_pcm_wait_nocheck (pcm=0x9a7a6a0, timeout=-1)
at pcm.c:2234
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3 0x40cb27fb in snd_pcm_dmix_drain (pcm=0x9a7a6a0) at pcm_dmix.c:504
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4 0x40c79bd4 in snd_pcm_drain (pcm=0xfffffffc) at pcm.c:1044
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5 0x40c8cbb7 in snd_pcm_generic_drain (pcm=0xfffffffc) at
pcm_generic.c:151
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=6 0x40c79bd4 in snd_pcm_drain (pcm=0xfffffffc) at pcm.c:1044
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=7 0x40bb24e7 in lib_oss_pcm_close () from /usr/lib/libalsatoss.so.0
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=8 0x400199b4 in close () from /usr/lib/libaoss.so
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=9 0x441712b9 in PlatformSoundMix::UnlockAudioCallback ()
from /usr/lib/flashplugin-nonfree/libflashplayer.so
...
======================================================================
----------------------------------------------------------------------
ikonst - 05-11-05 17:23
----------------------------------------------------------------------
The patch solves the problem for me. Also solves issue 1091 at the same time. Pleae check it in and mark both bugs as resolved.
----------------------------------------------------------------------
tiwai - 05-11-05 18:11
----------------------------------------------------------------------
Hmm, non-blocking mode should NOT block. So, if the timer behaves like you mentioned, it must be a bug in the timer code...
Issue History
Date Modified Username Field Change
======================================================================
04-24-05 08:48 ikonst New Issue 05-09-05 17:33 chtephan Note Added: 0004627 05-09-05 17:53 chtephan Issue Monitored: chtephan 05-09-05 20:41 chtephan File Added: timer-flush-blocking.diff
05-09-05 20:42 chtephan Note Added: 0004629 05-11-05 17:23 ikonst Note Added: 0004638 05-11-05 18:11 tiwai Note Added: 0004639
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click