Crash in pjmedia_snd_stream_get_info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Hello all,


 After a long time, I upgraded the pjsip stack from 0.9x to 1.0x (latest svn as
of yesterday) and I am getting some strange crashes occasionally. I'll have to
use the debug build for a while, to get the details of the crash but for now it
seems as though 'pjmedia_snd_stream *strm' is not proper (0x0fa).

 My app is pjsua_lib based, and the crash happens inside pjsua_set_ec
(SIPLocalEcho,0) which is called within the on_call_media_state callback

I'll add the important bits of my code to make things more understandable ...

void SIPCaller::on_call_media_state(pjsua_call_id call_id) {

 CCErr=pjsua_call_get_info(call_id, &CMSCallInfo);
 if (CMSCallInfo.media_status == PJSUA_CALL_MEDIA_ACTIVE) {
  CCErr=pjsua_conf_connect(CMSCallInfo.conf_slot, 0);
  CCErr=pjsua_conf_connect(0, CMSCallInfo.conf_slot);
  pjsua_set_ec (SIPLocalEcho,0);
 }

}

the crash happens at (on the if statement):
    if (strm->play_strm) {
	paPlaySI = Pa_GetStreamInfo(strm->play_strm);
    }

inside the pjmedia_snd_stream_get_info (pasound.c).


 ... any ideas?


 Greets, Toni




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux