[asterisk-bugs] [Asterisk 0018968]: [patch] 'core show locks' should show Thread ID in HEX, then would match up with GDB's backtrace
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Mar 14 20:36:27 CDT 2011
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18968
======================================================================
Reported By: alecdavis
Assigned To: alecdavis
======================================================================
Project: Asterisk
Issue ID: 18968
Category: General
Reproducibility: always
Severity: tweak
Priority: normal
Status: closed
Asterisk Version: 1.8.2.3
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2011-03-13 22:30 CDT
Last Modified: 2011-03-14 20:36 CDT
======================================================================
Summary: [patch] 'core show locks' should show Thread ID in
HEX, then would match up with GDB's backtrace
Description:
=== Thread ID: -1227080816 (tps_processing_function started at [ 451]
taskprocessor.c ast_taskprocessor_get())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (pbx.c): MUTEX 9911
ast_rdlock_contexts &conlock
0x8217820 (1)
/usr/sbin/asterisk(ast_bt_get_addresses+0x19) [0x811e716]
Thread 40 (Thread 0xb6dc3b90 (LWP 31215)):
https://issues.asterisk.org/view.php?id=0 0xb77e3424 in __kernel_vsyscall ()
https://issues.asterisk.org/view.php?id=1 0xb7396c99 in __lll_lock_wait () from
/lib/i686/cmov/libpthread.so.0
https://issues.asterisk.org/view.php?id=2 0xb73920d3 in _L_lock_291 () from
/lib/i686/cmov/libpthread.so.0
https://issues.asterisk.org/view.php?id=3 0xb7391b36 in pthread_mutex_lock ()
from
/lib/i686/cmov/libpthread.so.0
https://issues.asterisk.org/view.php?id=4 0xb75ceb36 in pthread_mutex_lock ()
from /lib/i686/cmov/libc.so.6
https://issues.asterisk.org/view.php?id=5 0x08118112 in
__ast_pthread_mutex_lock (filename=0xb67e4594
"chan_sip.c", lineno=13591, func=0xb67ecdaa "cb_extensionstate",
mutex_name=0xb67e5ff9 "p",
t=0xaf0a3458) at lock.c:230
https://issues.asterisk.org/view.php?id=6 0x08085888 in __ao2_lock
(user_data=0xaf0a3a90, file=0xb67e4594
"chan_sip.c", func=0xb67ecdaa "cb_extensionstate", line=13591,
var=0xb67e5ff9 "p")
at astobj2.c:157
https://issues.asterisk.org/view.php?id=7 0xb678841a in cb_extensionstate
(context=0x9221030 "trusted",
exten=0x9260614 "8520", state=0, data=0xaf0a3a90) at chan_sip.c:13591
https://issues.asterisk.org/view.php?id=8 0x0813fc29 in handle_statechange
(datap=0xaebf4c00) at pbx.c:4289
https://issues.asterisk.org/view.php?id=9 0x08183deb in tps_processing_function
(data=0xb6e02558) at
taskprocessor.c:310
https://issues.asterisk.org/view.php?id=10 0x081950be in dummy_start
(data=0xb6e00d90) at utils.c:970
https://issues.asterisk.org/view.php?id=11 0xb73904c0 in start_thread () from
/lib/i686/cmov/libpthread.so.0
https://issues.asterisk.org/view.php?id=12 0xb75c084e in clone () from
/lib/i686/cmov/libc.so.6
======================================================================
----------------------------------------------------------------------
(0132928) svnbot (reporter) - 2011-03-14 20:36
https://issues.asterisk.org/view.php?id=18968#c132928
----------------------------------------------------------------------
Repository: asterisk
Revision: 310833
_U trunk/
U trunk/main/utils.c
------------------------------------------------------------------------
r310833 | alecdavis | 2011-03-14 20:36:27 -0500 (Mon, 14 Mar 2011) | 16
lines
Merged revisions 310781 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r310781 | alecdavis | 2011-03-15 14:00:55 +1300 (Tue, 15 Mar 2011) | 10
lines
core show locks: display ThreadID in hexadecimal
Allow easier cross referencing of thread ID's with GDB backtraces
(closes issue https://issues.asterisk.org/view.php?id=18968)
Reported by: alecdavis
Patches:
bug18968.diff.txt uploaded by alecdavis (license 585)
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=310833
Issue History
Date Modified Username Field Change
======================================================================
2011-03-14 20:36 svnbot Checkin
2011-03-14 20:36 svnbot Note Added: 0132928
======================================================================
More information about the asterisk-bugs
mailing list