Re: [PATCH] rtla: Fix segfault on multiple SIGINTs

From: Wander Lairson Costa

Date: Tue Mar 10 2026 - 13:02:31 EST


On Tue, Mar 10, 2026 at 05:07:25PM +0100, Tomas Glozar wrote:
> Detach stop_trace() from SIGINT/SIGALRM on tool clean-up to prevent it
> from crashing RTLA by accessing freed memory.
>
> This prevents a crash when multiple SIGINTs are received.
>
> Fixes: d6899e560366 ("rtla/timerlat_hist: Abort event processing on second signal")
> Fixes: 80967b354a76 ("rtla/timerlat_top: Abort event processing on second signal")
> Signed-off-by: Tomas Glozar <tglozar@xxxxxxxxxx>
> ---

Reviewed-by: Wander Lairson Costa <wander@xxxxxxxxxx>

[...]