[Asterisk-Dev] deadlock / can't debug

Matthew Boehm mboehm at cytelcom.com
Mon Jan 31 13:45:38 MST 2005


I reached a point again with chan_agent and app_queue where agents are not
able to login/logoff and channels just get created and never destroyed.
"soft hangup <channel>" doesn't do anything at all.

So I did this:

[root at asterisk cytrex]# gdb /usr/sbin/asterisk 5658
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
Attaching to program: /usr/sbin/asterisk, process 5658
thread apply all bt


Never got anything back from gdb. Didn't even get gdb's cli.

any other methods for debuging?

-Matthew




More information about the asterisk-dev mailing list