Skip to content

arc: user thread stack overflows do not report _NANO_ERR_STACK_CHK_FAIL #13341

@andrewboie

Description

@andrewboie

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.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions