понедельник, 23 марта 2015 г.

Отладка freeswitch

1)
сd /usr/src/freeswitch

gdb /usr/bin/freeswitch core.*

2)
service freeswitch stop
gdb
set logging file /tmp/freeswitch-gdb.log
set logging on

handle SIG33 nostop noprint noignore pass
run -u freeswitch -g daemon -nonat -c

set pagination off
info threads
bt
bt full
thread apply all bt
thread apply all bt full

Итог в jira.freeswitch.org, вывод или просто аттачем, или через pastebin.freeswitch.org

Перед этим ставим freeswitch-debuginfo, если ставилось пакетом.

Также полезные опции
sofia global siptrace on
sofia loglevel all 9
sofia tracelevel alert
console loglevel debug
fsctl debug_level 10

https://freeswitch.org/confluence/display/FREESWITCH/Debugging

Комментариев нет:

Отправить комментарий