-
Bug
-
Resolution: Fixed
-
P2
-
11, 17
-
b26
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8269999 | 11.0.13-oracle | Tobias Hartmann | P2 | Closed | Fixed | b02 |
JDK-8270079 | 11.0.13 | Aleksey Shipilev | P2 | Resolved | Fixed | b01 |
$ export JAVA_HOME=<point to fastdebug build>
$ export PATH=$JAVA_HOME/bin:$PATH
$ cd test/hotspot/jtreg/testlibrary/ctw
$ make
$ cd dist
$ wget https://repo1.maven.org/maven2/com/cloudbees/diff4j/1.2/diff4j-1.2.jar
$ JAVA_OPTIONS="-XX:TieredStopAtLevel=1" ./ctw.sh diff4j-1.2.jar
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/shade/trunks/jdk/src/hotspot/share/c1/c1_RangeCheckElimination.cpp:903), pid=3761927, tid=3761940
# assert(state) failed: State must not be null
Current CompileTask:
C1: 612 325 !b 1 com.cloudbees.diff.Patch$SinglePatchReader::hasNextPatch (697 bytes)
Stack: [0x00007f05ccc36000,0x00007f05ccd37000], sp=0x00007f05ccd34050, free space=1016k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x8269ec] RangeCheckEliminator::process_access_indexed(BlockBegin*, BlockBegin*, AccessIndexed*) [clone .part.0]+0x54c
V [libjvm.so+0x827e30] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x640
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x827d63] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x573
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x82834a] RangeCheckEliminator::RangeCheckEliminator(IR*)+0x3ca
V [libjvm.so+0x8289d0] RangeCheckElimination::eliminate(IR*)+0x40
V [libjvm.so+0x72bfe6] Compilation::build_hir() [clone .part.0]+0x1256
V [libjvm.so+0x72f9e0] Compilation::compile_java_method()+0x1c0
V [libjvm.so+0x7307e4] Compilation::compile_method()+0x1d4
V [libjvm.so+0x7311ff] Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*, bool, DirectiveSet*)+0x36f
V [libjvm.so+0x732637] Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1a7
V [libjvm.so+0xa44369] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xf19
V [libjvm.so+0xa45048] CompileBroker::compiler_thread_loop()+0x5a8
V [libjvm.so+0x19d07b1] JavaThread::thread_main_inner()+0x281
V [libjvm.so+0x19d7ee4] Thread::call_run()+0x104
$ export PATH=$JAVA_HOME/bin:$PATH
$ cd test/hotspot/jtreg/testlibrary/ctw
$ make
$ cd dist
$ wget https://repo1.maven.org/maven2/com/cloudbees/diff4j/1.2/diff4j-1.2.jar
$ JAVA_OPTIONS="-XX:TieredStopAtLevel=1" ./ctw.sh diff4j-1.2.jar
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/shade/trunks/jdk/src/hotspot/share/c1/c1_RangeCheckElimination.cpp:903), pid=3761927, tid=3761940
# assert(state) failed: State must not be null
Current CompileTask:
C1: 612 325 !b 1 com.cloudbees.diff.Patch$SinglePatchReader::hasNextPatch (697 bytes)
Stack: [0x00007f05ccc36000,0x00007f05ccd37000], sp=0x00007f05ccd34050, free space=1016k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x8269ec] RangeCheckEliminator::process_access_indexed(BlockBegin*, BlockBegin*, AccessIndexed*) [clone .part.0]+0x54c
V [libjvm.so+0x827e30] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x640
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x827d63] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x573
V [libjvm.so+0x827bc7] RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*)+0x3d7
V [libjvm.so+0x82834a] RangeCheckEliminator::RangeCheckEliminator(IR*)+0x3ca
V [libjvm.so+0x8289d0] RangeCheckElimination::eliminate(IR*)+0x40
V [libjvm.so+0x72bfe6] Compilation::build_hir() [clone .part.0]+0x1256
V [libjvm.so+0x72f9e0] Compilation::compile_java_method()+0x1c0
V [libjvm.so+0x7307e4] Compilation::compile_method()+0x1d4
V [libjvm.so+0x7311ff] Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*, bool, DirectiveSet*)+0x36f
V [libjvm.so+0x732637] Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1a7
V [libjvm.so+0xa44369] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xf19
V [libjvm.so+0xa45048] CompileBroker::compiler_thread_loop()+0x5a8
V [libjvm.so+0x19d07b1] JavaThread::thread_main_inner()+0x281
V [libjvm.so+0x19d7ee4] Thread::call_run()+0x104
- backported by
-
JDK-8270079 CTW: C1 fails with "State must not be null"
- Resolved
-
JDK-8269999 CTW: C1 fails with "State must not be null"
- Closed
- links to
-
Commit openjdk/jdk11u-dev/02c0cf60
-
Commit openjdk/jdk/0a6c7d8a
-
Review openjdk/jdk11u-dev/107
-
Review openjdk/jdk/4437
(1 links to)