[Asterisk-Users] Crash - What is happening here???

Matteo Brancaleoni mbrancaleoni at espia.it
Thu Nov 27 09:02:23 MST 2003


Small tutorial:

these errors are too generic to be solved in such way...
"hey my asterisk crashed, why it did?"... there're many
reasons...

First: set "ulimit -c unlimited" on the console
from which * starts, to let it dump cores.
Then start it with 'g' in his parms , like
"asterisk -vvvgc", to enable debugging...
then when it crashed, run gdb on the core and
backtrace it....

also: try to find a way to reproduce the crash.
random crashed aren't very useful...

and... report also asterisk version, kernel, distro,
blah blah blah

Michiel, that message isn't only for you, but
your post triggered my thoughts to "how to report a crash",
for anyone that just jump on th ML and say
"my asterisk crashed. please say me why"...

bye, matteo


Scrive Michiel Betel <michiel at betel.nl>:

> The following transfer led to a crash of asterisk, without leaving a core
> or any utterances in messages or debug file. It looks like the zombie which
> was created during the MASQ-transfer was not cleaned up... But why did 
> it start
> a Dial??? And... why does Asterisk die when this happens??
> 
> Thanks!!!
> 
> Michiel
> 
> -- Zap/32-1 answered Zap/6-1
>     -- Stopped music on hold on Zap/6-1
>     -- Starting simple switch on 'Zap/32-2'
>     -- Started three way call on channel 32
>     -- Started music on hold, class 'default', on Zap/6-1
>     -- Executing Macro("Zap/32-2", "stdexten2|6112|Zap/34|20|tT") in new 
> stack
>     -- Executing SetLanguage("Zap/32-2", "nl") in new stack
>     -- Executing DBget("Zap/32-2", "fwdexten=FEAT/6112/CFWD/CFU") in new 
> stack
>     -- DBget: varname=fwdexten, family=FEAT, key=6112/CFWD/CFU
>     -- DBget: Value not found in database.
>     -- Executing Goto("Zap/32-2", "s|5") in new stack
>     -- Goto (macro-stdexten2,s,5)
>     -- Executing Dial("Zap/32-2", "Zap/34|20|tT") in new stack
>     -- Called 34
>     -- Zap/34-1 is ringing
>     -- Zap/34-1 is ringing
>     -- Stopped music on hold on Zap/6-1
>     -- Hungup 'Zap/6-1<MASQ>'
>     -- Hungup 'Zap/32-1'
>   == Spawn extension (netland_admin, s, 3) exited non-zero on 
> 'Zap/32-2<ZOMBIE>'
>     -- Executing Macro("Zap/32-2<ZOMBIE>", "record-cleanup") in new stack
>     -- Executing SetVar("Zap/32-2<ZOMBIE>", 
> "MONITORDIR=/var/spool/asterisk/monitor") in new stack
>     -- Executing GotoIf("Zap/32-2<ZOMBIE>", "1?5:3") in new stack
>     -- Goto (macro-record-cleanup,s,5)
>     -- Executing NoOp("Zap/32-2<ZOMBIE>", "") in new stack
>     -- Executing ChanIsAvail("Zap/32-2<ZOMBIE>", "Zap/32") in new stack
>     -- Hungup 'Zap/32-1'
>     -- Executing Dial("Zap/32-2<ZOMBIE>", "Zap/32|40|tm") in new stack
>     -- Called 32
>     -- Started music on hold, class 'default', on Zap/32-2<ZOMBIE>
>     -- Zap/32-1 is ringing
>     -- Zap/32-1 is ringing
>     -- Zap/34-1 is ringing
>     -- Zap/34-1 answered Zap/6-1
>     -- Attempting native bridge of Zap/6-1 and Zap/34-1
>     -- Zap/32-1 is ringing
>     -- Zap/32-1 is ringing
>     -- Zap/32-1 is ringing
>     -- Zap/32-1 answered Zap/32-2<ZOMBIE>
>     -- Stopped music on hold on Zap/32-2<ZOMBIE>
> n010205*CLI>
> Disconnected from Asterisk server
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> 


-- 

Matteo Brancaleoni
Espia System Administrator
http://www.espia.it

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Service is provided by Espia - Emmegi Srl - http://www.espia.it.



More information about the asterisk-users mailing list