提交 5fcbbca3 authored 作者: Anthony Minessale's avatar Anthony Minessale

declinatio mortuus obfirmo!

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12277 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 2bbc3c8e
#!/bin/bash
fspid=$(cat /usr/local/freeswitch/log/freeswitch.pid)
gcore -o /usr/local/freeswitch/log/freeswitch.gcore $fspid && \
gdb /usr/local/freeswitch/bin/freeswitch \
-c /usr/local/freeswitch/log/freeswitch.gcore.$fspid \
fspid=$(cat /opt/freeswitch/log/freeswitch.pid)
gcore -o /opt/freeswitch/log/freeswitch.gcore $fspid && \
gdb /opt/freeswitch/bin/freeswitch \
-c /opt/freeswitch/log/freeswitch.gcore.$fspid \
--eval-command='set pagination off' \
--eval-command='bt' \
--eval-command='bt full' \
--eval-command='thread apply all bt' \
--eval-command='thread apply all bt full' \
--eval-command='quit'
#rm /usr/local/freeswitch/log/freeswitch.gcore.$fspid
#rm /opt/freeswitch/log/freeswitch.gcore.$fspid
......@@ -459,7 +459,6 @@ static switch_status_t _find_user(const char *cmd, switch_core_session_t *sessio
end:
if (session || tf) {
stream->write_function(stream, err ? "false" : "true");
switch_xml_free(xml);
} else {
if (err) {
if (host) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论