-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 23
-
Component/s: hotspot
-
b05
-
generic
-
linux
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8375706 | 26.0.1 | Quan Anh Mai | P3 | Resolved | Fixed | master |
| JDK-8375269 | 26 | Quan Anh Mai | P3 | Resolved | Fixed | b31 |
How to reproduce:
1) jdk fastdebug build
2) make test TEST=test/jdk/tools/jpackage/share/AsyncTest.java JTREG="VM_OPTIONS=-XX:+UnlockExperimentalVMOptions -XX:+UseZGC"
3) It failed intermittently. In my local test, it failed on Linux/AArch64 and Linux/x86_64. The failure probability is about 1/2 runs
Note-1: this test case was introduced inJDK-8333727
Note-2: I tried the following commits and the three commits failed all.
a) a89018582160a, i.e. the commit ofJDK-8333727
b) 6950503dcf786, i.e. the latest commit in jdk26 branch
c) 6ae3e064352a5, i.e. the latest commit in mainline
Here shows the snippet of error log.
Attached please find the full log.
STDOUT:
[03:43:06.881] Parsing [--jpt-run=AsyncTest]...
[03:43:06.964] AsyncTest -> [public void AsyncTest.test() throws java.lang.Exception]
[03:43:07.019] Create: AsyncTest.test
[03:43:07.036] [ RUN ] AsyncTest.test
[03:43:07.302] TRACE: Bundler deb enabled
[03:43:07.366] TRACE: exec: Execute tool provider [javac -d test/jar-workdir --release 11 /tmp/jdk-src/test/jdk/tools/jpackage/apps/Hello.java](6); discard out+err...
[03:43:08.831] TRACE: exec: Done. Exit code: 0
[03:43:08.839] TRACE: assertEquals(0): Check command tool provider [javac -d test/jar-workdir --release 11 /tmp/jdk-src/test/jdk/tools/jpackage/apps/Hello.java](6) exited with 0 code
[03:43:08.842] TRACE: exec: Execute tool provider [jar -c -f test/hello.jar -e Hello -C test/jar-workdir .](9); discard out+err...
[03:43:08.904] TRACE: exec: Done. Exit code: 0
[03:43:08.904] TRACE: assertEquals(0): Check command tool provider [jar -c -f test/hello.jar -e Hello -C test/jar-workdir .](9) exited with 0 code
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/tmp/jdk-src/src/hotspot/share/opto/escape.cpp:3701), pid=102226, tid=102356
# assert(addp->is_AddP()) failed: must be AddP
#
# JRE version: OpenJDK Runtime Environment (27.0) (fastdebug build 27-internal-git-a6462d641cb)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 27-internal-git-a6462d641cb, mixed mode, sharing, tiered, compressed class ptrs, z gc, linux-aarch64)
# Problematic frame:
# V [libjvm.so+0xc0fe54][thread 102357 also had an error]
ConnectionGraph::get_addp_base(Node*)+0x494
#
# Core dump will be written. Default location: Determined by the following: "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (alternatively, falling back to /tmp/jtwork/jdk/scratch/0/core.102226)
#
# An error report file with more information is saved as:
# /tmp/jtwork/jdk/scratch/0/hs_err_pid102226.log
[thread 102359 also had an error]
[thread 102358 also had an error]
[thread 102341 also had an error]
------ Timeout during error reporting after 120 s. ------
# [ timer expired, abort... ]
1) jdk fastdebug build
2) make test TEST=test/jdk/tools/jpackage/share/AsyncTest.java JTREG="VM_OPTIONS=-XX:+UnlockExperimentalVMOptions -XX:+UseZGC"
3) It failed intermittently. In my local test, it failed on Linux/AArch64 and Linux/x86_64. The failure probability is about 1/2 runs
Note-1: this test case was introduced in
Note-2: I tried the following commits and the three commits failed all.
a) a89018582160a, i.e. the commit of
b) 6950503dcf786, i.e. the latest commit in jdk26 branch
c) 6ae3e064352a5, i.e. the latest commit in mainline
Here shows the snippet of error log.
Attached please find the full log.
STDOUT:
[03:43:06.881] Parsing [--jpt-run=AsyncTest]...
[03:43:06.964] AsyncTest -> [public void AsyncTest.test() throws java.lang.Exception]
[03:43:07.019] Create: AsyncTest.test
[03:43:07.036] [ RUN ] AsyncTest.test
[03:43:07.302] TRACE: Bundler deb enabled
[03:43:07.366] TRACE: exec: Execute tool provider [javac -d test/jar-workdir --release 11 /tmp/jdk-src/test/jdk/tools/jpackage/apps/Hello.java](6); discard out+err...
[03:43:08.831] TRACE: exec: Done. Exit code: 0
[03:43:08.839] TRACE: assertEquals(0): Check command tool provider [javac -d test/jar-workdir --release 11 /tmp/jdk-src/test/jdk/tools/jpackage/apps/Hello.java](6) exited with 0 code
[03:43:08.842] TRACE: exec: Execute tool provider [jar -c -f test/hello.jar -e Hello -C test/jar-workdir .](9); discard out+err...
[03:43:08.904] TRACE: exec: Done. Exit code: 0
[03:43:08.904] TRACE: assertEquals(0): Check command tool provider [jar -c -f test/hello.jar -e Hello -C test/jar-workdir .](9) exited with 0 code
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/tmp/jdk-src/src/hotspot/share/opto/escape.cpp:3701), pid=102226, tid=102356
# assert(addp->is_AddP()) failed: must be AddP
#
# JRE version: OpenJDK Runtime Environment (27.0) (fastdebug build 27-internal-git-a6462d641cb)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 27-internal-git-a6462d641cb, mixed mode, sharing, tiered, compressed class ptrs, z gc, linux-aarch64)
# Problematic frame:
# V [libjvm.so+0xc0fe54][thread 102357 also had an error]
ConnectionGraph::get_addp_base(Node*)+0x494
#
# Core dump will be written. Default location: Determined by the following: "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (alternatively, falling back to /tmp/jtwork/jdk/scratch/0/core.102226)
#
# An error report file with more information is saved as:
# /tmp/jtwork/jdk/scratch/0/hs_err_pid102226.log
[thread 102359 also had an error]
[thread 102358 also had an error]
[thread 102341 also had an error]
------ Timeout during error reporting after 120 s. ------
# [ timer expired, abort... ]
- backported by
-
JDK-8375269 assert(addp->is_AddP()) failed: must be AddP during EA with -XX:-UseCompressedOops
-
- Resolved
-
-
JDK-8375706 assert(addp->is_AddP()) failed: must be AddP during EA with -XX:-UseCompressedOops
-
- Resolved
-
- caused by
-
JDK-8316991 Reduce nullable allocation merges
-
- Resolved
-
- links to
-
Commit(jdk26)
openjdk/jdk/ffc6d1b7
-
Commit(master)
openjdk/jdk/624d7144
-
Review(jdk26)
openjdk/jdk/29219
-
Review(master)
openjdk/jdk/29177
(2 links to)