[Asterisk-Users] How to debug core-file
hhandresen
hhandresen at hotmail.com
Sun Jan 23 08:46:17 MST 2005
Hi
I'm running safe_asterisk, but get core-files in /tmp - how do I debug
them ?
I know gdb asterisk core.12370
and bt full
But it didn't show anything usefull for me.
Can anyone help me ?
(Running asterisk 1.0.2 with ast_data
/Hans-Henrik
-----------------
Last from bt full:
priority=200, callerid=0x81b8e90 "Dial", action=1134845864) at
pbx.c:1384
e = (struct ast_exten *) 0x81bdcf0
sw = (struct ast_switch *) 0x0
data = 0x0
newstack = 1
res = 1134845864
status = 4
incstack = {0x0 <repeats 23 times>, 0x40000000 <Address
0x40000000 out of bounds>, 0x4025ba20 "", 0x0, 0x0, 0x8fd0ee8
"1106487988.3352",
0x43a4775c "1106487988.3352", 0x43a45fa8 "SIP/000b82027e34-0205",
0x46600d84 "ä\016`Ft\214\a\b¨_¤C", 0x808f25f "\213\233à\003",
0x8fd0ee8 "1106487988.3352", 0x43a4775c "1106487988.3352", 0x1f
<Address 0x1f out of bounds>, 0x4025ba20 "", 0x0, 0x0, 0x0, 0x400382ae
"\201ÃÞC", 0x0,
0x4025ba20 "", 0x46600d1c "000b82027e34", 0x0, 0x62303030 <Address
0x62303030 out of bounds>, 0x32303238 <Address 0x32303238 out of bounds>,
0x34336537 <Address 0x34336537 out of bounds>, 0x0 <repeats 12
times>, 0x808fcfa "\213\233à\003", 0x8fd0ea8 "´ªóAdö\002", 0x0, 0x0, 0x0}
passdata = "zap/g1/00551138856342|120|rtS(10883)", '\0'
<repeats 8155 times>
stacklen = 0
tmp = "\e[1;36;40mDial\e[0;37;40m\000m\000;40m\00040m", '\0'
<repeats 44 times>
tmp2 = "\e[1;35;40mSIP/000b82027e34-0205\e[0;37;40m", '\0'
<repeats 38 times>
tmp3 =
"\e[1;35;40mzap/g1/00551138856342|120|rtS(10883)\e[0;37;40m\000accountcode:102190|UserID:3456|src:33225075|srcip:217.157.177.77|ConnectPrice:30|PeakPrice:60|RateID:55|CustomerID:30001|DestNameInt:Brazil_São"...
#7 0x08078c74 in ast_pbx_run (c=0x43a45fa8) at pbx.c:1879
digit = 0 '\0'
exten = '\0' <repeats 255 times>
pos = 0
waittime = 1180700108
res = 0
#8 0x080804e1 in pbx_thread (data=0xfffffffc) at pbx.c:2102
No locals.
#9 0x40033f60 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#10 0x40207327 in clone () from /lib/i686/libc.so.6
No symbol table info available.
--------------------------------------------
Last from bt:
(gdb) bt
#0 0x4019f1f9 in free () from /lib/i686/libc.so.6
#1 0x080568bd in ast_frfree (fr=0x4025afd8) at frame.c:222
#2 0x0805fd54 in ast_channel_bridge (c0=0x43a45fa8, c1=0x8873018,
config=0x465fc73c, fo=0x465fbe8c, rc=0x465fbe90) at channel.c:2761
#3 0x4139c878 in ast_bridge_call (chan=0x43a45fa8, peer=0x8873018,
config=0x465fc73c) at res_features.c:342
#4 0x43032239 in dial_exec (chan=0x43a45fa8, data=0x465fc73c) at
app_dial.c:1003
#5 0x08076b11 in pbx_exec (c=0x43a45fa8, app=0x81b8e90,
data=0x465fec6c, newstack=148422744) at pbx.c:471
#6 0x0808009d in pbx_extension_helper (c=0x43a45fa8, context=0x43a46100
"dialout", exten=0x465fec6c "zap/g1/00551138856342|120|rtS(10883)",
priority=200, callerid=0x81b8e90 "Dial", action=1134845864) at
pbx.c:1384
#7 0x08078c74 in ast_pbx_run (c=0x43a45fa8) at pbx.c:1879
#8 0x080804e1 in pbx_thread (data=0xfffffffc) at pbx.c:2102
#9 0x40033f60 in pthread_start_thread () from /lib/i686/libpthread.so.0
#10 0x40207327 in clone () from /lib/i686/libc.so.6
More information about the asterisk-users
mailing list