[asterisk-bugs] [JIRA] (ASTERISK-27141) Asterisk crashes when applying freePBX config

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Thu Jul 20 11:46:57 CDT 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237754#comment-237754 ] 

Richard Mudgett commented on ASTERISK-27141:
--------------------------------------------

Your backtrace appears to contain a memory corruption. We need one or both of the following items to continue investigation of the issue:
1. Valgrind output. See https://wiki.asterisk.org/wiki/display/AST/Valgrind for instructions on how to use Valgrind with Asterisk.
2. MALLOC_DEBUG output. See https://wiki.asterisk.org/wiki/display/AST/MALLOC_DEBUG+Compiler+Flag for instructions on how to use the MALLOC_DEBUG option.

Note that MALLOC_DEBUG and Valgrind are mutually exclusive options. Valgrind output is preferable, but will be more system resource intensive and may be difficult to get on a production system. In such a case, you may have better luck getting the necessary output from MALLOC_DEBUG.

The backtrace has symbols this time which is good.  However, the attached backtrace is showing a crash in the memory allocator.  This is a sure sign that memory corruption has happened.

> Asterisk crashes when applying freePBX config
> ---------------------------------------------
>
>                 Key: ASTERISK-27141
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27141
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 13.16.0, 13.17.0
>         Environment: Ubuntu 16.04.2 LTS
> 4.4.0-83-generic #106-Ubuntu
> 2vCPU, 4GB RAM
> FreePBX 13.0.192.9
> PHP 5.6.31-1~ubuntu16.04.1+deb.sury.org+1
> dahdi-linux-complete-2.11.1
> libpri-1.6.0
> Makemenu custom modules: format_mp3, res_config_mysql, app_mysql, cdr_mysql, app_meetme, CORE-SOUNDS-EN-GSM, EXTRA-SOUNDS-EN-GSM
>            Reporter: Andrey Prokofyev
>         Attachments: asterisk-ASTERISK-27141-results.tar.gz
>
>
> Hello,
> We build asterisk from source. Up until version 13.16.0 things operated smoothly. When we tried 13.16.0 and more recently 13.17.0, applying freepbx config from GUI would crash asterisk and produce core dump. Reverting back to 13.15.1 solves this problem. I'm attaching the latest core dump from the recent 13.17.0 upgrade we tried a couple of days ago. One of our sys admins created a new conference line and applied config. All the phones in the office experienced a few seconds of outage and server LA got as high as 14, compared to the usual 0.2 - 0.4.
> Please let me know if anything else is needed



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list