[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:10:06 CST 2022


Frederic LE FOLL created ASTERISK-29878:
-------------------------------------------

             Summary: 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


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