After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 783345 - rtph265depay: caps leak
rtph265depay: caps leak
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 1.12.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-06-02 10:26 UTC by Jonas Holmberg
Modified: 2017-06-02 10:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jonas Holmberg 2017-06-02 10:26:33 UTC
The leaks tracer reports a leak that seems to come from rtph265depay:

$ GST_DEBUG=GST_TRACER:9 GST_TRACERS=leaks gst-launch-1.0 videotestsrc num-buffers=1 ! x265enc ! rtph265pay ! rtph265depay ! fakesink
0:00:00.007297421 23371       0x7b2410 DEBUG             GST_TRACER gsttracer.c:163:gst_tracer_register:<registry0> update existing feature 0x61ecc0 (latency)
0:00:00.007316491 23371       0x7b2410 DEBUG             GST_TRACER gsttracer.c:163:gst_tracer_register:<registry0> update existing feature 0x61ec00 (log)
0:00:00.007323208 23371       0x7b2410 DEBUG             GST_TRACER gsttracer.c:163:gst_tracer_register:<registry0> update existing feature 0x61eb40 (rusage)
0:00:00.007328775 23371       0x7b2410 DEBUG             GST_TRACER gsttracer.c:163:gst_tracer_register:<registry0> update existing feature 0x61ea80 (stats)
0:00:00.007333853 23371       0x7b2410 DEBUG             GST_TRACER gsttracer.c:163:gst_tracer_register:<registry0> update existing feature 0x61e9c0 (leaks)
0:00:00.007349515 23371       0x7b2410 TRACE             GST_TRACER gsttracerrecord.c:110:gst_tracer_record_build_format: object-alive.class, type-name=(structure)"value\,\ type\=\(GType\)NULL\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;", address=(structure)"value\,\ type\=\(GType\)NULL\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;", description=(structure)"value\,\ type\=\(GType\)NULL\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;", ref-count=(structure)"value\,\ type\=\(GType\)NULL\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;", trace=(structure)"value\,\ type\=\(GType\)NULL\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;";
0:00:00.007371354 23371       0x7b2410 DEBUG             GST_TRACER gsttracerrecord.c:124:gst_tracer_record_build_format: new format string: object-alive, type-name=(string)%s, address=(gpointer)%p, description=(string)%s, ref-count=(uint)%u, trace=(string)%s;
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.000127008
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
0:00:00.032908999 23371       0x7b2410 TRACE             GST_TRACER :0:: object-alive, type-name=(string)GstCaps, address=(gpointer)0x7f94e4003140, description=(string)video/x-h265, stream-format=(string)byte-stream, alignment=(string)nal, ref-count=(uint)1, trace=(string);

** (gst-launch-1.0:23371): WARNING **: Leaks detected
Comment 1 Tim-Philipp Müller 2017-06-02 10:57:50 UTC
Fixed, thanks:

commit 18b53c223647e86a91eccbac4563aa906030cc05
Author: Tim-Philipp Müller <tim@centricular.com>
Date:   Fri Jun 2 11:30:15 2017 +0100

    rtph265depay: fix caps leak


Also picked into 1.12 branch.