JDK-6250444 : Regression (SEGV) in Nightly popframe tests
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 6
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_9
  • CPU: sparc
  • Submitted: 2005-04-05
  • Updated: 2012-02-01
  • Resolved: 2005-04-13
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 b32Fixed
Related Reports
Duplicate :  
Relates :  
Description
Nightly testing regression in several popframe tests 
for both client and server compilers after
the putback 20050331170841.sgoldman.6243940.
sol_x86, linux_x86 and Sol_amd64, linux_amd64.

nsk/jvmdi/PopFrame/popframe006
nsk/jvmdi/PopFrame/popframe008
nsk/jvmdi/PopFrame/popframe010
nsk/jvmdi/GetCallerFrame/callframe008

tatooinevm% pwd
/net/vmsqe.sfbay/export/nightly/mantis/DTWS/results/04-01-05/ServerVM/solx86/comp/C2_Baseline/nsk.quick_jvmdi-NIGHTLY-C2_Baseline-ServerVM-comp-solx86-2005-04-01-22-43-41/ResultDir/popframe006
tatooinevm% setenv CLASSPATH .
tatooinevm% setenv LD_LIBRARY_PATH .:/net/vmsqe.sfbay/export/backup/UNIFIED-DTF/DTWS/suites/nsk.quick_jvmdi/testbase/src/nsk/jvmdi/PopFrame/popframe006/intel
tatooinevm% setenv JAVA_HOME /net/vmsqe.sfbay/export/nightly/mantis/JDK/c2_baseline/jdk1.6/solaris-i586

tatooinevm% cp /net/prt-archiver/data/archived_workspaces/main/c2_baseline/2005/20050330125610.sgoldman.6244933/solaris_i486_compiler2/fastdebug/libjvm.so.gz ./
tatooinevm% /bin/gunzip -f libjvm.so.gz
tatooinevm% /usr/bin/perl /net/vmsqe.sfbay/export/backup/UNIFIED-DTF/DTWS/suites/nsk.quick_jvmdi/testbase/src/nsk/jvmdi/share/run_jvmdi.pl ${JAVA_HOME}/bin/java -server -XXaltjvm=./ -Xcomp -XX:CompileThreshold=100 -XX:+UseUnsupportedDeprecatedJVMDI -Xdebug -Xnoagent -Xrunpopframe006 popframe006
VM option 'CompileThreshold=100'
VM option '+UseUnsupportedDeprecatedJVMDI'

tatooinevm% cp /net/prt-archiver/data/archived_workspaces/main/c2_baseline/2005/20050331170841.sgoldman.6243940/solaris_i486_compiler2/fastdebug/libjvm.so.gz ./
tatooinevm% /bin/gunzip -f libjvm.so.gz
tatooinevm% /usr/bin/perl /net/vmsqe.sfbay/export/backup/UNIFIED-DTF/DTWS/suites/nsk.quick_jvmdi/testbase/src/nsk/jvmdi/share/run_jvmdi.pl ${JAVA_HOME}/bin/java -server -XXaltjvm=./ -Xcomp -XX:CompileThreshold=100 -XX:+UseUnsupportedDeprecatedJVMDI -Xdebug -Xnoagent -Xrunpopframe006 popframe006
VM option 'CompileThreshold=100'
VM option '+UseUnsupportedDeprecatedJVMDI'
=============== DEBUG MESSAGE: InterpreterMacroAssembler::call_VM_leaf_base: last_sp != NULL ================

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0xcbc0a2a4, pid=5610, tid=10
#
# Java VM: Java HotSpot(TM) Server VM (20050331170841.sgoldman.6243940-debug compiled mode)
# Problematic frame:
# j  popframe006$TestThread.A()V+0
#
# An error report file with more information is saved as hs_err_pid5610.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Current thread is 10
Dumping core ...
Abort


###@###.### 2005-04-05 01:02:06 GMT

Comments
EVALUATION Popframe code was not NULLing last_sp in the interpreter frame when it pop the current frame and essentially "returned" to the previous interpreter frame. An assert caught this missing NULL and the debug hlt seems to trigger a segv report. ###@###.### 2005-04-05 16:35:47 GMT
05-04-2005