[asterisk-bugs] [JIRA] (ASTERISK-23070) Memory leak when using CLI through AMI

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Mar 18 11:03:19 CDT 2014


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

Rusty Newton commented on ASTERISK-23070:
-----------------------------------------

Well, you need to get MALLOC_DEBUG working before going further on the memory issue.

I can't reproduce the MALLOC_DEBUG crash by simply compiling with it in the latest SVN-branch-12-r410844.

Open up a new issue for the crash with MALLOC_DEBUG and then, you might go ahead and test with the latest SVN of 12, then get a backtrace from the crash if you can still repeat it:  [Getting a Backtrace|https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace] and post a link to your VM. I do use VirtualBox so I could take quick look at it.

> Memory leak when using CLI through AMI
> --------------------------------------
>
>                 Key: ASTERISK-23070
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23070
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/ManagerInterface
>    Affects Versions: 12.0.0
>         Environment: Centos 6.5 on Oracle VM VirtualBox
>            Reporter: Denis
>            Assignee: Rusty Newton
>            Severity: Critical
>         Attachments: extconfig.conf, manager.conf
>
>
> Calling CLI commands through AMI interface causes memory leak (sending AMI actions does not cause leak), each call CLI command through AMI increase RAM buffer by 8 kb. I am using Astxx lib (by Matthew A. Nicholson http://matt-land.com/astxx/) as AMI caller, memory usage increases when executed 
> action::command command(str_cmd);
> command(*connectionn);



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



More information about the asterisk-bugs mailing list