[alsa-devel] Crash when snd_pcm_open is called from a thread with "pulse" as playback

Takashi Iwai tiwai at suse.de
Mon Mar 9 14:12:35 CET 2009


At Wed, 4 Mar 2009 08:20:49 -0000 (GMT),
Nicolas.Castagne at 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...


Takashi


More information about the Alsa-devel mailing list