-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: repo-valhalla
-
Component/s: hotspot
-
generic
-
generic
The following test crashes with SIGSEGV in C1:
java/util/Collection/MOAT.java
On windows-x64, the test crashes with EXCEPTION_ACCESS_VIOLATION
in C1. The test crashes with or without the -Xcomp option
on the various platforms.
Here's a snippet from a macosx-aarch64 log file:
#section:main
----------messages:(8/348)----------
command: main MOAT
reason: User specified action: run main MOAT
started: Mon Jan 12 20:28:24.852 GMT 2026
Mode: othervm [test requires --enable-preview]
Additional options from @modules: --add-modules java.base --add-opens java.base/java.util=ALL-UNNAMED
Process id: 70308
finished: Mon Jan 12 20:29:48.936 GMT 2026
elapsed time (seconds): 84.084
----------configuration:(4/95)----------
Boot Layer
add modules: java.base
add opens: java.base/java.util ALL-UNNAMED
----------System.out:(308/14067)----------
==> MOAT$NewAbstractCollection
==> MOAT$NewAbstractSet
==> java.util.LinkedHashSet
==> java.util.HashSet
==> java.util.Vector
==> java.util.Collections$SynchronizedRandomAccessList
==> java.util.ArrayDeque
==> java.util.ArrayList
==> java.util.ArrayList$SubList
==> java.util.LinkedList
==> java.util.AbstractList$SubList
==> java.util.TreeSet
NavigableSet tests...
[4.331s][warning][os] Loading hsdis library failed
implicit exception happened at 0x0000000113a788e4
Compiled method (c1) 4316 1504 1 java.lang.Integer::compareTo (9 bytes)
total in heap [0x0000000113a786c8,0x0000000113a78ac8] = 1024
main code [0x0000000113a78800,0x0000000113a78a88] = 648
stub code [0x0000000113a78a88,0x0000000113a78ac8] = 64
<snip>
Compiled method (c1) 4330 1504 1 java.lang.Integer::compareTo (9 bytes)
total in heap [0x0000000113a786c8,0x0000000113a78ac8] = 1024
main code [0x0000000113a78800,0x0000000113a78a88] = 648
stub code [0x0000000113a78a88,0x0000000113a78ac8] = 64
mutable data [0x00000009fbe94790,0x00000009fbe94800] = 112
relocation [0x00000009fbe94790,0x00000009fbe947e0] = 80
metadata [0x00000009fbe947e0,0x00000009fbe94800] = 32
immutable data [0x00000009fbd8e110,0x00000009fbd8e25c] = 332
dependencies [0x00000009fbd8e110,0x00000009fbd8e118] = 8
nul chk table [0x00000009fbd8e118,0x00000009fbd8e128] = 16
scopes pcs [0x00000009fbd8e128,0x00000009fbd8e1f8] = 208
scopes data [0x00000009fbd8e1f8,0x00000009fbd8e258] = 96
[Constant Pool (empty)]
Loading hsdis library failed, undisassembled code is shown in MachCode section
[MachCode]
[Verified Entry Point]
# {method} {0x00007ffc00251a60} 'compareTo' '(Ljava/lang/Object;)I' in 'java/lang/Integer'
# parm0: c_rarg1 = int
# parm1: c_rarg2:c_rarg2
= 'java/lang/Object'
# [sp+0x60] (sp of caller)
<snip>
PcDesc(pc=0x0000000113a78a2c offset=22c bits=1):
java.lang.Integer::compareTo@5 (line 1403) reexecute=true
Locals
- l0: empty
- l1: empty
java.lang.Integer::compareTo@5 (line 83)
Locals
- l0: empty
- l1: empty
PcDesc(pc=0x0000000113a78ac9 offset=2c9 bits=0):
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000113a788e4, pid=70308, tid=33539
#
# JRE version: Java(TM) SE Runtime Environment (27.0+1) (fastdebug build 27-valhalla+1-20)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 27-valhalla+1-20, mixed mode, emulated-client, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# J 1504 c1 java.lang.Integer.compareTo(Ljava/lang/Object;)I java.base@27-valhalla (9 bytes) @ 0x0000000113a788e4 [0x0000000113a78800+0x00000000000000e4]
#
# Core dump will be written. Default location: core.70308
#
# An error report file with more information is saved as:
# /System/Volumes/Data/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S43223/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b887c1a1-3d4d-4525-a00e-aed4413500e3/runs/a00a7422-af93-4a34-ae06-910cc48ca499/testoutput/test-support/jtreg_open_test_jdk_jdk_util/scratch/0/hs_err_pid70308.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(0/0)----------
----------rerun:(49/6821)*----------
Here's some snippets from the hs_err_pid file:
# SIGSEGV (0xb) at pc=0x0000000113a788e4, pid=70308, tid=33539
#
# JRE version: Java(TM) SE Runtime Environment (27.0+1) (fastdebug build 27-valhalla+1-20)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 27-valhalla+1-20, mixed mode, emulated-client, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# J 1504 c1 java.lang.Integer.compareTo(Ljava/lang/Object;)I java.base@27-valhalla (9 bytes) @ 0x0000000113a788e4 [0x0000000113a78800+0x00000000000000e4]
<snip>
--------------- T H R E A D ---------------
Current thread (0x00000009fef99e10): JavaThread "MainThread" [_thread_in_Java, id=33539, stack(0x00000001709b8000,0x0000000170bbb000) (2060K)]
Stack: [0x00000001709b8000,0x0000000170bbb000], sp=0x0000000170bba080, free space=2056k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J 1504 c1 java.lang.Integer.compareTo(Ljava/lang/Object;)I java.base@27-valhalla (9 bytes) @ 0x0000000113a788e4 [0x0000000113a78800+0x00000000000000e4]
[error occurred during error reporting (printing native stack (with source info)), id 0xe0000000, Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S47240/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4dc375b5-0100-46ae-b1b4-4d631fe9325b/runs/facfb9c2-f4d4-436d-b35b-6dead39aed31/workspace/open/src/hotspot/share/code/codeCache.inline.hpp:48)]
Retrying call stack printing without source information...
[error occurred during error reporting (retry printing native stack (no source info)), id 0xb, SIGSEGV (0xb) at pc=0x000000019f74a670]
siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0x0000000000000008
java/util/Collection/MOAT.java
On windows-x64, the test crashes with EXCEPTION_ACCESS_VIOLATION
in C1. The test crashes with or without the -Xcomp option
on the various platforms.
Here's a snippet from a macosx-aarch64 log file:
#section:main
----------messages:(8/348)----------
command: main MOAT
reason: User specified action: run main MOAT
started: Mon Jan 12 20:28:24.852 GMT 2026
Mode: othervm [test requires --enable-preview]
Additional options from @modules: --add-modules java.base --add-opens java.base/java.util=ALL-UNNAMED
Process id: 70308
finished: Mon Jan 12 20:29:48.936 GMT 2026
elapsed time (seconds): 84.084
----------configuration:(4/95)----------
Boot Layer
add modules: java.base
add opens: java.base/java.util ALL-UNNAMED
----------System.out:(308/14067)----------
==> MOAT$NewAbstractCollection
==> MOAT$NewAbstractSet
==> java.util.LinkedHashSet
==> java.util.HashSet
==> java.util.Vector
==> java.util.Collections$SynchronizedRandomAccessList
==> java.util.ArrayDeque
==> java.util.ArrayList
==> java.util.ArrayList$SubList
==> java.util.LinkedList
==> java.util.AbstractList$SubList
==> java.util.TreeSet
NavigableSet tests...
[4.331s][warning][os] Loading hsdis library failed
implicit exception happened at 0x0000000113a788e4
Compiled method (c1) 4316 1504 1 java.lang.Integer::compareTo (9 bytes)
total in heap [0x0000000113a786c8,0x0000000113a78ac8] = 1024
main code [0x0000000113a78800,0x0000000113a78a88] = 648
stub code [0x0000000113a78a88,0x0000000113a78ac8] = 64
<snip>
Compiled method (c1) 4330 1504 1 java.lang.Integer::compareTo (9 bytes)
total in heap [0x0000000113a786c8,0x0000000113a78ac8] = 1024
main code [0x0000000113a78800,0x0000000113a78a88] = 648
stub code [0x0000000113a78a88,0x0000000113a78ac8] = 64
mutable data [0x00000009fbe94790,0x00000009fbe94800] = 112
relocation [0x00000009fbe94790,0x00000009fbe947e0] = 80
metadata [0x00000009fbe947e0,0x00000009fbe94800] = 32
immutable data [0x00000009fbd8e110,0x00000009fbd8e25c] = 332
dependencies [0x00000009fbd8e110,0x00000009fbd8e118] = 8
nul chk table [0x00000009fbd8e118,0x00000009fbd8e128] = 16
scopes pcs [0x00000009fbd8e128,0x00000009fbd8e1f8] = 208
scopes data [0x00000009fbd8e1f8,0x00000009fbd8e258] = 96
[Constant Pool (empty)]
Loading hsdis library failed, undisassembled code is shown in MachCode section
[MachCode]
[Verified Entry Point]
# {method} {0x00007ffc00251a60} 'compareTo' '(Ljava/lang/Object;)I' in 'java/lang/Integer'
# parm0: c_rarg1 = int
# parm1: c_rarg2:c_rarg2
= 'java/lang/Object'
# [sp+0x60] (sp of caller)
<snip>
PcDesc(pc=0x0000000113a78a2c offset=22c bits=1):
java.lang.Integer::compareTo@5 (line 1403) reexecute=true
Locals
- l0: empty
- l1: empty
java.lang.Integer::compareTo@5 (line 83)
Locals
- l0: empty
- l1: empty
PcDesc(pc=0x0000000113a78ac9 offset=2c9 bits=0):
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000113a788e4, pid=70308, tid=33539
#
# JRE version: Java(TM) SE Runtime Environment (27.0+1) (fastdebug build 27-valhalla+1-20)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 27-valhalla+1-20, mixed mode, emulated-client, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# J 1504 c1 java.lang.Integer.compareTo(Ljava/lang/Object;)I java.base@27-valhalla (9 bytes) @ 0x0000000113a788e4 [0x0000000113a78800+0x00000000000000e4]
#
# Core dump will be written. Default location: core.70308
#
# An error report file with more information is saved as:
# /System/Volumes/Data/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S43223/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b887c1a1-3d4d-4525-a00e-aed4413500e3/runs/a00a7422-af93-4a34-ae06-910cc48ca499/testoutput/test-support/jtreg_open_test_jdk_jdk_util/scratch/0/hs_err_pid70308.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(0/0)----------
----------rerun:(49/6821)*----------
Here's some snippets from the hs_err_pid file:
# SIGSEGV (0xb) at pc=0x0000000113a788e4, pid=70308, tid=33539
#
# JRE version: Java(TM) SE Runtime Environment (27.0+1) (fastdebug build 27-valhalla+1-20)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 27-valhalla+1-20, mixed mode, emulated-client, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# J 1504 c1 java.lang.Integer.compareTo(Ljava/lang/Object;)I java.base@27-valhalla (9 bytes) @ 0x0000000113a788e4 [0x0000000113a78800+0x00000000000000e4]
<snip>
--------------- T H R E A D ---------------
Current thread (0x00000009fef99e10): JavaThread "MainThread" [_thread_in_Java, id=33539, stack(0x00000001709b8000,0x0000000170bbb000) (2060K)]
Stack: [0x00000001709b8000,0x0000000170bbb000], sp=0x0000000170bba080, free space=2056k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J 1504 c1 java.lang.Integer.compareTo(Ljava/lang/Object;)I java.base@27-valhalla (9 bytes) @ 0x0000000113a788e4 [0x0000000113a78800+0x00000000000000e4]
[error occurred during error reporting (printing native stack (with source info)), id 0xe0000000, Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S47240/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4dc375b5-0100-46ae-b1b4-4d631fe9325b/runs/facfb9c2-f4d4-436d-b35b-6dead39aed31/workspace/open/src/hotspot/share/code/codeCache.inline.hpp:48)]
Retrying call stack printing without source information...
[error occurred during error reporting (retry printing native stack (no source info)), id 0xb, SIGSEGV (0xb) at pc=0x000000019f74a670]
siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0x0000000000000008
There are no Sub-Tasks for this issue.