[Bug 797159] New: Significant memory leak in (at least) omxh264enc and omxmjpegdec on Raspberry Pi

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Sep 17 22:14:22 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=797159

            Bug ID: 797159
           Summary: Significant memory leak in (at least) omxh264enc and
                    omxmjpegdec on Raspberry Pi
    Classification: Platform
           Product: GStreamer
           Version: 1.14.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-omx
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: benwolsieffer at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I am observing a significant memory leak in both omxh264enc and omxmjpegdec
(other components may also exhibit the leak, but I haven't tested them) on a
Raspberry Pi 3. This can be reproduced with as simple a pipeline as:

videotestsrc ! omxh264enc ! fakesink

This particular example fills up the 1 GB of RAM on the Raspberry Pi within a
few minutes (my real world examples take a little longer because they run at
lower frame rates).

I am running gstreamer 1.14.0, and have tested gst-omx versions 1.14.0, 1.14.3
and git master (all with gstreamer 1.14.0). I can update gstreamer to 1.14.3 or
even git master if necessary.

The Raspberry Pi 3 is running a 64-bit kernel with 32-bit gstreamer (OpenMAX
only works with 32-bit userspace libraries on the Raspberry Pi).

I attempted to use valgrind to find the location of the leak, but I have not
been able to get it to give me any useful information (it detects the leak, but
gives no stack traces; this might be a problem with my setup).

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