[Home]

Summary:ASTERISK-13299: Asterisk dies once a day
Reporter:Guilherme Goes (glwgoes)Labels:
Date Opened:2009-01-05 10:15:20.000-0600Date Closed:2011-06-07 14:00:32
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Resources/res_realtime
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I have Asterisk 1.2.30.2 running with IAX and SIP users in realtime and at least once a day Asterisk dies.

It's a high volume server with a TE410p.

Below is the backtrace of the core dump:

(gdb) bt
#0  0x00002b4d5ac2f6d0 in strlen () from /lib64/libc.so.6
#1  0x00002aaaab1f1cb0 in realtime_odbc (database=<value optimized out>,
  table=<value optimized out>, ap=0x40ac73c0) at res_config_odbc.c:120
#2  0x0000000000418964 in ast_load_realtime (family=0x2aaaacd61383 "iaxusers")
  at config.c:1001
#3  0x00002aaaacd46f28 in check_access (callno=4738, sin=0x40acb0d0,
  ies=<value optimized out>) at chan_iax2.c:2877
#4  0x00002aaaacd539e2 in socket_read (id=<value optimized out>, fd=22,
  events=<value optimized out>, cbdata=<value optimized out>)
  at chan_iax2.c:7238
ASTERISK-1  0x00000000004114f3 in ast_io_wait (ioc=0x6b5b20,
  howlong=<value optimized out>) at io.c:284
ASTERISK-2  0x00002aaaacd40377 in network_thread (ignore=<value optimized out>)
  at chan_iax2.c:8440
ASTERISK-3  0x00002b4d5a599193 in start_thread () from /lib64/libpthread.so.0
ASTERISK-4  0x00002b4d5ac7c47d in clone () from /lib64/libc.so.6
ASTERISK-5  0x0000000000000000 in ?? ()
(gdb)

Comments:By: Mark Michelson (mmichelson) 2009-01-05 11:03:40.000-0600

The Asterisk 1.2 series is no longer receiving bugfixes unless they are security vulnerabilities.

Considering the massive amounts of changes which have been put into later versions of Asterisk's ODBC handling, I am almost certain that this issue does not exist in 1.4 or any of the 1.6 releases. I am going to close this issue, but if you find that this is still occurring in 1.4 or 1.6, then please do not hesitate to re-open this bug report. Thanks.