Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
andrewboie opened this issue Feb 13, 2019 · 0 comments
Closed
Assignees
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

Comments

@andrewboie
Copy link
Contributor

andrewboie commented Feb 13, 2019

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.

@andrewboie andrewboie added the bug The issue is a bug, or the PR is fixing a bug label Feb 13, 2019
@nashif nashif added the priority: medium Medium impact/importance bug label Feb 19, 2019
@aescolar aescolar added the area: ARC ARC Architecture label Mar 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

5 participants