-
Bug
-
Resolution: Unresolved
-
P3
-
None
-
26
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000022ace8bace2, pid=27568, tid=80472
#
# JRE version: Java(TM) SE Runtime Environment (26.0+9) (build 26-ea+9-870)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (26-ea+9-870, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# J 832 c1 jdk.internal.misc.Unsafe.getShortUnaligned(Ljava/lang/Object;JZ)S java.base@26-ea (12 bytes) @ 0x0000022ace8bace2 [0x0000022ace8bac80+0x0000000000000062]
#
# Core dump will be written. Default location: C:\sb\prod\1753688431\testoutput\test-support\jtreg_open_test_jdk_tier1_part3\scratch\3\hs_err_pid27568.mdmp
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
--------------- S U M M A R Y ------------
Command Line: -Dtest.vm.opts=-Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\24\36\bundles\windows-x64\jdk-24_windows-x64_bin.zip\jdk-24 -Djava.io.tmpdir=c:\sb\prod\1753688431\testoutput\test-support\jtreg_open_test_jdk_tier1_part3\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Dtest.tool.vm.opts=-J-Xmx768m -J-XX:MaxRAMPercentage=4.16667 -J-Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\24\36\bundles\windows-x64\jdk-24_windows-x64_bin.zip\jdk-24 -J-Djava.io.tmpdir=c:\sb\prod\1753688431\testoutput\test-support\jtreg_open_test_jdk_tier1_part3\tmp -J-XX:+CreateCoredumpOnCrash -J-ea -J-esa -Dtest.compiler.opts= -Dtest.java.opts= -Dtest.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk-26+9-870\windows-x64.jdk\jdk-26 -Dcompile.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk-26+9-870\windows-x64.jdk\jdk-26 -Dtest.timeout.factor=4.0 -Dtest.nativepath=c:\ade\mesos\work_dir\jib-master\install\jdk-26+9-870\windows-x64.test\jdk\jtreg\native -Dtest.root=C:\ade\mesos\work_dir\jib-master\install\jdk-26+9-870\src.full\open\test\jdk -Dtest.name=java/foreign/TestHandshake.java -Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=true,m=false] -Dtest.file=C:\ade\mesos\work_dir\jib-master\install\jdk-26+9-870\src.full\open\test\jdk\java\foreign\TestHandshake.java -Dtest.main.class=TestHandshake -Dtest.src=C:\ade\mesos\work_dir\jib-master\install\jdk-26+9-870\src.full\open\test\jdk\java\foreign -Dtest.src.path=C:\ade\mesos\work_dir\jib-master\install\jdk-26+9-870\src.full\open\test\jdk\java\foreign -Dtest.classes=C:\sb\prod\1753688431\testoutput\test-support\jtreg_open_test_jdk_tier1_part3\classes\1\java\foreign\TestHandshake.d -Dtest.class.path=C:\sb\prod\1753688431\testoutput\test-support\jtreg_open_test_jdk_tier1_part3\classes\1\java\foreign\TestHandshake.d -Dtest.class.path.prefix=C:\sb\prod\1753688431\testoutput\test-support\jtreg_open_test_jdk_tier1_part3\classes\1\java\foreign\TestHandshake.d;C:\ade\mesos\work_dir\jib-master\install\jdk-26+9-870\src.full\open\test\jdk\java\foreign -Dtest.modules=java.base/jdk.internal.vm.annotation java.base/jdk.internal.misc --add-modules=java.base --add-exports=java.base/jdk.internal.vm.annotation=ALL-UNNAMED --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\24\36\bundles\windows-x64\jdk-24_windows-x64_bin.zip\jdk-24 -Djava.io.tmpdir=c:\sb\prod\1753688431\testoutput\test-support\jtreg_open_test_jdk_tier1_part3\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Djava.library.path=c:\ade\mesos\work_dir\jib-master\install\jdk-26+9-870\windows-x64.test\jdk\jtreg\native com.sun.javatest.regtest.agent.MainWrapper C:\sb\prod\1753688431\testoutput\test-support\jtreg_open_test_jdk_tier1_part3\java\foreign\TestHandshake.d\testng.0.jta java/foreign/TestHandshake.java false TestHandshake
Host: AMD EPYC 7J13 64-Core Processor , 12 cores, 23G, Windows Server 2019 , 64 bit Build 17763 (10.0.17763.7009)
Time: Mon Jul 28 08:44:25 2025 /GM elapsed time: 17.014413 seconds (0d 0h 0m 17s)
--------------- T H R E A D ---------------
Current thread (0x0000022ae6b52020): JavaThread "pool-31-thread-1" [_thread_in_Java, id=80472, stack(0x000000cb86600000,0x000000cb86700000) (1024K)]
Stack: [0x000000cb86600000,0x000000cb86700000], sp=0x000000cb866ff130, free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x0000022ace8bace2 (no source info available)
The last pc belongs to nmethod (printed below).
siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x0000022ae689ae06
Registers:
RAX=0x0000022ae2052700, RBX=0x0000000000000000, RCX=0x000000000003b71e, RDX=0x00000000e5010128
RSP=0x000000cb866ff130, RBP=0x000000cb866ff440, RSI=0x0000000000000000, RDI=0x0000000000000000
R8 =0x0000000000000000, R9 =0x0000022ae689ae06, R10=0x0000000026496078, R11=0x0000022ace84bd80
R12=0x0000000000000000, R13=0x000000cb866ff3d0, R14=0x000000cb866ff460, R15=0x0000022ae6b52020
RIP=0x0000022ace8bace2, EFLAGS=0x0000000000010202
XMM[0]=0x0000000000000000 0x4069000000000000
XMM[1]=0x0000000000000000 0x40a8000000000000
XMM[2]=0x0000000000000000 0x3ff0000000000000
XMM[3]=0x0000000000000000 0x0000000000000000
XMM[4]=0x0000000000000000 0x0000000000000000
XMM[5]=0x0000000000000000 0x0000000000000000
XMM[6]=0x0000000000000000 0x0000000000000000
XMM[7]=0x0000000000000000 0x0000000000000000
XMM[8]=0x0000000000000000 0x0000000000000000
XMM[9]=0x0000000000000000 0x0000000000000000
XMM[10]=0x0000000000000000 0x0000000000000000
XMM[11]=0x0000000000000000 0x0000000000000000
XMM[12]=0x0000000000000000 0x0000000000000000
XMM[13]=0x0000000000000000 0x0000000000000000
XMM[14]=0x0000000000000000 0x0000000000000000
XMM[15]=0x0000000000000000 0x0000000000000000
MXCSR=0x00001fa0
Register to memory mapping:
RAX=0x0000022ae2052700 is pointing into metadata
RBX=0x0 is null
RCX=0x000000000003b71e is an unknown value
RDX=0x00000000e5010128 is an oop: jdk.internal.misc.Unsafe
{0x00000000e5010128} - klass: 'jdk/internal/misc/Unsafe' - flags:
- ---- fields (total size 2 words):
RSP=0x000000cb866ff130 is pointing into the stack for thread: 0x0000022ae6b52020
RBP=0x000000cb866ff440 is pointing into the stack for thread: 0x0000022ae6b52020
RSI=0x0 is null
RDI=0x0 is null
R8 =0x0 is null
R9 =0x0000022ae689ae06 points into unknown readable memory: 00 00
R10={method} {0x0000000026496080} 'getShortUnaligned' '(Ljava/lang/Object;JZ)S' in 'jdk/internal/misc/Unsafe'
R11=0x0000022ace84bd80 is at entry_point+0 in (nmethod*)0x0000022ace84bc88
Compiled method (c1) 17210 539 3 java.lang.invoke.VarHandleGuards::guard_LI_I (78 bytes)
total in heap [0x0000022ace84bc88,0x0000022ace84d8c0] = 7224
main code [0x0000022ace84bd80,0x0000022ace84d7e0] = 6752
stub code [0x0000022ace84d7e0,0x0000022ace84d8c0] = 224
mutable data [0x0000022ae1b69270,0x0000022ae1b69498] = 552
relocation [0x0000022ae1b69270,0x0000022ae1b69430] = 448
metadata [0x0000022ae1b69430,0x0000022ae1b69498] = 104
immutable data [0x0000022ae1b68b70,0x0000022ae1b69268] = 1784
dependencies [0x0000022ae1b68b70,0x0000022ae1b68b98] = 40
nul chk table [0x0000022ae1b68b98,0x0000022ae1b68c28] = 144
scopes pcs [0x0000022ae1b68c28,0x0000022ae1b68f68] = 832
scopes data [0x0000022ae1b68f68,0x0000022ae1b69268] = 768
R12=0x0 is null
R13=0x000000cb866ff3d0 is pointing into the stack for thread: 0x0000022ae6b52020
R14=0x000000cb866ff460 is pointing into the stack for thread: 0x0000022ae6b52020
R15=0x0000022ae6b52020 is a thread
Top of Stack: (sp=0x000000cb866ff130)
0x000000cb866ff130: ffffffffffffffff 0000000026496078 ........x`I&....
0x000000cb866ff140: 0000022ace84bd80 0000022ae22c4c08 ....*....L,.*...
0x000000cb866ff150: 00000000000009e0 00000000e7d399f8 ................
0x000000cb866ff160: 0000022ae22c6fb8 0000000000000000 .o,.*...........
0x000000cb866ff170: 000000cb866ff1a0 00000000e5010128 ..o.....(.......
0x000000cb866ff180: 0000022ae22c4c08 00000000e7d399a8 .L,.*...........
0x000000cb866ff190: 000000000002e642 00000000000000d8 B...............
0x000000cb866ff1a0: 000000cb866ff440 0000022acea4dcf4 @.o.........*...
0x000000cb866ff1b0: ffffffffffffffff 0000022ae22c4c08 .........L,.*...
0x000000cb866ff1c0: 0000000000000004 0000022ae22c5b60 ........`[,.*...
0x000000cb866ff1d0: 0000022ae22c7590 00000000e7d39658 .u,.*...X.......
0x000000cb866ff1e0: 00000000e7d39120 0000022ad5cd900e ...........*...
0x000000cb866ff1f0: 000000cb866ff280 0000022ad5cd9060 ..o.....`...*...
0x000000cb866ff200: 0000022ad5cd9060 0000000000000000 `...*...........
0x000000cb866ff210: 0000022ae689a802 0000000000000000 ....*...........
0x000000cb866ff220: 0000000000000000 00000000e7d39120 ........ .......
0x000000cb866ff230: 0000022ae6b52020 000000cb866ff460 ..*...`.o.....
0x000000cb866ff240: 000000cb866ff3d0 0000000000000000 ..o.............
0x000000cb866ff250: 0000022ace84bd80 000000002628fcf0 ....*.....(&....
0x000000cb866ff260: 0000000000000d6b 00000000e7d399f8 k...............
0x000000cb866ff270: 00000000dfb00298 0000000000000000 ................
0x000000cb866ff280: 00000000e7d39120 0000022ace84d314 ...........*...
0x000000cb866ff290: 0000022ae211c700 00000000e7d399a8 ....*...........
0x000000cb866ff2a0: fffffffffffffff2 000000002628fcf0 ..........(&....
0x000000cb866ff2b0: 000000cb866ff440 0000022ace84d314 @.o.........*...
0x000000cb866ff2c0: ffffffffffffffff 000000002628fcf0 ..........(&....
0x000000cb866ff2d0: 000000cb866ff3f8 000000cb866ff3f8 ..o.......o.....
0x000000cb866ff2e0: 0000022ad5ce5cf1 0000022ad5cd8808 .\..*.......*...
0x000000cb866ff2f0: 0000000000000000 0000000000000000 ................
0x000000cb866ff300: 000000cb866ff440 000000cb866ff3f8 @.o.......o.....
0x000000cb866ff310: 00000000000000e8 00007ffb80b0630d .........c......
0x000000cb866ff320: 0000022ae24c8f50 0000022ae24c8f3a P.L.*...:.L.*...
Instructions: (pc=0x0000022ace8bace2)
0x0000022ace8babe2: 00 00 00 00 00 00 60 42 4c e6 2a 02 00 00 10 6d
0x0000022ace8babf2: 34 e6 2a 02 00 00 00 00 00 00 00 00 00 00 00 00
0x0000022ace8bac02: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0000022ace8bac12: 00 00 00 00 00 00 80 ac 8b ce 2a 02 00 00 12 00
0x0000022ace8bac22: 20 00 ff ff ff ff a8 00 00 00 00 00 00 00 f0 02
0x0000022ace8bac32: 00 00 f0 02 00 00 10 03 00 00 ff ff ff ff 2d 00
0x0000022ace8bac42: 00 00 00 00 20 00 10 00 10 00 10 00 00 00 60 00
0x0000022ace8bac52: 00 00 a8 00 00 00 68 00 00 00 40 03 00 00 03 01
0x0000022ace8bac62: 02 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0000022ace8bac72: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 66 0f
0x0000022ace8bac82: 1f 84 00 00 00 00 00 66 0f 1f 84 00 00 00 00 00
0x0000022ace8bac92: 44 8b 52 08 44 3b 50 08 0f 85 40 42 46 07 89 84
0x0000022ace8baca2: 24 00 80 ff ff 55 48 83 ec 70 41 81 7f 20 01 00
0x0000022ace8bacb2: 00 80 74 05 e8 45 99 44 07 48 b8 00 27 05 e2 2a
0x0000022ace8bacc2: 02 00 00 8b b0 90 00 00 00 83 c6 02 89 b0 90 00
0x0000022ace8bacd2: 00 00 81 e6 fe 07 00 00 85 f6 0f 84 f0 00 00 00
=>0x0000022ace8bace2: 43 0f bf 04 08 48 be 00 27 05 e2 2a 02 00 00 48
0x0000022ace8bacf2: 83 86 20 01 00 00 01 48 be 88 29 05 e2 2a 02 00
0x0000022ace8bad02: 00 8b 9e 90 00 00 00 83 c3 02 89 9e 90 00 00 00
0x0000022ace8bad12: 81 e3 fe ff 1f 00 85 db 0f 84 d3 00 00 00 85 ff
0x0000022ace8bad22: 48 be 88 29 05 e2 2a 02 00 00 bf d8 00 00 00 75
0x0000022ace8bad32: 05 bf e8 00 00 00 48 8b 1c 3e 48 8d 5b 01 48 89
0x0000022ace8bad42: 1c 3e 0f 85 15 00 00 00 48 be 88 29 05 e2 2a 02
0x0000022ace8bad52: 00 00 ff 86 f8 00 00 00 e9 57 00 00 00 48 be 88
0x0000022ace8bad62: 29 05 e2 2a 02 00 00 48 83 86 10 01 00 00 01 48
0x0000022ace8bad72: be f0 2a 05 e2 2a 02 00 00 8b be 90 00 00 00 83
0x0000022ace8bad82: c7 02 89 be 90 00 00 00 81 e7 fe ff 1f 00 85 ff
0x0000022ace8bad92: 0f 84 7c 00 00 00 48 8b f0 81 e6 00 ff 00 00 c1
0x0000022ace8bada2: fe 08 c1 e0 08 48 0b f0 0f bf f6 c1 e6 10 c1 fe
0x0000022ace8badb2: 10 48 8b c6 c1 e0 10 c1 f8 10 c1 e0 10 c1 f8 10
0x0000022ace8badc2: 48 83 c4 70 5d 49 3b 67 28 0f 87 64 00 00 00 c3
0x0000022ace8badd2: 49 ba 78 60 49 26 00 00 00 00 4c 89 54 24 08 48
Stack slot to memory mapping:
stack at sp + 0 slots: 0xffffffffffffffff is an unknown value
stack at sp + 1 slots: {method} {0x0000000026496080} 'getShortUnaligned' '(Ljava/lang/Object;JZ)S' in 'jdk/internal/misc/Unsafe'
stack at sp + 2 slots: 0x0000022ace84bd80 is at entry_point+0 in (nmethod*)0x0000022ace84bc88
Compiled method (c1) 17216 539 3 java.lang.invoke.VarHandleGuards::guard_LI_I (78 bytes)
total in heap [0x0000022ace84bc88,0x0000022ace84d8c0] = 7224
main code [0x0000022ace84bd80,0x0000022ace84d7e0] = 6752
stub code [0x0000022ace84d7e0,0x0000022ace84d8c0] = 224
mutable data [0x0000022ae1b69270,0x0000022ae1b69498] = 552
relocation [0x0000022ae1b69270,0x0000022ae1b69430] = 448
metadata [0x0000022ae1b69430,0x0000022ae1b69498] = 104
immutable data [0x0000022ae1b68b70,0x0000022ae1b69268] = 1784
dependencies [0x0000022ae1b68b70,0x0000022ae1b68b98] = 40
nul chk table [0x0000022ae1b68b98,0x0000022ae1b68c28] = 144
scopes pcs [0x0000022ae1b68c28,0x0000022ae1b68f68] = 832
scopes data [0x0000022ae1b68f68,0x0000022ae1b69268] = 768
stack at sp + 3 slots: {method} {0x0000022ae22c4c10} 'get' '(Ljava/lang/invoke/VarHandle;Ljava/lang/Object;I)S' in 'java/lang/invoke/VarHandleByteArrayAsShorts$ByteBufferHandle'
stack at sp + 4 slots: 0x00000000000009e0 is an unknown value
stack at sp + 5 slots: 0x00000000e7d399f8 is an oop: java.nio.DirectByteBuffer
{0x00000000e7d399f8} - klass: 'java/nio/DirectByteBuffer' - flags:
- ---- fields (total size 8 words):
- private 'mark' 'I' @12 -1 (0xffffffff)
- 'address' 'J' @16 2383279660752 (0x0000022ae6899ed0)
- private 'position' 'I' @24 0 (0x00000000)
- private 'limit' 'I' @28 1000000 (0x000f4240)
- private final 'capacity' 'I' @32 1000000 (0x000f4240)
- final 'segment' 'Ljava/lang/foreign/MemorySegment;' @36 a 'jdk/internal/foreign/NativeMemorySegmentImpl'{0x00000000e7d39198} (0xe7d39198)
- final 'hb' '[B' @40 null (0x00000000)
- final 'offset' 'I' @44 0 (0x00000000)
- 'isReadOnly' 'Z' @48 false (0x00)
- 'bigEndian' 'Z' @49 true (0x01)
- 'nativeByteOrder' 'Z' @50 false (0x00)
- private final 'isSync' 'Z' @51 false (0x00)
- private final 'fd' 'Ljava/io/FileDescriptor;' @52 null (0x00000000)
- private final 'att' 'Ljava/lang/Object;' @56 null (0x00000000)
- private final 'cleaner' 'Lsun/nio/Cleaner;' @60 null (0x00000000)
stack at sp + 6 slots: 0x0000022ae22c6fb8 is pointing into metadata
stack at sp + 7 slots: 0x0 is null
Lock stack of current Java thread (top to bottom):
Compiled method (c1) 17219 832 3 jdk.internal.misc.Unsafe::getShortUnaligned (12 bytes)
total in heap [0x0000022ace8bab88,0x0000022ace8baeb0] = 808
main code [0x0000022ace8bac80,0x0000022ace8bae78] = 504
stub code [0x0000022ace8bae78,0x0000022ace8baeb0] = 56
mutable data [0x0000022ae1b734c0,0x0000022ae1b73520] = 96
relocation [0x0000022ae1b734c0,0x0000022ae1b73500] = 64
metadata [0x0000022ae1b73500,0x0000022ae1b73520] = 32
immutable data [0x0000022ae64c4260,0x0000022ae64c4308] = 168
dependencies [0x0000022ae64c4260,0x0000022ae64c4270] = 16
scopes pcs [0x0000022ae64c4270,0x0000022ae64c42c0] = 80
scopes data [0x0000022ae64c42c0,0x0000022ae64c4308] = 72
Something messed up the stack trace.
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000022ace8bace2, pid=27568, tid=80472
#
# JRE version: Java(TM) SE Runtime Environment (26.0+9) (build 26-ea+9-870)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (26-ea+9-870, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# J 832 c1 jdk.internal.misc.Unsafe.getShortUnaligned(Ljava/lang/Object;JZ)S java.base@26-ea (12 bytes) @ 0x0000022ace8bace2 [0x0000022ace8bac80+0x0000000000000062]
#
# Core dump will be written. Default location: C:\sb\prod\1753688431\testoutput\test-support\jtreg_open_test_jdk_tier1_part3\scratch\3\hs_err_pid27568.mdmp
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
--------------- S U M M A R Y ------------
Command Line: -Dtest.vm.opts=-Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\24\36\bundles\windows-x64\jdk-24_windows-x64_bin.zip\jdk-24 -Djava.io.tmpdir=c:\sb\prod\1753688431\testoutput\test-support\jtreg_open_test_jdk_tier1_part3\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Dtest.tool.vm.opts=-J-Xmx768m -J-XX:MaxRAMPercentage=4.16667 -J-Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\24\36\bundles\windows-x64\jdk-24_windows-x64_bin.zip\jdk-24 -J-Djava.io.tmpdir=c:\sb\prod\1753688431\testoutput\test-support\jtreg_open_test_jdk_tier1_part3\tmp -J-XX:+CreateCoredumpOnCrash -J-ea -J-esa -Dtest.compiler.opts= -Dtest.java.opts= -Dtest.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk-26+9-870\windows-x64.jdk\jdk-26 -Dcompile.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk-26+9-870\windows-x64.jdk\jdk-26 -Dtest.timeout.factor=4.0 -Dtest.nativepath=c:\ade\mesos\work_dir\jib-master\install\jdk-26+9-870\windows-x64.test\jdk\jtreg\native -Dtest.root=C:\ade\mesos\work_dir\jib-master\install\jdk-26+9-870\src.full\open\test\jdk -Dtest.name=java/foreign/TestHandshake.java -Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=true,m=false] -Dtest.file=C:\ade\mesos\work_dir\jib-master\install\jdk-26+9-870\src.full\open\test\jdk\java\foreign\TestHandshake.java -Dtest.main.class=TestHandshake -Dtest.src=C:\ade\mesos\work_dir\jib-master\install\jdk-26+9-870\src.full\open\test\jdk\java\foreign -Dtest.src.path=C:\ade\mesos\work_dir\jib-master\install\jdk-26+9-870\src.full\open\test\jdk\java\foreign -Dtest.classes=C:\sb\prod\1753688431\testoutput\test-support\jtreg_open_test_jdk_tier1_part3\classes\1\java\foreign\TestHandshake.d -Dtest.class.path=C:\sb\prod\1753688431\testoutput\test-support\jtreg_open_test_jdk_tier1_part3\classes\1\java\foreign\TestHandshake.d -Dtest.class.path.prefix=C:\sb\prod\1753688431\testoutput\test-support\jtreg_open_test_jdk_tier1_part3\classes\1\java\foreign\TestHandshake.d;C:\ade\mesos\work_dir\jib-master\install\jdk-26+9-870\src.full\open\test\jdk\java\foreign -Dtest.modules=java.base/jdk.internal.vm.annotation java.base/jdk.internal.misc --add-modules=java.base --add-exports=java.base/jdk.internal.vm.annotation=ALL-UNNAMED --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\24\36\bundles\windows-x64\jdk-24_windows-x64_bin.zip\jdk-24 -Djava.io.tmpdir=c:\sb\prod\1753688431\testoutput\test-support\jtreg_open_test_jdk_tier1_part3\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Djava.library.path=c:\ade\mesos\work_dir\jib-master\install\jdk-26+9-870\windows-x64.test\jdk\jtreg\native com.sun.javatest.regtest.agent.MainWrapper C:\sb\prod\1753688431\testoutput\test-support\jtreg_open_test_jdk_tier1_part3\java\foreign\TestHandshake.d\testng.0.jta java/foreign/TestHandshake.java false TestHandshake
Host: AMD EPYC 7J13 64-Core Processor , 12 cores, 23G, Windows Server 2019 , 64 bit Build 17763 (10.0.17763.7009)
Time: Mon Jul 28 08:44:25 2025 /GM elapsed time: 17.014413 seconds (0d 0h 0m 17s)
--------------- T H R E A D ---------------
Current thread (0x0000022ae6b52020): JavaThread "pool-31-thread-1" [_thread_in_Java, id=80472, stack(0x000000cb86600000,0x000000cb86700000) (1024K)]
Stack: [0x000000cb86600000,0x000000cb86700000], sp=0x000000cb866ff130, free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x0000022ace8bace2 (no source info available)
The last pc belongs to nmethod (printed below).
siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x0000022ae689ae06
Registers:
RAX=0x0000022ae2052700, RBX=0x0000000000000000, RCX=0x000000000003b71e, RDX=0x00000000e5010128
RSP=0x000000cb866ff130, RBP=0x000000cb866ff440, RSI=0x0000000000000000, RDI=0x0000000000000000
R8 =0x0000000000000000, R9 =0x0000022ae689ae06, R10=0x0000000026496078, R11=0x0000022ace84bd80
R12=0x0000000000000000, R13=0x000000cb866ff3d0, R14=0x000000cb866ff460, R15=0x0000022ae6b52020
RIP=0x0000022ace8bace2, EFLAGS=0x0000000000010202
XMM[0]=0x0000000000000000 0x4069000000000000
XMM[1]=0x0000000000000000 0x40a8000000000000
XMM[2]=0x0000000000000000 0x3ff0000000000000
XMM[3]=0x0000000000000000 0x0000000000000000
XMM[4]=0x0000000000000000 0x0000000000000000
XMM[5]=0x0000000000000000 0x0000000000000000
XMM[6]=0x0000000000000000 0x0000000000000000
XMM[7]=0x0000000000000000 0x0000000000000000
XMM[8]=0x0000000000000000 0x0000000000000000
XMM[9]=0x0000000000000000 0x0000000000000000
XMM[10]=0x0000000000000000 0x0000000000000000
XMM[11]=0x0000000000000000 0x0000000000000000
XMM[12]=0x0000000000000000 0x0000000000000000
XMM[13]=0x0000000000000000 0x0000000000000000
XMM[14]=0x0000000000000000 0x0000000000000000
XMM[15]=0x0000000000000000 0x0000000000000000
MXCSR=0x00001fa0
Register to memory mapping:
RAX=0x0000022ae2052700 is pointing into metadata
RBX=0x0 is null
RCX=0x000000000003b71e is an unknown value
RDX=0x00000000e5010128 is an oop: jdk.internal.misc.Unsafe
{0x00000000e5010128} - klass: 'jdk/internal/misc/Unsafe' - flags:
- ---- fields (total size 2 words):
RSP=0x000000cb866ff130 is pointing into the stack for thread: 0x0000022ae6b52020
RBP=0x000000cb866ff440 is pointing into the stack for thread: 0x0000022ae6b52020
RSI=0x0 is null
RDI=0x0 is null
R8 =0x0 is null
R9 =0x0000022ae689ae06 points into unknown readable memory: 00 00
R10={method} {0x0000000026496080} 'getShortUnaligned' '(Ljava/lang/Object;JZ)S' in 'jdk/internal/misc/Unsafe'
R11=0x0000022ace84bd80 is at entry_point+0 in (nmethod*)0x0000022ace84bc88
Compiled method (c1) 17210 539 3 java.lang.invoke.VarHandleGuards::guard_LI_I (78 bytes)
total in heap [0x0000022ace84bc88,0x0000022ace84d8c0] = 7224
main code [0x0000022ace84bd80,0x0000022ace84d7e0] = 6752
stub code [0x0000022ace84d7e0,0x0000022ace84d8c0] = 224
mutable data [0x0000022ae1b69270,0x0000022ae1b69498] = 552
relocation [0x0000022ae1b69270,0x0000022ae1b69430] = 448
metadata [0x0000022ae1b69430,0x0000022ae1b69498] = 104
immutable data [0x0000022ae1b68b70,0x0000022ae1b69268] = 1784
dependencies [0x0000022ae1b68b70,0x0000022ae1b68b98] = 40
nul chk table [0x0000022ae1b68b98,0x0000022ae1b68c28] = 144
scopes pcs [0x0000022ae1b68c28,0x0000022ae1b68f68] = 832
scopes data [0x0000022ae1b68f68,0x0000022ae1b69268] = 768
R12=0x0 is null
R13=0x000000cb866ff3d0 is pointing into the stack for thread: 0x0000022ae6b52020
R14=0x000000cb866ff460 is pointing into the stack for thread: 0x0000022ae6b52020
R15=0x0000022ae6b52020 is a thread
Top of Stack: (sp=0x000000cb866ff130)
0x000000cb866ff130: ffffffffffffffff 0000000026496078 ........x`I&....
0x000000cb866ff140: 0000022ace84bd80 0000022ae22c4c08 ....*....L,.*...
0x000000cb866ff150: 00000000000009e0 00000000e7d399f8 ................
0x000000cb866ff160: 0000022ae22c6fb8 0000000000000000 .o,.*...........
0x000000cb866ff170: 000000cb866ff1a0 00000000e5010128 ..o.....(.......
0x000000cb866ff180: 0000022ae22c4c08 00000000e7d399a8 .L,.*...........
0x000000cb866ff190: 000000000002e642 00000000000000d8 B...............
0x000000cb866ff1a0: 000000cb866ff440 0000022acea4dcf4 @.o.........*...
0x000000cb866ff1b0: ffffffffffffffff 0000022ae22c4c08 .........L,.*...
0x000000cb866ff1c0: 0000000000000004 0000022ae22c5b60 ........`[,.*...
0x000000cb866ff1d0: 0000022ae22c7590 00000000e7d39658 .u,.*...X.......
0x000000cb866ff1e0: 00000000e7d39120 0000022ad5cd900e ...........*...
0x000000cb866ff1f0: 000000cb866ff280 0000022ad5cd9060 ..o.....`...*...
0x000000cb866ff200: 0000022ad5cd9060 0000000000000000 `...*...........
0x000000cb866ff210: 0000022ae689a802 0000000000000000 ....*...........
0x000000cb866ff220: 0000000000000000 00000000e7d39120 ........ .......
0x000000cb866ff230: 0000022ae6b52020 000000cb866ff460 ..*...`.o.....
0x000000cb866ff240: 000000cb866ff3d0 0000000000000000 ..o.............
0x000000cb866ff250: 0000022ace84bd80 000000002628fcf0 ....*.....(&....
0x000000cb866ff260: 0000000000000d6b 00000000e7d399f8 k...............
0x000000cb866ff270: 00000000dfb00298 0000000000000000 ................
0x000000cb866ff280: 00000000e7d39120 0000022ace84d314 ...........*...
0x000000cb866ff290: 0000022ae211c700 00000000e7d399a8 ....*...........
0x000000cb866ff2a0: fffffffffffffff2 000000002628fcf0 ..........(&....
0x000000cb866ff2b0: 000000cb866ff440 0000022ace84d314 @.o.........*...
0x000000cb866ff2c0: ffffffffffffffff 000000002628fcf0 ..........(&....
0x000000cb866ff2d0: 000000cb866ff3f8 000000cb866ff3f8 ..o.......o.....
0x000000cb866ff2e0: 0000022ad5ce5cf1 0000022ad5cd8808 .\..*.......*...
0x000000cb866ff2f0: 0000000000000000 0000000000000000 ................
0x000000cb866ff300: 000000cb866ff440 000000cb866ff3f8 @.o.......o.....
0x000000cb866ff310: 00000000000000e8 00007ffb80b0630d .........c......
0x000000cb866ff320: 0000022ae24c8f50 0000022ae24c8f3a P.L.*...:.L.*...
Instructions: (pc=0x0000022ace8bace2)
0x0000022ace8babe2: 00 00 00 00 00 00 60 42 4c e6 2a 02 00 00 10 6d
0x0000022ace8babf2: 34 e6 2a 02 00 00 00 00 00 00 00 00 00 00 00 00
0x0000022ace8bac02: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0000022ace8bac12: 00 00 00 00 00 00 80 ac 8b ce 2a 02 00 00 12 00
0x0000022ace8bac22: 20 00 ff ff ff ff a8 00 00 00 00 00 00 00 f0 02
0x0000022ace8bac32: 00 00 f0 02 00 00 10 03 00 00 ff ff ff ff 2d 00
0x0000022ace8bac42: 00 00 00 00 20 00 10 00 10 00 10 00 00 00 60 00
0x0000022ace8bac52: 00 00 a8 00 00 00 68 00 00 00 40 03 00 00 03 01
0x0000022ace8bac62: 02 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0000022ace8bac72: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 66 0f
0x0000022ace8bac82: 1f 84 00 00 00 00 00 66 0f 1f 84 00 00 00 00 00
0x0000022ace8bac92: 44 8b 52 08 44 3b 50 08 0f 85 40 42 46 07 89 84
0x0000022ace8baca2: 24 00 80 ff ff 55 48 83 ec 70 41 81 7f 20 01 00
0x0000022ace8bacb2: 00 80 74 05 e8 45 99 44 07 48 b8 00 27 05 e2 2a
0x0000022ace8bacc2: 02 00 00 8b b0 90 00 00 00 83 c6 02 89 b0 90 00
0x0000022ace8bacd2: 00 00 81 e6 fe 07 00 00 85 f6 0f 84 f0 00 00 00
=>0x0000022ace8bace2: 43 0f bf 04 08 48 be 00 27 05 e2 2a 02 00 00 48
0x0000022ace8bacf2: 83 86 20 01 00 00 01 48 be 88 29 05 e2 2a 02 00
0x0000022ace8bad02: 00 8b 9e 90 00 00 00 83 c3 02 89 9e 90 00 00 00
0x0000022ace8bad12: 81 e3 fe ff 1f 00 85 db 0f 84 d3 00 00 00 85 ff
0x0000022ace8bad22: 48 be 88 29 05 e2 2a 02 00 00 bf d8 00 00 00 75
0x0000022ace8bad32: 05 bf e8 00 00 00 48 8b 1c 3e 48 8d 5b 01 48 89
0x0000022ace8bad42: 1c 3e 0f 85 15 00 00 00 48 be 88 29 05 e2 2a 02
0x0000022ace8bad52: 00 00 ff 86 f8 00 00 00 e9 57 00 00 00 48 be 88
0x0000022ace8bad62: 29 05 e2 2a 02 00 00 48 83 86 10 01 00 00 01 48
0x0000022ace8bad72: be f0 2a 05 e2 2a 02 00 00 8b be 90 00 00 00 83
0x0000022ace8bad82: c7 02 89 be 90 00 00 00 81 e7 fe ff 1f 00 85 ff
0x0000022ace8bad92: 0f 84 7c 00 00 00 48 8b f0 81 e6 00 ff 00 00 c1
0x0000022ace8bada2: fe 08 c1 e0 08 48 0b f0 0f bf f6 c1 e6 10 c1 fe
0x0000022ace8badb2: 10 48 8b c6 c1 e0 10 c1 f8 10 c1 e0 10 c1 f8 10
0x0000022ace8badc2: 48 83 c4 70 5d 49 3b 67 28 0f 87 64 00 00 00 c3
0x0000022ace8badd2: 49 ba 78 60 49 26 00 00 00 00 4c 89 54 24 08 48
Stack slot to memory mapping:
stack at sp + 0 slots: 0xffffffffffffffff is an unknown value
stack at sp + 1 slots: {method} {0x0000000026496080} 'getShortUnaligned' '(Ljava/lang/Object;JZ)S' in 'jdk/internal/misc/Unsafe'
stack at sp + 2 slots: 0x0000022ace84bd80 is at entry_point+0 in (nmethod*)0x0000022ace84bc88
Compiled method (c1) 17216 539 3 java.lang.invoke.VarHandleGuards::guard_LI_I (78 bytes)
total in heap [0x0000022ace84bc88,0x0000022ace84d8c0] = 7224
main code [0x0000022ace84bd80,0x0000022ace84d7e0] = 6752
stub code [0x0000022ace84d7e0,0x0000022ace84d8c0] = 224
mutable data [0x0000022ae1b69270,0x0000022ae1b69498] = 552
relocation [0x0000022ae1b69270,0x0000022ae1b69430] = 448
metadata [0x0000022ae1b69430,0x0000022ae1b69498] = 104
immutable data [0x0000022ae1b68b70,0x0000022ae1b69268] = 1784
dependencies [0x0000022ae1b68b70,0x0000022ae1b68b98] = 40
nul chk table [0x0000022ae1b68b98,0x0000022ae1b68c28] = 144
scopes pcs [0x0000022ae1b68c28,0x0000022ae1b68f68] = 832
scopes data [0x0000022ae1b68f68,0x0000022ae1b69268] = 768
stack at sp + 3 slots: {method} {0x0000022ae22c4c10} 'get' '(Ljava/lang/invoke/VarHandle;Ljava/lang/Object;I)S' in 'java/lang/invoke/VarHandleByteArrayAsShorts$ByteBufferHandle'
stack at sp + 4 slots: 0x00000000000009e0 is an unknown value
stack at sp + 5 slots: 0x00000000e7d399f8 is an oop: java.nio.DirectByteBuffer
{0x00000000e7d399f8} - klass: 'java/nio/DirectByteBuffer' - flags:
- ---- fields (total size 8 words):
- private 'mark' 'I' @12 -1 (0xffffffff)
- 'address' 'J' @16 2383279660752 (0x0000022ae6899ed0)
- private 'position' 'I' @24 0 (0x00000000)
- private 'limit' 'I' @28 1000000 (0x000f4240)
- private final 'capacity' 'I' @32 1000000 (0x000f4240)
- final 'segment' 'Ljava/lang/foreign/MemorySegment;' @36 a 'jdk/internal/foreign/NativeMemorySegmentImpl'{0x00000000e7d39198} (0xe7d39198)
- final 'hb' '[B' @40 null (0x00000000)
- final 'offset' 'I' @44 0 (0x00000000)
- 'isReadOnly' 'Z' @48 false (0x00)
- 'bigEndian' 'Z' @49 true (0x01)
- 'nativeByteOrder' 'Z' @50 false (0x00)
- private final 'isSync' 'Z' @51 false (0x00)
- private final 'fd' 'Ljava/io/FileDescriptor;' @52 null (0x00000000)
- private final 'att' 'Ljava/lang/Object;' @56 null (0x00000000)
- private final 'cleaner' 'Lsun/nio/Cleaner;' @60 null (0x00000000)
stack at sp + 6 slots: 0x0000022ae22c6fb8 is pointing into metadata
stack at sp + 7 slots: 0x0 is null
Lock stack of current Java thread (top to bottom):
Compiled method (c1) 17219 832 3 jdk.internal.misc.Unsafe::getShortUnaligned (12 bytes)
total in heap [0x0000022ace8bab88,0x0000022ace8baeb0] = 808
main code [0x0000022ace8bac80,0x0000022ace8bae78] = 504
stub code [0x0000022ace8bae78,0x0000022ace8baeb0] = 56
mutable data [0x0000022ae1b734c0,0x0000022ae1b73520] = 96
relocation [0x0000022ae1b734c0,0x0000022ae1b73500] = 64
metadata [0x0000022ae1b73500,0x0000022ae1b73520] = 32
immutable data [0x0000022ae64c4260,0x0000022ae64c4308] = 168
dependencies [0x0000022ae64c4260,0x0000022ae64c4270] = 16
scopes pcs [0x0000022ae64c4270,0x0000022ae64c42c0] = 80
scopes data [0x0000022ae64c42c0,0x0000022ae64c4308] = 72
Something messed up the stack trace.