Skip to content
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

Stack management: tcb->adj_stack_size should be without tls overhead #1631

Closed
johannes-nivus opened this issue Aug 23, 2020 · 0 comments · Fixed by #1562 or #3517
Closed

Stack management: tcb->adj_stack_size should be without tls overhead #1631

johannes-nivus opened this issue Aug 23, 2020 · 0 comments · Fixed by #1562 or #3517

Comments

@johannes-nivus
Copy link
Contributor

johannes-nivus commented Aug 23, 2020

Since there are external tools (e.g. debugger with task/stack awareness) that use tcb->adj_stack_size for stack overflow checking by means of stack coloration, they continously report stack overflows because they interpret tls as used stack.
Also from a logical point of view: stack_size should be stack size.
#1562 fixes this for arm architecture. This should be fixed for other architectures as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant