arm64: stacktrace: WARN_ON(state->common.pc == orig_pc) in kunwind_recover_return_address()
Oleg Nesterov
oleg at redhat.com
Mon Sep 16 07:18:56 PDT 2024
On 09/16, Puranjay Mohan wrote:
>
> Oleg Nesterov <oleg at redhat.com> writes:
>
> > given that kunwind_recover_return_address() passes idx == NULL to
> > ftrace_graph_ret_addr(), it should always return ret == state->common.pc ?
> >
> >
> > Perhaps this connects to 29c1c24a27 ("function_graph: Fix up ftrace_graph_ret_addr()")
> > and I have no idea if something like the patch below makes any sense.
> >
>
> Your finding is accurate.
>
> It has been fixed in upstream by c060f93253ca ("arm64: stacktrace: fix
> the usage of ftrace_graph_ret_addr()")
Yes, I have already found that commit, see my next email ;)
Nevertheless, thanks a lot Puranjay for the confirmation!
Oleg.
More information about the linux-arm-kernel
mailing list