diff options
author | Mark Michelson <mmichelson@digium.com> | 2008-05-23 22:35:50 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2008-05-23 22:35:50 +0000 |
commit | 975a848b6783091108c861ee1015cb89fc85f7fe (patch) | |
tree | c8d0825b33b156cc9ea02bc81363305f700e8393 /CHANGES | |
parent | 1457c99ea87ab1a5162c7ca07f9fbd446858bd69 (diff) |
A new feature thanks to the fine folks at Switchvox!
If a deadlock is detected, then the typical lock information will be
printed along with a backtrace of the stack for the offending threads.
Use of this requires compiling with DETECT_DEADLOCKS and having glibc
installed.
Furthermore, issuing the "core show locks" CLI command will print the
normal lock information as well as a backtraces for each lock. This
requires that DEBUG_THREADS is enabled and that glibc is installed.
All the backtrace features may be disabled by running the configure
script with --without-execinfo as an argument
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@118173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -744,3 +744,9 @@ Miscellaneous turned on, via the CHANNEL(trace) dialplan function. Could be useful for dialplan debugging. * iLBC source code no longer included (see UPGRADE.txt for details) + * If compiled with DETECT_DEADLOCKS enabled and if you have glibc, then if + deadlock is detected, a backtrace of the stack which led to the lock calls + will be output to the CLI. + * If compiled with DEBUG_THREADS enabled and if you have glibc, then issuing + the "core show locks" CLI command will give lock information output as well + as a backtrace of the stack which led to the lock calls. |