[asterisk-bugs] [JIRA] (ASTERISK-27656) Seems there is a memory leak in "stasis_channels.c"

Kristijan Vrban (JIRA) noreply at issues.asterisk.org
Mon Feb 5 07:56:12 CST 2018


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

Kristijan Vrban updated ASTERISK-27656:
---------------------------------------

    Description: 
Seems there is a memory leak in "stasis_channels.c"

Command asterisk -rx'memory show summary' |sort -n
show that 23443200 bytes in      15984 allocations in file stasis_channels.c is growing with every call.

Minimal example config to reproduce:

sip.conf
[general]
bindaddr=192.168.198.133

[peer_in]
type=peer
insescure=port,invite
port=5099
host=192.168.198.133
disallow=all
allow=alaw
allow=ulaw
directmedia=no
context=default

extensions.conf
[default]
exten => 333,1,Dial(SIP/${EXTEN}@192.168.198.140)
exten => 333,n,Hangup

and then sipp it, and check with command:
asterisk -rx'memory show summary' |sort -n

  was:
Seems there is a memory leak in "stasis_channels.c"

Command asterisk -rx'memory show summary' |sort -n
show that 23443200 bytes in      15984 allocations in file stasis_channels.c is growing which every call.

Minimal example config to reproduce:

sip.conf
[general]
bindaddr=192.168.198.133

[peer_in]
type=peer
insescure=port,invite
port=5099
host=192.168.198.133
disallow=all
allow=alaw
allow=ulaw
directmedia=no
context=default

extensions.conf
[default]
exten => 333,1,Dial(SIP/${EXTEN}@192.168.198.140)
exten => 333,n,Hangup

and then sipp it, and check with command:
asterisk -rx'memory show summary' |sort -n


> Seems there is a memory leak in "stasis_channels.c"
> ---------------------------------------------------
>
>                 Key: ASTERISK-27656
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27656
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 13.19.0
>         Environment: Debian 9 with asterisk-13.19.0
>            Reporter: Kristijan Vrban
>            Severity: Minor
>
> Seems there is a memory leak in "stasis_channels.c"
> Command asterisk -rx'memory show summary' |sort -n
> show that 23443200 bytes in      15984 allocations in file stasis_channels.c is growing with every call.
> Minimal example config to reproduce:
> sip.conf
> [general]
> bindaddr=192.168.198.133
> [peer_in]
> type=peer
> insescure=port,invite
> port=5099
> host=192.168.198.133
> disallow=all
> allow=alaw
> allow=ulaw
> directmedia=no
> context=default
> extensions.conf
> [default]
> exten => 333,1,Dial(SIP/${EXTEN}@192.168.198.140)
> exten => 333,n,Hangup
> and then sipp it, and check with command:
> asterisk -rx'memory show summary' |sort -n



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



More information about the asterisk-bugs mailing list