[asterisk-bugs] [JIRA] (ASTERISK-29878) chan_dahdi : memory leak in dahdi_restart

Frederic LE FOLL (JIRA) noreply at issues.asterisk.org
Mon Jan 24 06:12:06 CST 2022


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

Frederic LE FOLL updated ASTERISK-29878:
----------------------------------------

    Attachment: valgrind3-AMI-DAHDIRestart-x1000-asterisk-18.6.0-libpri-1.6.0.txt

valgrind result after 1000 DAHDIRestart actions

> chan_dahdi : memory leak in dahdi_restart
> -----------------------------------------
>
>                 Key: ASTERISK-29878
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29878
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_dahdi
>    Affects Versions: 18.6.0
>         Environment: Asterisk 18.6.0
> Libpri 1.6.0
> TE820 card
>            Reporter: Frederic LE FOLL
>         Attachments: valgrind3-AMI-DAHDIRestart-x1000-asterisk-18.6.0-libpri-1.6.0.txt
>
>
> Each call to dahdi_restart() increases asterisk RES memory usage in "top".
> Test under valgrind with one single PRI span configured.
> dahdi_restart() called N times (1000 for test), either through AMI DAHDIRestart, or through CLI "dahdi restart".
> Result shows as many "definitely lost" blocks as dahdi_restart() executions.
> It also shows two other memory leaks with fewer occurrences (approximately 25% and 70% respectively.
> Issue initially opened with "minor" severity because dahdi_restart() usually is not a frequent operation.



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



More information about the asterisk-bugs mailing list