ARM Technical Support Knowledge Articles

DETECTING STACK OVERFLOWS

Applies to: RealView Real-Time Library

Answer


Information in this article applies to:


QUESTION

How can I detect a stack overflow with the RTX kernel?

ANSWER

The RTX kernel in RL-ARM has a build-in detection for stack overflows. runs in User Mode. The Stack Checking is configured in the RTX_Config.C source file and calls the function os_stk_overflow which can be used to determine the task that has cause a stack overrun.

MORE INFORMATION

Article last edited on: 2006-10-16 22:49:37

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential