[gstreamer-bugs] [Bug 577318] rtspsrc appears to be leaking memory

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Apr 24 08:35:37 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=577318

  GStreamer | gst-plugins-good | Ver: git




------- Comment #13 from Patrick Radizi  2009-04-24 15:35 UTC -------
It leaks memory also if you just run against the same rtps server the whole
time. I modified the test program so that it just connects to the rtsp server
and then streams forever (to fakesink). This seems to leaks about 2 bytes/sec.

I used valgrind on this test, it does not directly give the error but the
reachable data can be seen increasing if you run the test a longer time period.
I did one test for 180 sec and one test for 3600 sec. I then compared the
valgrind output of these two. There where three sections that showed that more
memory had been allocated for the section in the 3600s vs the 180s version. I
haven't been able to figure out if this can be used to find the leak because it
looks a bit strange. They all originate from gst_init() in the call sequence
and that is strange since this is only called once. I have attached a file with
these three valgrind sections to this case.

The memory increase of these three sections after 1 hour was :
section 1: 1845 bytes
section 2: 306 bytes
section 3: 2464 bytes


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=577318.




More information about the Gstreamer-bugs mailing list