[Home]

Summary:ASTERISK-24775: Segfault in Asterisk 13.0.0 During Call
Reporter:Damien (ds_scalar)Labels:
Date Opened:2015-02-09 17:05:33.000-0600Date Closed:2015-02-10 12:44:58.000-0600
Priority:CriticalRegression?
Status:Closed/CompleteComponents:Core/General
Versions:13.0.0 Frequency of
Occurrence
One Time
Related
Issues:
Environment:FreePBX 12, build 6.12.65-20Attachments:( 0) trace0.txt
( 1) trace1.txt
Description:We have two FreePBX boxes in a high-availability DRBD configuration running FreePBX (CentOS 6.5) and Asterisk 13.0.0.

Today while running a user acceptance test with only 3 simultaneous calls our master server had a segfault.
We saw two core dumps:
core.freepbx-a-2015-02-09T16:55:31-0500
core.freepbx-a-2015-02-09T16:56:54-0500

Unfortunately we get "No stack." when running these through gdb... There are no other errors in the asterisk or FreePBX logs so we do not know how to reproduce.

The error output is:
/usr/sbin/safe_asterisk: line 164: 12630 Segmentation fault (core dumped) nice -n $PRIORITY "$(ASTBINDIR)/asterisk" -f ${CLIARGS} > /dev/${TTY} 2>&1 < /dev/${TTY}
/usr/sbin/safe_asterisk: line 164: 1672 Segmentation fault (core dumped) nice -n $PRIORITY "${ASTBINDIR}/asterisk" -f ${CLIARGS} > /dev/${TTY} 2>&1 < /dev/${TTY}
Comments:By: Matt Jordan (mjordan) 2015-02-09 20:19:58.386-0600

Thank you for your bug report. In order to move your issue forward, we require a backtrace[1] from the core file produced after the crash. Also, be sure you have DONT_OPTIMIZE enabled in menuselect within the Compiler Flags section, then:

make install

After enabling, reproduce the crash, and then execute the backtrace[1] instructions. When complete, attach that file to this issue report.

[1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

You'll need to either provide a backtrace or instructions on how to reproduce the crash. If bug marshals are unable to reproduce the crash or you are unable to provide a backtrace, the issue will be closed.

By: Damien (ds_scalar) 2015-02-09 20:43:15.245-0600

Matt, thanks. We will attempt to reproduce the issue and get a backtrace ASAP.  

By: Damien (ds_scalar) 2015-02-10 07:21:04.083-0600

These are the backtrace outputs for the two core dumps mentioned in the issue description.

By: Matt Jordan (mjordan) 2015-02-10 12:29:17.954-0600

Unfortunately, the backtraces are optimized, which means we can't tell where the crash occurred.

You'll need to follow the instructions on the wiki page I linked to compile Asterisk with symbols.

By: Damien (ds_scalar) 2015-02-10 12:35:02.415-0600

We cannot recompile Asterisk on the FreePBX distribution due to support constraints with the vendor. Additionally, we have rolled this installation back to Asterisk 11 for an indefinite period of time. This issue may be closed.