======================================================================= === Currently Held Locks ============================================== ======================================================================= === === (): (times locked) === === Thread ID: 0x7fd117e8b700 (tps_processing_function started at [ 471] taskprocessor.c ast_taskprocessor_get()) === ---> Lock #0 (pbx.c): MUTEX 5225 handle_statechange &context_merge_lock 0x83f200 (1) main/logger.c:1541 ast_bt_get_addresses() (0x50e8a6+1D) main/lock.c:197 __ast_pthread_mutex_lock() (0x506df7+D8) main/pbx.c:5226 handle_statechange() main/taskprocessor.c:332 tps_processing_function() main/utils.c:1091 dummy_start() nptl/pthread_create.c:304 start_thread() libc.so.6 clone() (0x7fd11dffba10+6D) === ---> Waiting for Lock #1 (pbx.c): MUTEX 11811 ast_rdlock_contexts &conlock 0x83f1c0 (1) main/logger.c:1541 ast_bt_get_addresses() (0x50e8a6+1D) main/lock.c:197 __ast_pthread_mutex_lock() (0x506df7+D8) main/pbx.c:11812 ast_rdlock_contexts() (0x54f95e+23) main/pbx.c:4601 pbx_extension_helper() main/pbx.c:5782 ast_spawn_extension() (0x53b93d+64) main/pbx.c:6256 __ast_pbx_run() main/pbx.c:6587 pbx_thread() main/utils.c:1091 dummy_start() nptl/pthread_create.c:304 start_thread() libc.so.6 clone() (0x7fd11dffba10+6D) === --- ---> Locked Here: pbx.c line 11811 (ast_rdlock_contexts) === ------------------------------------------------------------------- === === Thread ID: 0x7fd0f6595700 (do_monitor started at [28789] chan_sip.c restart_monitor()) === ---> Lock #0 (chan_sip.c): MUTEX 28198 handle_request_do &netlock 0x7fd10d540fa0 (1) main/logger.c:1541 ast_bt_get_addresses() (0x50e8a6+1D) main/lock.c:197 __ast_pthread_mutex_lock() (0x506df7+D8) channels/chan_sip.c:28201 handle_request_do() channels/chan_sip.c:28160 sipsock_read() main/io.c:292 ast_io_wait() (0x500b33+193) channels/chan_sip.c:28756 do_monitor() main/utils.c:1091 dummy_start() nptl/pthread_create.c:304 start_thread() libc.so.6 clone() (0x7fd11dffba10+6D) === ---> Lock #1 (chan_sip.c): MUTEX 9064 sip_pvt_lock_full chan 0xc774570 (1) main/logger.c:1541 ast_bt_get_addresses() (0x50e8a6+1D) main/lock.c:197 __ast_pthread_mutex_lock() (0x506df7+D8) main/astobj2.c:192 __ao2_lock() (0x452ea5+93) channels/chan_sip.c:9065 sip_pvt_lock_full() channels/chan_sip.c:28214 handle_request_do() channels/chan_sip.c:28160 sipsock_read() main/io.c:292 ast_io_wait() (0x500b33+193) channels/chan_sip.c:28756 do_monitor() main/utils.c:1091 dummy_start() nptl/pthread_create.c:304 start_thread() libc.so.6 clone() (0x7fd11dffba10+6D) === ---> Lock #2 (chan_sip.c): MUTEX 9065 sip_pvt_lock_full pvt 0xc429830 (1) main/logger.c:1541 ast_bt_get_addresses() (0x50e8a6+1D) main/lock.c:197 __ast_pthread_mutex_lock() (0x506df7+D8) main/astobj2.c:192 __ao2_lock() (0x452ea5+93) channels/chan_sip.c:9067 sip_pvt_lock_full() channels/chan_sip.c:28214 handle_request_do() channels/chan_sip.c:28160 sipsock_read() main/io.c:292 ast_io_wait() (0x500b33+193) channels/chan_sip.c:28756 do_monitor() main/utils.c:1091 dummy_start() nptl/pthread_create.c:304 start_thread() libc.so.6 clone() (0x7fd11dffba10+6D) === ---> Lock #3 (pbx.c): MUTEX 11811 ast_rdlock_contexts &conlock 0x83f1c0 (1) main/logger.c:1541 ast_bt_get_addresses() (0x50e8a6+1D) main/lock.c:197 __ast_pthread_mutex_lock() (0x506df7+D8) main/pbx.c:11812 ast_rdlock_contexts() (0x54f95e+23) main/pbx.c:4601 pbx_extension_helper() main/pbx.c:5757 ast_exists_extension() (0x53b747+61) channels/chan_sip.c:10655 process_sdp() channels/chan_sip.c:25106 handle_request_invite() channels/chan_sip.c:28019 handle_incoming() channels/chan_sip.c:28227 handle_request_do() channels/chan_sip.c:28160 sipsock_read() main/io.c:292 ast_io_wait() (0x500b33+193) channels/chan_sip.c:28756 do_monitor() main/utils.c:1091 dummy_start() nptl/pthread_create.c:304 start_thread() libc.so.6 clone() (0x7fd11dffba10+6D) === ------------------------------------------------------------------- === === Thread ID: 0x7fd0f59ea700 (autoservice_run started at [ 229] autoservice.c ast_autoservice_start()) === ---> Waiting for Lock #0 (channel.c): MUTEX 3195 ast_waitfor_nandfds c[x] 0xc774570 (1) main/logger.c:1541 ast_bt_get_addresses() (0x50e8a6+1D) main/lock.c:197 __ast_pthread_mutex_lock() (0x506df7+D8) main/astobj2.c:192 __ao2_lock() (0x452ea5+93) main/channel.c:3196 ast_waitfor_nandfds() (0x47fd48+231) main/channel.c:3536 ast_waitfor_n() (0x480a62+40) main/autoservice.c:127 autoservice_run() main/utils.c:1091 dummy_start() nptl/pthread_create.c:304 start_thread() libc.so.6 clone() (0x7fd11dffba10+6D) === --- ---> Locked Here: chan_sip.c line 9064 (sip_pvt_lock_full) === ------------------------------------------------------------------- === === Thread ID: 0x7fd0f5a66700 (pbx_thread started at [ 6612] pbx.c ast_pbx_start()) === ---> Waiting for Lock #0 (channel.c): MUTEX 3853 __ast_read chan 0xc774570 (1) main/logger.c:1541 ast_bt_get_addresses() (0x50e8a6+1D) main/lock.c:197 __ast_pthread_mutex_lock() (0x506df7+D8) main/astobj2.c:192 __ao2_lock() (0x452ea5+93) main/channel.c:3196 ast_waitfor_nandfds() (0x47fd48+231) main/channel.c:3536 ast_waitfor_n() (0x480a62+40) main/autoservice.c:127 autoservice_run() main/utils.c:1091 dummy_start() nptl/pthread_create.c:304 start_thread() libc.so.6 clone() (0x7fd11dffba10+6D) === --- ---> Locked Here: chan_sip.c line 9064 (sip_pvt_lock_full) === ------------------------------------------------------------------- === === Thread ID: 0x7fd0f577e700 (pbx_thread started at [ 6612] pbx.c ast_pbx_start()) === ---> Waiting for Lock #0 (pbx.c): MUTEX 11811 ast_rdlock_contexts &conlock 0x83f1c0 (1) main/logger.c:1541 ast_bt_get_addresses() (0x50e8a6+1D) main/lock.c:197 __ast_pthread_mutex_lock() (0x506df7+D8) main/pbx.c:11812 ast_rdlock_contexts() (0x54f95e+23) main/pbx.c:4601 pbx_extension_helper() main/pbx.c:5782 ast_spawn_extension() (0x53b93d+64) main/pbx.c:6256 __ast_pbx_run() main/pbx.c:6587 pbx_thread() main/utils.c:1091 dummy_start() nptl/pthread_create.c:304 start_thread() libc.so.6 clone() (0x7fd11dffba10+6D) === --- ---> Locked Here: pbx.c line 11811 (ast_rdlock_contexts) === ------------------------------------------------------------------- === =======================================================================