[pjsip] Crash in pjmedia_snd_stream_get_info
David Clark
vdc1048 at tx.rr.com
Mon Feb 9 15:04:53 EST 2009
Don't know if it is related but I am getting intermediate crashes on
pjaus_conf_connect()...with 1.0 rc1...
I am currently trying to dig in to see what might be going on. What
is strange is the call otherwise
seems to work. I would expect something to be definitely broken
after a access violation.
David Clark
At 09:33 AM 2/9/2009, buldozer at aufbix.org wrote:
> 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
>
>
>_______________________________________________
>Visit our blog: http://blog.pjsip.org
>
>pjsip mailing list
>pjsip at lists.pjsip.org
>http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
More information about the pjsip
mailing list