lkml.org 
[lkml]   [2023]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] stacktrace: check whether task has a stack before saving it
On Mon, Oct 30, 2023 at 6:59 PM Ronald Wahl <rwahl@gmx.de> wrote:

> I encountered a crash on ARM32 when trying to dump the stack of some
> zombie process. This is caused by a missing check whether the task
> actually has a valid stack. This commit adds this check.
>
> Commit 214d8ca6ee85 ("stacktrace: Provide common infrastructure")
> introduced this check for platforms that define CONFIG_ARCH_STACKWALK
> but ARM32 is not one of them.
>
> Signed-off-by: Ronald Wahl <ronald.wahl@raritan.com>

Looks correct to me:
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

\
 
 \ /
  Last update: 2023-11-01 23:02    [W:0.188 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site