Takashi Iwai wrote:

>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?

playback. 

btw: snd_pcm_close never calls *_drain on a capture stream if my
interpretation of its code is right, and i said 'playback' and
'written .. to' in the original mail. 

tim


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

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

Reply via email to