[gstreamer-bugs] [Bug 618832] New: Memory Leak

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun May 16 19:27:34 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=618832
  GStreamer | gstreamer (core) | 0.10.29

           Summary: Memory Leak
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.29
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: dhoyt at llnl.gov
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=161199)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=161199)
Memory Leak Test

There's a slow memory leak when you switch a pipeline from NULL -> PLAYING ->
NULL -> PLAYING, etc. I've attached a small C program derived from one of the
examples that demonstrates the issue. It takes a while for it to manifest
itself. I ran a sample movie which I'll attempt to attach here for over a day
and it started out using 8.5 MB of memory (after several loops of the video)
and is now at 16 MB. The problem is exacerbated when you have multiple
pipelines going at the same time in your application.

For a typical file, just seeking back to the beginning hasn't shown any
noticeable memory leak, but I deal with sources that aren't seekable and my
application constantly switches between sources, so seeking isn't always an
option.

My program will be running on machines that pretty much will be running 24/7
until an admin stops it or the hardware fails. Thus a slow leak could become a
real problem.

I'm not particularly adept at debugging C apps, but I am attempting to debug it
further using valgrind and I'll post anything further that I do find, but I
would appreciate your help in identifying and resolving the issue.

I've seen it appear both under windows and linux both using xvimagesink,
directdrawsink, dshowvideosink, and fakesink. I'm using the latest released
version of core (0.10.29) and the latest released version of the other libs. My
tests have been on ubuntu 8 (hardy), windows xp, and windows 7.

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