[gstreamer-bugs] [Bug 620460] info: add new REFCOUNT log level and move refcounting there from LOG level

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jun 3 13:28:29 PDT 2010


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

--- Comment #7 from David Schleef <ds at schleef.org> 2010-06-03 20:28:26 UTC ---
Created an attachment (id=162687)
 View: https://bugzilla.gnome.org/attachment.cgi?id=162687
 Review: https://bugzilla.gnome.org/review?bug=620460&attachment=162687

hack patch to do backtraces when reffing/unreffing a named object

Example output:

UNREF: object identity0 unref 2 -> 1
  [1]: /usr/local/lib/libgstreamer-0.10.so.0(gst_object_unparent+0x10b)
[0xd7f6a
  [2]: /usr/local/lib/libgstreamer-0.10.so.0(+0x28118) [0xd86118]
  [3]: /usr/local/lib/libgstreamer-0.10.so.0(gst_bin_remove+0x120) [0xd82ea0]
  [4]: /usr/local/lib/libgstreamer-0.10.so.0(+0x2b736) [0xd89736]
  [5]: /usr/local/lib/libgstreamer-0.10.so.0(+0x5fabf) [0xdbdabf]
UNREF: object identity0 unref 1 -> 0
  [1]: /usr/local/lib/libgstreamer-0.10.so.0(+0x2816c) [0xd8616c]
  [2]: /usr/local/lib/libgstreamer-0.10.so.0(gst_bin_remove+0x120) [0xd82ea0]
  [3]: /usr/local/lib/libgstreamer-0.10.so.0(+0x2b736) [0xd89736]
  [4]: /usr/local/lib/libgstreamer-0.10.so.0(+0x5fabf) [0xdbdabf]
  [5]: /usr/lib/libgobject-2.0.so.0(g_object_unref+0x10b) [0xf4832b]

You can get better debugging information by asking addr2line, which is kind of
clumsy:

  $ addr2line -e /usr/local/lib/libgstreamer-0.10.so.0 0x5fabf
  /home/ds/gst/gstreamer/gst/gstpipeline.c:251

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