assertion in "../src/pjsip/sip_util.c:729: pjsip_process_route_set()

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

 



On Tue, Jan 27, 2009 at 4:34 AM, Ramesh D <ramdev_sw at yahoo.com> wrote:

> Hi Benny,
>
> Below is the stack trace and the 200 OK message(duplicate) that causes the
> assertion "../src/pjsip/sip_util.c:729: pjsip_process_route_set: Assertion
> `tdata->saved_strict_route==((void *)0)' failed.". Any pointers on how to
> fix this issue?
>
>
Hi Ramesh, can I see the INVITE request as well? And can you reproduce this
with pjsua? Or better, can you try to reproduce this with pjsua and post the
config and log files?

Btw this was caused by the use of strict route (route without ";lr"
parameter), which normally shouldn't be used. But I'm still curious why did
it raise an assertion.

cheers
 Benny


Thanks,
> Ramesh
>
> -----------------------------------------------------------
> 22 __kernel_vsyscall()  0xb7f24410
> 21 raise()  0xb7c0c085
> 20 abort()  0xb7c0da01
> 19 __assert_fail()  0xb7c0510e
> 18 pjsip_process_route_set()
> /home/ramesh/voip/pjproject-1.0/pjsip/src/pjsip/sip_util.c:729 0x08064b14
>
> 17 pjsip_endpt_send_request_stateless()
> /home/ramesh/voip/pjproject-1.0/pjsip/src/pjsip/sip_util.c:1065
> 0x080652ed
> 16 pjsip_dlg_send_request()
> /home/ramesh/voip/pjproject-1.0/pjsip/src/pjsip/sip_dialog.c:1178
> 0x0807700b
> 15 inv_send_ack()
> /home/ramesh/voip/pjproject-1.0/pjsip/src/pjsip-ua/sip_inv.c:353
> 0x08050136
> 14 mod_inv_on_rx_response()
> /home/ramesh/voip/pjproject-1.0/pjsip/src/pjsip-ua/sip_inv.c:499
> 0x08050401
> 13 pjsip_dlg_on_rx_response()
> /home/ramesh/voip/pjproject-1.0/pjsip/src/pjsip/sip_dialog.c:1819
> 0x0807840c
> 12 mod_ua_on_rx_response()
> /home/ramesh/voip/pjproject-1.0/pjsip/src/pjsip/sip_ua_layer.c:891
> 0x08079818
> 11 endpt_on_rx_msg()
> /home/ramesh/voip/pjproject-1.0/pjsip/src/pjsip/sip_endpoint.c:926
> 0x08062c47
> 10 pjsip_tpmgr_receive_packet()
> /home/ramesh/voip/pjproject-1.0/pjsip/src/pjsip/sip_transport.c:1447
> 0x080695cc
> 9 udp_on_read_complete()
> /home/ramesh/voip/pjproject-1.0/pjsip/src/pjsip/sip_transport_udp.c:163
> 0x08069d9f
> 8 ioqueue_dispatch_read_event()
> /home/ramesh/voip/pjproject-1.0/pjlib/src/pj/ioqueue_common_abs.c:548
> 0x080bf385
> 7 pj_ioqueue_poll()
> /home/ramesh/voip/pjproject-1.0/pjlib/src/pj/ioqueue_epoll.c:717
> 0x080c0fd1
> 6 pjsip_endpt_handle_events2()
> /home/ramesh/voip/pjproject-1.0/pjsip/src/pjsip/sip_endpoint.c:718
> 0x08062689
> 5 pjsip_endpt_handle_events()
> /home/ramesh/voip/pjproject-1.0/pjsip/src/pjsip/sip_endpoint.c:746
> 0x0806272c
> 4 sip_worker_thread()
> /home/ramesh/voip/pjproject-1.0/pjsip-apps/src/samples/ptt2email.c:1140
> 0x0804cffc
> 3 thread_main()
> /home/ramesh/voip/pjproject-1.0/pjlib/src/pj/os_core_unix.c:469
> 0x080c1f9c
> 2 start_thread()  0xb7eb94fb
> 1 clone()  0xb7cb7e5e
>
> ------------------------------------------------------------
>
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP 192.168.1.102:5060
> ;rport;branch=z9hG4bKPjCY.WsEZ7BfeiUTfMTuAMccocIw.IoVyT
> Record-Route: <sip:18005558355 at 21.137.73.140:5060;maddr=21.137.73.24>
> From: <sip:192.168.1.102>;tag=WmaacOCBdToVjIj3zlWB2mRBc7WJOBeI
> To: <sip:18005558888 at relay.three.com <sip%3A18005558888 at relay.three.com>
> >;tag=cxIgVF8tRbBjn6Vq7CkhGuXQVjdETB.O
> Call-ID: cxIgVF8tRbBjn6Vq7CkhGuXQVjdETB.O
> CSeq: 9352 INVITE
> Contact: <sip:18005558355 at 213.137.79.50:5060>
> Content-Type: application/sdp
> Content-Length: 151
>
> v=0
> o=NY-MSW-2 3558 8303 IN IP4 21.137.79.91
> s=sip call
> c=IN IP4 21.137.65.233
> t=0 0
> m=audio 19500 RTP/AVP 0
> a=ptime:20
> a=rtpmap:0 PCMU/8000
>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090127/6434bbbe/attachment-0001.html>


[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