From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugtrack@alsa-project.org Subject: [ALSA - driver 0001306]: Apparent race condition in snd_pcm_drain() sometimes hangs userspace processes Date: Wed, 3 Aug 2005 17:12:35 +0200 Message-ID: <84dcae8e24dd4e95f67791418f18a127@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id AA43B1DD for ; Wed, 3 Aug 2005 17:12:38 +0200 (MEST) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org The following issue has been SUBMITTED. ====================================================================== ====================================================================== Reported By: jdthood Assigned To: ====================================================================== Project: ALSA - driver Issue ID: 1306 Category: CORE - pcm Reproducibility: sometimes Severity: major Priority: normal Status: new Distribution: Kernel Version: ====================================================================== Date Submitted: 08-03-2005 17:12 CEST Last Modified: 08-03-2005 17:12 CEST ====================================================================== Summary: Apparent race condition in snd_pcm_drain() sometimes hangs userspace processes Description: esd with libesd-alsa0 sometimes hangs userspace processes. Reproducible on i386 and powerpc. bt of the hanged state of esd, stracing esd appears to remove the problem: #0 0xffffe410 in ?? () #1 0xbfff9068 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () #4 0xb7f1a4b5 in poll () from /lib/tls/i686/cmov/libc.so.6 #5 0xb7dd3ca1 in snd_pcm_wait_nocheck () from /usr/lib/libasound.so.2 #6 0xb7e09a2d in _snd_pcm_dmix_open () from /usr/lib/libasound.so.2 #7 0xb7dd1a9c in snd_pcm_drain () from /usr/lib/libasound.so.2 #8 0xb7dee0ea in _snd_pcm_rate_open () from /usr/lib/libasound.so.2 #9 0xb7dd1a9c in snd_pcm_drain () from /usr/lib/libasound.so.2 #10 0xb7fd12f9 in esd_audio_flush () from /usr/lib/libesd.so.0 #11 0x0804bdd0 in clean_exit () #12 0x0804a927 in clean_exit () #13 0xb7e72e8a in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6 #14 0x08049751 in ?? () (gdb) cont Continuing. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 08-03-05 17:12 jdthood New Issue ====================================================================== ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click