JDK-5102110 : NIGHTLY new regressions : hprof/jvmdi tests crash
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 6
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: x86
  • Submitted: 2004-09-14
  • Updated: 2004-09-20
  • Resolved: 2004-09-20
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.
JDK 6
6 mustangFixed
Related Reports
Relates :  
Description

Name: fh87463			Date: 09/14/2004


 Several hprof/jvmdi tests failed in client VM NIGHTLY on 
most platforms,
http://vmsqe.sfbay/nightly/mantis/DTWS/results/09-13-04/ClientVM/Solsparc/comp/C2_Baseline/nsk.quick_jvmdi-NIGHTLY-C2_Baseline-ClientVM-comp-Solsparc-2004-09-13-23-48-41/analysis.html
http://vmsqe.sfbay/nightly/mantis/DTWS/results/09-13-04/ClientVM/Solsparc/comp/C2_Baseline/nsk.hprof-NIGHTLY-C2_Baseline-ClientVM-comp-Solsparc-2004-09-13-23-13-57/analysis.html

They all failed with this VM crash message:

##
## An unexpected error has been detected by HotSpot Virtual Machine:
##
##  SIGSEGV (0xb) at pc=0xfe139ad4, pid=12449, tid=1
##
## Java VM: Java HotSpot(TM) Client VM (20040913162722.kbr.c2_baseline-debug compiled mode)
## Problematic frame:
## V  [libjvm.so+0x539ad4]
##
## An error report file with more information is saved as hs_err_pid12449.log
##
## If you would like to submit a bug report, please visit:
##   http://java.sun.com/webapps/bugreport/crash.jsp
##
#VM option 'CompileThreshold=100'
#Current thread is 1
#Dumping core ...

These tests pass with build "20040910192923.kvn.5074577_2-debug" but
failed with 20040913162722.kbr.c2_baseline. It's new regression.

Failing Testcase Name:
nsk/jvmdi/events/excatch001 execute_positive excatch001 quick,nsk,jpda,jvmdi
nsk/jvmdi/GetCurrentFrame/currframe001 execute_positive currframe001 quick,nsk,jpda,jvmdi
nsk/jvmdi/NotifyFramePop/nframepop001 execute_positive nframepop001 quick,nsk,jpda,jvmdi
nsk/jvmdi/SetEventNotificationMode/setnotif001 execute_positive setnotif001 quick,nsk,jpda,jvmdi
nsk/hprof/options/cpu/cpu002 compile_and_execute cpu002
nsk/hprof/options/cpu/cpu003 compile_and_execute cpu003
nsk/hprof/options/cpu/cpu006 compile_and_execute cpu006
nsk/hprof/options/cpu/cpu007 compile_and_execute cpu007
nsk/hprof/options/cpu/cpu008 compile_and_execute cpu008
nsk/hprof/options/cpu/cpu009 compile_and_execute cpu009
nsk/hprof/options/monitor/monitor006 compile_and_execute monitor006
nsk/hprof/options/monitor/monitor007 compile_and_execute monitor007
nsk/hprof/options/depth/depth005 compile_and_execute depth005
nsk/hprof/options/depth/depth006 compile_and_execute depth006
nsk/hprof/options/cutoff/cutoff006 compile_and_execute cutoff006
nsk/hprof/options/cutoff/cutoff007 compile_and_execute cutoff007
nsk/hprof/options/lineno/lineno005 compile_and_execute lineno005
nsk/hprof/options/lineno/lineno006 compile_and_execute lineno006
nsk/hprof/options/thread/thread005 compile_and_execute thread005
nsk/hprof/options/thread/thread006 compile_and_execute thread006
nsk/hprof/options/thread/thread008 compile_and_execute thread008
nsk/hprof/options/doe/doe005 compile_and_execute doe005
nsk/hprof/options/doe/doe006 compile_and_execute doe006
nsk/hprof/options/doe/doe008 compile_and_execute doe008
nsk/regression/b4322483 compile_and_execute b4322483
nsk/regression/b4328316 compile_and_execute b4328316
nsk/hprof/regression/Context/context002 execute_positive context002
nsk/hprof/regression/Context/context003 execute_positive context003
nsk/hprof/regression/CrashTest/ct02s execute_positive ct02s
nsk/hprof/regression/CrashTest/ct03s execute_positive ct03s
nsk/hprof/regression/CrashTest/ct02t execute_positive ct02t

--------------------------

#!/usr/bin/sh
 
 LD_LIBRARY_PATH=/net/vmsqe.sfbay/export/backup/UNIFIED-DTF/DTWS/suites/nsk.hprof/testbase/src/nsk/share/lib/sparc:/var/tmp/Work/JDK/NIGHTLY/C2_Baseline/solaris-sparc/jre/lib/sparc/client
 RAS_OPTIONS=
 SHELL=/usr/bin/sh
 DISPLAY=vmsqe.sfbay:0.0
 CLASSPATH=/var/tmp/Work/exec/nsk.hprof-NIGHTLY-C2_Baseline-ClientVM-comp-Solsparc-2004-09-13-23-13-57/fhsu.Solaris.sparc/cpu003:/net/vmsqe.sfbay/export/backup/UNIFIED-DTF/DTWS/suites/nsk.hprof/testbase/bin/classes:/var/tmp/Work/JDK/NIGHTLY/C2_Baseline/solaris-sparc/lib/tools.jar
 PATH=/var/tmp/Work/JDK/NIGHTLY/C2_Baseline/solaris-sparc/bin:/bin:/usr/bin:/var/tmp/Work/JDK/NIGHTLY/C2_Baseline/solaris-sparc/jre/bin
 HOME=/var/tmp
 
 while [ $# -gt 0 ];
 do
   if [ $1 = "-jdk" ]; then
 	shift 1
 	PATH=${1}/bin:${PATH}
 	shift 1
   else
 	if [ $1 = "-d" ]; then
 	  shift 1
 	  if [ $# -gt 0  ]; then
 		DISPLAY=$1
 		shift 1
 	  else
 		DISPLAY=:0.0
 	  fi
 	fi
   fi
 done
 
 export LD_LIBRARY_PATH
 export RAS_OPTIONS
 export SHELL
 export DISPLAY
 export CLASSPATH
 export PATH
 export HOME
 
 /var/tmp/Work/JDK/NIGHTLY/C2_Baseline/solaris-sparc/bin/javac -d /var/tmp/Work/exec/nsk.hprof-NIGHTLY-C2_Baseline-ClientVM-comp-Solsparc-2004-09-13-23-13-57/fhsu.Solaris.sparc/cpu003/ /var/tmp/Work/exec/nsk.hprof-NIGHTLY-C2_Baseline-ClientVM-comp-Solsparc-2004-09-13-23-13-57/fhsu.Solaris.sparc/cpu003/*.java
 ##Exit status of Java compilation=0
 
 
 
 LD_LIBRARY_PATH=/net/vmsqe.sfbay/export/backup/UNIFIED-DTF/DTWS/suites/nsk.hprof/testbase/src/nsk/share/lib/sparc:/var/tmp/Work/JDK/NIGHTLY/C2_Baseline/solaris-sparc/jre/lib/sparc/client
 RAS_OPTIONS=
 SHELL=/usr/bin/sh
 DISPLAY=vmsqe.sfbay:0.0
 CLASSPATH=/var/tmp/Work/exec/nsk.hprof-NIGHTLY-C2_Baseline-ClientVM-comp-Solsparc-2004-09-13-23-13-57/fhsu.Solaris.sparc/cpu003:/net/vmsqe.sfbay/export/backup/UNIFIED-DTF/DTWS/suites/nsk.hprof/testbase/bin/classes:/var/tmp/Work/JDK/NIGHTLY/C2_Baseline/solaris-sparc/lib/tools.jar
 PATH=/var/tmp/Work/JDK/NIGHTLY/C2_Baseline/solaris-sparc/bin:/bin:/usr/bin:/var/tmp/Work/JDK/NIGHTLY/C2_Baseline/solaris-sparc/jre/bin
 HOME=/var/tmp
 
 while [ $# -gt 0 ];
 do
   if [ $1 = "-jdk" ]; then
 	shift 1
 	PATH=${1}/bin:${PATH}
 	shift 1
   else
 	if [ $1 = "-d" ]; then
 	  shift 1
 	  if [ $# -gt 0  ]; then
 		DISPLAY=$1
 		shift 1
 	  else
 		DISPLAY=:0.0
 	  fi
 	fi
   fi
 done
 
 export LD_LIBRARY_PATH
 export RAS_OPTIONS
 export SHELL
 export DISPLAY
 export CLASSPATH
 export PATH
 export HOME
 
 #annotate TEST javaopt=/var/tmp/Work/JDK/NIGHTLY/C2_Baseline/solaris-sparc/bin/java -client -Xcomp -XX:CompileThreshold=100 -Xrunhprof:cpu=old,file=/var/tmp/Work/exec/nsk.hprof-NIGHTLY-C2_Baseline-ClientVM-comp-Solsparc-2004-09-13-23-13-57/fhsu.Solaris.sparc/cpu003/cpu003.hprof.out
 /usr/bin/perl -I/net/vmsqe.sfbay/export/backup/UNIFIED-DTF/DTWS/suites/nsk.hprof/testbase/src/nsk/share/hprof /net/vmsqe.sfbay/export/backup/UNIFIED-DTF/DTWS/suites/nsk.hprof/testbase/src/nsk/hprof/share/run_hprof.pl /var/tmp/Work/JDK/NIGHTLY/C2_Baseline/solaris-sparc/bin/java -client -Xcomp -DHANGINGJAVA11605 -XX:CompileThreshold=100 -Xrunhprof:cpu=old,file=/var/tmp/Work/exec/nsk.hprof-NIGHTLY-C2_Baseline-ClientVM-comp-Solsparc-2004-09-13-23-13-57/fhsu.Solaris.sparc/cpu003/cpu003.hprof.out cpu003
 ##Exit status of execution step=1
 ##Core file exists
 ##!checkExitCode
 
 ##
 ## An unexpected error has been detected by HotSpot Virtual Machine:
 ##
 ##  SIGSEGV (0xb) at pc=0xfe139ad4, pid=11886, tid=1
 ##
 ## Java VM: Java HotSpot(TM) Client VM (20040913162722.kbr.c2_baseline-debug compiled mode)
 ## Problematic frame:
 ## V  [libjvm.so+0x539ad4]
 ##
 ## An error report file with more information is saved as hs_err_pid11886.log
 ##
 ## If you would like to submit a bug report, please visit:
 ##   http://java.sun.com/webapps/bugreport/crash.jsp
 ##
 #VM option 'CompileThreshold=100'
 #Current thread is 1
 #Dumping core ...
 


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

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang FIXED IN: mustang INTEGRATED IN: mustang
22-09-2004

WORK AROUND Name: fh87463 Date: 09/14/2004 ======================================================================
22-09-2004

PUBLIC COMMENTS Integrated fix in build 05
22-09-2004

EVALUATION This was a side-effect of the fix for 5095053, which changed the C1 runtime to use C2's ExceptionHandlerTable and share the routine compute_compiled_exc_handler between the compilers. The catching method and bci information needed for JVMTI was accidentally being lost. ###@###.### 2004-09-15 Fixed in 1.6. ###@###.### 2004-09-16
15-09-2004