[asterisk-users] crash

Rilawich Ango
2007-11-05T06:42:44Z

Hi all,
  I have seen a lot of message talking about asterisk crashed when
using queue and mixmonitor together.  I do use both in our system and
also get the crash (segfault) randomly.  I don't know it is related to
the reason above as I have no idea about how it happened.  I get the
core dump below.  If anybody has any idea about the root cause of the
crash, please tell me.

Asterisk 1.4.13
Zaptel 1.4.5.1
Libpri 1.4.1
Addons 1.4.4

#0  0x000000000044da80 in ast_var_name (var=0x2aabcc04bf20) at chanvars.c:69
69              if (name[0] == '_') {
(gdb) bt
#0  0x000000000044da80 in ast_var_name (var=0x2aabcc04bf20) at chanvars.c:69
#1  0x000000000049948f in pbx_builtin_setvar_helper (chan=0x2aaac801a890,
    name=0x2aaab69395a8 "RTPAUDIOQOS",
    value=0x2aaac80ecf20
"ssrc=1967815032;themssrc=917073588;lp=61288;rxjitter=0.000165;rxcount=3668;txjitter=0.005142;txcount=1515;rlp=0;rtt=3.924000")
    at pbx.c:5825
#2  0x00002aaab6925a94 in handle_request_bye (p=0x2aaac80ba4e0, req=0x40255b10)
   from /usr/lib/asterisk/modules/chan_sip.so
#3  0x00002aaab69291ca in handle_request (p=0x2aaac80ba4e0, req=0x40255b10,
    sin=0x40255b00, recount=0x40255af4, nounlock=0x40255af8)
   from /usr/lib/asterisk/modules/chan_sip.so
#4  0x00002aaab6929bb6 in sipsock_read (id=0x10b53330, fd=14, events=1,
    ignore=0x0) from /usr/lib/asterisk/modules/chan_sip.so
#5  0x0000000000474cd2 in ast_io_wait (ioc=0x10b50340, howlong=203) at io.c:279
#6  0x00002aaab692a658 in do_monitor (data=0x0)
   from /usr/lib/asterisk/modules/chan_sip.so
#7  0x00000000004d4b8f in dummy_start (data=0x10b532c0) at utils.c:806
#8  0x0000003eaa6061b5 in start_thread () from /lib64/libpthread.so.0
#9  0x0000003ea9acd36d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()
(gdb)