[pulseaudio-discuss] Pulseaudio with Application Asterisk

Jim Duda jim at duda.tzo.com
Wed Feb 13 07:22:08 PST 2008


Asterisk does not call snd_pcm_recover( ) after receiving EIO.
There is no specific trap for EIO.

Thanks for the reply, I will start with gdb and report back my findings.


"Lennart Poettering" <lennart at poettering.net> wrote in message news:20080213115403.GA13794 at tango.0pointer.de...
> On Sun, 03.02.08 16:38, Jim Duda (jim at duda.tzo.com) wrote:
>> When I directly connect Asterisk to the sound card, everything works
>> fine.  However, when I attempt to connect to the sound card through
>> Pulseaudio, the Asterisk application will crash after making the second
>> call connection.
>> The only evidence of something I currently see going wrong is that the
>> alsa interface for Asterisk receives a -5 (-EIO) on a write to the alsa
>> interface.  I don't know if that is the eventual cause of the crash.
> There are multiple reasons why ALSA or our ALSA backend might return
> EIO to the application. From this remote perspective it is not really
> possible for me to find out what the exact problem is.
> Please install the debugging symbols for alsa-plugins and use gdb to
> find out what the reason for the EIO might be.
> Does Asterisk call snd_pcm_recover() after getting the EIO?
> Lennart
> -- 
> Lennart Poettering                        Red Hat, Inc.
> lennart [at] poettering [dot] net         ICQ# 11060553
> http://0pointer.net/lennart/           GnuPG 0x1A015CC4 

More information about the pulseaudio-discuss mailing list