Hi,

i got the point.
snd_pcm_playback_drain() (which is called at closing the pcm) never
returns when OSS is running on mmap mode. 
now fixed on cvs.  please give a try.


ciao,

Takashi


At 20 Mar 2002 20:58:22 +0100,
Michael Jochum wrote:
> 
> hi!
> 
> some time back there has been a similar bug report about the same
> problem:
> http://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg01675.html
> with no response ... so i will be a bit more verbose :)
> 
> it have this problem on all computers (Athlon, P3, P4, Cleron) i have
> access to. all of them have different sound cards (SB128, SB Live, AC97
> Via686 and AC97 on a i845) and on all of them i have used various 0.9
> betas of alsa and versions of the linux kernel (2.4.5 to 2.4.18).
> no problem with the oss driver
> 
> i have done a strace run of rtcw and found some interesting things:
> 
> somewhere rtcw opens the dsp device:
> open("/dev/dsp", O_RDWR)                = 16
> but i cant find the coresponding
> close(16)
> 
> this are the last lines of output (process locks here):
> 
> write(2, "----- CL_Shutdown -----\n", 24) = 24
> write(2, "-----------------------\n", 24) = 24
> fcntl64(0, F_GETFL)                     = 0x802 (flags
> O_RDWR|O_NONBLOCK)
> fcntl64(0, F_SETFL, O_RDWR)             = 0
> write(2, "Shutdown tty console\n", 21)  = 21
> ioctl(0, SNDCTL_TMR_STOP, {B38400 opost isig icanon echo ...}) = 0
> _exit(0)                                = ?
> 
> i dont know much about kernel internals - but isnt _exit a kernel syscal
> that is supposed to close all open devices?
> so what kind of bug is this? rtcw? alsa? kernel?
> 
> this is a very anoying bug for me and it would be nice if someone could
> help me with this problem. i have even mada a panel button to kill the
> hanging processes :)
> 
> tia,
> michael.
> 
> 
> 
> _______________________________________________
> Alsa-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/alsa-devel
> 

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to