Skip to content

Conversation

@vonhust
Copy link

@vonhust vonhust commented Aug 9, 2019

after appling the new "_get_curr_cpu_irq_stack" in _exc_entry,
the caculation of exception stack is wrong, this will
cause stack overflow, make the exception handling corrupt.

Signed-off-by: Wayne Ren [email protected]

Fixes #18141

I ran full sanitycheck tests on nsim_em and nsim_sem.
The results are expected

after appling the new "_get_curr_cpu_irq_stack" in _exc_entry,
the caculation of exception stack is wrong, this will
cause stack overflow, make the exception handling corrupt.

Signed-off-by: Wayne Ren <[email protected]>
@vonhust vonhust requested review from abrodkin and ruuddw August 9, 2019 02:54
@zephyrbot zephyrbot added the area: ARC ARC Architecture label Aug 9, 2019
@ioannisg ioannisg added the bug The issue is a bug, or the PR is fixing a bug label Aug 9, 2019
@ioannisg ioannisg added this to the v2.0.0 milestone Aug 9, 2019
@ioannisg ioannisg requested a review from andrewboie August 9, 2019 13:22
@ioannisg ioannisg merged commit 0757583 into zephyrproject-rtos:master Aug 9, 2019
@vonhust vonhust deleted the fixes_18141 branch August 11, 2019 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ARC ARC Architecture bug The issue is a bug, or the PR is fixing a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

arc: the caculation of exception stack is wrong

4 participants