[PATCH] riscv: stacktrace: fix dump_backtrace/walk_stackframe with NULL task

Jisheng Zhang jszhang3 at mail.ustc.edu.cn
Wed Jul 28 06:39:34 PDT 2021


On Wed, 28 Jul 2021 06:16:56 +0800
Changbin Du <changbin.du at gmail.com> wrote:

> On Mon, Jun 28, 2021 at 01:44:04PM +0800, Jisheng Zhang wrote:
> > On Sun, 27 Jun 2021 17:26:59 +0800
> > Changbin Du <changbin.du at gmail.com> wrote:
> > 
> >   
> > > 
> > > 
> > > Some places try to show backtrace with NULL task, and expect the task is
> > > 'current'. For example, dump_stack()->show_stack(NULL,...). So the
> > > stacktrace code should take care of this case.  
> > 
> > I fixed this issue one week ago:
> > 
> > http://lists.infradead.org/pipermail/linux-riscv/2021-June/007258.html  
> 
> I still see this issue on mainline. Is your fix merged? Thanks!

Nope, the fix is missed twice. Palmer has added the fix patch into
fix branch, I help it will be in next rc

Regards




More information about the linux-riscv mailing list