[asterisk-dev] Lockups in Asterisk 11
Mark Murawski
markm-lists at intellasoft.net
Fri Oct 30 15:04:43 CDT 2015
I'm getting the following lockup very randomly in 11.20. This is pretty
devastating to one of my production systems.
=======================================================================
=== 11.20.0
=== Currently Held Locks
=======================================================================
===
=== <pending> <lock#> (<file>): <lock type> <line num> <function> <lock
name> <lock addr> (times locked)
===
=== Thread ID: 0xb6cffb70 (db_sync_thread started at [ 1018] db.c
astdb_init())
=== ---> Lock #0 (db.c): MUTEX 980 db_sync_thread &dblock 0x8214f60 (1)
main/logger.c:1702 ast_bt_get_addresses() (0x813f3a6+19)
main/lock.c:258 __ast_pthread_mutex_lock() (0x8138607+85)
main/db.c:981 db_sync_thread()
main/utils.c:1223 dummy_start()
:0 start_thread()
libc.so.6 clone() (0xb76e60d0+5E)
=== -------------------------------------------------------------------
===
=== Thread ID: 0xb4fc3b70 (do_monitor started at [29517]
chan_sip.c restart_monitor())
=== ---> Lock #0 (chan_sip.c): MUTEX 28923 handle_request_do &netlock
0xb6190440 (1)
main/logger.c:1702 ast_bt_get_addresses() (0x813f3a6+19)
main/lock.c:258 __ast_pthread_mutex_lock() (0x8138607+85)
channels/chan_sip.c:28926 handle_request_do()
channels/chan_sip.c:28885 sipsock_read()
main/io.c:292 ast_io_wait() (0x8132d08+175)
channels/chan_sip.c:29484 do_monitor()
main/utils.c:1223 dummy_start()
:0 start_thread()
libc.so.6 clone() (0xb76e60d0+5E)
=== ---> Lock #1 (chan_sip.c): MUTEX 8959 sip_pvt_lock_full pvt
0x8391ec8 (1)
main/logger.c:1702 ast_bt_get_addresses() (0x813f3a6+19)
main/lock.c:258 __ast_pthread_mutex_lock() (0x8138607+85)
main/astobj2.c:198 __ao2_lock() (0x80906ad+7C)
channels/chan_sip.c:8960 sip_pvt_lock_full()
channels/chan_sip.c:28939 handle_request_do()
channels/chan_sip.c:28885 sipsock_read()
main/io.c:292 ast_io_wait() (0x8132d08+175)
channels/chan_sip.c:29484 do_monitor()
main/utils.c:1223 dummy_start()
:0 start_thread()
libc.so.6 clone() (0xb76e60d0+5E)
=== ---> Lock #2 (chan_sip.c): MUTEX 17047 register_verify peer
0xb4e44ed8 (1)
main/logger.c:1702 ast_bt_get_addresses() (0x813f3a6+19)
main/lock.c:258 __ast_pthread_mutex_lock() (0x8138607+85)
main/astobj2.c:198 __ao2_lock() (0x80906ad+7C)
channels/chan_sip.c:17048 register_verify()
channels/chan_sip.c:28477 handle_request_register()
channels/chan_sip.c:28785 handle_incoming()
channels/chan_sip.c:28953 handle_request_do()
channels/chan_sip.c:28885 sipsock_read()
main/io.c:292 ast_io_wait() (0x8132d08+175)
channels/chan_sip.c:29484 do_monitor()
main/utils.c:1223 dummy_start()
:0 start_thread()
libc.so.6 clone() (0xb76e60d0+5E)
=== ---> Waiting for Lock #3 (db.c): MUTEX 324 ast_db_put &dblock
0x8214f60 (1)
main/logger.c:1702 ast_bt_get_addresses() (0x813f3a6+19)
main/lock.c:258 __ast_pthread_mutex_lock() (0x8138607+85)
main/db.c:325 ast_db_put() (0x80eeec4+D0)
channels/chan_sip.c:16242 parse_register_contact()
channels/chan_sip.c:17069 register_verify()
channels/chan_sip.c:28477 handle_request_register()
channels/chan_sip.c:28785 handle_incoming()
channels/chan_sip.c:28953 handle_request_do()
channels/chan_sip.c:28885 sipsock_read()
main/io.c:292 ast_io_wait() (0x8132d08+175)
channels/chan_sip.c:29484 do_monitor()
main/utils.c:1223 dummy_start()
:0 start_thread()
libc.so.6 clone() (0xb76e60d0+5E)
=== --- ---> Locked Here: db.c line 980 (db_sync_thread)
=== -------------------------------------------------------------------
===
=== Thread ID: 0xb4485b70 (handle_tcptls_connection started at [ 745]
tcptls.c ast_tcptls_server_root())
=== ---> Waiting for Lock #0 (chan_sip.c): MUTEX 28923 handle_request_do
&netlock 0xb6190440 (1)
main/logger.c:1702 ast_bt_get_addresses() (0x813f3a6+19)
main/lock.c:258 __ast_pthread_mutex_lock() (0x8138607+85)
channels/chan_sip.c:28926 handle_request_do()
channels/chan_sip.c:3045 _sip_tcp_helper_thread()
channels/chan_sip.c:2572 sip_tcp_worker_fn()
main/tcptls.c:694 handle_tcptls_connection()
main/utils.c:1223 dummy_start()
:0 start_thread()
libc.so.6 clone() (0xb76e60d0+5E)
=== --- ---> Locked Here: chan_sip.c line 28923 (handle_request_do)
=== -------------------------------------------------------------------
===
=======================================================================
More information about the asterisk-dev
mailing list