Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4345034
Votes 0
Synopsis linux: hotspot vm crashes with -version on Suse 6.4
Category java:runtime
Reported Against 1.3 , merlin-beta , merlin-beta2 , kest-linux-beta
Release Fixed
State 11-Closed, Will Not Fix, bug
Priority: 2-High
Related Bugs 4344299 , 4344922 , 4354543 , 4394995 , 4483183
Submit Date 13-JUN-2000
Description
java -version 
on Suse 6.4 generates a segmentation violation

java -classic -version is ok

Also vanilla kernels with Suse 6.4 are also ok so it is a difference in
the SUSE kernel distribution
Work Around
Thanks to the SUSE engineering team, they came up with the following
work around

      echo 0 > /proc/sys/vm/heap-stack-gap

The hosspot install guard page 512KB from stack base. But SuSe Linux requires no vma within 512KB from stack base. There are two solutions:
a) We increase stack size, and move guard page 1MB from stack base;
b) SuSe use smaller heap-stack-gap. I think SuSe will make this change.

 xxxxx@xxxxx  2000-06-27
Evaluation
Can anyone provide more information about Andrea Arcangeli's  silent-stack-overflow-3 patch. There is some hacking code in hotspot to deal with stack overflow. However, I am not sure where the conflict came from.

 xxxxx@xxxxx  2000-06-14

This bug is caused by Suse made some incompatible change to the kernel which prevent us from installing guard page and altstack, which are required for detecting stack overflow error. As far as I know, SuSe will update their kernel to avoid this problem. From HotSpot, there is nothing we can about this problem. Please use the suggested workaround to avoid this problem.

 xxxxx@xxxxx  2000-06-30
Comments
  
  Include a link with my name & email   

Submitted On 17-FEB-2001
nitg
when i run javac it gives me segmentation fault(core 
dumped) error
I could not go further since it cannot conpile any file



PLEASE NOTE: JDK6 is formerly known as Project Mustang