Lennart,

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.

Jim


"Lennart Poettering" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> On Sun, 03.02.08 16:38, Jim Duda ([EMAIL PROTECTED]) 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 



_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to