======================================================================= === Currently Held Locks ============================================== ======================================================================= === === (): (times locked) === === Thread ID: 0x4135e940 (pbx_thread started at [ 5203] pbx.c ast_pbx_start()) === ---> Lock #0 (chan_sip.c): MUTEX 6846 sip_new tmp 0x13891f80 (1) asterisk ast_bt_get_addresses() (0x4f277e+1A) asterisk __ast_pthread_mutex_lock() (0x4eafa3+F6) asterisk __ao2_lock() (0x447b4e+53) chan_sip.so () chan_sip.so () asterisk ast_request() (0x47c34b+2B3) app_queue.so () app_queue.so () app_queue.so () app_queue.so () asterisk pbx_exec() (0x50deee+1F1) res_agi.so () res_agi.so () res_agi.so () res_agi.so () res_agi.so () asterisk pbx_exec() (0x50deee+1F1) asterisk () asterisk ast_spawn_extension() (0x51a229+64) asterisk () asterisk () asterisk () libpthread.so.0 () libc.so.6 clone() (0x3158cd3bc0+6D) === ---> Lock #1 (chan_sip.c): MUTEX 6847 sip_new i 0x139b8120 (1) asterisk ast_bt_get_addresses() (0x4f277e+1A) asterisk __ast_pthread_mutex_lock() (0x4eafa3+F6) asterisk __ao2_lock() (0x447b4e+53) chan_sip.so () chan_sip.so () asterisk ast_request() (0x47c34b+2B3) app_queue.so () app_queue.so () app_queue.so () app_queue.so () asterisk pbx_exec() (0x50deee+1F1) res_agi.so () res_agi.so () res_agi.so () res_agi.so () res_agi.so () asterisk pbx_exec() (0x50deee+1F1) asterisk () asterisk ast_spawn_extension() (0x51a229+64) asterisk () asterisk () asterisk () libpthread.so.0 () libc.so.6 clone() (0x3158cd3bc0+6D) === ---> Waiting for Lock #2 (pbx.c): MUTEX 10160 ast_rdlock_contexts &conlock 0x8a52a0 (1) asterisk ast_bt_get_addresses() (0x4f277e+1A) asterisk __ast_pthread_mutex_lock() (0x4eafa3+F6) asterisk ast_rdlock_contexts() (0x52eab9+23) asterisk () asterisk ast_exists_extension() (0x51a039+61) chan_sip.so () chan_sip.so () asterisk ast_request() (0x47c34b+2B3) app_queue.so () app_queue.so () app_queue.so () app_queue.so () asterisk pbx_exec() (0x50deee+1F1) res_agi.so () res_agi.so () res_agi.so () res_agi.so () res_agi.so () asterisk pbx_exec() (0x50deee+1F1) asterisk () asterisk ast_spawn_extension() (0x51a229+64) asterisk () asterisk () asterisk () libpthread.so.0 () libc.so.6 clone() (0x3158cd3bc0+6D) === --- ---> Locked Here: pbx.c line 10155 (ast_wrlock_contexts) === ------------------------------------------------------------------- === === Thread ID: 0x41dbe940 (netconsole started at [ 1351] asterisk.c listener()) === ---> Lock #0 (pbx.c): MUTEX 7252 ast_merge_contexts_and_delete &context_merge_lock 0x8a52e0 (1) asterisk ast_bt_get_addresses() (0x4f277e+1A) asterisk __ast_pthread_mutex_lock() (0x4eafa3+F6) asterisk ast_merge_contexts_and_delete() (0x52478b+9B) pbx_config.so () pbx_config.so () asterisk ast_cli_command_full() (0x493267+21F) asterisk ast_cli_command_multiple_full() (0x493579+B7) asterisk () asterisk () libpthread.so.0 () libc.so.6 clone() (0x3158cd3bc0+6D) === ---> Lock #1 (pbx.c): MUTEX 10155 ast_wrlock_contexts &conlock 0x8a52a0 (1) asterisk ast_bt_get_addresses() (0x4f277e+1A) asterisk __ast_pthread_mutex_lock() (0x4eafa3+F6) asterisk ast_wrlock_contexts() (0x52ea94+23) asterisk ast_merge_contexts_and_delete() (0x52478b+A0) pbx_config.so () pbx_config.so () asterisk ast_cli_command_full() (0x493267+21F) asterisk ast_cli_command_multiple_full() (0x493579+B7) asterisk () asterisk () libpthread.so.0 () libc.so.6 clone() (0x3158cd3bc0+6D) === ---> Lock #2 (pbx.c): MUTEX 7260 ast_merge_contexts_and_delete hints 0x12993090 (1) asterisk ast_bt_get_addresses() (0x4f277e+1A) asterisk __ast_pthread_mutex_lock() (0x4eafa3+F6) asterisk __ao2_lock() (0x447b4e+53) asterisk ast_merge_contexts_and_delete() (0x52478b+117) pbx_config.so () pbx_config.so () asterisk ast_cli_command_full() (0x493267+21F) asterisk ast_cli_command_multiple_full() (0x493579+B7) asterisk () asterisk () libpthread.so.0 () libc.so.6 clone() (0x3158cd3bc0+6D) === ---> Lock #3 (astobj2.c): MUTEX 657 internal_ao2_callback c 0x12e84f20 (1) asterisk ast_bt_get_addresses() (0x4f277e+1A) asterisk __ast_pthread_mutex_lock() (0x4eafa3+F6) asterisk __ao2_lock() (0x447b4e+53) asterisk () asterisk __ao2_callback() (0x448e51+59) asterisk __ao2_find() (0x448fd8+2B) asterisk () asterisk ast_channel_get_by_name_prefix() (0x4705e9+27) asterisk ast_parse_device_state() (0x4a494b+6E) asterisk () asterisk ast_device_state() (0x4a4d48+1A) asterisk () asterisk () asterisk () asterisk () asterisk () asterisk ast_merge_contexts_and_delete() (0x52478b+581) pbx_config.so () pbx_config.so () asterisk ast_cli_command_full() (0x493267+21F) asterisk ast_cli_command_multiple_full() (0x493579+B7) asterisk () asterisk () libpthread.so.0 () libc.so.6 clone() (0x3158cd3bc0+6D) === ---> Waiting for Lock #4 (channel.c): MUTEX 1691 ast_channel_cmp_cb chan 0x13891f80 (1) asterisk ast_bt_get_addresses() (0x4f277e+1A) asterisk __ast_pthread_mutex_lock() (0x4eafa3+F6) asterisk __ao2_lock() (0x447b4e+53) asterisk () asterisk () asterisk __ao2_callback() (0x448e51+59) asterisk __ao2_find() (0x448fd8+2B) asterisk () asterisk ast_channel_get_by_name_prefix() (0x4705e9+27) asterisk ast_parse_device_state() (0x4a494b+6E) asterisk () asterisk ast_device_state() (0x4a4d48+1A) asterisk () asterisk () asterisk () asterisk () asterisk () asterisk ast_merge_contexts_and_delete() (0x52478b+581) pbx_config.so () pbx_config.so () asterisk ast_cli_command_full() (0x493267+21F) asterisk ast_cli_command_multiple_full() (0x493579+B7) asterisk () asterisk () libpthread.so.0 () libc.so.6 clone() (0x3158cd3bc0+6D) === --- ---> Locked Here: chan_sip.c line 6846 (sip_new) === ------------------------------------------------------------------- === =======================================================================