From: David Goulet Date: Thu, 1 Nov 2012 20:27:08 +0000 (-0400) Subject: Fix: Sync issue when deleting a data stream X-Git-Tag: v2.1.0-rc6~2 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=9617607b21389440ecd1e02faf46f7ccf38dbd2b;hp=9617607b21389440ecd1e02faf46f7ccf38dbd2b Fix: Sync issue when deleting a data stream A data stream was rescheduled for deletion after a flush on hang up. Once in a normal read code path, on error, the stream is deleted and then processed for ERR|HUP error which could also delete again the stream causing an assert() and a failed trace. We fix that by setting the local array to NULL for that stream once deleted and ignoring the stream is subsequent loop if NULL. Fixes #390 Acked-by: Mathieu Desnoyers Signed-off-by: David Goulet ---