[Bug 749427] Dispose/finalize GST_REFCOUNTING log messages missing poitner of object being disposed/finalized

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri May 15 05:46:29 PDT 2015


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

Mark Combellack <gnome-bugzilla at combellack.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gnome-bugzilla at combellack.n
                   |                            |et

--- Comment #1 from Mark Combellack <gnome-bugzilla at combellack.net> ---
Created attachment 303422
  --> https://bugzilla.gnome.org/attachment.cgi?id=303422&action=edit
Patch that adds address logging to GST_REFCOUNTING dispose and finalize log
messages

With this patch the dispose and finalize GST_REFCOUNTING log messages include
the address of the object that is being disposed/finalized. An example is shown
below:

0:00:00.086486944  5872      0x205aa60 TRACE        GST_REFCOUNTING
gstobject.c:280:gst_object_unref:<pipeline> 0x2077120 unref 1->0
0:00:00.086495187  5872      0x205aa60 TRACE        GST_REFCOUNTING
gstobject.c:369:gst_object_dispose:<pipeline> 0x2077120 dispose
0:00:00.086503724  5872      0x205aa60 TRACE        GST_REFCOUNTING
gstobject.c:411:gst_object_finalize:<pipeline> 0x2077120 finalize
0:00:00.086511643  5872      0x205aa60 TRACE        GST_REFCOUNTING
gstobject.c:769:gst_object_unparent:<bin> unparent
0:00:00.086518240  5872      0x205aa60 TRACE        GST_REFCOUNTING
gstobject.c:280:gst_object_unref:<bin> 0x2077040 unref 1->0
0:00:00.086526440  5872      0x205aa60 TRACE        GST_REFCOUNTING
gstobject.c:369:gst_object_dispose:<bin> 0x2077040 dispose
0:00:00.086534906  5872      0x205aa60 TRACE        GST_REFCOUNTING
gstobject.c:411:gst_object_finalize:<bin> 0x2077040 finalize
0:00:00.086548727  5872      0x205aa60 TRACE        GST_REFCOUNTING
gstobject.c:411:gst_object_finalize:<registry0> 0x205f150 finalize


With the above change to the logging, a simple grep on an address will list all
GST_REFCOUNTING log messages for that object.

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