JDK-4916737 : Linux jre 1.4.1 on RHEL 3.0 cannot handle stack arrangement
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 1.4.1
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: linux_redhat_3.0
  • CPU: x86
  • Submitted: 2003-09-03
  • Updated: 2012-10-08
  • Resolved: 2003-10-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.1_07 07Fixed
Description
The stack detection code in 1.4.1 was written before Redhat Enterprise Linux AS 3.0 kernel changes for 4GB kernel heap existed. J2SDK 1.4.2 runs ok. The message is

Fatal: Stack size too small. Use 'java -Xss' to increase default stack size.

The 3GB version of the kernel does work

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.1_07 generic FIXED IN: 1.4.1_07 INTEGRATED IN: 1.4.1_07
14-06-2004

SUGGESTED FIX When calculating initial_thread_stack_bottom use code from IA64 calculation to get initial_sp (file os_linux.cpp) and not use INITIAL_THREAD_STACK_BASE There may be other changes required but this allowed the JRE to run a simple 2d demo ###@###.### 2003-10-07 http://jpsesvr.sfbay:8080/ctetools/html/ViewDetail.jsp?index=802
07-10-2003

EVALUATION Pleaser escalate to get addressed in JDK 1.4.1 ###@###.### 2003-09-04 See suggested fix for detail changes for the fix. ###@###.### 2003-10-07
04-09-2003