From: Takashi Iwai Subject: Re: Crash when snd_pcm_open is called from a thread with "pulse" as playback Date: Mon, 09 Mar 2009 14:15:41 +0100 Message-ID: References: <58718.147.171.149.152.1236154849.squirrel@acroe.imag.fr> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 0FEC624338 for ; Mon, 9 Mar 2009 14:15:42 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Nicolas.Castagne@imag.fr Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 09 Mar 2009 14:12:35 +0100, I wrote: > > At Wed, 4 Mar 2009 08:20:49 -0000 (GMT), > Nicolas.Castagne@imag.fr wrote: > > > > Hi folks, > > > > I hope I post on the correct mail list... > > I've read somewhere that I should report bugs on a list, and not only on > > the Tracker. That's the aim of this message. > > > > > > On all my Fedora 10 machines, > > whenever > > snd_pcm_open > > has been called from a pthread using "pulse" as playback > > then the program crashes when the thread terminates. > > > > Crash in __nptl_deallocate_tsd > > > > However, AFAIK, one should be able to call snd_pcm_open from a thread. > > > > The full bug report is there, with a very simple sample code : > > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4426 > > This appears to be a problem with Portaudio, right? > My rough guess is something handling pthread in portaudio conflicting > with pulseaudio, or any bug in the resource handling in portaudio... Grr, forget it, now you posted a follow-up. Will check later. Takashi