[asterisk-bugs] [JIRA] (ASTERISK-25383) Core dumps on startup and shutdown with MALLOC_DEBUG enabled

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Sep 15 09:59:33 CDT 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-25383:
------------------------------------

    Attachment: onstartup_messages_2.txt
                onstartup_messages.txt
                onstartup_full_2.txt
                onstartup_full.txt
                backtrace_onstartup_2.txt
                backtrace_onstartup.txt
                backtrace_onshutdown.txt

Enabling MALLOC_DEBUG results in unreliable Asterisk behavior including a couple segmentation fault scenarios.

Attaching several traces and logs.

Two traces and log sets from when it crashes and dumps on startup. One trace from when it actually started up successfully and then dumped after "core stop now". I didn't get a log to go with the shutdown dump.

Other than crashing on startup and sometimes running, then dumping on shutdown, Asterisk also occasionally freezes during startup with

{noformat}
 Loading res_stasis.so.
  == Message handler 'ari' registered.
  == res_stasis.so => (Stasis application support)
 Loading res_stasis_answer.so.
  == res_stasis_answer.so => (Stasis application answer support)
*** glibc detected *** asterisk: corrupted double-linked list: 0x0000000001f1b1f0 ***
{noformat}

> Core dumps on startup and shutdown with MALLOC_DEBUG enabled
> ------------------------------------------------------------
>
>                 Key: ASTERISK-25383
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25383
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem, Core/General
>    Affects Versions: 13.5.0
>            Reporter: yaron nahum
>            Assignee: Rusty Newton
>         Attachments: backtrace_onshutdown.txt, backtrace_onstartup_2.txt, backtrace_onstartup.txt, onstartup_full_2.txt, onstartup_full.txt, onstartup_messages_2.txt, onstartup_messages.txt
>
>
> I am trying to investigate a possible memory leak issue with release 13.5.0. In order to have better information I enabled MALLOC_DEBUG on menuselect compiler flags.
> After compiling the machine and restarting It dosn't come up. I get the following errors every couple of seconds on the log:
> [Sep  9 16:31:20] Asterisk 13.5.0 built by root @ vm-tclabr-y.bgtehila.com on a x86_64 running Linux on 2015-09-09 13:16:12 UTC



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



More information about the asterisk-bugs mailing list