It usually happens when the stack pointer exceeds the stack bound. Usually due to deep infinite recursions