Hi all : Deadlock between ioqueue lock and dialog mutex: thread 19: tsx sending a message. It is holding transaction group lock and acquiring transport mutex. thread 29: find dlg(pjsip_ua_find_dialog) in io poll thread.? Thread 19 (Thread 0x7febfc850700 (LWP 23900)): #0 0x00007fec1b813264 in __lll_lock_wait () from /lib64/libpthread.so.0 #1 0x00007fec1b80e523 in _L_lock_892 () from /lib64/libpthread.so.0 #2 0x00007fec1b80e407 in pthread_mutex_lock () from /lib64/libpthread.so.0 #3 0x0000000000468076 in pj_mutex_lock () #4 0x000000000046ddc1 in grp_lock_acquire () #5 0x0000000000466438 in pj_ioqueue_send () #6 0x000000000046aa39 in pj_activesock_send () #7 0x000000000043f468 in tcp_send_msg () #8 0x000000000043c907 in pjsip_transport_send () #9 0x0000000000442393 in tsx_send_msg () #10 0x00000000004433c1 in tsx_on_state_proceeding_uas () #11 0x00000000004438b5 in tsx_on_state_trying () #12 0x0000000000444446 in pjsip_tsx_send_msg () #13 0x0000000000446974 in pjsip_dlg_send_response () #14 0x0000000000450041 in inv_respond_incoming_bye () #15 0x0000000000450bff in inv_on_state_disconnected () #16 0x000000000044ea36 in mod_inv_on_tsx_state () #17 0x00000000004467c8 in pjsip_dlg_on_tsx_state () #18 0x000000000044213b in tsx_set_state () #19 0x00000000004429a5 in tsx_on_state_null () #20 0x00000000004443ba in pjsip_tsx_recv_msg () #21 0x0000000000446f5e in pjsip_dlg_on_rx_request () #22 0x00000000004499fe in mod_ua_on_rx_request () #23 0x000000000043550e in pjsip_endpt_process_rx_data () #24 0x000000000042305f in syt_sip_msg_proc () #25 0x0000000000423127 in syt_sip_msg_proc2 () #26 0x00000000004231eb in syt_pjsip_worker () #27 0x000000000046896a in thread_main () #28 0x00007fec1b80c9d1 in start_thread () from /lib64/libpthread.so.0 #29 0x00007fec1a910b6d in clone () from /lib64/libc.so.6 Thread 18 (Thread 0x7febfbe4f700 (LWP 23901)): #0 0x00007fec1b813264 in __lll_lock_wait () from /lib64/libpthread.so.0 #1 0x00007fec1b80e523 in _L_lock_892 () from /lib64/libpthread.so.0 #2 0x00007fec1b80e407 in pthread_mutex_lock () from /lib64/libpthread.so.0 #3 0x0000000000468076 in pj_mutex_lock () #4 0x0000000000446002 in pjsip_dlg_inc_lock () #5 0x0000000000449c59 in pjsip_ua_find_dialog () #6 0x0000000000422704 in syt_sip_find_dlg () #7 0x00000000004228b4 in distributor_on_rx_msg () #8 0x000000000043550e in pjsip_endpt_process_rx_data () #9 0x0000000000435f1c in endpt_on_rx_msg () #10 0x000000000043aa38 in pjsip_tpmgr_receive_packet () #11 0x000000000043e8a3 in on_data_read () #12 0x000000000046b7f9 in ioqueue_on_read_complete () #13 0x0000000000466ca1 in ioqueue_dispatch_read_event () #14 0x0000000000467107 in pj_ioqueue_poll () #15 0x0000000000435742 in pjsip_endpt_handle_events2 () #16 0x0000000000423179 in syt_pjsip_thread () #17 0x000000000046896a in thread_main () #18 0x00007fec1b80c9d1 in start_thread () from /lib64/libpthread.so.0 #19 0x00007fec1a910b6d 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/20150123/1e61277c/attachment.html>