[Alsa-devel] rtcw,quake3 hang on exit

2002-03-20 Thread Michael Jochum
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

Re: [Alsa-devel] rtcw,quake3 hang on exit

2002-03-20 Thread Paul Davis
>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"

Re: [Alsa-devel] rtcw,quake3 hang on exit

2002-03-20 Thread Dan Hollis
On Wed, 20 Mar 2002, Paul Davis wrote: > >so what kind of bug is this? rtcw? alsa? kernel? > you haven't really described the bug very much. something to do with > processes left around, etc. > does the program(s) in question use threads? if so, using _exit() will > fail to terminate all threads i

Re: [Alsa-devel] rtcw,quake3 hang on exit

2002-03-20 Thread Michael Jochum
hi paul! On Wed, 2002-03-20 at 22:47, Paul Davis wrote: > sure, it does. but strace won't see, since it all happens *inside* the > kernel's handling of sys_exit(). strace merely traces actual syscalls, > not what happens inside the kernel. _exit will call sys_close for > every file in the task's

Re: [Alsa-devel] rtcw,quake3 hang on exit

2002-03-20 Thread Steven Walter
I can confirm this an an Athlon with CM8738-6CH sound card, as well as some other interesting related effects. These problems exist even if rtcw/q3demo are called using the "aoss" wrapper script. On Wed, Mar 20, 2002 at 08:58:22PM +0100, Michael Jochum wrote: > hi! > > some time back there has

Re: [Alsa-devel] rtcw,quake3 hang on exit

2002-03-20 Thread Steven Walter
On Wed, Mar 20, 2002 at 11:05:52PM +0100, Michael Jochum wrote: [...] > Steven Walter reported that the problem also exists in the demo version > of the games which is aviable at various places. maybe you could debug > the problem? > >http://www.3dgamers.com/dl/games/returnwolfenstein/wolfmpdemo

Re: [Alsa-devel] rtcw,quake3 hang on exit

2002-04-08 Thread Takashi Iwai
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 b

Re: [Alsa-devel] rtcw,quake3 hang on exit

2002-04-08 Thread Michael Jochum
On Mon, 2002-04-08 at 17:05, Takashi Iwai wrote: > 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. i tried cvs - quake3 and rtcw don`t hang on exit now - BUT there is no sou

Re: [Alsa-devel] rtcw,quake3 hang on exit

2002-04-09 Thread Takashi Iwai
Hi Michael, At 08 Apr 2002 22:01:49 +0200, Michael Jochum wrote: > > On Mon, 2002-04-08 at 17:05, Takashi Iwai wrote: > > 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 t

Re: [Alsa-devel] rtcw,quake3 hang on exit

2002-04-09 Thread Takashi Iwai
Hi, At Tue, 09 Apr 2002 10:37:33 +0200, I wrote: > > [1 ] > Hi Michael, > > At 08 Apr 2002 22:01:49 +0200, > Michael Jochum wrote: > > > > On Mon, 2002-04-08 at 17:05, Takashi Iwai wrote: > > > i got the point. > > > snd_pcm_playback_drain() (which is called at closing the pcm) never > > > re

Re: [Alsa-devel] rtcw,quake3 hang on exit <<< patch is working!!!!

2002-04-09 Thread Michael Jochum
hi! the cvs version is working fine now! thanks to everybody for your help michael. On Tue, 2002-04-09 at 11:30, Takashi Iwai wrote: > Hi, > > At Tue, 09 Apr 2002 10:37:33 +0200, > I wrote: > > > > [1 ] > > Hi Michael, > > > > At 08 Apr 2002 22:01:49 +0200, > > Michael Jochum wrote: > > >