Skip to contentSkip to conversation

Crash when snd_pcm_open is called from a thread with "pulse" as playback

DISCUSSION [email protected] 2 participants 3 messages Mar 4, 2009 – Mar 9, 2009

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

At Wed, 4 Mar 2009 08:20:49 -0000 (GMT),

Quoted 14 lines · [email protected] 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.

Quoted 6 lines

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

#2 lore raw

At Mon, 09 Mar 2009 14:12:35 +0100,

Quoted 19 lines · I wrote:

At Wed, 4 Mar 2009 08:20:49 -0000 (GMT),

Quoted 16 lines · [email protected] 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

Quoted 8 lines
Quoted 4 lines

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