United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6975049 nsk/regression/b4287029 crashes with -Xss64 on solaris-i586
JDK-6975049 : nsk/regression/b4287029 crashes with -Xss64 on solaris-i586

Details
Type:
Bug
Submit Date:
2010-08-05
Status:
Closed
Updated Date:
2012-02-01
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
solaris,generic,solaris_10
Sub-Component:
compiler
CPU:
x86,generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs14,hs19,7
Fixed Versions:
hs19 (b06)

Related Reports
Backport:
Backport:
Backport:
Backport:
Duplicate:
Duplicate:
Duplicate:

Sub Tasks

Description
nsk/regression/b4287029 crashes on solaris-i586 when running with jdk7.

                                    

Comments
PUBLIC COMMENTS

Crash log from gdb is below. SEGV is in StubGenerator_generate. Presumably different runtime options between JDK6 and 7 cause the different runtime behaviours.

Core was generated by `/mirrors/j2se-mirrors/7/solaris-i586/fastdebug/bin/java -Xss64k -version'.
Program terminated with signal 11, Segmentation fault.
#0  0xfe4557a8 in __1cWStubGenerator_generate6FpnKCodeBuffer_b_v_ ()
   from /mirrors/j2se-mirrors/7/solaris-i586/fastdebug/jre/lib/i386/server/libjvm.so
(gdb) where
#0  0xfe4557a8 in __1cWStubGenerator_generate6FpnKCodeBuffer_b_v_ ()
   from /mirrors/j2se-mirrors/7/solaris-i586/fastdebug/jre/lib/i386/server/libjvm.so
#1  0xfe4d09dd in __1cMStubRoutinesLinitialize16F_v_ ()
   from /mirrors/j2se-mirrors/7/solaris-i586/fastdebug/jre/lib/i386/server/libjvm.so
#2  0xfe4d2f1c in __1cSstubRoutines_init16F_v_ ()
   from /mirrors/j2se-mirrors/7/solaris-i586/fastdebug/jre/lib/i386/server/libjvm.so
#3  0xfd756412 in __1cMinit_globals6F_i_ ()
   from /mirrors/j2se-mirrors/7/solaris-i586/fastdebug/jre/lib/i386/server/libjvm.so
#4  0xfe5ea0c7 in __1cHThreadsJcreate_vm6FpnOJavaVMInitArgs_pb_i_ ()
   from /mirrors/j2se-mirrors/7/solaris-i586/fastdebug/jre/lib/i386/server/libjvm.so
#5  0xfd968544 in JNI_CreateJavaVM ()
   from /mirrors/j2se-mirrors/7/solaris-i586/fastdebug/jre/lib/i386/server/libjvm.so
#6  0xfef748f5 in InitializeJVM (pvm=0xfc80ffb0, penv=0xfc80ffb4,
    ifn=0xfc80ffb8) at ../../../src/share/bin/java.c:1121
#7  0xfef726f3 in JavaMain (_args=0x8045f20)
    at ../../../src/share/bin/java.c:367
#8  0xfeec71c0 in _thr_setup () from /lib/libc.so.1
#9  0xfeec74b0 in L3_doit () from /lib/libc.so.1
#10 0xfc7e0200 in ?? ()
#11 0x00000000 in ?? ()
                                     
2010-08-05
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/fb8abd207dbe
                                     
2010-08-06
SUGGESTED FIX

Tell C++ to not inline so much by using flag -xspace.
It is not performance critical code since it is executed only during startup.
                                     
2010-08-06
PUBLIC COMMENTS

Tell C++ to not inline so much by using flag -xspace.
It is not performance critical code since it is executed only during startup.
                                     
2010-08-06
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/fb8abd207dbe
                                     
2010-08-14



Hardware and Software, Engineered to Work Together