Description
The following 20 tests fail in the JDK17 CI:
jdk/incubator/vector/ShortMaxVectorTests.java
jdk/incubator/vector/ShortMaxVectorLoadStoreTests.java
jdk/incubator/vector/Short64VectorTests.java
jdk/incubator/vector/Short64VectorLoadStoreTests.java
jdk/incubator/vector/Short128VectorLoadStoreTests.java
jdk/incubator/vector/Short128VectorTests.java
jdk/incubator/vector/IntMaxVectorTests.java
jdk/incubator/vector/IntMaxVectorLoadStoreTests.java
jdk/incubator/vector/Int128VectorTests.java
jdk/incubator/vector/Int128VectorLoadStoreTests.java
jdk/incubator/vector/FloatMaxVectorTests.java
jdk/incubator/vector/FloatMaxVectorLoadStoreTests.java
jdk/incubator/vector/Float128VectorTests.java
jdk/incubator/vector/Float128VectorLoadStoreTests.java
jdk/incubator/vector/ByteMaxVectorTests.java
jdk/incubator/vector/ByteMaxVectorLoadStoreTests.java
jdk/incubator/vector/Byte64VectorTests.java
jdk/incubator/vector/Byte64VectorLoadStoreTests.java
jdk/incubator/vector/Byte128VectorTests.java
jdk/incubator/vector/Byte128VectorLoadStoreTests.java
Here's a snippet from the ShortMaxVectorTests.java log file:
test ShortMaxVectorTests.maskFirstTrueShortMaxVectorTestsSmokeTest(mask[i % 2]): success
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/assembler_x86.cpp:4127
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/40f4774a-f408-4e28-8432-1004a7782450-S58621/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3caa83b3-9a4e-4091-8c2c-6887e4568f4a/runs/6f95b5b7-a21f-40bf-8ce4-3b5e147e7011/workspace/open/src/hotspot/cpu/x86/assembler_x86.cpp:4127), pid=60280, tid=23043
# Error: assert(VM_Version::supports_avx2()) failed
#
# JRE version: Java(TM) SE Runtime Environment (17.0+24) (fastdebug build 17-ea+24-LTS-2082)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-ea+24-LTS-2082, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Core dump will be written. Default location: core.60280
#
# An error report file with more information is saved as:
# /opt/mesos/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S24398/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c9e70c14-672d-4cee-b63a-d89666a31823/runs/74719376-4d1f-4ca4-9ee8-ed98469fcee3/testoutput/test-support/jtreg_open_test_jdk_jdk_incubator_vector/scratch/2/hs_err_pid60280.log
#
# Compiler replay data is saved as:
# /opt/mesos/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S24398/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c9e70c14-672d-4cee-b63a-d89666a31823/runs/74719376-4d1f-4ca4-9ee8-ed98469fcee3/testoutput/test-support/jtreg_open_test_jdk_jdk_incubator_vector/scratch/2/replay_pid60280.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(1/55)----------
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x00007fc2bf80de20): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=23043, stack(0x00007000070ef000,0x00007000071ef000)]
Current CompileTask:
C2: 54335 7215 b jdk.incubator.vector.ShortMaxVector$ShortMaxMask::firstTrue (20 bytes)
Stack: [0x00007000070ef000,0x00007000071ef000], sp=0x00007000071ea910, free space=1006k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.dylib+0x11006dc] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x6dc
V [libjvm.dylib+0x1100cfb] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x3b
V [libjvm.dylib+0x5f4e7d] report_vm_error(char const*, int, char const*, char const*, ...)+0xdd
V [libjvm.dylib+0x2f40e4] Assembler::vpmovmskb(RegisterImpl*, XMMRegisterImpl*)+0x44
V [libjvm.dylib+0x48d6d2] C2_MacroAssembler::vector_mask_operation(int, RegisterImpl*, XMMRegisterImpl*, XMMRegisterImpl*, XMMRegisterImpl*, RegisterImpl*, int, int)+0xc2
V [libjvm.dylib+0xf10a0] vmask_first_or_last_true_avxNode::emit(CodeBuffer&, PhaseRegAlloc*) const+0x500
V [libjvm.dylib+0xe3d192] PhaseOutput::scratch_emit_size(Node const*)+0x302
V [libjvm.dylib+0xe31f6b] PhaseOutput::shorten_branches(unsigned int*)+0x4eb
V [libjvm.dylib+0xe316dd] PhaseOutput::Output()+0xb5d
V [libjvm.dylib+0x59d2c5] Compile::Code_Gen()+0x5d5
V [libjvm.dylib+0x59a272] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x1952
V [libjvm.dylib+0x48e59b] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x10b
V [libjvm.dylib+0x5b5fc1] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x801
V [libjvm.dylib+0x5b55a2] CompileBroker::compiler_thread_loop()+0x322
V [libjvm.dylib+0x1060f7d] JavaThread::thread_main_inner()+0x26d
V [libjvm.dylib+0x105dff7] Thread::call_run()+0x177
V [libjvm.dylib+0xe21cff] thread_native_entry(Thread*)+0x14f
C [libsystem_pthread.dylib+0x6109] _pthread_start+0x94
C [libsystem_pthread.dylib+0x1b8b] thread_start+0xf
jdk/incubator/vector/ShortMaxVectorTests.java
jdk/incubator/vector/ShortMaxVectorLoadStoreTests.java
jdk/incubator/vector/Short64VectorTests.java
jdk/incubator/vector/Short64VectorLoadStoreTests.java
jdk/incubator/vector/Short128VectorLoadStoreTests.java
jdk/incubator/vector/Short128VectorTests.java
jdk/incubator/vector/IntMaxVectorTests.java
jdk/incubator/vector/IntMaxVectorLoadStoreTests.java
jdk/incubator/vector/Int128VectorTests.java
jdk/incubator/vector/Int128VectorLoadStoreTests.java
jdk/incubator/vector/FloatMaxVectorTests.java
jdk/incubator/vector/FloatMaxVectorLoadStoreTests.java
jdk/incubator/vector/Float128VectorTests.java
jdk/incubator/vector/Float128VectorLoadStoreTests.java
jdk/incubator/vector/ByteMaxVectorTests.java
jdk/incubator/vector/ByteMaxVectorLoadStoreTests.java
jdk/incubator/vector/Byte64VectorTests.java
jdk/incubator/vector/Byte64VectorLoadStoreTests.java
jdk/incubator/vector/Byte128VectorTests.java
jdk/incubator/vector/Byte128VectorLoadStoreTests.java
Here's a snippet from the ShortMaxVectorTests.java log file:
test ShortMaxVectorTests.maskFirstTrueShortMaxVectorTestsSmokeTest(mask[i % 2]): success
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/assembler_x86.cpp:4127
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/40f4774a-f408-4e28-8432-1004a7782450-S58621/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3caa83b3-9a4e-4091-8c2c-6887e4568f4a/runs/6f95b5b7-a21f-40bf-8ce4-3b5e147e7011/workspace/open/src/hotspot/cpu/x86/assembler_x86.cpp:4127), pid=60280, tid=23043
# Error: assert(VM_Version::supports_avx2()) failed
#
# JRE version: Java(TM) SE Runtime Environment (17.0+24) (fastdebug build 17-ea+24-LTS-2082)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-ea+24-LTS-2082, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Core dump will be written. Default location: core.60280
#
# An error report file with more information is saved as:
# /opt/mesos/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S24398/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c9e70c14-672d-4cee-b63a-d89666a31823/runs/74719376-4d1f-4ca4-9ee8-ed98469fcee3/testoutput/test-support/jtreg_open_test_jdk_jdk_incubator_vector/scratch/2/hs_err_pid60280.log
#
# Compiler replay data is saved as:
# /opt/mesos/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S24398/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c9e70c14-672d-4cee-b63a-d89666a31823/runs/74719376-4d1f-4ca4-9ee8-ed98469fcee3/testoutput/test-support/jtreg_open_test_jdk_jdk_incubator_vector/scratch/2/replay_pid60280.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(1/55)----------
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x00007fc2bf80de20): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=23043, stack(0x00007000070ef000,0x00007000071ef000)]
Current CompileTask:
C2: 54335 7215 b jdk.incubator.vector.ShortMaxVector$ShortMaxMask::firstTrue (20 bytes)
Stack: [0x00007000070ef000,0x00007000071ef000], sp=0x00007000071ea910, free space=1006k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.dylib+0x11006dc] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x6dc
V [libjvm.dylib+0x1100cfb] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x3b
V [libjvm.dylib+0x5f4e7d] report_vm_error(char const*, int, char const*, char const*, ...)+0xdd
V [libjvm.dylib+0x2f40e4] Assembler::vpmovmskb(RegisterImpl*, XMMRegisterImpl*)+0x44
V [libjvm.dylib+0x48d6d2] C2_MacroAssembler::vector_mask_operation(int, RegisterImpl*, XMMRegisterImpl*, XMMRegisterImpl*, XMMRegisterImpl*, RegisterImpl*, int, int)+0xc2
V [libjvm.dylib+0xf10a0] vmask_first_or_last_true_avxNode::emit(CodeBuffer&, PhaseRegAlloc*) const+0x500
V [libjvm.dylib+0xe3d192] PhaseOutput::scratch_emit_size(Node const*)+0x302
V [libjvm.dylib+0xe31f6b] PhaseOutput::shorten_branches(unsigned int*)+0x4eb
V [libjvm.dylib+0xe316dd] PhaseOutput::Output()+0xb5d
V [libjvm.dylib+0x59d2c5] Compile::Code_Gen()+0x5d5
V [libjvm.dylib+0x59a272] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x1952
V [libjvm.dylib+0x48e59b] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x10b
V [libjvm.dylib+0x5b5fc1] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x801
V [libjvm.dylib+0x5b55a2] CompileBroker::compiler_thread_loop()+0x322
V [libjvm.dylib+0x1060f7d] JavaThread::thread_main_inner()+0x26d
V [libjvm.dylib+0x105dff7] Thread::call_run()+0x177
V [libjvm.dylib+0xe21cff] thread_native_entry(Thread*)+0x14f
C [libsystem_pthread.dylib+0x6109] _pthread_start+0x94
C [libsystem_pthread.dylib+0x1b8b] thread_start+0xf
Attachments
Issue Links
- duplicates
-
JDK-8267370 [Vector API] Fix several crashes after JDK-8256973
- Closed