======================================================================= === 1.8.32.3 === Currently Held Locks ======================================================================= === === (): (times locked) === === Thread ID: 0xb6effb70 (tps_processing_function started at [ 468] taskprocessor.c ast_taskprocessor_get()) === ---> Lock #0 (pbx.c): MUTEX 4906 handle_statechange &context_merge_lock 0x82c25a0 (1) main/logger.c:1321 ast_bt_get_addresses() (0x811c8f6+19) main/lock.c:218 __ast_pthread_mutex_lock() (0x8116292+87) main/pbx.c:4907 handle_statechange() main/taskprocessor.c:329 tps_processing_function() main/utils.c:1173 dummy_start() pthread_create.c:0 start_thread() :0 __clone() (0x349a90+5E) === ---> Lock #1 (chan_sip.c): MUTEX 15101 cb_extensionstate p 0xb4fb8be0 (1) main/logger.c:1321 ast_bt_get_addresses() (0x811c8f6+19) main/lock.c:218 __ast_pthread_mutex_lock() (0x8116292+87) main/astobj2.c:173 __ao2_lock() (0x808357a+48) channels/chan_sip.c:15103 cb_extensionstate() main/pbx.c:4971 handle_statechange() main/taskprocessor.c:329 tps_processing_function() main/utils.c:1173 dummy_start() pthread_create.c:0 start_thread() :0 __clone() (0x349a90+5E) === ---> Lock #2 (astobj2.c): MUTEX 673 internal_ao2_callback c 0x94d76b0 (1) main/logger.c:1321 ast_bt_get_addresses() (0x811c8f6+19) main/lock.c:218 __ast_pthread_mutex_lock() (0x8116292+87) main/astobj2.c:173 __ao2_lock() (0x808357a+48) main/astobj2.c:675 internal_ao2_callback() main/astobj2.c:800 __ao2_callback_data() (0x8084634+55) main/channel.c:1638 ast_channel_callback() (0x80a7ae4+2F) channels/chan_sip.c:13099 state_notify_build_xml() channels/chan_sip.c:13297 transmit_state_notify() channels/chan_sip.c:15117 cb_extensionstate() main/pbx.c:4971 handle_statechange() main/taskprocessor.c:329 tps_processing_function() main/utils.c:1173 dummy_start() pthread_create.c:0 start_thread() :0 __clone() (0x349a90+5E) === ---> Waiting for Lock #3 (chan_sip.c): MUTEX 12954 find_calling_channel c 0xb68afbf0 (1) main/logger.c:1321 ast_bt_get_addresses() (0x811c8f6+19) main/lock.c:218 __ast_pthread_mutex_lock() (0x8116292+87) main/astobj2.c:173 __ao2_lock() (0x808357a+48) channels/chan_sip.c:12956 find_calling_channel() main/astobj2.c:683 internal_ao2_callback() main/astobj2.c:800 __ao2_callback_data() (0x8084634+55) main/channel.c:1638 ast_channel_callback() (0x80a7ae4+2F) channels/chan_sip.c:13099 state_notify_build_xml() channels/chan_sip.c:13297 transmit_state_notify() channels/chan_sip.c:15117 cb_extensionstate() main/pbx.c:4971 handle_statechange() main/taskprocessor.c:329 tps_processing_function() main/utils.c:1173 dummy_start() pthread_create.c:0 start_thread() :0 __clone() (0x349a90+5E) === --- ---> Locked Here: channel.c line 3853 (__ast_read) === ------------------------------------------------------------------- === === Thread ID: 0xb6ac3b70 (do_monitor started at [26734] chan_sip.c restart_monitor()) === ---> Lock #0 (chan_sip.c): MUTEX 26189 handle_request_do &netlock 0xf79c80 (1) main/logger.c:1321 ast_bt_get_addresses() (0x811c8f6+19) main/lock.c:218 __ast_pthread_mutex_lock() (0x8116292+87) channels/chan_sip.c:26192 handle_request_do() channels/chan_sip.c:26149 sipsock_read() main/io.c:292 ast_io_wait() (0x8110b70+144) channels/chan_sip.c:26701 do_monitor() main/utils.c:1173 dummy_start() pthread_create.c:0 start_thread() :0 __clone() (0x349a90+5E) === ---> Waiting for Lock #1 (astobj2.c): MUTEX 509 internal_ao2_link c 0x94d76b0 (1) main/logger.c:1321 ast_bt_get_addresses() (0x811c8f6+19) main/lock.c:218 __ast_pthread_mutex_lock() (0x8116292+87) main/astobj2.c:173 __ao2_lock() (0x808357a+48) main/astobj2.c:863 internal_ao2_iterator_next() main/astobj2.c:936 __ao2_iterator_next() (0x8084b70+26) main/channel.c:1718 ast_channel_iterator_next() (0x80a7d85+14) main/cli.c:900 handle_chanlist() main/cli.c:2571 ast_cli_command_full() (0x80c6e97+217) main/cli.c:2595 ast_cli_command_multiple_full() (0x80c715c+67) main/asterisk.c:1329 netconsole() main/utils.c:1173 dummy_start() pthread_create.c:0 start_thread() :0 __clone() (0x349a90+5E) === --- ---> Locked Here: astobj2.c line 673 (internal_ao2_callback) === ------------------------------------------------------------------- === === Thread ID: 0xb634bb70 (pbx_thread started at [ 5851] pbx.c ast_pbx_start()) === ---> Waiting for Lock #0 (astobj2.c): MUTEX 673 internal_ao2_callback c 0x94d76b0 (1) main/logger.c:1321 ast_bt_get_addresses() (0x811c8f6+19) main/lock.c:218 __ast_pthread_mutex_lock() (0x8116292+87) main/astobj2.c:173 __ao2_lock() (0x808357a+48) main/astobj2.c:863 internal_ao2_iterator_next() main/astobj2.c:936 __ao2_iterator_next() (0x8084b70+26) main/channel.c:1718 ast_channel_iterator_next() (0x80a7d85+14) main/cli.c:900 handle_chanlist() main/cli.c:2571 ast_cli_command_full() (0x80c6e97+217) main/cli.c:2595 ast_cli_command_multiple_full() (0x80c715c+67) main/asterisk.c:1329 netconsole() main/utils.c:1173 dummy_start() pthread_create.c:0 start_thread() :0 __clone() (0x349a90+5E) === --- ---> Locked Here: astobj2.c line 673 (internal_ao2_callback) === ------------------------------------------------------------------- === === Thread ID: 0xb55ffb70 (pbx_thread started at [ 5851] pbx.c ast_pbx_start()) === ---> Lock #0 (channel.c): MUTEX 3853 __ast_read chan 0xb68afbf0 (1) main/logger.c:1321 ast_bt_get_addresses() (0x811c8f6+19) main/lock.c:218 __ast_pthread_mutex_lock() (0x8116292+87) main/astobj2.c:173 __ao2_lock() (0x808357a+48) main/channel.c:3856 __ast_read() main/channel.c:4386 ast_read() (0x80aecb3+19) apps/app_queue.c:3918 wait_for_answer() apps/app_queue.c:4934 try_calling() apps/app_queue.c:6374 queue_exec() main/pbx.c:1479 pbx_exec() (0x81355b2+1D0) main/pbx.c:4739 pbx_extension_helper() main/pbx.c:5382 ast_spawn_extension() (0x81408ec+53) main/pbx.c:5484 __ast_pbx_run() main/pbx.c:5826 pbx_thread() main/utils.c:1173 dummy_start() pthread_create.c:0 start_thread() :0 __clone() (0x349a90+5E) === ------------------------------------------------------------------- === === Thread ID: 0xb6387b70 (pbx_thread started at [ 5851] pbx.c ast_pbx_start()) === ---> Waiting for Lock #0 (channel.c): MUTEX 1448 __ast_queue_frame chan 0xb68afbf0 (1) main/logger.c:1321 ast_bt_get_addresses() (0x811c8f6+19) main/lock.c:218 __ast_pthread_mutex_lock() (0x8116292+87) main/astobj2.c:173 __ao2_lock() (0x808357a+48) channels/chan_sip.c:12956 find_calling_channel() main/astobj2.c:683 internal_ao2_callback() main/astobj2.c:800 __ao2_callback_data() (0x8084634+55) main/channel.c:1638 ast_channel_callback() (0x80a7ae4+2F) channels/chan_sip.c:13099 state_notify_build_xml() channels/chan_sip.c:13297 transmit_state_notify() channels/chan_sip.c:15117 cb_extensionstate() main/pbx.c:4971 handle_statechange() main/taskprocessor.c:329 tps_processing_function() main/utils.c:1173 dummy_start() pthread_create.c:0 start_thread() :0 __clone() (0x349a90+5E) === --- ---> Locked Here: channel.c line 3853 (__ast_read) === ------------------------------------------------------------------- === === Thread ID: 0xb48c3b70 (netconsole started at [ 1434] asterisk.c listener()) === ---> Waiting for Lock #0 (astobj2.c): MUTEX 858 internal_ao2_iterator_next a->c 0x94d76b0 (1) main/logger.c:1321 ast_bt_get_addresses() (0x811c8f6+19) main/lock.c:218 __ast_pthread_mutex_lock() (0x8116292+87) main/astobj2.c:173 __ao2_lock() (0x808357a+48) main/astobj2.c:863 internal_ao2_iterator_next() main/astobj2.c:936 __ao2_iterator_next() (0x8084b70+26) main/channel.c:1718 ast_channel_iterator_next() (0x80a7d85+14) main/cli.c:900 handle_chanlist() main/cli.c:2571 ast_cli_command_full() (0x80c6e97+217) main/cli.c:2595 ast_cli_command_multiple_full() (0x80c715c+67) main/asterisk.c:1329 netconsole() main/utils.c:1173 dummy_start() pthread_create.c:0 start_thread() :0 __clone() (0x349a90+5E) === --- ---> Locked Here: astobj2.c line 673 (internal_ao2_callback) === ------------------------------------------------------------------- === === Thread ID: 0xb5587b70 (netconsole started at [ 1434] asterisk.c listener()) === ---> Waiting for Lock #0 (astobj2.c): MUTEX 858 internal_ao2_iterator_next a->c 0x94d76b0 (1) main/logger.c:1321 ast_bt_get_addresses() (0x811c8f6+19) main/lock.c:218 __ast_pthread_mutex_lock() (0x8116292+87) main/astobj2.c:173 __ao2_lock() (0x808357a+48) main/astobj2.c:863 internal_ao2_iterator_next() main/astobj2.c:936 __ao2_iterator_next() (0x8084b70+26) main/channel.c:1718 ast_channel_iterator_next() (0x80a7d85+14) main/cli.c:900 handle_chanlist() main/cli.c:2571 ast_cli_command_full() (0x80c6e97+217) main/cli.c:2595 ast_cli_command_multiple_full() (0x80c715c+67) main/asterisk.c:1329 netconsole() main/utils.c:1173 dummy_start() pthread_create.c:0 start_thread() :0 __clone() (0x349a90+5E) === --- ---> Locked Here: astobj2.c line 673 (internal_ao2_callback) === ------------------------------------------------------------------- === =======================================================================