Indefinite or Deep Recursion Causing Stack Overflow Results in Crashes of Java Processes
(Doc ID 1279400.1)
Last updated on MARCH 31, 2023
Applies to:
Java SE JDK and JRE - Version 1.5.0 and laterRed Hat Advanced Server
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86-64 (64-bit)
Purpose
This document describes how an indefinite or very deep recursion of function calls eventually consumes all available stack space and finally causes the process to crash due to stack overflow.
On Solaris or Linux platforms, the process receives a SEGV signal, and may not even generate an 'hs_err_pid<pid>.log' file.
Troubleshooting Steps
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |