JDK-4329167 : NSK regression test b4254544 causes crash in -Xcomp and -Xmixed
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 1.3.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_7
  • CPU: sparc
  • Submitted: 2000-04-10
  • Updated: 2002-11-26
  • Resolved: 2000-05-09
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.3.0 sol-betaFixed
Related Reports
Relates :  
Description

Name: dkC59003			Date: 04/10/2000


Kestrel HotSpot Client build + Solaris_JDK_1.3-b09 fails the test 
nsk/regression/b4254544 from testbase_nsk when either -Xcomp or -Xmixed option
is passed in.

The test inserts HashMap into itself which crashes VM.

VM behaves differently for different options:
-Xmixed : Segmentation Fault (intermittently)
-Xcomp  : An irrecoverable stack overflow has occurred.
          Unexpected Signal 11
-Xint   : pass

Crash in -Xmixed mode is intermittent. I managed to reproduce it twice of 10 runs on
Ultra-1, single CPU, 266 MHz, 128M RAM, SunOS 5.7.

See also similar bug #4326445 filed against Server VM which was fixed/integrated 
on 04/03/2000.

To reproduce the bug run multiple times:
doit.sh <jdk root directory> -Xmixed
or
doit.sh <jdk root directory> -Xcomp
in
/net/sqesvr/vsn/GammaBase/Bugs/<this bug number>

The test produces the output:

$ doit.sh /export/ld24/java/hotspot/Solaris_JDK_1.3-b09 -Xmixed
java version "1.3"
Java(TM) 2 Runtime Environment, Standard Edition (build Solaris_JDK_1.3-b09)
Java HotSpot(TM) Client VM (build product+2.0+baseline+compiler1+20000401-003153, mixed mode)
Segmentation Fault - core dumped

doit.sh /export/ld24/java/hotspot/Solaris_JDK_1.3-b09 -Xcomp
java version "1.3"
Java(TM) 2 Runtime Environment, Standard Edition (build Solaris_JDK_1.3-b09)
Java HotSpot(TM) Client VM (build product+2.0+baseline+compiler1+20000401-003153, compiled 
mode)
An irrecoverable stack overflow has occurred.
An irrecoverable stack overflow has occurred.
#
# HotSpot Virtual Machine Error, Unexpected Signal 11
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error ID: 4F533F534F4C415249530E43505007D7 01
#
# Problematic Thread: prio=5 tid=0x27ed8 nid=0x1 runnable 
#

(Error ID: os_solaris.cpp, 2007)

======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: kestrel-solaris FIXED IN: kestrel-solaris INTEGRATED IN: kest-sol-beta VERIFIED IN: mantis
14-06-2004

EVALUATION Must bang stack before entering runtime. srdjan.mitrovic@eng 2000-04-12
12-04-2000