All of lore.kernel.org
 help / color / mirror / Atom feed
* Crash when snd_pcm_open is called from a thread with "pulse" as playback
@ 2009-03-04  8:20 Nicolas.Castagne
  2009-03-09 13:12 ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas.Castagne @ 2009-03-04  8:20 UTC (permalink / raw)
  To: alsa-devel

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

I think this bug relates directly to alsa.
I hope this report is useful.


Best-
Nicolas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Crash when snd_pcm_open is called from a thread with "pulse" as playback
  2009-03-04  8:20 Crash when snd_pcm_open is called from a thread with "pulse" as playback Nicolas.Castagne
@ 2009-03-09 13:12 ` Takashi Iwai
  2009-03-09 13:15   ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: Takashi Iwai @ 2009-03-09 13:12 UTC (permalink / raw)
  To: Nicolas.Castagne; +Cc: alsa-devel

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


Takashi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Crash when snd_pcm_open is called from a thread with "pulse" as playback
  2009-03-09 13:12 ` Takashi Iwai
@ 2009-03-09 13:15   ` Takashi Iwai
  0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2009-03-09 13:15 UTC (permalink / raw)
  To: Nicolas.Castagne; +Cc: alsa-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-09 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-04  8:20 Crash when snd_pcm_open is called from a thread with "pulse" as playback Nicolas.Castagne
2009-03-09 13:12 ` Takashi Iwai
2009-03-09 13:15   ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.