From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: snd_pcm_close hangs Date: Fri, 31 May 2002 10:42:53 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from Cantor.suse.de (ns.suse.de [213.95.15.193]) by alsa.alsa-project.org (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id KAA30040 for ; Fri, 31 May 2002 10:43:24 +0200 In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Tim Goetze Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 30 May 2002 17:14:03 +0200 (CEST), Tim Goetze wrote: > > hi all, > > both emu8k and ice1712 pcm drivers hang forever in ioctl(2) when > closing a playback stream if the stream has been linked to the > same card's capture, has been prepared and written data to, but was > never started: > > Program received signal SIGINT, Interrupt. > 0x403b8fa4 in ioctl () from /lib/libc.so.6 > (gdb) bt > #0 0x403b8fa4 in ioctl () from /lib/libc.so.6 > #1 0x40580abc in __DTOR_END__ () from /usr/lib/libasound.so.2 > #2 0x4053bde9 in snd_pcm_drain (pcm=0x81c6ae8) at pcm.c:813 > #3 0x4053b649 in snd_pcm_close (pcm=0x81c6ae8) at pcm.c:552 > #4 0x40462d79 in AlsaStream::~AlsaStream (this=0x81bf6a8, > __in_chrg=0) > at AlsaStream.cc:41 > #5 0x4049ef01 in AlsaOut::~AlsaOut (this=0x81bf6a8, __in_chrg=3) > at PyType.h:110 it seems stalling at drain ioctl. can you figure out which stream is? Takashi _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm