<div dir="ltr"><div>Not sure how/where else to report this...</div><div><br></div>commit 5e6b1476a087407a052f007d326c504cfeefebe7<br><div>ASTERISK-25614<br></div><div><br></div><div>2 code paths which approximate the following will cause a lock-inversion deadlock:</div><div><br></div><div>approximate call orders are:</div><div><br></div><div>a)</div><div>pj_timer_heap_poll (PJ_LOCK)</div><div>ast_rtp_on_ice_complete</div><div>ast_rtp_instance_set_remote_address</div><div>remote_address_set</div><div>ast_rtp_remote_address_set</div><div>(DTLS_LOCK)</div><div>...</div><div><br></div><div>b)</div><div>ast_pbx...</div><div>app_dial</div><div>bridge...</div><div>read</div><div>rtp_read</div><div>...<br></div><div>__rtp_recvfrom</div><div>(DTLS_LOCK)</div><div>dtls_srtp_check_pending</div><div>__rtp_sendto</div><div>pj_ice_sess_send_data</div><div>(PJ_LOCK)</div><div>...</div><div><br></div><div>I believe this only happens on a DTLS to DTLS call bridge, but is trivial to cause in the lab here.</div><div><br></div><div>Regards,</div><div>Steve</div><div><br></div></div>