[asterisk-bugs] [JIRA] (ASTERISK-28904) RTP ICE leaks the memory

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Mon May 18 11:27:25 CDT 2020


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

Joshua C. Colp updated ASTERISK-28904:
--------------------------------------

    Assignee: sungtae kim
      Status: Waiting for Feedback  (was: Triage)

The pasted information is unrelated to ICE candidates, and the media cache is kept in memory. It's likely just not getting cleaned up at shutdown.

Did you copy/paste the wrong thing?

> RTP ICE leaks the memory
> ------------------------
>
>                 Key: ASTERISK-28904
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28904
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 13.33.0, 16.10.0, 17.4.0
>            Reporter: sungtae kim
>            Assignee: sungtae kim
>            Severity: Minor
>
> rtp_add_candidates_to_ice() function leaks the memory.
> {noformat}
> ==4869== 5,831,920 bytes in 1,345 blocks are possibly lost in loss record 13,281 of 13,281
> ==4869==    at 0x4C2DBC5: calloc (vg_replace_malloc.c:711)
> ==4869==    by 0x1743AA: __ast_repl_calloc (astmm.c:1569)
> ==4869==    by 0x1745D9: __ast_calloc (astmm.c:1639)
> ==4869==    by 0x175FC9: internal_ao2_alloc (astobj2.c:714)
> ==4869==    by 0x17625D: __ao2_alloc (astobj2.c:768)
> ==4869==    by 0x2AEE6F: ast_sorcery_generic_alloc (sorcery.c:1727)
> ==4869==    by 0x1A92CA: bucket_file_alloc (bucket.c:643)
> ==4869==    by 0x2AEF7A: ast_sorcery_alloc (sorcery.c:1746)
> ==4869==    by 0x1A9581: ast_bucket_file_alloc (bucket.c:706)
> ==4869==    by 0x23774B: media_cache_item_populate_from_astdb (media_cache.c:412)
> ==4869==    by 0x237A06: media_cache_populate_from_astdb (media_cache.c:466)
> ==4869==    by 0x2383D9: ast_media_cache_init (media_cache.c:701)
> {noformat}



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



More information about the asterisk-bugs mailing list