[Bug 767862] leaks tracer: display creation stack trace of leaked objects

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jun 24 09:14:37 UTC 2016


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

--- Comment #6 from Guillaume Desmottes <gdesmott at gnome.org> ---
Review of attachment 330270:
 --> (https://bugzilla.gnome.org/review?bug=767862&attachment=330270)

::: configure.ac
@@ +810,3 @@
+
+if test "x$HAVE_UNWIND" = "xyes"; then
+  AC_CHECK_HEADERS([execinfo.h], [

fixed.

::: plugins/tracers/gstleaks.c
@@ +34,3 @@

+#ifdef HAVE_UNWIND
+#define UNW_LOCAL_ONLY

added a comment.

@@ +194,3 @@
+    name[0] = '\0';
+    if (unw_get_proc_name (&cursor, name, 256, &offp) != 0)
+  trace = g_string_new (NULL);

Just checked and the buffer is always \0 terminated even when truncated.

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