<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Devs!<br>
<br>
I can reproduce crash when generating a lot of
/var/spool/asterisk/outgoing/ calls (max 5 simultaneous) which bridges
SIP and Local channels. <br>
Crash is reproducable with 1.2.7.1 and SVN-branch-1.2-r47862. Both
versions crashes at the same point (see backtrace which is from 1.2.7.1)<br>
<br>
<b>This debug (before crash) is from 1.2.7.1</b><br>
<br>
<tt>Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[24579]:
channel.c:2882 in ast_do_masquerade: Got clone lock for masquerade on
'SIP/test-4737' at 0x820c6dc<br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[24579]:
channel.c:3043 in ast_do_masquerade: Putting channel SIP/test-4737 in
64/64 formats<br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[24579]:
channel.c:3078 in ast_do_masquerade: Released clone lock on
'Local/s@adialer-start-63c5,1<ZOMBIE>'<br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[24579]:
channel.c:3087 in ast_do_masquerade: Done Masquerading SIP/test-4737 (6)<br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[24584]:
channel.c:3266 in ast_generic_bridge: Didn't get a frame from channel:
Local/s@adialer-start-dc4c,1<ZOMBIE><br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[24584]:
channel.c:3541 in ast_channel_bridge: Bridge stops bridging channels
Local/s@adialer-start-dc4c,2 and Local/s@<br>
adialer-start-dc4c,1<ZOMBIE><br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[24584]:
app_dial.c:1605 in dial_exec_full: Exiting with DIALSTATUS=ANSWER.<br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: VERBOSE[24584]: == Spawn
extension (adialer-start, s, 4) exited non-zero on
'Local/s@adialer-start-dc4c,2'<br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[24576]:
channel.c:2882 in ast_do_masquerade: Got clone lock for masquerade on
'SIP/test-9917' at 0x8202f5c<br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[24576]:
channel.c:3043 in ast_do_masquerade: Putting channel SIP/test-9917 in
64/64 formats<br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[24576]:
channel.c:3078 in ast_do_masquerade: Released clone lock on
'Local/s@adialer-start-3e45,1<ZOMBIE>'<br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[24576]:
channel.c:3087 in ast_do_masquerade: Done Masquerading SIP/test-9917 (6)<br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[24588]:
channel.c:3266 in ast_generic_bridge: Didn't get a frame from channel:
Local/s@adialer-start-63c5,1<ZOMBIE><br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[24588]:
channel.c:3541 in ast_channel_bridge: Bridge stops bridging channels
Local/s@adialer-start-63c5,2 and Local/s@<br>
adialer-start-63c5,1<ZOMBIE><br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[24588]:
app_dial.c:1605 in dial_exec_full: Exiting with DIALSTATUS=ANSWER.<br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: VERBOSE[24588]: == Spawn
extension (adialer-start, s, 4) exited non-zero on
'Local/s@adialer-start-63c5,2'<br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[24580]:
channel.c:2882 in ast_do_masquerade: Got clone lock for masquerade on
'SIP/test-ac9d' at 0x820cae4<br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[24582]:
channel.c:3266 in ast_generic_bridge: Didn't get a frame from channel:
Local/s@adialer-start-3e45,1<ZOMBIE><br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[24582]:
channel.c:3541 in ast_channel_bridge: Bridge stops bridging channels
Local/s@adialer-start-3e45,2 and Local/s@<br>
adialer-start-3e45,1<ZOMBIE><br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[24582]:
app_dial.c:1605 in dial_exec_full: Exiting with DIALSTATUS=ANSWER.<br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: VERBOSE[24582]: == Spawn
extension (adialer-start, s, 4) exited non-zero on
'Local/s@adialer-start-3e45,2'<br>
Dec 8 17:32:27 test-zaloha asterisk[20583]: DEBUG[20597]:
channel.c:778 in channel_find_locked: Avoiding initial deadlock for
'Local/s@adialer-start-c33c,2'</tt><br>
<br>
<br>
<br>
<br>
<b>this backtrace is from 1.2.7.1</b><br>
<br>
<tt>#0 0xb7defd89 in free () from /lib/tls/libc.so.6<br>
No symbol table info available.<br>
#1 0x0805a67d in ast_frfree (fr=0xb7eaff40) at frame.c:277<br>
No locals.<br>
#2 0x080692c8 in ast_generic_bridge (c0=0xbbbefa4b, c1=0x820ca18,
config=0xb7041eb0, fo=0xb7041978, rc=0xb704197c, bridge_end={tv_sec =
0, tv_usec = 0}) at channel.c:3310<br>
cs = {0x8202a88, 0x820ca18, 0x0}<br>
f = (struct ast_frame *) 0x824f208<br>
who = (struct ast_channel *) 0x8202a88<br>
res = AST_BRIDGE_COMPLETE<br>
o0nativeformats = 64<br>
o1nativeformats = 256<br>
watch_c0_dtmf = 0<br>
watch_c1_dtmf = 0<br>
pvt0 = (void *) 0x8240788<br>
pvt1 = (void *) 0x8249e30<br>
to = -1<br>
#3 0x080655fd in ast_channel_bridge (c0=0x8202a88, c1=0x820ca18,
config=0xb7041eb0, fo=0xb7041978, rc=0xb704197c) at channel.c:3525<br>
res = AST_BRIDGE_COMPLETE<br>
nativefailed = 0<br>
firstpass = 0<br>
o0nativeformats = 64<br>
o1nativeformats = 256<br>
time_left_ms = 0<br>
nexteventts = {tv_sec = 0, tv_usec = 0}<br>
caller_warning = 0 '\0'<br>
callee_warning = 0 '\0'<br>
to = -1<br>
t = {tv_sec = 0, tv_usec = 0}<br>
t = {tv_sec = 0, tv_usec = 0}<br>
#4 0xb7b4bd29 in ast_bridge_call (chan=0x8202a88, peer=0x820ca18,
config=0xb7041eb0) at res_features.c:1319<br>
tmp =
"$\032\004·PáE·OÿB·°HE·Ì8%\b(\000\000\000¶þB·\020U%\bx\000\000\000\030T%\b¸\235A·\020U%\b\036\000\000\000\030T%\b
\000\000\000\230T%\b\036\000\000\000\210U%\b\230\000\000\000\000\000\000\000Ñå@·\030T%\b¨A%\b\037\000\000\000\035\227p?0\226ð¿\035\227p?\000\000\200?ôn÷¿\236\226o?|\000\000\000\b\000\000\000 \237\000\000\000\000\000\000\bò$\bH\000\000\000\200\037\000\000@\017\036\b ¬A·\0045%\b\000\000\000\000\025Ý@·°oF·\0005%\b\001\000\000\000\000\000\000\000¨oF·À\033\036\bLò$\b\b\000\000\000"...<br>
f = (struct ast_frame *) 0x0<br>
who = (struct ast_channel *) 0xb745e150<br>
chan_featurecode = '\0' <repeats 11 times><br>
peer_featurecode = '\0' <repeats 11 times><br>
res = 136366616<br>
hasfeatures = 0<br>
hadfeatures = 0<br>
aoh = (struct ast_option_header *) 0xb7eb08e4<br>
start = {tv_sec = 0, tv_usec = 0}<br>
backup_config = {features_caller = {flags = 0}, features_callee
= {flags = 0}, start_time = {tv_sec = 0, tv_usec = 0}, feature_timer =
0, timelimit = 0,<br>
play_warning = 0, warning_freq = 0, warning_sound = 0x0, end_sound =
0x0, start_sound = 0x0, firstpass = 0, flags = 0}<br>
monitor_exec = 0xbbbefa43 <Address 0xbbbefa43 out of
bounds><br>
#5 0xb768b301 in dial_exec_full (chan=0x8202a88, data=0xb7041eb0,
peerflags=0xb7042568) at app_dial.c:1577<br>
res2 = -1145111997<br>
loopcount = -1224466768<br>
res = 0<br>
u = (struct localuser *) 0x81b8f90<br>
number = 0x8202a88 "Local/s@adialer-start-c33c,2"<br>
rest = 0x0<br>
cur = 0x0<br>
privcid = '\0' <repeats 208 times>, "\001\000\000\000
%\004·\0000\036\b\033\000\000\000%\000\000\000(\000\000\000\000\000\000\000\b\025\004·36;40\000\004·Á/\025\b\b\005\004·"<br>
privintro = '\0' <repeats 1023 times><br>
outgoing = (struct localuser *) 0x0<br>
tmp = (struct localuser *) 0x81e0948<br>
peer = (struct ast_channel *) 0x820ca18<br>
to = -1<br>
numbusy = 0<br>
numcongestion = 0<br>
numnochan = 0<br>
cause = 0<br>
numsubst = "test/738569792", '\0' <repeats 61 times><br>
restofit = '\0' <repeats 79 times><br>
cidname = '\0' <repeats 79 times><br>
toast = '\0' <repeats 79 times><br>
l = 0xb7041eb0 ""<br>
privdb_val = 0<br>
calldurationlimit = 0<br>
config = {features_caller = {flags = 0}, features_callee =
{flags = 0}, start_time = {tv_sec = 1165595547, tv_usec = 618304},
feature_timer = 0, timelimit = 0,<br>
play_warning = 0, warning_freq = 0, warning_sound = 0x0, end_sound =
0x0, start_sound = 0x0, firstpass = 0, flags = 0}<br>
timelimit = 0<br>
play_warning = 0<br>
warning_freq = 0<br>
warning_sound = 0x0<br>
end_sound = 0x0<br>
start_sound = 0x0<br>
dtmfcalled = 0x0<br>
dtmfcalling = 0x0<br>
var = 0xbbbefa43 <Address 0xbbbefa43 out of bounds><br>
status = "ANSWER\000R", '\0' <repeats 247 times><br>
play_to_caller = 0<br>
play_to_callee = 0<br>
sentringing = 0<br>
moh = 0<br>
outbound_group = 0x0<br>
macro_result = 0xb7041eb0 ""<br>
macro_transfer_dest = 0xb7041eb0 ""<br>
digit = 0<br>
result = 0<br>
start_time = 1165595546<br>
answer_time = 1165595547<br>
end_time = 0<br>
app = (struct ast_app *) 0xb7041eb0<br>
parse = 0xb7041b40 "SIP"<br>
args = {argc = 2, argv = 0xb7041d94, peers = 0xb7041b40 "SIP",
timeout = 0xb7041b57 "", options = 0x0, url = 0x0}<br>
opts = {flags = 0}<br>
opt_args = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}<br>
oo = (struct localuser *) 0xbbbefa43<br>
#6 0xb7689dc5 in dial_exec (chan=0xbbbefa43, data=0xbbbefa43) at
app_dial.c:1619<br>
peerflags = {flags = 0}<br>
#7 0x0808e445 in pbx_extension_helper (c=0x8202a88, con=0xbbbefa43,
context=0x8202bd8 "adialer-start", exten=0x8202ccc "s", priority=4,
label=0x0, callerid=0x0, action=0)<br>
at pbx.c:553<br>
e = (struct ast_exten *) 0xb7689da0<br>
sw = (struct ast_switch *) 0x0<br>
data = 0x0<br>
foundcontext = 0x8202bd8 "adialer-start"<br>
newstack = 1<br>
res = 0<br>
status = 5<br>
incstack = {0x3 <Address 0x3 out of bounds>, 0x0,
0x8114dc0 "\002", 0xb704877c "\002", 0x808fd11 "ÿ\215´&", 0x9
<Address 0x9 out of bounds>, 0x0,<br>
0xb <Address 0xb out of bounds>, 0xb7f63158 "\030", 0x2
<Address 0x2 out of bounds>, 0x8114dc4 "¸\212ýÿÔw", 0x1
<Address 0x1 out of bounds>,<br>
0x80480b4 <Address 0x80480b4 out of bounds>, 0x80480f4
<Address 0x80480f4 out of bounds>, 0x21 <Address 0x21 out of
bounds>, 0x2 <Address 0x2 out of bounds>,<br>
0x811c574 "\024", 0xb7f5d7e4 "\201Ã\230c", 0x0, 0x0, 0x0, 0xb7f5d7e4
"\201Ã\230c", 0xb7048898 "", 0xb7048898 "", 0xb7048860
"`\211\004·Ö\aì¶\001", 0xb7f85540 "",<br>
0xb70487b0 "ô\207\004·Ìxè·hUø·\020", 0xb7f5da60 "]Ã\215\001è·*",
0xb70487f4 "0\210\004·%\211è·\004\213\004·\001", 0xb7e878cc
"\213EÐ\203Ä0[^_]Ã\211ö\215¼'",<br>
0xb7f85568 "", 0x10 <Address 0x10 out of bounds>, 0xb7048804
"\030\210\004·\001gÚ·\004\213\004·\030\210\004·@ÿê·8\210\004·\212fÚ·\004\213\004·\001",<br>
0x1 <Address 0x1 out of bounds>, 0xb7e878e0
"U\211å\203ì\b\211]ü课ðÿ\201ÃR\206\002", 0x0, 0x0, 0x0, 0x0,
0xb7f81b1c "", 0x8048034 <Address 0x8048034 out of bounds>,<br>
0xb7040008 "L\001\004·\034\001\004·\020pÞ·\210Q\021\b\231×\017\b\v",
0xb7eaff40 "H\036\023", 0x808fd11 "ÿ\215´&", 0xb70489dc "",
0xb7048830 "\001",<br>
0xb7e88925
"1Ò\205Àx·\213Uä\205Òt°\213MØ\211\017\213uÜ\211w\004\213Mà\211O\bë\235\215t&",
0xb7048b04 "|;ö·Üÿÿÿü\215\004·L\213\004·ä\212\004·G»õ·",<br>
0x1 <Address 0x1 out of bounds>, 0xb7048818
"8\210\004·\212fÚ·\004\213\004·\001", 0xb7da6701 "ëë", '\220'
<repeats 13 times>, "U\211åWVS\201ì0\001",<br>
0xb7048b04 "|;ö·Üÿÿÿü\215\004·L\213\004·ä\212\004·G»õ·", 0xb7048818
"8\210\004·\212fÚ·\004\213\004·\001", 0xb7eaff40 "H\036\023",<br>
0xb7048838 "`\210\004··\002ö·\004\213\004·\001", 0xb7da668a "\215¶",
0xb7048b04 "|;ö·Üÿÿÿü\215\004·L\213\004·ä\212\004·G»õ·", 0x1
<Address 0x1 out of bounds>, 0x0,<br>
0xb7f63b7c "xÊ", 0x1 <Address 0x1 out of bounds>, 0xb7048b04
"|;ö·Üÿÿÿü\215\004·L\213\004·ä\212\004·G»õ·", 0xb7048860
"`\211\004·Ö\aì¶\001", 0xb7f602b7 "\211ö\215¼'",<br>
0xb7048b04 "|;ö·Üÿÿÿü\215\004·L\213\004·ä\212\004·G»õ·", 0x1
<Address 0x1 out of bounds>, 0xb7048940 "0Ê \b", 0xb7f63115
"\f\004\004\210\001",<br>
0x1 <Address 0x1 out of bounds>, 0xb6ec4914 "(\210", 0x5
<Address 0x5 out of bounds>, 0xb7048988 "l\212\004·", 0xb7048960
"\210* \b",<br>
0xb6ec07d6 "\203Ä
\205Àus\203þ\005tz\213Eà\205Àt-\203ì\bW\213\2254ÿÿÿR\213\2254ÿÿÿ\213r\004V\213\nQj\nj\001ÿÐ\203Ä
\203ø\a\211ÆtK\203ø\bu:\213\225(ÿÿÿ\211øèMúÿÿ\213\225(ÿÿÿ\211øèpóÿÿ\205À\211Æt\005\203ø\005u\025\203þ\005¸\n",
0x1 <Address 0x1 out of bounds>, 0x1a <Address 0x1a out of
bounds>,<br>
0xb7048b04 "|;ö·Üÿÿÿü\215\004·L\213\004·ä\212\004·G»õ·", 0x0,
0xb7048dd0 "\004\213\004·", 0xb7048988 "l\212\004·",<br>
0xb7048b04 "|;ö·Üÿÿÿü\215\004·L\213\004·ä\212\004·G»õ·", 0xb7048988
"l\212\004·", 0xb7048898 "", 0xb7048b04
"|;ö·Üÿÿÿü\215\004·L\213\004·ä\212\004·G»õ·",<br>
0xb7f601e0 "U\211å\203ì \211]ô\211uø\211}üèæ°ÿÿ\201Ã\2109",
0xb7048dd0 "\004\213\004·", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x820ca30 "", 0xb7048dfc "",<br>
0x8202a88 "Local/s@adialer-start-c33c,2", 0x809fdab
"\205ö\017\204_\002", 0xb70488f1 "", 0x0, 0x4f <Address 0x4f out of
bounds>, 0x0, 0xb7df0844 "\201Ãüö\v", 0x0, 0x0,<br>
0xb7eb0d00 "ø\fë·ø\fë·", 0x0 <repeats 15 times>, 0x809f8ed
"\213T$\030\213L$\034\211\223\200\002", 0xb7048948
"\232\223yE°\211\004·\210* \bØ+ \bÌ, \bêï\b\b\210* \b",<br>
0x0, 0x0, 0x0}<br>
passdata = "SIP/test/738569792||", '\0' <repeats 8167
times><br>
stacklen = 0<br>
tmp = "\033[1;36;40mDial\033[0;37;40m", '\0' <repeats 55
times><br>
tmp2 =
"\033[1;35;40mLocal/s@adialer-start-c33c,2\033[0;37;40m", '\0'
<repeats 31 times><br>
tmp3 = "\033[1;35;40mSIP/test/738569792||\033[0;37;40m", '\0'
<repeats 6892 times>,
"o\211Ú·Î\rê·\000\000\000\000\000\000\000\000TZ\000\000\000\000\000\000@ÿê·`h\004\000h¥\022\bTb\004·Þ&á·Û\rê·h¥\022\b",
'\0' <repeats 72 times>, "Û\rê·", '\0' <repeats 16 times>,
"@ÿê·`h\004·ù\000\000\000`b\004·\002\000\000\000\002\000\000\000Üc\004·Ï¦á·mg\004·Êc\004·\002",
'\0' <repeats 23 times>, "düé·", '\0' <repeats 16 times>,
"öÿÿÿ", '\0' <repeats 108 times>...<br>
atmp = '\0' <repeats 79 times><br>
atmp2 = '\0' <repeats 5892 times>,
"ÑßÝ·\000\000\000\000½E\004·m\000\000\000\024=\004·ÑßÝ·v\207&\bPE\004·m\000\000\000\000\000\000\000»\021\020\b\000\000\000\000\030C\004·ËRÜ·\020ì#\b»\021\020\b\000\000\000\000ðB\004·\000\000\000\000\2117Ü·\000\000\000\000\000\000\000\000\004C\004·\000\000\000\000\2117Ü·",
'\0' <repeats 148 times>, "ÑßÝ·", '\0' <repeats 12 times>,
"\035Ì\021\b]\000d ", '\0' <repeats 18 times>, "s
\000\000\000\000ÿÿÿÿ\223ÿÿÿ", '\0' <repeats 36 times>,
"À>\004·\000\000\000\000\001\000\000\000(C\004·\000\000\000\000Ô>\004·"...<br>
#8 0x0808efea in __ast_pbx_run (c=0x8202a88) at pbx.c:2227<br>
digit = 0<br>
exten = '\0' <repeats 255 times><br>
pos = 0<br>
waittime = -1224439376<br>
res = 0<br>
#9 0x0808fcdf in pbx_thread (data=0xbbbefa43) at pbx.c:2514<br>
No locals.<br>
#10 0xb7f5bb63 in start_thread () from /lib/tls/libpthread.so.0<br>
No symbol table info available.<br>
#11 0xb7e5618a in clone () from /lib/tls/libc.so.6<br>
No symbol table info available.</tt><br>
<br>
<br>
Any ideas to fix this?<br>
<br>
<pre class="moz-signature" cols="72">--
Martin Vít
LAM plus s.r.o.
<a class="moz-txt-link-freetext" href="http://www.lam.cz/">http://www.lam.cz/</a>
Tel.: 605 267 610
</pre>
</body>
</html>