Stack Errors
Why does Stack Overflow or Stack Underflow happen? A stack overflow can happen if a script or GamePack uses a portion of that memory called the stack to keep track of its variables and functions. When a script or GamePack tries to use more memory than the stack can handle, a stack overflow occurs, and the program crashes. This can happen if the program has too many nested function calls or if it tries to store too much data on the stack.
On the other hand, a stack underflow can occur when a program tries to access memory on the stack that is not allocated to it, resulting in unpredictable behavior or a crash. This can happen if the script or GamePack has bugs that cause it to overwrite memory or if it tries to access variables that have been deallocated or out of scope.
Stack Overflow & Stack Underflow Recovery
A stack overflow and stack underflow system crash that can occur for a few different reasons such as if a very large amount of MODS is enabled and running, using an outdated firmware with a script or GamePack intended for a newer firmware or if the script or GamePack is overloaded with math calculations. First, try removing all power from the Zen and try again. If this does not work you will need to use the steps below to wipe the data off your Zen before trying again.
Recovery Steps:
- Perform a Hard Reset
- Downgrade to firmware
- Upgrade to firmware