Hi, 1. 1.vid head loop forever; 2. dead lock when i use tcp transport! (=?utf-8?B?Um95?=)? the charset is utf-8 ------------------ Original ------------------ From: "pjsip-request";<pjsip-request@xxxxxxxxxxxxxxx>; Date: Tue, Dec 2, 2014 01:00 AM To: "pjsip"<pjsip at lists.pjsip.org>; Subject: pjsip Digest, Vol 88, Issue 1 Send pjsip mailing list submissions to pjsip at lists.pjsip.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org or, via email, send a message with subject or body 'help' to pjsip-request at lists.pjsip.org You can reach the person managing the list at pjsip-owner at lists.pjsip.org When replying, please edit your Subject line so it is more specific than "Re: Contents of pjsip digest..." Today's Topics: 1. 1.vid head loop forever; 2. dead lock when i use tcp transport! (=?utf-8?B?Um95?=) 2. AUTO : Felix GIFFUNI est absent(e) (renvoi de Lun 22/12/2014) (fgiffuni at midilibre.com) ---------------------------------------------------------------------- Message: 1 Date: Mon, 1 Dec 2014 10:41:39 +0800 From: "=?utf-8?B?Um95?=" <smilezou@xxxxxxxxxx> To: "=?utf-8?B?cGpzaXA=?=" <pjsip at lists.pjsip.org> Subject: 1.vid head loop forever; 2. dead lock when i use tcp transport! Message-ID: <tencent_04E8D5B93EECF325663543DE at qq.com> Content-Type: text/plain; charset="utf-8" 1. Copy all the via headers when via is not first will be loop forever!? --- pjsip/src/pjsip/sip_util.c (revision 4955) +++ pjsip/src/pjsip/sip_util.c (working copy) @@ -536,7 +536,7 @@ pjsip_msg_add_hdr( msg, (pjsip_hdr*)new_via); via = via->next; - if (via != (void*)&req_msg->hdr) + if (via != top_via && via != (void*)&req_msg->hdr) via = (pjsip_via_hdr*) pjsip_msg_find_hdr(req_msg, PJSIP_H_VIA, via); else? 2. dead lock when i use tcp transport. Thread 25 (Thread 0x7fc4d404e700 (LWP 3919)): #0 0x00007fc4f02cf264 in __lll_lock_wait () from /lib64/libpthread.so.0 #1 0x00007fc4f02ca523 in _L_lock_892 () from /lib64/libpthread.so.0 #2 0x00007fc4f02ca407 in pthread_mutex_lock () from /lib64/libpthread.so.0 #3 0x0000000000464b76 in pj_mutex_lock () #4 0x000000000046a871 in grp_lock_acquire () #5 0x00000000004410bb in pjsip_tsx_send_msg () #6 0x00000000004435ce in pjsip_dlg_send_response () #7 0x000000000044c00c in pjsip_inv_send_msg () #8 0x00000000004261f3 in syt_sip_session_terminate () #9 0x000000000040f6c3 in syt_session_timinate () #10 0x0000000000419409 in syt_ctrl_on_state_null () #11 0x0000000000419b68 in syt_ctrl_session_init_request () #12 0x0000000000419dda in syt_ctrl_session_init () #13 0x000000000040fb8e in syt_session_incoming_request () #14 0x0000000000423822 in handle_incoming_request () #15 0x00000000004246cc in session_new () #16 0x0000000000424bda in syt_session_new_invite_proc () #17 0x00000000004201f9 in syt_pjsip_worker () #18 0x000000000046541a in thread_main () #19 0x00007fc4f02c89d1 in start_thread () from /lib64/libpthread.so.0 #20 0x00007fc4ef3ccb6d in clone () from /lib64/libc.so.6 Thread 10 (Thread 0x7fc4c9531700 (LWP 3934)): #0 0x00007fc4f02cf264 in __lll_lock_wait () from /lib64/libpthread.so.0 #1 0x00007fc4f02ca523 in _L_lock_892 () from /lib64/libpthread.so.0 #2 0x00007fc4f02ca407 in pthread_mutex_lock () from /lib64/libpthread.so.0 #3 0x0000000000464b76 in pj_mutex_lock () #4 0x0000000000442c92 in pjsip_dlg_inc_lock () #5 0x0000000000443428 in pjsip_dlg_on_tsx_state () #6 0x000000000043edcb in tsx_set_state () #7 0x0000000000440e37 in send_msg_callback () #8 0x000000000043328f in send_response_transport_cb () #9 0x0000000000439183 in transport_send_callback () #10 0x000000000043b418 in on_data_sent () #11 0x000000000043c462 in on_connect_complete () #12 0x0000000000462984 in ioqueue_dispatch_exception_event () #13 0x0000000000463bd7 in pj_ioqueue_poll () #14 0x00000000004323b2 in pjsip_endpt_handle_events2 () #15 0x0000000000420187 in syt_pjsip_thread () #16 0x000000000046541a in thread_main () #17 0x00007fc4f02c89d1 in start_thread () from /lib64/libpthread.so.0 #18 0x00007fc4ef3ccb6d in clone () from /lib64/libc.so.6? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20141201/2cfa4d59/attachment-0001.html> ------------------------------ Message: 2 Date: Mon, 1 Dec 2014 09:14:43 +0100 From: fgiffuni@xxxxxxxxxxxxx To: pjsip list <pjsip at lists.pjsip.org> Subject: AUTO : Felix GIFFUNI est absent(e) (renvoi de Lun 22/12/2014) Message-ID: <OF5C50EBFE.687B5293-ONC1257DA1.002D4B18-C1257DA1.002D4B18 at groupemidilibre.com> Content-Type: text/plain; charset="iso-8859-1" Je suis absent(e) entre Lun 01/12/2014 et Lun 22/12/2014. Remarque?: ceci est une r?ponse automatique ? votre message "[pjsip] 1.vid head loop forever; 2. dead lock when i use tcp transport!" envoy? le 01/12/2014 03:41:39. C'est la seule notification que vous recevrez pendant l'absence de cette personne. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20141201/c99e80c7/attachment-0001.html> ------------------------------ Subject: Digest Footer _______________________________________________ pjsip mailing list pjsip at lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org ------------------------------ End of pjsip Digest, Vol 88, Issue 1 ************************************ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20141202/008e9ecd/attachment.html>