Summary: | ASTERISK-20656: Deadlock in pthread | ||
Reporter: | Michael Cramer (micc) | Labels: | |
Date Opened: | 2012-11-06 19:25:28.000-0600 | Date Closed: | 2012-11-06 19:30:26.000-0600 |
Priority: | Critical | Regression? | |
Status: | Closed/Complete | Components: | |
Versions: | 11.0.0 | Frequency of Occurrence | Frequent |
Related Issues: | |||
Environment: | CentOS 5.8 Xen | Attachments: | |
Description: | I believe I hit this lock a number of times today. Not sure what caused it. There are 31 sip peers on this server. There are 10 phones that subscribe to a lot of blf hints, custom hints. There is a big use of ConfBridge.
======================================================================= === Currently Held Locks ============================================== ======================================================================= === === <pending> <lock#> (<file>): <lock type> <line num> <function> <lock name> <lock addr> (times locked) === === Thread ID: 0x41c86940 (do_timing started at [ 483] res_timing_pthread.c init_timing_thread()) === ---> Lock #0 (astobj2.c): MUTEX 1069 internal_ao2_callback c 0x2aaaaca92030 (1) /usr/sbin/asterisk(ast_bt_get_addresses+0x1a) [0x508c04] /usr/sbin/asterisk(__ast_pthread_mutex_lock+0xf6) [0x500eda] /usr/sbin/asterisk(__ao2_lock+0x97) [0x44de1f] /usr/sbin/asterisk [0x44f6e4] /usr/sbin/asterisk(__ao2_callback+0x59) [0x44fca7] /usr/lib/asterisk/modules/res_timing_pthread.so [0x2aaab735ce91] /usr/sbin/asterisk [0x593a13] /lib64/libpthread.so.0 [0x3b9200677d] /lib64/libc.so.6(clone+0x6d) [0x3b918d33ed] === ---> Lock #1 (res_timing_pthread.c): MUTEX 441 run_timer timer 0x10ca2950 (1) /usr/sbin/asterisk(ast_bt_get_addresses+0x1a) [0x508c04] /usr/sbin/asterisk(__ast_pthread_mutex_lock+0xf6) [0x500eda] /usr/sbin/asterisk(__ao2_lock+0x97) [0x44de1f] /usr/lib/asterisk/modules/res_timing_pthread.so [0x2aaab735cdf1] /usr/sbin/asterisk [0x44f814] /usr/sbin/asterisk(__ao2_callback+0x59) [0x44fca7] /usr/lib/asterisk/modules/res_timing_pthread.so [0x2aaab735ce91] /usr/sbin/asterisk [0x593a13] /lib64/libpthread.so.0 [0x3b9200677d] /lib64/libc.so.6(clone+0x6d) [0x3b918d33ed] === ------------------------------------------------------------------- === ======================================================================= | ||
Comments: | By: Michael Cramer (micc) 2012-11-06 19:30:26.403-0600 I think this could be a problem with a change I made in ConfBridge |