[asterisk-dev] bug #16058

Wolfgang Pichler wpichler at yosd.at
Sat Feb 27 13:04:58 CST 2010


Hi all,

bad news - we need to reopen bug 16058
(https://issues.asterisk.org/view.php?id=16058).

I was having version 1.6.2.2 running - this version did already have
the patch included to avoid this bug. And it was working fine - i
never had the same problem again. But in 1.6.2.2 transfer is not
working anymore - so i needed to upgrade to 1.6.2.3-rc2.

But with 1.6.2.3-rc2 the above bug is back - so there must be another
source for this problem.

Backtrace is


#0  0x00002aaab440df73 in local_ast_moh_start (chan=0x1fc2b640,
mclass=0xb0588ec0 <Address 0xb0588ec0 out of bounds>,
interpclass=0x1ff16523 "default")
    at /usr/local/src/asterisk-1.6.2/asterisk-1.6.2.3-rc2/include/asterisk/strings.h:65
#1  0x00002aaab93630d6 in sip_indicate (ast=0x1fc2b640,
condition=<value optimized out>, data=0xb0588ec0, datalen=0) at
chan_sip.c:6556
#2  0x000000000044e9c7 in ast_indicate_data (chan=0x1fc2b640,
_condition=16, data=0xb0588ec0, datalen=0) at channel.c:3144
#3  0x00000000004563a2 in ast_channel_bridge (c0=0x1fc2b640,
c1=0x1fc2b640, config=0x4205a4c0, fo=0x42059260, rc=0x42059258) at
channel.c:4870
#4  0x00000000004794a5 in ast_bridge_call (chan=0x1fc2b640,
peer=0x1fda80b0, config=0x4205a4c0) at features.c:2589
#5  0x00002aaab502b6bb in dial_exec_full (chan=0x1fc2b640, data=<value
optimized out>, peerflags=0x4205a770, continue_exec=0x0) at
app_dial.c:2258
#6  0x00002aaab502e926 in dial_exec (chan=0x779f40, data=0x0) at app_dial.c:2342
#7  0x00000000004b1c1d in pbx_exec (c=0x1fc2b640, app=0x1fc28d90,
data=0x4205c860) at pbx.c:1348
#8  0x00000000004bfafc in pbx_extension_helper (c=0x1fc2b640,
con=<value optimized out>, context=0x1fc2b9f8 "outboundCall",
    exten=0x1fc2ba48 "00436767779104", priority=9, label=0x0,
callerid=0x200ac320 "9900436767779104", action=E_SPAWN,
found=0x4205eedc,
    combined_find_spawn=1) at pbx.c:3711
#9  0x00000000004c2442 in __ast_pbx_run (c=0x1fc2b640, args=0x0) at pbx.c:4170
#10 0x00000000004c4348 in ast_pbx_outgoing_exten (type=0x2aaaac334b78
"SIP", format=64, data=0x2aaaac334b7c, timeout=10000,
    context=0x2aaaac334b9a "fromLocalManager", exten=0x2aaaac334bab
"00436767779104", priority=1, reason=0x4205f04c, synchronous=2,
    cid_num=0x2aaaac334b89 "9900436767779104", cid_name=0x555de0 "",
vars=0x0, account=0x555de0 "", channel=0x0) at pbx.c:4589
#11 0x00002aaab4203c4d in attempt_thread (data=<value optimized out>)
at pbx_spool.c:335
#12 0x00000000004fcbcc in dummy_start (data=<value optimized out>) at
utils.c:968
#13 0x000000384e806617 in start_thread () from /lib64/libpthread.so.0
#14 0x000000384e0d3c2d in clone () from /lib64/libc.so.6



I have now patched 1.6.2.3-rc2 with
https://issues.asterisk.org/file_download.php?file_id=24147&type=bug
to get some more info - and did recompiled asterisk with optimization
turned off - so the backtrace will be more usefull the next time.

Anyone here with the same problem ?

best regards,
Wolfgang



More information about the asterisk-dev mailing list