All pastes #731950 Raw Edit

sip deadlock 10/10/2007

public text v1 · immutable
·published 2007-10-10 15:11 UTC
rendered paste body
    -- Remote UNIX connection

=======================================================================
=== Currently Held Locks ==============================================
=======================================================================
===
=== <file> <line num> <function> <lock name> <lock addr> (times locked)
===
=== Thread ID: -1210094672 (listener             started at [ 1062] asterisk.c ast_makesocket())
=== -------------------------------------------------------------------
===
=== Thread ID: -1215624272 (accept_thread        started at [ 2954] manager.c init_manager())
=== -------------------------------------------------------------------
===
=== Thread ID: -1215870032 (do_devstate_changes  started at [  378] devicestate.c ast_device_state_engine_init())
=== -------------------------------------------------------------------
===
=== Thread ID: -1216222288 (do_parking_thread    started at [ 2536] res_features.c load_module())
=== -------------------------------------------------------------------
===
=== Thread ID: -1219146832 (do_monitor           started at [ 6963] chan_zap.c restart_monitor())
=== -------------------------------------------------------------------
===
=== Thread ID: -1221035088 (scan_thread          started at [  499] pbx_spool.c load_module())
=== -------------------------------------------------------------------
===
=== Thread ID: -1228538960 (iax2_process_thread  started at [ 8751] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: -1228784720 (iax2_process_thread  started at [ 8751] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: -1229030480 (iax2_process_thread  started at [ 8751] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: -1229276240 (iax2_process_thread  started at [ 8751] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: -1229522000 (iax2_process_thread  started at [ 8751] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: -1229767760 (iax2_process_thread  started at [ 8751] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: -1230013520 (iax2_process_thread  started at [ 8751] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: -1230259280 (iax2_process_thread  started at [ 8751] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: -1230505040 (iax2_process_thread  started at [ 8751] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: -1230750800 (iax2_process_thread  started at [ 8751] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: -1230996560 (sched_thread         started at [ 8761] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: -1231242320 (network_thread       started at [ 8762] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: -1232405584 (do_monitor           started at [15438] chan_sip.c restart_monitor())
=== ---> Lock #0: chan_sip.c 15382 do_monitor &monlock 0xb69172a0 (1)
=== ---> Lock #1: chan_sip.c 15406 do_monitor &(peer)->_lock 0x830dfb4 (1)
=== -------------------------------------------------------------------
===
=== Thread ID: -1233536080 (monitor_sig_flags    started at [ 2964] asterisk.c main())
=== -------------------------------------------------------------------
===
=== Thread ID: -1235014736 (autoservice_run      started at [  114] autoservice.c ast_autoservice_start())
=== -------------------------------------------------------------------
===
=== Thread ID: -1234027600 (pbx_thread           started at [ 2627] pbx.c ast_pbx_start())
=== -------------------------------------------------------------------
===
=== Thread ID: -1233781840 (session_do           started at [ 2306] manager.c accept_thread())
=== ---> Lock #0: chan_sip.c 9810 _sip_show_peers &(&peerl)->_lock 0xb6919480 (1)
=== ---> Waiting for Lock #1: chan_sip.c 9810 _sip_show_peers &(iterator)->_lock 0x830dfb4 (1)
=== -------------------------------------------------------------------
===
=== Thread ID: -1237320784 (pbx_thread           started at [ 2627] pbx.c ast_pbx_start())
=== -------------------------------------------------------------------
===
=== Thread ID: -1237566544 (session_do           started at [ 2306] manager.c accept_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: -1234519120 (pbx_thread           started at [ 2627] pbx.c ast_pbx_start())
=== -------------------------------------------------------------------
===
=== Thread ID: -1238058064 (pbx_thread           started at [ 2627] pbx.c ast_pbx_start())
=== -------------------------------------------------------------------
===
=== Thread ID: -1235825744 (netconsole           started at [ 1004] asterisk.c listener())
=== -------------------------------------------------------------------
===
=======================================================================

Verbosity is at least 3