Re: arm64: Support overflow stack panic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Crash

I'll keep refining the patch before it get approved:

  1. Fix the error in arm64_overflow_stack_init() which saved the overflow stack address into ms->irqstacks[], which would cause bt command crash on other cpus. The normal IRQ stacks should be used for bt command for other cpus.
  2. In addition to unwind on the overflow stack, try to go through the IRQ stack to find more useful information
Kernel stack overflow case would be rarely but I'd like to sharp the crash to cover this kind of issue.

Best regards
Hong

From: Hong Yang3 杨红
Sent: Tuesday, November 16, 2021 9:55
To: crash-utility@xxxxxxxxxx <crash-utility@xxxxxxxxxx>
Subject: arm64: Support overflow stack panic
 
Hi All

When I was trying to open a core of an overflow stack panic result, the bt command caused a segment fault, after a while I figured out the overflow stack is not supported by crash utility.

This patch is trying to initialize the overflow stack information on startup stage, and the bt command works as expected to dump the correct call trace in the overflow stack, currently  it only apply to arm64 target.

I'm not sure if any other sub command also need to be fixed for full support for the overflow stack, please advise and I'll try to improve the patch.

Thanks
Hong YANG
--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux