[asterisk-dev] Crash with latest 1.2 svn r43186

Martin Vít vit at lam.cz
Thu Sep 28 01:24:35 MST 2006


Hello developers, pls look at this, craches every time Dial was executed

i'm not making bug on mantis, because this was production pbx and i 
cannot test it there anymore so i dont know yet if i can reproduce this 
on my test box.

(gdb) bt full
#0 ast_translator_free_path (p=0x8) at translate.c:99
pl = (struct ast_trans_pvt *) 0x8
pn = (struct ast_trans_pvt *) 0x8
#1 0x080630ec in set_format (chan=0x813f1d0, fmt=8, rawformat=0x813f5d0, 
format=0x813f2f8, trans=0x813f5c4, direction=1) at channel.c:2399
native = 8
res = 8
__PRETTY_FUNCTION__ = "set_format"
#2 0x080636c9 in ast_channel_make_compatible (chan=0x81ed418, 
peer=0x813f1d0) at channel.c:2422
src = 8
dst = 8
__PRETTY_FUNCTION__ = "ast_channel_make_compatible"
#3 0xb64d373b in dial_exec_full (chan=0x813f1d0, data=0x0, 
peerflags=0xb6163c88) at app_dial.c:399
ch = 0x8 <Address 0x8 out of bounds>
res = 0
u = (struct localuser *) 0x81ccc20
number = 0x8 <Address 0x8 out of bounds>
rest = 0x0
cur = 0x0
privcid = '\0' <repeats 192 times>, 
"\001\000\000\000@<\026¶H\006\034\b\033\000\000\000%\000\000\000(\000\000\000Đń\023\bonne36;40\000\000\200\000\000\000\000\000\000\000\000BC\026\b0,\026¶\000\000\000\000 
\034\026¶"
privintro = '\0' <repeats 1023 times>
outgoing = (struct localuser *) 0x81df5e8
tmp = (struct localuser *) 0x81df5e8
to = 300000
numbusy = 0
numcongestion = 0
numnochan = 0
cause = 0
numsubst = "410", '\0' <repeats 76 times>
restofit = '\0' <repeats 79 times>
cidname = '\0' <repeats 79 times>
toast = '\0' <repeats 79 times>
l = 0x0
privdb_val = 0
calldurationlimit = 0
config = {features_caller = {flags = 0}, features_callee = {flags = 0}, 
start_time = {tv_sec = 0, tv_usec = 0}, feature_timer = 0, timelimit = 
0, play_warning = 0,
warning_freq = 0, warning_sound = 0x0, end_sound = 0x0, start_sound = 
0x0, firstpass = 0, flags = 0}
timelimit = 0
play_warning = 0
warning_freq = 0
warning_sound = 0x8 <Address 0x8 out of bounds>
end_sound = 0x0
start_sound = 0x0
dtmfcalled = 0x0
dtmfcalling = 0x0
var = 0x8 <Address 0x8 out of bounds>
status = "NOANSWER", '\0' <repeats 247 times>
play_to_caller = 0
play_to_callee = 0
sentringing = 0
moh = 0
outbound_group = 0x0
macro_result = 0x0
macro_transfer_dest = 0x0
digit = 0
result = 0
start_time = 1159424961
answer_time = 0
end_time = 0
app = (struct ast_app *) 0x813f1d0
parse = 0xb6162c60 "SIP"
args = {argc = 3, argv = 0xb61634c4, peers = 0xb6162c60 "SIP", timeout = 
0xb6162c68 "300", options = 0xb6162c6c "jtT", url = 0x0}
---Type <return> to continue, or q <return> to quit---bt full[1~
opts = {flags = 1573120}
opt_args = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
__PRETTY_FUNCTION__ = "dial_exec_full"
#4 0xb64d496d in dial_exec (chan=0x8, data=0x8) at app_dial.c:1649
peerflags = {flags = 0}
#5 0x0809204d in pbx_extension_helper (c=0x813f1d0, con=0xb616e730, 
context=0x813f320 "macro-dial_ext", exten=0x813f414 "ss", priority=11, 
label=0x0,
callerid=0xb6167e50 "SIP/410|300|jtT", action=135943472) at pbx.c:553
e = (struct ast_exten *) 0x81843a0
sw = (struct ast_switch *) 0x0
data = 0x0
foundcontext = 0x813f320 "macro-dial_ext"
newstack = 1
res = 135943472
status = 5
incstack = {0x0 <repeats 16 times>, 0x31 <Address 0x31 out of bounds>, 
0xb6169fec "", 0xb7d612a5 "1ö\211µ(˙˙˙\017¶\215Ďţ˙˙\215QŰ\203úS\017\207 d",
0xb616a008 "\026", 0x30 <Address 0x30 out of bounds>, 0xb616a008 "\026", 
0x0, 0x0, 0xffffffd8 <Address 0xffffffd8 out of bounds>,
0xb6170bb0 "°\v\027¶\\\002\032\b°\v\027¶\001", 0x0, 0xffffffe0 <Address 
0xffffffe0 out of bounds>, 0x0 <repeats 13 times>, 0xffffffe4 <Address 
0xffffffe4 out of bounds>,
0x0, 0xb6169f88 "°¤\026¶°¤\026¶°¤\026¶´¤\026¶˙¤\026¶°¤\026¶˙¤\026¶", 0x1 
<Address 0x1 out of bounds>, 0x1 <Address 0x1 out of bounds>,
0x100 <Address 0x100 out of bounds>, 0xb6169aa0 "", 0x0, 0x0, 0x0, 0x0, 
0xb7d7d434 "\201Ă\f;\f", 0x0, 0x0, 0xb7e40f40 "H\036\023",
0xb6169f80 
"\001\200­ű°¤\026¶°¤\026¶°¤\026¶°¤\026¶´¤\026¶˙¤\026¶°¤\026¶˙¤\026¶", 
0xb6169f5c "l \026¶\020\200×·\200\237\026¶lgG¶ \026¶°¤\026¶",
0xb7d7e980 
"\211~\020\213E\024\211~\f\211~\004\205Ŕt$\213U\024\213}đ\211V\024\211~\030\211V\b1É\211\216\230",
0xb6169f80 
"\001\200­ű°¤\026¶°¤\026¶°¤\026¶°¤\026¶´¤\026¶˙¤\026¶°¤\026¶˙¤\026¶", 
0xb616a4b0 "ARG8", 0x3816a4ff <Address 0x3816a4ff out of bounds>, 0x0, 
0xb616a4ff "",
0xb7e40f40 "H\036\023", 0xb647676c "ARG%d", 0xb616a09c "\v", 0xb616a06c 
"ü%\t\b ó\023\b\024ô\023\b\v", 0xb7d78010 
"\213\215\f˙˙˙\211Â9\2150˙˙˙t\t\213µ(˙˙˙Ć\006",
0xb6169f80 
"\001\200­ű°¤\026¶°¤\026¶°¤\026¶°¤\026¶´¤\026¶˙¤\026¶°¤\026¶˙¤\026¶", 
0xb647676c "ARG%d", 0xb616a0a0 " E\032\b", 0xb616a4b0 "ARG8", 0x0,
0xb616a020 "\003gG¶\001", 0xb6169f80 
"\001\200­ű°¤\026¶°¤\026¶°¤\026¶°¤\026¶´¤\026¶˙¤\026¶°¤\026¶˙¤\026¶", 
0xfbad8001 <Address 0xfbad8001 out of bounds>,
0xb616a4b0 "ARG8", 0xb616a4b0 "ARG8", 0xb616a4b0 "ARG8", 0xb616a4b0 
"ARG8", 0xb616a4b4 "", 0xb616a4ff "", 0xb616a4b0 "ARG8", 0xb616a4ff "", 
0x0, 0x0, 0x0, 0x0, 0x0,
0xb616a060 "Đń\023\bŔó\023\bhĄ\026¶ü%\t\b ó\023\b\024ô\023\b\v", 0x0, 
0xb7d81844 "\201Ăüö\v", 0xb6000000 <Address 0xb6000000 out of bounds>, 
0x0, 0x81c54c0 "",
0xb7e41900 "", 0xb7e41948 "", 0xb7e41900 "", 0xffffffff <Address 
0xffffffff out of bounds>, 0x81659d8 "", 0x3 <Address 0x3 out of bounds>,
0x20 <Address 0x20 out of bounds>, 0xb7e41900 "", 0xb7e40f40 
"H\036\023", 0xb7e41900 "", 0x1 <Address 0x1 out of bounds>, 0xb616a028 
"\230ő\023\bůB\f\b",
0xb7d81394 "\211Çe\203=\f", 0xb7e41900 "", 0x16 <Address 0x16 out of 
bounds>, 0x81659f5 "", 0x207e8 <Address 0x207e8 out of bounds>, 0x16 
<Address 0x16 out of bounds>,
0x81f2818 "", 0xb <Address 0xb out of bounds>, 0xb6476703 "MACRO_DEPTH", 
0x1 <Address 0x1 out of bounds>, 0x813f598 "ŕY\026\bŔí\034\b",
0x80c42f9 "\017¶\036\211Á\204Ű\017\225ÂA\017\225Ŕ\017¶Ŕë\027\215t&", 
0xb616a200 "1", 0x1 <Address 0x1 out of bounds>, 0x81659e0 
"°\020\026\bôY\026\bMACRO_DEPTH",
0xb616a058 "\230ő\023\b\224\202G¶Đń\023\bŔó\023\bhĄ\026¶ü%\t\b 
ó\023\b\024ô\023\b\v", 0xb7d80dcb "e\203=\f", 0xb7e41900 "", 0x81659e0 
"°\020\026\bôY\026\bMACRO_DEPTH",
0x81659e0 "°\020\026\bôY\026\bMACRO_DEPTH"}
passdata = "SIP/410|300|jtT", '\0' <repeats 8176 times>
stacklen = 0
tmp = 
"\033[1;36;40mDial\033[0;37;40m\000\000\00040m\000¶@\017ä·óľ\020\bl\177\026¶<\177\026¶\020\200×·P~\026¶óľ\020\bp\177\026¶\000\205\026¶\000\000\000\000đ~\026¶P~\026¶"
tmp2 = 
"\033[1;35;40mmISDN/1-1\033[0;37;40m\000\000\000\033[1;35;40mmISDN/1-1\033[0;37;40m\000\000\0004Ô×·\000\000\000\000\000\000\000\000@\017ä·"
tmp3 = "\033[1;35;40mSIP/410|300|jtT\033[0;37;40m\000 IDvoicemail 
uncond_extension\033[0;37;40m\000om extensions where 
ID=13\033[0;37;40m\000v\033[0;37;40m\000\212_\026¶\002\000\000\000$\036Ř·@\017ä·P\204\026¶ů\000\000\000Ű\035ă·\002\000\000\000\002\000\000\000Ě_\026¶Ď¶Ú·@\017ä·p\204\026¶ů\000\000\000p^\026¶\002\000\000\000\002\000\000\000ě_\026¶Ď¶Ú·"...
atmp = 
"\000\000\000\000\000\000\000\000˙˙˙˙Î]\026¶\000\000\000\000\002", '\0' 
<repeats 11 times>, 
"\234ĺ\025\b\b\000\000\000\000G\023\b\b\000\000\000@´ă·Ű\035ă·\224ĺ\025\bô\037\000\000\\\fă·Č`\026¶@\017ä·ř`20"
atmp2 = "8l\034\b\001\000\000\000đÚ\027\b\000\000\000\000\005", '\0' 
<repeats 11 times>, " ó\023\b", '\0' <repeats 28 times>, 
"\002\000\000\000\002", '\0' <repeats 39 times>, 
"o\231Ó·Î\035ă·\000\000\000\000\000\000\000\000TZ\000\000\000\000\000\000@\017ä·8A\026\000Đ\202\023\bô=\026¶\000\000\000\000\000\000\000\000˙˙˙˙î=\026¶\000\000\000\000\002", 
'\0' <repeats 11 times>, 
"\234ĺ\025\b\b\000\000\000\000G\023\b\b\000\000\000@´ă·", '\0' <repeats 
32 times>, "Ű\035ă·", '\0' <repeats 16 times>, 
"@\017ä·8A20@´ă·@\017ä·\\\fă·8A\026¶x?\026¶\203"...
__PRETTY_FUNCTION__ = "pbx_extension_helper"
#6 0x080925fc in ast_spawn_extension (c=0x8, context=0x8 <Address 0x8 
out of bounds>, exten=0x8 <Address 0x8 out of bounds>, priority=8,
callerid=0x8 <Address 0x8 out of bounds>) at pbx.c:2230
No locals.
#7 0xb64758ec in macro_exec (chan=0x813f1d0, data=0x813f1d0) at 
app_macro.c:215
uc = (struct localuser *) 0x8
ul = (struct localuser *) 0x813f1d0
tmp = 0x8 <Address 0x8 out of bounds>
rest = 0x0
fullmacro = 
"macro-dial_ext\000\000%\000\000\000(\000\000\000Đń\023\b\000\000\000\00036;40\000\000\000\000\000\000\000\000Ą\026¶\nĄ\026¶\001", 
'\0' <repeats 11 times>, "Đń\023\b0ç\026¶Ö\215Ř·äçî·"
varname = "ARG8", '\0' <repeats 75 times>
oldargs = {0x0 <repeats 81 times>}
argc = 9
---Type <return> to continue, or q <return> to quit---
x = 135524816
res = 0
oldexten = "410", '\0' <repeats 252 times>
oldpriority = 1
pc = "1", '\0' <repeats 78 times>
depthc = "1\000\000\000\000\000\000\000\000\000\000"
oldcontext = "inRoute-1", '\0' <repeats 70 times>
offsets = 0x8 <Address 0x8 out of bounds>
s = 0x8 <Address 0x8 out of bounds>
offset = 0
depth = 0
maxdepth = 7
setmacrocontext = 1
dead = 0
save_macro_exten = 0x0
save_macro_context = 0x0
save_macro_priority = 0x0
save_macro_offset = 0x0
u = (struct localuser *) 0x81cece8
__PRETTY_FUNCTION__ = "macro_exec"
#8 0x0809204d in pbx_extension_helper (c=0x813f1d0, con=0x0, 
context=0x813f320 "macro-dial_ext", exten=0x813f414 "ss", priority=1, 
label=0x0,
callerid=0xb616e730 "dial_ext|300|jtT|410|exten|13|410|SIP/410|1", 
action=0) at pbx.c:553
e = (struct ast_exten *) 0x8186640
sw = (struct ast_switch *) 0x0
data = 0x0
foundcontext = 0x819c3e7 "extensions-pbxid-1"
newstack = 1
res = 0
status = 5
incstack = {0x817ece8 "inRoute-1", 0x8185390 "extensions-static-global", 
0x8185428 "extensions-global", 0x8186000 "extensions-pbxid-1", 0x0 
<repeats 89 times>,
0xb6170dfc "", 0x81f1cd8 "\"0031402030499\" <0031402030499>", 0x80a6c37 
"\205í\017\204˙\002", 0xb61708e1 "031402030499", 0x0, 0x4f <Address 0x4f 
out of bounds>, 0x0,
0x0, 0x0, 0x0, 0x0, 0xb7d81844 "\201Ăüö\v", 0x0, 0x0, 0x819e988 
"0031402030499", 0x31333030 <Address 0x31333030 out of bounds>,
0x30323034 <Address 0x30323034 out of bounds>, 0x39343033 <Address 
0x39343033 out of bounds>, 0x39 <Address 0x39 out of bounds>, 0x0 
<repeats 11 times>,
0x80a631a "\213L$\030\213t$\034\211\213\200\002", 0xb6170938 "Ŕk\033E", 
0x0, 0x0, 0x0}
passdata = "dial_ext|300|jtT|410|exten|13|410|SIP/410|1", '\0' <repeats 
8148 times>
stacklen = 3
tmp = "\033[1;36;40mMacro\033[0;37;40m\00040m\000m", '\0' <repeats 48 times>
tmp2 = "\033[1;35;40mmISDN/1-1\033[0;37;40m", '\0' <repeats 50 times>
tmp3 = 
"\033[1;35;40mdial_ext|300|jtT|410|exten|13|410|SIP/410|1\033[0;37;40m\000nationnum)=APP:Volat 
linku 410\033[0;37;40m\00030499\033[0;37;40m", '\0' <repeats 8071 times>
atmp = '\0' <repeats 79 times>
atmp2 = '\0' <repeats 8291 times>
__PRETTY_FUNCTION__ = "pbx_extension_helper"
#9 0x08093316 in __ast_pbx_run (c=0x813f1d0) at pbx.c:2230
digit = 0
exten = '\0' <repeats 255 times>
pos = 0
waittime = 0
res = 0
__PRETTY_FUNCTION__ = "__ast_pbx_run"
#10 0x08094e8c in pbx_thread (data=0x8) at pbx.c:2517
No locals.
#11 0xb7eecb63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#12 0xb7de718a in clone () from /lib/tls/libc.so.6
No symbol table info available.
(

-- 
Martin Vít
LAM plus s.r.o.
http://www.vasesit.cz/
mobil: 605 267 610



More information about the asterisk-dev mailing list