[Bug 739333] New: gst-omx leaks a huge memory when it works with amr h/w decoder

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Oct 28 23:48:26 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=739333
  GStreamer | gst-omx | 1.2.4

           Summary: gst-omx leaks a huge memory when it works with amr h/w
                    decoder
    Classification: Platform
           Product: GStreamer
           Version: 1.2.4
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-omx
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: jun.ji at lge.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=289560)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=289560)
backtrace log of omxamrdec

I simply modified gstomxaacdec.c to work as amr decoder and it works partially,
creating a huge memory leak.

What I found is that it doesn't free GstMemory somewhere so that it increases
the refcount of the memory allocator.

While gstomxaacdec.c (fixed the tiny bug causing the memory leak) in/decreases
the refcount coincidentally in a certain pattern, gstomxamrdec.c decreases the
refcount very rarely like only 4~5times per 80 increases.

I attach backtrace logs, hoping that I could get any advice on it..

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list