United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7132936 guarantee(t != NULL) failed: must be con
JDK-7132936 : guarantee(t != NULL) failed: must be con

Details
Type:
Bug
Submit Date:
2012-01-24
Status:
Closed
Updated Date:
2012-03-24
Project Name:
JDK
Resolved Date:
2012-03-24
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
8-pool
Fixed Versions:
hs23 (b12)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
Regression after 7131302 changes.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/tmp/jprt/P2/224736.iveresov/source/src/share/vm/opto/node.hpp:941), pid=25845, tid=2807212944
#  guarantee(t != NULL) failed: must be con
#
# JRE version: 7.0_04-b07
# Java VM: Java HotSpot(TM) Server VM (23.0-b11-internal-201201202247.iveresov.7131028-fastdebug compiled mode linux-x86 )
# Core dump written. Default location: /export/local/57670.JDK7.NIGHTLY.VM_linux-i586_jittester_server_comp_testlist/results/wrk_dir1327134748790/core or core.25845
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x097fcc00):  JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=25853, stack(0xa74aa000,0xa752b000)]

Stack: [0xa74aa000,0xa752b000],  sp=0xa7528240,  free space=504k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xaf1761]  VMError::report_and_die()+0x1a1;;  VMError::report_and_die()+0x1a1
V  [libjvm.so+0x4e9598]  report_vm_error(char const*, int, char const*, char const*)+0x68;;  report_vm_error(char const*, int, char const*, char const*)+0x68
V  [libjvm.so+0x86d5cf]  LoadUBNode::Value(PhaseTransform*) const+0xcf;;  LoadUBNode::Value(PhaseTransform*) const+0xcf
V  [libjvm.so+0x97881a]  PhaseIterGVN::transform_old(Node*)+0x28a;;  PhaseIterGVN::transform_old(Node*)+0x28a
V  [libjvm.so+0x974bb1]  PhaseIterGVN::optimize()+0x261;;  PhaseIterGVN::optimize()+0x261
V  [libjvm.so+0x47714b]  Compile::Optimize()+0xbfb;;  Compile::Optimize()+0xbfb
V  [libjvm.so+0x47b11c]  Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool)+0x14bc;;  Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool)+0x14bc
V  [libjvm.so+0x38e149]  C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x229;;  C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x229
V  [libjvm.so+0x484e3e]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x55e;;  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x55e
V  [libjvm.so+0x485d1b]  CompileBroker::compiler_thread_loop()+0x5bb;;  CompileBroker::compiler_thread_loop()+0x5bb
V  [libjvm.so+0xa8a69f]  compiler_thread_entry(JavaThread*, Thread*)+0x4f;;  _ZL21compiler_thread_entryP10JavaThreadP6Thread+0x4f
V  [libjvm.so+0xa962a9]  JavaThread::thread_main_inner()+0x1b9;;  JavaThread::thread_main_inner()+0x1b9
V  [libjvm.so+0x91c3c1]  java_start(Thread*)+0x111;;  _ZL10java_startP6Thread+0x111
C  [libpthread.so.0+0x5832]  abort@@GLIBC_2.0+0x5832


Current CompileTask:
C2: 652349 30618    b        Test_Class_3::<init> (613 bytes)

jvm_args: -Xcomp -XX:-PrintVMOptions -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:DefaultMaxRAMFraction=8 -XX:+UnlockExperimentalVMOptions -XX:+IgnoreUnrecognizedVMOptions -XX:+AggressiveOpts -XX:-DontCompileHugeMethods -Xmx128M

                                    

Comments
EVALUATION

Missing check for top value:

[t@45 l@45]: print this->dump(1)
 98     AddP    === _  96  96  97  [[ 99  1435  1346  662  1430 ]]   Oop:java/lang/Class:exact+112 * !jvms: Test_Class_3::<init> @ bci:32
 662    StoreB  ===  1  1  98  1  [[ 1346  836  836 ]]  @java/lang/Class:exact+112 *, name=var_26, idx=9;  Memory: @java/lang/Class:exact+112 *, name=var_26, idx=9; !orig=[1111],[1028] !jvms: Test_Class_3::<init> @ bci:209
 1346   LoadUB  === _  662  98  [[ 1367 ]]  @java/lang/Class:exact+112 *, name=var_26, idx=9; #bool !jvms: Test_Class_3::<init> @ bci:480
this->dump(1) = (void)
[t@45 l@45]: print value->dump()
 1      Con     ===  0  [[]]  #top
                                     
2012-01-24
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/52474ec73861
                                     
2012-01-25
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/52474ec73861
                                     
2012-03-22



Hardware and Software, Engineered to Work Together