[asterisk-bugs] [Asterisk 0016162]: asterisk continiously crashes when iax-call received
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Nov 5 09:46:39 CST 2009
The following issue has been UPDATED.
======================================================================
https://issues.asterisk.org/view.php?id=16162
======================================================================
Reported By: krn
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16162
Category: Channels/chan_iax2
Reproducibility: always
Severity: crash
Priority: normal
Status: new
Asterisk Version: 1.4.27-rc2
JIRA: SWP-292
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-11-02 01:07 CST
Last Modified: 2009-11-05 09:46 CST
======================================================================
Summary: asterisk continiously crashes when iax-call received
Description:
[general]
bindport=4569 ; bindport and bindaddr may be specified
; ; NOTE: bindport must be specified BEFORE
; bindaddr or may be specified on a
specific
; bindaddr if followed by colon and port
; (e.g. bindaddr=192.168.0.1:4569)
bindaddr=192.168.1.23
calltokenoptional=10.12.12.24/255.255.255.255
disallow=all
allow=gsm ; Allow codecs in order of preference
allow=ulaw
jitterbuffer=yes
autokill=no
[call-center]
type=friend
host=10.12.12.24
context=incoming-from-call-center
secret=password
timezone=Asia/Irkutsk
qualify=yes ; Make sure this peer is alive
qualifysmoothing = yes ; use an average of the last two PONG
; results to reduce falsely detected
LAGGED hosts
; Default: Off
qualifyfreqok = 60000 ; how frequently to ping the peer when
; everything seems to be ok, in
milliseconds
qualifyfreqnotok = 10000 ; how frequently to ping the peer when
it's
; either LAGGED or UNAVAILABLE, in
milliseconds
jitterbuffer=yes ; Turn off jitter buffer for this peer
sendani=yes
peercontext=outgoing-to-call-center
requirecalltoken=no
disallow=all
allow=gsm
allow=ulaw
iax config on other side is symmetrical, hangs appears after upgrade for
1.4.27rc2 (was 1.4.21, now it works with 1.6.1.8). call-center peer -
1.4.21.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
has duplicate 0016069 Crash on incoming IAX call from Asteris...
======================================================================
----------------------------------------------------------------------
(0113201) krn (reporter) - 2009-11-05 09:46
https://issues.asterisk.org/view.php?id=16162#c113201
----------------------------------------------------------------------
After removing line in chan_iax2.c some changes:
asterisk can accept some calls
but hangs anyway after sometime
error the same
https://issues.asterisk.org/view.php?id=0 INTERNAL_OBJ (user_data=0x3e8,
delta=-1) at astobj2.c:113
113 if (AO2_MAGIC != (p->priv_data.magic) ) {
(gdb) bt
https://issues.asterisk.org/view.php?id=0 INTERNAL_OBJ (user_data=0x3e8,
delta=-1) at astobj2.c:113
https://issues.asterisk.org/view.php?id=1 ao2_ref (user_data=0x3e8, delta=-1)
at astobj2.c:206
https://issues.asterisk.org/view.php?id=2 0x080706cc in ao2_iterator_destroy
(i=0xb7415168) at astobj2.c:594
https://issues.asterisk.org/view.php?id=3 0xb75d7030 in check_access
(callno=1063, sin=0xb7418274,
ies=0xb7417dd8) at chan_iax2.c:6357
https://issues.asterisk.org/view.php?id=4 0xb75f6c41 in socket_process
(thread=0x8eb2b60) at chan_iax2.c:8899
https://issues.asterisk.org/view.php?id=5 0xb75fe1a2 in iax2_process_thread
(data=0x8eb2b60) at
chan_iax2.c:9971
https://issues.asterisk.org/view.php?id=6 0x08104a9b in dummy_start
(data=0x8eac708) at utils.c:856
https://issues.asterisk.org/view.php?id=7 0xb7f39f40 in start_thread () from
/lib/libpthread.so.0
https://issues.asterisk.org/view.php?id=8 0xb7e4b42e in clone () from
/lib/libc.so.6
(gdb) fr 1
https://issues.asterisk.org/view.php?id=1 ao2_ref (user_data=0x3e8, delta=-1)
at astobj2.c:206
206 struct astobj2 *obj = INTERNAL_OBJ(user_data);
no data in console ot logs at or before this moment
Issue History
Date Modified Username Field Change
======================================================================
2009-11-05 09:46 krn Note Added: 0113201
2009-11-05 09:46 krn Status closed => new
2009-11-05 09:46 krn Resolution fixed => reopened
======================================================================
More information about the asterisk-bugs
mailing list