From: Mathieu Desnoyers Date: Thu, 3 Sep 2015 02:57:40 +0000 (-0400) Subject: Fix: Relay daemon ownership and reference counting X-Git-Tag: v2.8.0-rc1~432 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=7591bab11eceedc6a0d1e02fd6f85592267a63b5;hp=7591bab11eceedc6a0d1e02fd6f85592267a63b5 Fix: Relay daemon ownership and reference counting The ownership and reference counting of the relay daemon is unclear and buggy in many ways. It is the cause of memory corruptions, double-free, leaks, segmentation faults, observed in various conditions. Fix this situation by introducing a clear ownership and reference counting scheme for this daemon. See doc/relayd-architecture.txt for details. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau ---