Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
jami-project
jami-project
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 183
    • Issues 183
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Requirements
    • Requirements
    • List
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • savoirfairelinux
  • jami-projectjami-project
  • Issues
  • #43

Closed
Open
Opened Nov 03, 2015 by RingBot@RingBotOwner

Daemon: memory leak during call

Issue generated from Tuleap's migration script. Originally submitted by: Guillaume Roguez (guillaume)

Using ASAN (address sanitizer) I discovered that I got a memory leak report on non-free av\_malloc, only when I do a call (video was enabled on both peer)

This is the ASAN report related to libav functions:

  
Direct leak of 51568 byte(s) in 63 object(s) allocated from:  
    \#0 0x7ffff70f4456 in posix\_memalign (/lib64/libasan.so.2+0x99456)  
    \#1 0x37a381c86f in av\_malloc (/lib64/libavutil.so.54+0x37a381c86f)  
  
Indirect leak of 42080 byte(s) in 100 object(s) allocated from:  
    \#0 0x7ffff70f4456 in posix\_memalign (/lib64/libasan.so.2+0x99456)  
    \#1 0x37a381c86f in av\_malloc (/lib64/libavutil.so.54+0x37a381c86f)  
  
Indirect leak of 2041 byte(s) in 250 object(s) allocated from:  
    \#0 0x7ffff70f3d8a in realloc (/lib64/libasan.so.2+0x98d8a)  
    \#1 0x37a381cab0 in av\_strdup (/lib64/libavutil.so.54+0x37a381cab0)  
  
Indirect leak of 1840 byte(s) in 43 object(s) allocated from:  
    \#0 0x7ffff70f3d8a in realloc (/lib64/libasan.so.2+0x98d8a)  
    \#1 0x37a38137ac in av\_dict\_set (/lib64/libavutil.so.54+0x37a38137ac)  
  
Indirect leak of 160 byte(s) in 20 object(s) allocated from:  
    \#0 0x7ffff70f3d8a in realloc (/lib64/libasan.so.2+0x98d8a)  
    \#1 0x3c4bb22f08 in avformat\_new\_stream (/lib64/libavformat.so.56+0x3c4bb22f08)
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: savoirfairelinux/ring-project#43