[Bug 789547] FD leak on android

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Nov 1 11:43:57 UTC 2017


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

luckychou <luckychsj at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #362394|0                           |1
        is obsolete|                            |

--- Comment #5 from luckychou <luckychsj at gmail.com> ---
Created attachment 362743
  --> https://bugzilla.gnome.org/attachment.cgi?id=362743&action=edit
playbin2_gstleaks_log_PC

Addition.
( ubuntu 16.04 + gstreamer 12.3)
playbin2(at the end, gstleaks tells us leaks detected.):
shakin at shakin-dev:~/Desktop$ GST_TRACERS="leaks" GST_DEBUG="GST_TRACER:7"
GST_DEBUG_COLOR_MODE=off GST_DEBUG_FILE='/home/shakin/work/log/gst.log'
GST_DEBUG_DUMP_DOT_DIR='/home/shakin/work/log'  gst-launch-1.0 playbin
uri=http://10.9.44.116/test.mp4
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSinkClock
Redistribute latency...
^Chandling interrupt.                        <= ctrl + c
Interrupt: Stopping pipeline ...
Execution ended after 0:00:02.409864777
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

** (gst-launch-1.0:5607): WARNING **: Leaks detected



Useful info:
---
0:00:00.207457856  6063       0x919a00 TRACE             GST_TRACER
gsttracerrecord.c:111:gst_tracer_record_build_format: object-alive.class,
type-name=(structure)"value\,\ type\=\(type\)gchararray\,\
related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;",
address=(structure)"value\,\ type\=\(type\)gpointer\,\
related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;",
description=(structure)"value\,\ type\=\(type\)gchararray\,\
related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;",
ref-count=(structure)"value\,\ type\=\(type\)guint\,\
related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;",
trace=(structure)"value\,\ type\=\(type\)gchararray\,\
related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;";
0:00:00.207572522  6063       0x919a00 DEBUG             GST_TRACER
gsttracerrecord.c:125: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;
0:00:02.568540981  6063       0x919a00 TRACE             GST_TRACER :0::
object-alive, type-name=(string)GstAudioClock,
address=(gpointer)0x7fa69c365290, description=(string)<GstPulseSinkClock>,
ref-count=(uint)1, trace=(string);
0:00:02.568546666  6063       0x919a00 TRACE             GST_TRACER :0::
object-alive, type-name=(string)GstPad, address=(gpointer)0x7fa69c1ed6c0,
description=(string)<pulsesink0:sink>, ref-count=(uint)1, trace=(string);
0:00:02.568551207  6063       0x919a00 TRACE             GST_TRACER :0::
object-alive, type-name=(string)GstPad, address=(gpointer)0x7fa69c1ec4c0,
description=(string)<xvimagesink0:sink>, ref-count=(uint)1, trace=(string);
0:00:02.568555324  6063       0x919a00 TRACE             GST_TRACER :0::
object-alive, type-name=(string)GstPulseSink, address=(gpointer)0x7fa69c364be0,
description=(string)<pulsesink0>, ref-count=(uint)1, trace=(string);
0:00:02.568559260  6063       0x919a00 TRACE             GST_TRACER :0::
object-alive, type-name=(string)GstXvImageSink,
address=(gpointer)0x7fa69c2091f0, description=(string)<xvimagesink0>,
ref-count=(uint)1, trace=(string);

---
What does this mean, and where might the problem be?
So confused...Advice please.(*>.<*)


playbin3:
shakin at shakin-dev:~/Desktop$ GST_TRACERS="leaks" GST_DEBUG="GST_TRACER:7"
GST_DEBUG_COLOR_MODE=off GST_DEBUG_FILE='/home/shakin/work/log/gst.log'
GST_DEBUG_DUMP_DOT_DIR='/home/shakin/work/log'  gst-launch-1.0 playbin3
uri=http://10.9.44.116/test.mp4
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSinkClock
^Chandling interrupt.                              <= ctrl + c
Interrupt: Stopping pipeline ...
Execution ended after 0:00:02.668387121
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

No warning, everything is ok!

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