Hi zhenyu.ren,
Please open a bug on our bug tracker and provide a reproducer against the latest
stable version (2.13.x).
https://bugs.lttng.org/
Please follow the guidelines: https://bugs.lttng.org/#Bug-reporting-guidelines
Cheers
On Fri, Feb 25, 2022 at 12:47:34PM +0800, zhenyu.ren via lttng-
When consumer_stream_destroy() is called from, for example, the error
path in setup_metadata(), consumer_stream_free() can end up being called
twice on the same stream. Since the stream->metadata_bucket is not set
to NULL after being destroyed, it leads to a use-after-free:
ERROR: AddressSanitiz