Is the crash reproducable?

If so, please:

  apt-get install asterisk-dbg

and add the following to /etc/default/asterisk :

AST_DUMPCORE=yes
CORE_PATTERN='/tmp/core.%e.%t'

Note that it is recommended to remove those settings from your asterisk
defaults file once you're done debugging, as the the second one affect
core dumping of every process: not just Asterisk.

If asterisk segfaults it will now dump a core file under
/tmp/core.asterisk.TIME_OF_CRASH (TIME_OF_CRASH: seconds since
1.1.1970).

If Asterisk crashes again, you'll get a core file. Please install gdb:

  apt-get install gdb

and then run:

  gdb -c /tmp/core.asterisk.TIME_OF_CRASH /usr/sbin/asterisk

In the prompt of gdb, write:

  bt
  bt full

and include the output.

-- 
               Tzafrir Cohen       
icq#16849755              jabber:[EMAIL PROTECTED]
+972-50-7952406           mailto:[EMAIL PROTECTED]       
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to