pbxcoga:~ # asterisk -rx 'core show locks' -- Remote UNIX connection ======================================================================= === Currently Held Locks ============================================== ======================================================================= === === (times locked) === === Thread ID: 1073985856 (listener started at [ 1055] asterisk.c ast_makesocket()) === ------------------------------------------------------------------- === === Thread ID: 1074231616 (http_root started at [ 630] http.c http_server_start()) === ------------------------------------------------------------------- === === Thread ID: 1074477376 (accept_thread started at [ 2954] manager.c init_manager()) === ------------------------------------------------------------------- === === Thread ID: 1074723136 (do_devstate_changes started at [ 378] devicestate.c ast_device_state_engine_init()) === ---> Lock #0: chan_agent.c 2497 agent_devicestate &(&agents)->lock 0x2aaab0c36d70 (1) === ---> Waiting for Lock #1: chan_agent.c 2499 agent_devicestate &p->lock 0x2aaaafe16b10 (1) === ------------------------------------------------------------------- === === Thread ID: 1074968896 (do_parking_thread started at [ 2413] res_features.c load_module()) === ------------------------------------------------------------------- === === Thread ID: 1075214656 (do_monitor started at [ 3500] chan_mgcp.c restart_monitor()) === ------------------------------------------------------------------- === === Thread ID: 1075460416 (pri_dchannel started at [ 9418] chan_zap.c start_pri()) === ------------------------------------------------------------------- === === Thread ID: 1075706176 (pri_dchannel started at [ 9418] chan_zap.c start_pri()) === ------------------------------------------------------------------- === === Thread ID: 1075951936 (do_monitor started at [ 6968] chan_zap.c restart_monitor()) === ------------------------------------------------------------------- === === Thread ID: 1076197696 (network_thread started at [ 2141] pbx_dundi.c start_network_thread()) === ------------------------------------------------------------------- === === Thread ID: 1076443456 (process_precache started at [ 2142] pbx_dundi.c start_network_thread()) === ------------------------------------------------------------------- === === Thread ID: 1076689216 (iax2_process_thread started at [ 8664] chan_iax2.c start_network_thread()) === ------------------------------------------------------------------- === === Thread ID: 1076934976 (iax2_process_thread started at [ 8664] chan_iax2.c start_network_thread()) === ------------------------------------------------------------------- === === Thread ID: 1077180736 (iax2_process_thread started at [ 8664] chan_iax2.c start_network_thread()) === ------------------------------------------------------------------- === === Thread ID: 1077426496 (iax2_process_thread started at [ 8664] chan_iax2.c start_network_thread()) === ------------------------------------------------------------------- === === Thread ID: 1077672256 (iax2_process_thread started at [ 8664] chan_iax2.c start_network_thread()) === ------------------------------------------------------------------- === === Thread ID: 1077918016 (iax2_process_thread started at [ 8664] chan_iax2.c start_network_thread()) === ------------------------------------------------------------------- === === Thread ID: 1078655296 (iax2_process_thread started at [ 8664] chan_iax2.c start_network_thread()) === ------------------------------------------------------------------- === === Thread ID: 1078409536 (iax2_process_thread started at [ 8664] chan_iax2.c start_network_thread()) === ------------------------------------------------------------------- === === Thread ID: 1078163776 (iax2_process_thread started at [ 8664] chan_iax2.c start_network_thread()) === ------------------------------------------------------------------- === === Thread ID: 1078901056 (iax2_process_thread started at [ 8664] chan_iax2.c start_network_thread()) === ------------------------------------------------------------------- === === Thread ID: 1079638336 (scan_thread started at [ 499] pbx_spool.c load_module()) === ------------------------------------------------------------------- === === Thread ID: 1079392576 (network_thread started at [ 8675] chan_iax2.c start_network_thread()) === ------------------------------------------------------------------- === === Thread ID: 1079146816 (sched_thread started at [ 8674] chan_iax2.c start_network_thread()) === ------------------------------------------------------------------- === === Thread ID: 1080129856 (do_monitor started at [ 1127] chan_phone.c restart_monitor()) === ------------------------------------------------------------------- === === Thread ID: 1079884096 (sla_thread started at [ 4758] app_meetme.c sla_load_config()) === ------------------------------------------------------------------- === === Thread ID: 1080621376 (do_monitor started at [ 4582] chan_skinny.c restart_monitor()) === ------------------------------------------------------------------- === === Thread ID: 1080375616 (accept_thread started at [ 4768] chan_skinny.c reload_config()) === ------------------------------------------------------------------- === === Thread ID: 1080867136 (do_monitor started at [15424] chan_sip.c restart_monitor()) === ---> Lock #0: chan_sip.c 15122 sipsock_read &netlock 0x2aaab5103540 (1) === ---> Lock #1: chan_sip.c 4522 find_call &p->lock 0x2aaab52053a0 (1) === ---> Lock #2: chan_sip.c 15134 sipsock_read &p->owner->lock 0x2aaab524b348 (1) === ---> Lock #3: chan_sip.c 8730 get_sip_pvt_byid_locked &sip_pvt_ptr->lock 0x915340 (1) === ---> Lock #4: chan_sip.c 8750 get_sip_pvt_byid_locked &sip_pvt_ptr->owner->lock 0x81a898 (2) === ---> Lock #5: channel.c 3416 ast_channel_masquerade &clone->lock 0x88d218 (1) === ------------------------------------------------------------------- === === Thread ID: 1081112896 (monitor_sig_flags started at [ 2953] asterisk.c main()) === ------------------------------------------------------------------- === === Thread ID: 1081850176 (autoservice_run started at [ 114] autoservice.c ast_autoservice_start()) === ------------------------------------------------------------------- === === Thread ID: 1087256896 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Lock #0: channel.c 2775 ast_write &chan->lock 0x8ff7b8 (1) === ---> Lock #1: chan_agent.c 564 agent_write &p->lock 0x2aaaafe16b10 (1) === ---> Waiting for Lock #2: channel.c 2775 ast_write &chan->lock 0x81a898 (1) === ------------------------------------------------------------------- === === Thread ID: 1084553536 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 2423 try_calling &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1086028096 (pbx_thread started at [ 2627] pbx.c ast_pbx_start()) === ---> Waiting for Lock #0: channel.c 2186 __ast_read &chan->lock 0x2aaab524b348 (1) === ------------------------------------------------------------------- === === Thread ID: 1084307776 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Lock #0: app_queue.c 2423 try_calling &(&queues)->lock 0x2aaab416d0f0 (1) === ---> Lock #1: app_queue.c 2424 try_calling &qe->parent->lock 0x7719c0 (1) === ---> Waiting for Lock #2: chan_agent.c 1319 agent_request &(&agents)->lock 0x2aaab0c36d70 (1) === ------------------------------------------------------------------- === === Thread ID: 1083324736 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1084062016 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1086273856 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1082833216 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1085045056 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1083816256 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1086765376 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1081358656 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1083078976 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1087994176 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1088239936 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1085782336 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1084799296 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1082587456 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1087748416 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1082095936 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1087502656 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1088485696 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1088731456 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1082341696 (ss_thread started at [ 8807] chan_zap.c pri_dchannel()) === ---> Waiting for Lock #0: app_queue.c 1181 load_realtime_queue &(&queues)->lock 0x2aaab416d0f0 (1) === ------------------------------------------------------------------- === === Thread ID: 1085536576 (netconsole started at [ 997] asterisk.c listener()) === ------------------------------------------------------------------- === === Thread ID: 1086519616 (netconsole started at [ 997] asterisk.c listener()) === ------------------------------------------------------------------- === === Thread ID: 1081604416 (netconsole started at [ 997] asterisk.c listener()) === ------------------------------------------------------------------- === =======================================================================