[Bug 767862] leaks tracer: display creation stack trace of leaked objects
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Jul 8 08:59:24 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=767862
--- Comment #9 from Guillaume Desmottes <gdesmott at gnome.org> ---
Review of attachment 330304:
--> (https://bugzilla.gnome.org/review?bug=767862&attachment=330304)
::: plugins/tracers/gstleaks.c
@@ +241,3 @@
+#ifdef HAVE_BACKTRACE
+ return generate_backtrace_trace ();
+#define BT_BUF_SIZE 100
Fixed this by still using the fallback if, for some reason, libunwind failed.
@@ +356,3 @@
leak->ref_count = ref_count;
leak->desc = gst_info_strdup_printf ("%" GST_PTR_FORMAT, obj);
+ leak->trace = trace;
Yep, added a comment.
--
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