arc: user thread stack overflows do not report _NANO_ERR_STACK_CHK_FAIL #13341
Labels
area: ARC
ARC Architecture
area: Memory Protection
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
A stack overflow of a user thread on ARC should report to _NanoFatalErrorHandler() a reason code of _NANO_ERR_STACK_CHK_FAIL. Instead it is reporting _NANO_ERR_HW_EXCEPTION.
To Reproduce
Run tests/kernel/fatal, with pr #13343 and the ifdefs for CONFIG_ARC removed.
Expected behavior
Passing test.
Impact
Stack overflows are not reported as such, wasting or confounding developer time.
The text was updated successfully, but these errors were encountered: