Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDK20 jdk_vector_double128_j9_0_FAILED jdk/incubator/vector/Double128VectorTests.java Segmentation error vmState=0x0002000f #16681

Closed
JasonFengJ9 opened this issue Feb 7, 2023 · 21 comments

Comments

@JasonFengJ9
Copy link
Member

JasonFengJ9 commented Feb 7, 2023

Failure link

From an internal build(win16x64rt3-9):

openjdk version "19.0.2-beta" 2023-01-17
IBM Semeru Runtime Open Edition 19.0.2+7-202302070209 (build 19.0.2-beta+7-202302070209)
Eclipse OpenJ9 VM 19.0.2+7-202302070209 (build master-be89be099, JRE 19 Windows Server 2016 amd64-64-Bit Compressed References 20230207_38 (JIT enabled, AOT enabled)
OpenJ9   - be89be099
OMR      - de3559ad8
JCL      - 46b4853d23 based on jdk-19.0.2+7)

Rerun in Grinder - Change TARGET to run only the failed test targets.

Optional info

Failure output (captured from console output)

[2023-02-07T07:38:07.779Z] variation: -Xjit:{*Double128VectorTests*}(count=1,enforceVectorAPIExpansion),disableAsyncCompilation,disableSuffixLogs,verbose={vectorAPI}
[2023-02-07T07:38:08.179Z] JVM_OPTIONS:  -Xjit:{*Double128VectorTests*}(count=1,enforceVectorAPIExpansion),disableAsyncCompilation,disableSuffixLogs,verbose={vectorAPI} 

[2023-02-07T07:44:05.218Z] TEST: jdk/incubator/vector/Double128VectorTests.java

[2023-02-07T07:44:05.243Z] Unhandled exception
[2023-02-07T07:44:05.243Z] Type=Segmentation error vmState=0x0002000f
[2023-02-07T07:44:05.243Z] Windows_ExceptionCode=c0000005 J9Generic_Signal=00000004 ExceptionAddress=00007FFAEED9F87A ContextFlags=0010005f
[2023-02-07T07:44:05.243Z] Handler1=00007FFAF10CC400 Handler2=00007FFAF1AFAA50 InaccessibleReadAddress=0000000000000018
[2023-02-07T07:44:05.243Z] RDI=00000032B75FF370 RSI=000001F3A43FEA50 RAX=000001F3A380A4A0 RBX=000001F3C1DE48D8
[2023-02-07T07:44:05.243Z] RCX=4071100000000000 RDX=00000000FFFFFF00 R8=00000032B75FF370 R9=0000000000000000
[2023-02-07T07:44:05.243Z] R10=000001F3A3EDBB80 R11=0000000000000010 R12=0000000000000000 R13=00000032B75FF088
[2023-02-07T07:44:05.243Z] R14=0000000000000000 R15=00000032B7CFF528
[2023-02-07T07:44:05.243Z] RIP=00007FFAEED9F87A RSP=00000032B75FEFB0 RBP=0000000000000000 EFLAGS=0000000000010246
[2023-02-07T07:44:05.243Z] FS=0053 ES=002B DS=002B
[2023-02-07T07:44:05.243Z] XMM0 00000000ff290724 (f: 4280878848.000000, d: 2.115035e-314)
[2023-02-07T07:44:05.243Z] XMM1 4077300000000000 (f: 0.000000, d: 3.710000e+02)
[2023-02-07T07:44:05.243Z] XMM2 4077700000000000 (f: 0.000000, d: 3.750000e+02)
[2023-02-07T07:44:05.243Z] XMM3 4077b00000000000 (f: 0.000000, d: 3.790000e+02)
[2023-02-07T07:44:05.243Z] XMM4 4077f00000000000 (f: 0.000000, d: 3.830000e+02)
[2023-02-07T07:44:05.243Z] XMM5 4078300000000000 (f: 0.000000, d: 3.870000e+02)
[2023-02-07T07:44:05.243Z] XMM6 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-02-07T07:44:05.243Z] XMM7 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-02-07T07:44:05.243Z] XMM8 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-02-07T07:44:05.243Z] XMM9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-02-07T07:44:05.243Z] XMM10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-02-07T07:44:05.243Z] XMM11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-02-07T07:44:05.243Z] XMM12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-02-07T07:44:05.243Z] XMM13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-02-07T07:44:05.243Z] XMM14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-02-07T07:44:05.243Z] XMM15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-02-07T07:44:05.243Z] Module=C:\Users\jenkins\workspace\Test_openjdk19_j9_sanity.openjdk_x86-64_windows_testList_0\openjdkbinary\j2sdk-image\bin\default\j9gc29.dll
[2023-02-07T07:44:05.243Z] Module_base_address=00007FFAEEC30000 Offset_in_DLL=000000000016f87a
[2023-02-07T07:44:05.243Z] Target=2_90_20230207_38 (Windows Server 2016 10.0 build 14393)
[2023-02-07T07:44:05.243Z] CPU=amd64 (8 logical CPUs) (0x3fff78000 RAM)
[2023-02-07T07:44:05.243Z] ----------- Stack Backtrace -----------
[2023-02-07T07:44:05.243Z] J9VMDllMain+0x16e86a (0x00007FFAEED9F87A [j9gc29+0x16f87a])
[2023-02-07T07:44:05.243Z] J9VMDllMain+0x12cd3f (0x00007FFAEED5DD4F [j9gc29+0x12dd4f])
[2023-02-07T07:44:05.243Z] J9VMDllMain+0x128530 (0x00007FFAEED59540 [j9gc29+0x129540])
[2023-02-07T07:44:05.243Z] J9VMDllMain+0x13104e (0x00007FFAEED6205E [j9gc29+0x13205e])
[2023-02-07T07:44:05.243Z] J9VMDllMain+0x1943a (0x00007FFAEEC4A44A [j9gc29+0x1a44a])
[2023-02-07T07:44:05.243Z] Java_java_lang_invoke_ThunkTuple_initialInvokeExactThunk+0x57c589 (0x00007FFAEF658859 [j9jit29+0x648859])
[2023-02-07T07:44:05.243Z] Java_java_lang_invoke_ThunkTuple_initialInvokeExactThunk+0x57ae1f (0x00007FFAEF6570EF [j9jit29+0x6470ef])
[2023-02-07T07:44:05.243Z] J9_GetInterface+0x39d0c (0x00007FFAF111372C [j9vm29+0x11372c])
[2023-02-07T07:44:05.243Z] J9VMDllMain+0x19195 (0x00007FFAEEC4A1A5 [j9gc29+0x1a1a5])
[2023-02-07T07:44:05.243Z] J9VMDllMain+0x15b61 (0x00007FFAEEC46B71 [j9gc29+0x16b71])
[2023-02-07T07:44:05.243Z] J9VMDllMain+0x15e93 (0x00007FFAEEC46EA3 [j9gc29+0x16ea3])
[2023-02-07T07:44:05.243Z] J9VMDllMain+0x14d2d (0x00007FFAEEC45D3D [j9gc29+0x15d3d])
[2023-02-07T07:44:05.243Z] J9VMDllMain+0x1276bd (0x00007FFAEED586CD [j9gc29+0x1286cd])
[2023-02-07T07:44:05.243Z] J9VMDllMain+0x150b38 (0x00007FFAEED81B48 [j9gc29+0x151b48])
[2023-02-07T07:44:05.243Z] J9VMDllMain+0x151dd1 (0x00007FFAEED82DE1 [j9gc29+0x152de1])
[2023-02-07T07:44:05.243Z] j9port_isCompatible+0x1a08b (0x00007FFAF1AFCC3B [j9prt29+0x1cc3b])
[2023-02-07T07:44:05.243Z] J9VMDllMain+0x151f2b (0x00007FFAEED82F3B [j9gc29+0x152f3b])
[2023-02-07T07:44:05.243Z] omrthread_get_category+0xa42 (0x00007FFAF8874232 [j9thr29+0x4232])
[2023-02-07T07:44:05.243Z] _o__realloc_base+0x60 (0x00007FFB0056FB80 [ucrtbase+0x1fb80])
[2023-02-07T07:44:05.243Z] BaseThreadInitThunk+0x14 (0x00007FFB03C384D4 [KERNEL32+0x84d4])
[2023-02-07T07:44:05.243Z] RtlUserThreadStart+0x21 (0x00007FFB03FD1791 [ntdll+0x51791])
[2023-02-07T07:44:05.243Z] ---------------------------------------
[2023-02-07T07:44:05.243Z] JVMDUMP039I Processing dump event "gpf", detail "" at 2023/02/06 23:43:37 - please wait.

[2023-02-07T07:44:05.245Z] TEST RESULT: Failed. Unexpected exit from test [exit code: -1]
[2023-02-07T07:44:05.245Z] --------------------------------------------------
[2023-02-07T07:44:05.245Z] Test results: failed: 1
[2023-02-07T07:44:34.292Z] Report written to C:\Users\jenkins\workspace\Test_openjdk19_j9_sanity.openjdk_x86-64_windows_testList_0\aqa-tests\TKG\output_16757500121364\jdk_vector_double128_j9_0\report\html\report.html
[2023-02-07T07:44:34.292Z] Results written to C:\Users\jenkins\workspace\Test_openjdk19_j9_sanity.openjdk_x86-64_windows_testList_0\aqa-tests\TKG\output_16757500121364\jdk_vector_double128_j9_0\work
[2023-02-07T07:44:34.292Z] Error: Some tests failed or other problems occurred.
[2023-02-07T07:44:34.292Z] -----------------------------------
[2023-02-07T07:44:34.292Z] jdk_vector_double128_j9_0_FAILED

50x internal grinder - all passed

@JasonFengJ9 JasonFengJ9 added this to the Java 19 0.37 milestone Feb 7, 2023
@tajila tajila added the comp:gc label Feb 14, 2023
@tajila
Copy link
Contributor

tajila commented Feb 14, 2023

VMstate indicates the crash happened during GC

@tajila
Copy link
Contributor

tajila commented Feb 14, 2023

FYI @dmitripivkine

@dmitripivkine
Copy link
Contributor

The reason for crash is a bogus object pointer 0xFFFED920 in O-slot 0x32B7CFF528 in java stack of thread 0x202600

<202600> JIT frame: bp = 0x0000000000252488, pc = 0x00007FFADB9D8A8B, unwindSP = 0x00000000002523D0, cp = 0x000000000023F2F0, arg0EA = 0x0000000000252490, jitInfo = 0x000001F3C2CF6BA8
<202600> 	Method: Double128VectorTests.toIntArrayDouble128VectorTestsSmokeTest(Ljava/util/function/IntFunction;)V !j9method 0x0000000000256B10
<202600> 	Bytecode index = 1, inlineDepth = 0, PC offset = 0x000000000000082B
<202600> 	stackMap=0x000001F3C2CF706D, slots=I16(0x0001) parmBaseOffset=I16(0x0008), parmSlots=U16(0x0001), localBaseOffset=I16(0xFFB8)
<202600> 	Described JIT args starting at 0x0000000000252490 for U16(0x0001) slots
<202600> 		O-Slot: : a0[0x0000000000252490] = 0x00000000E0226EF0
<202600> 	Described JIT temps starting at 0x0000000000252440 for IDATA(0x0000000000000009) slots
<202600> Address 0x000001F3C2CF70B5
<202600> Num internal ptr map bytes U8(0x07)
<202600> Address 0x000001F3C2CF70B6
<202600> Index of first internal ptr I16(0x0007)
<202600> Address 0x000001F3C2CF70B8
<202600> Offset of first internal ptr I16(0xFFE8)
<202600> Address 0x000001F3C2CF70BA
<202600> Num distinct pinning arrays U8(0x03)
<202600> Before object slot walk &address : 0x0000000000252478 address : 0x00000000E1289128 bp 0x0000000000252488 offset of first internal ptr I16(0xFFE8)
<202600> After object slot walk for pinning array with &address : 0x0000000000252478 old address 0x00000000E1289128 new address 0x00000000E1289128 displacement IDATA(0x0000000000000000)
<202600> For pinning array U8(0x01) num internal pointer stack slots U8(0x00)
<202600> Before object slot walk &address : 0x0000000000252470 address : 0x00000000E12ACE98 bp 0x0000000000252488 offset of first internal ptr I16(0xFFE8)
<202600> After object slot walk for pinning array with &address : 0x0000000000252470 old address 0x00000000E12ACE98 new address 0x00000000E12ACE98 displacement IDATA(0x0000000000000000)
<202600> For pinning array U8(0x00) num internal pointer stack slots U8(0x00)
<202600> Before object slot walk &address : 0x0000000000252480 address : 0x00000000FF290700 bp 0x0000000000252488 offset of first internal ptr I16(0xFFE8)
<202600> After object slot walk for pinning array with &address : 0x0000000000252480 old address 0x00000000FF290700 new address 0x00000000FF290700 displacement IDATA(0x0000000000000000)
<202600> For pinning array U8(0x02) num internal pointer stack slots U8(0x00)
<202600> 		O-Slot: : t8[0x0000000000252440] = 0x0000000000000000
<202600> 		O-Slot: : t7[0x0000000000252448] = 0x00000000E127E908
<202600> 		O-Slot: : t6[0x0000000000252450] = 0x00000000E021C910
<202600> 		O-Slot: : t5[0x0000000000252458] = 0x00000000FF290720
<202600> 		O-Slot: : t4[0x0000000000252460] = 0x00000000FF290720
<202600> 		I-Slot: : t3[0x0000000000252468] = 0x00000000E01788C8
<202600> 		I-Slot: : t2[0x0000000000252470] = 0x00000000E12ACE98
<202600> 		I-Slot: : t1[0x0000000000252478] = 0x00000000E1289128
<202600> 		I-Slot: : t0[0x0000000000252480] = 0x00000000FF290700
<202600> 	JIT-RegisterMap = UDATA(0x0000000000000020)
<202600> 		JIT-RegisterMap-I-Slot[0x00000032B7CFF500] = U64(0x00007FFAEF276050) (jit_rax)
<202600> 		JIT-RegisterMap-I-Slot[0x00000032B7CFF508] = U64(0x0000000000000110) (jit_rbx)
<202600> 		JIT-RegisterMap-I-Slot[0x00000032B7CFF510] = U64(0x00007FFADB9D8E00) (jit_rcx)
<202600> 		JIT-RegisterMap-I-Slot[0x00000032B7CFF518] = U64(0x0000000000252328) (jit_rdx)
<202600> 		JIT-RegisterMap-I-Slot[0x00000032B7CFF520] = U64(0x00000000FFFEFFF0) (jit_rdi)
<202600> 		JIT-RegisterMap-O-Slot[0x00000032B7CFF528] = 0x00000000FFFED920 (jit_rsi) <-------------------
<202600> 		JIT-RegisterMap-I-Slot[0x00000032B7CFF530] = U64(0x000000000007AA00) (jit_rbp)
<202600> 		JIT-RegisterMap-I-Slot[0x00000032B7CFF538] = U64(0x0000000000000000) (jit_rsp)
<202600> 		JIT-RegisterMap-I-Slot[0x00000032B7CFF540] = U64(0x0000000000000000) (jit_r8)
<202600> 		JIT-RegisterMap-I-Slot[0x00000032B7CFF548] = U64(0x0000000000000001) (jit_r9)
<202600> 		JIT-RegisterMap-I-Slot[0x00000032B7CFF550] = U64(0x0000000000000186) (jit_r10)
<202600> 		JIT-RegisterMap-I-Slot[0x00000032B7CFF558] = U64(0x00007FFAEEAE3900) (jit_r11)
<202600> 		JIT-RegisterMap-I-Slot[0x00000032B7CFF560] = U64(0x00000000FFFF0010) (jit_r12)
<202600> 		JIT-RegisterMap-I-Slot[0x00000032B7CFF568] = U64(0x00000000FFFEFFE0) (jit_r13)
<202600> 		JIT-RegisterMap-I-Slot[0x00000032B7CFF570] = U64(0x0000000000316400) (jit_r14)
<202600> 		JIT-RegisterMap-I-Slot[0x00000032B7CFF578] = U64(0x0000000000000022) (jit_r15)

0xFFFED900 :  00000000 4070d000 00000000 4070e000 [ ......p@......p@ ]
0xFFFED910 :  00000000 4070f000 00000000 40710000 [ ......p@......q@ ]
0xFFFED920 :  00000000 40711000 00000000 40712000 [ ......q@..... q@ ] <-----
0xFFFED930 :  00000000 40713000 00000000 40714000 [ .....0q@.....@q@ ]

@0xdaryl @gita-omr FYI

@0xdaryl
Copy link
Contributor

0xdaryl commented Feb 14, 2023

@gita-omr : please investigate

@gita-omr
Copy link
Contributor

Not sure about the helpfulness in this case (perhaps better to reproduce locally) but started 10X grinder.

@BradleyWood

@gita-omr
Copy link
Contributor

The failure is very intermittent. It failed couple times but then passed after 50 iterations.

@pshipton pshipton modified the milestones: Java 19 0.37, Java 20 0.39? Feb 18, 2023
@pshipton
Copy link
Member

pshipton commented Mar 2, 2023

https://openj9-jenkins.osuosl.org/job/Test_openjdk20_j9_sanity.openjdk_x86-64_mac_Nightly/5/
jdk_vector_double128_j9_0
jdk/incubator/vector/Double128VectorTests.java

https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Test/Test_openjdk20_j9_sanity.openjdk_x86-64_mac_Nightly/5/openjdk_test_output.tar.gz

21:41:01  #VECTOR API: Scalarized using dsub in Double128VectorTests.subDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
21:41:01  #VECTOR API: Scalarized fromBitsCoerced for Double in Double128VectorTests.subDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V atscorching
21:41:01  #VECTOR API: Scalarized using dsub in Double128VectorTests.subDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
21:41:01  Unhandled exception
21:41:01  Type=Segmentation error vmState=0x0002000f
21:41:01  J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000001
21:41:01  Handler1=000000000D447BD0 Handler2=000000000D7669F0 InaccessibleAddress=000000000000001A
21:41:01  RDI=00007FC8350098B8 RSI=00007FC8340D5A68 RAX=409A400000000000 RBX=0000000000000000
21:41:01  RCX=000070000A44E558 RDX=000070000A44E678 R8=000070000A44E600 R9=000070000A44E540
21:41:01  R10=00007FC835009820 R11=FFFFFFFFFF86F658 R12=00007FC835014A20 R13=0000000000000000
21:41:01  R14=00007FC8340D5A68 R15=00007FC835009820
21:41:01  RIP=000000000F3F09C7 GS=0000 FS=0000 RSP=000070000A44E4C0
21:41:01  RFlags=0000000000010246 CS=002B RBP=000070000A44E520 ERR=0000001A00000004
21:41:01  TRAPNO=000000040000000E CPU=001A000000040000 FAULTVADDR=000000000000001A
21:41:01  XMM0 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:41:01  XMM1 0000000000000003 (f: 3.000000, d: 1.482197e-323)
21:41:01  XMM2 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:41:01  XMM3 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:41:01  XMM4 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:41:01  XMM5 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:41:01  XMM6 3fd8c5b7c858b48b (f: 3361256704.000000, d: 3.870677e-01)
21:41:01  XMM7 402a56ef8ec924cc (f: 2395546880.000000, d: 1.316980e+01)
21:41:01  XMM8 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:41:01  XMM9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:41:01  XMM10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:41:01  XMM11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:41:01  XMM12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:41:01  XMM13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:41:01  XMM14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:41:01  XMM15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:41:01  Module=/Users/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_x86-64_mac_Nightly/openjdkbinary/j2sdk-image/lib/default/libj9gc29.dylib
21:41:01  Module_base_address=000000000F334000 Symbol=_ZN22GC_ObjectModelDelegate29calculateObjectDetailsForCopyEP18MM_EnvironmentBaseP18MM_ForwardedHeaderPmS4_S4_
21:41:01  Symbol_address=000000000F3F09A0
21:41:01  Target=2_90_20230301_6 (Mac OS X 10.15.7)
21:41:01  CPU=amd64 (4 logical CPUs) (0x200000000 RAM)
21:41:01  ----------- Stack Backtrace -----------
21:41:01  _ZN22GC_ObjectModelDelegate29calculateObjectDetailsForCopyEP18MM_EnvironmentBaseP18MM_ForwardedHeaderPmS4_S4_+0x28 (0x000000000F3F09C8 [libj9gc29.dylib+0xbc9c8])
21:41:01  _ZN12MM_Scavenger14copyForVariantILb0EEEP8J9ObjectP22MM_EnvironmentStandardP18MM_ForwardedHeader+0x5e (0x000000000F3D054E [libj9gc29.dylib+0x9c54e])
21:41:01  _ZN12MM_Scavenger24copyAndForwardThreadSlotEP22MM_EnvironmentStandardPP8J9Object+0x1e5 (0x000000000F3C6555 [libj9gc29.dylib+0x92555])
21:41:01  _ZN23MM_ScavengerRootScanner11doStackSlotEPP8J9ObjectPvPKv+0x1a0 (0x000000000F3D2DE0 [libj9gc29.dylib+0x9ede0])
21:41:01  jitWalkFrame+0x655 (0x000000000E021805 [libj9jit29.dylib+0x74d805])
21:41:01  jitWalkStackFrames+0x1298 (0x000000000E020C48 [libj9jit29.dylib+0x74cc48])
21:41:01  walkStackFrames+0x5f0 (0x000000000D4897C0 [libj9vm29.dylib+0x797c0])
21:41:01  _ZN28GC_VMThreadStackSlotIterator9scanSlotsEP10J9VMThreadS1_PvPFvP8J9JavaVMPP8J9ObjectS2_P16J9StackWalkStatePKvEbb+0xb8 (0x000000000F4150E8 [libj9gc29.dylib+0xe10e8])
21:41:01  _ZN14MM_RootScanner13scanOneThreadEP18MM_EnvironmentBaseP10J9VMThreadPv+0x117 (0x000000000F40C827 [libj9gc29.dylib+0xd8827])
21:41:01  _ZN14MM_RootScanner11scanThreadsEP18MM_EnvironmentBase+0xc1 (0x000000000F40C5C1 [libj9gc29.dylib+0xd85c1])
21:41:01  _ZN14MM_RootScanner9scanRootsEP18MM_EnvironmentBase+0x99 (0x000000000F40E6A9 [libj9gc29.dylib+0xda6a9])
21:41:01  _ZN12MM_Scavenger24workThreadGarbageCollectEP22MM_EnvironmentStandard+0x263 (0x000000000F3C0C83 [libj9gc29.dylib+0x8cc83])
21:41:01  _ZN21MM_ParallelDispatcher16workerEntryPointEP18MM_EnvironmentBase+0x57 (0x000000000F365497 [libj9gc29.dylib+0x31497])
21:41:01  _Z23dispatcher_thread_proc2P14OMRPortLibraryPv+0xf6 (0x000000000F3653A6 [libj9gc29.dylib+0x313a6])
21:41:01  omrsig_protect+0x392 (0x000000000D7654E2 [libj9prt29.dylib+0x214e2])
21:41:01  dispatcher_thread_proc+0x42 (0x000000000F365432 [libj9gc29.dylib+0x31432])
21:41:01  thread_wrapper+0x13a (0x000000000D7E66DA [libj9thr29.dylib+0xa6da])
21:41:01  _pthread_start+0x94 (0x00007FFF73E77109 [libsystem_pthread.dylib+0x6109])
21:41:01  ---------------------------------------

@dmitripivkine
Copy link
Contributor

This is similar crash - mid-object (stale?) pointer in O-slot:

THREAD STACKS: slot 1b678300(70000a5d7bf8) -> ffffad78: class pointer is null>

0xFFFFAD60 :  00000000 409a0400 00000000 409a1800 [ .......@.......@ ]
0xFFFFAD70 :  00000000 409a2c00 00000000 409a4000 [ .....,.@.....@.@ ] <-- mid array
0xFFFFAD80 :  00000000 409a5400 00000000 409a6800 [ .....T.@.....h.@ ]

<1b678300> 	Method: Double128VectorTests.toLongArrayDouble128VectorTestsSmokeTest(Ljava/util/function/IntFunction;)V !j9method 0x000000001B6CC3A0
<1b678300> 	Bytecode index = 1, inlineDepth = 0, PC offset = 0x00000000000008BB
<1b678300> 	stackMap=0x00007FC837AFB854, slots=I16(0x0001) parmBaseOffset=I16(0x0008), parmSlots=U16(0x0001), localBaseOffset=I16(0xFFB0)
<1b678300> 	Described JIT args starting at 0x000000001B6C80D0 for U16(0x0001) slots
<1b678300> 		O-Slot: : a0[0x000000001B6C80D0] = 0x00000000E022E0C0
<1b678300> 	Described JIT temps starting at 0x000000001B6C8078 for IDATA(0x000000000000000A) slots
<1b678300> Address 0x00007FC837AFB89C
<1b678300> Num internal ptr map bytes U8(0x09)
<1b678300> Address 0x00007FC837AFB89D
<1b678300> Index of first internal ptr I16(0x0007)
<1b678300> Address 0x00007FC837AFB89F
<1b678300> Offset of first internal ptr I16(0xFFE0)
<1b678300> Address 0x00007FC837AFB8A1
<1b678300> Num distinct pinning arrays U8(0x04)
<1b678300> Before object slot walk &address : 0x000000001B6C80B0 address : 0x00000000E1294588 bp 0x000000001B6C80C8 offset of first internal ptr I16(0xFFE0)
<1b678300> After object slot walk for pinning array with &address : 0x000000001B6C80B0 old address 0x00000000E1294588 new address 0x00000000E1294588 displacement IDATA(0x0000000000000000)
<1b678300> For pinning array U8(0x01) num internal pointer stack slots U8(0x00)
<1b678300> Before object slot walk &address : 0x000000001B6C80A8 address : 0x00000000E1294738 bp 0x000000001B6C80C8 offset of first internal ptr I16(0xFFE0)
<1b678300> After object slot walk for pinning array with &address : 0x000000001B6C80A8 old address 0x00000000E1294738 new address 0x00000000E1294738 displacement IDATA(0x0000000000000000)
<1b678300> For pinning array U8(0x00) num internal pointer stack slots U8(0x00)
<1b678300> Before object slot walk &address : 0x000000001B6C80B8 address : 0x00000000FF869900 bp 0x000000001B6C80C8 offset of first internal ptr I16(0xFFE0)
<1b678300> After object slot walk for pinning array with &address : 0x000000001B6C80B8 old address 0x00000000FF869900 new address 0x00000000FF869900 displacement IDATA(0x0000000000000000)
<1b678300> For pinning array U8(0x02) num internal pointer stack slots U8(0x00)
<1b678300> Before object slot walk &address : 0x000000001B6C80C0 address : 0x00000000FF869920 bp 0x000000001B6C80C8 offset of first internal ptr I16(0xFFE0)
<1b678300> After object slot walk for pinning array with &address : 0x000000001B6C80C0 old address 0x00000000FF869920 new address 0x00000000FF869920 displacement IDATA(0x0000000000000000)
<1b678300> For pinning array U8(0x03) num internal pointer stack slots U8(0x00)
<1b678300> 		O-Slot: : t9[0x000000001B6C8078] = 0x0000000000000000
<1b678300> 		O-Slot: : t8[0x000000001B6C8080] = 0x00000000E12945B0
<1b678300> 		O-Slot: : t7[0x000000001B6C8088] = 0x00000000E02276C8
<1b678300> 		O-Slot: : t6[0x000000001B6C8090] = 0x00000000FF869940
<1b678300> 		O-Slot: : t5[0x000000001B6C8098] = 0x00000000FF869940
<1b678300> 		I-Slot: : t4[0x000000001B6C80A0] = 0x000000002CB3FB14
<1b678300> 		I-Slot: : t3[0x000000001B6C80A8] = 0x00000000E1294738
<1b678300> 		I-Slot: : t2[0x000000001B6C80B0] = 0x00000000E1294588
<1b678300> 		I-Slot: : t1[0x000000001B6C80B8] = 0x00000000FF869900
<1b678300> 		I-Slot: : t0[0x000000001B6C80C0] = 0x00000000FF869920
<1b678300> 	JIT-RegisterMap = UDATA(0x0000000000002000)
<1b678300> 		JIT-RegisterMap-I-Slot[0x000070000A5D7B90] = UDATA(0x00000000E02010D0) (jit_rax)
<1b678300> 		JIT-RegisterMap-I-Slot[0x000070000A5D7B98] = UDATA(0x0000000000000150) (jit_rbx)
<1b678300> 		JIT-RegisterMap-I-Slot[0x000070000A5D7BA0] = UDATA(0xCD371BEC4F0400A0) (jit_rcx)
<1b678300> 		JIT-RegisterMap-I-Slot[0x000070000A5D7BA8] = UDATA(0x000000001B6C8000) (jit_rdx)
<1b678300> 		JIT-RegisterMap-I-Slot[0x000070000A5D7BB0] = UDATA(0x0000000000000008) (jit_rdi)
<1b678300> 		JIT-RegisterMap-I-Slot[0x000070000A5D7BB8] = UDATA(0x0000000000000002) (jit_rsi)
<1b678300> 		JIT-RegisterMap-I-Slot[0x000070000A5D7BC0] = UDATA(0xCD371BEC4F0400A0) (jit_rbp)
<1b678300> 		JIT-RegisterMap-I-Slot[0x000070000A5D7BC8] = UDATA(0x000000000D8B8FB0) (jit_rsp)
<1b678300> 		JIT-RegisterMap-I-Slot[0x000070000A5D7BD0] = UDATA(0x000000001B7C3F58) (jit_r8)
<1b678300> 		JIT-RegisterMap-I-Slot[0x000070000A5D7BD8] = UDATA(0x00000000FFFED688) (jit_r9)
<1b678300> 		JIT-RegisterMap-I-Slot[0x000070000A5D7BE0] = UDATA(0x000000001B6C8268) (jit_r10)
<1b678300> 		JIT-RegisterMap-I-Slot[0x000070000A5D7BE8] = UDATA(0x000000000FB51090) (jit_r11)
<1b678300> 		JIT-RegisterMap-I-Slot[0x000070000A5D7BF0] = UDATA(0x00000000FFFFFFE8) (jit_r12)
<1b678300> 		JIT-RegisterMap-O-Slot[0x000070000A5D7BF8] = 0x00000000FFFFAD78 (jit_r13) <--- bad O-slot
<1b678300> 		JIT-RegisterMap-I-Slot[0x000070000A5D7C00] = UDATA(0x0000000100000008) (jit_r14)
<1b678300> 		JIT-RegisterMap-I-Slot[0x000070000A5D7C08] = UDATA(0x00000000FFFFA2E8) (jit_r15)
<1b678300> 	JIT-Frame-RegisterMap[0x000000001B6C8040] = UDATA(0x00000000E02297D8) (jit_rbx)
<1b678300> 	JIT-Frame-RegisterMap[0x000000001B6C8048] = UDATA(0x00000000FFFED688) (jit_r9)
<1b678300> 	JIT-Frame-RegisterMap[0x000070000A5D7BE0] = UDATA(0x000000001B6C8268) (jit_r10)
<1b678300> 	JIT-Frame-RegisterMap[0x000070000A5D7BE8] = UDATA(0x000000000FB51090) (jit_r11)
<1b678300> 	JIT-Frame-RegisterMap[0x000070000A5D7BF0] = UDATA(0x00000000FFFFFFE8) (jit_r12)
<1b678300> 	JIT-Frame-RegisterMap[0x000070000A5D7BF8] = UDATA(0x00000000FFFFAD78) (jit_r13)
<1b678300> 	JIT-Frame-RegisterMap[0x000070000A5D7C00] = UDATA(0x0000000100000008) (jit_r14)

@vij-singh
Copy link

@gita-omr Any new news on this one?

@gita-omr
Copy link
Contributor

gita-omr commented Mar 7, 2023

We have a known issue with preserving vector registers across calls. @BradleyWood fyi

@BradleyWood
Copy link
Member

Vectorization is disabled on x86. @gita-omr

@0xdaryl
Copy link
Contributor

0xdaryl commented Mar 21, 2023

I'm just mentioning #16510 here as there might be a common root cause.

@vij-singh
Copy link

@gita-omr Any new news on this one?

@pshipton
Copy link
Member

pshipton commented Apr 4, 2023

Vector is still incubator in jdk20, moving this forward since it's not a requirement for a 20.0.1 release.

@gita-omr
Copy link
Contributor

gita-omr commented Apr 4, 2023

@gita-omr Any new news on this one?

We will try to resume looking at it soon.

@JasonFengJ9
Copy link
Member Author

JDK20 x86-64_mac(mac11-x86-2)

21:15:34  openjdk version "20.0.1-internal" 2023-04-18
21:15:34  OpenJDK Runtime Environment (build 20.0.1-internal-adhoc.****.BuildJDK20x86-64macNightly)
21:15:34  Eclipse OpenJ9 VM (build master-37e239e9e08, JRE 20 Mac OS X amd64-64-Bit Compressed References 20230519_63 (JIT enabled, AOT enabled)
21:15:34  OpenJ9   - 37e239e9e08
21:15:34  OMR      - 779c51b9568
21:15:34  JCL      - 963ffe3f346 based on jdk-20.0.1+9)

23:02:59  ===============================================
23:02:59  Running test jdk_vector_double128_j9_0 ...
23:03:00  ===============================================
23:03:00  jdk_vector_double128_j9_0 Start Time: Fri May 19 23:02:59 2023 Epoch Time (ms): 1684551779612
23:03:00  variation: -Xjit:{*Double128VectorTests*}(count=1,enforceVectorAPIExpansion),disableAsyncCompilation,disableSuffixLogs,verbose={vectorAPI}
23:03:00  JVM_OPTIONS:  -Xjit:{*Double128VectorTests*}(count=1,enforceVectorAPIExpansion),disableAsyncCompilation,disableSuffixLogs,verbose={vectorAPI} 

23:05:59  TEST: jdk/incubator/vector/Double128VectorTests.java

23:05:59  STDERR:
23:05:59  #INFO:  AOT header validation failed: AsyncCompilation feature mismatch.
23:05:59  
23:05:59  #INFO:  StartTime: May 19 23:03:24 2023
23:05:59  #INFO:  Free Physical Memory: 5372 MB estimated
23:05:59  #INFO:  CPU entitlement = 400.00
23:05:59  WARNING: Using incubator modules: jdk.incubator.vector
23:05:59  #VECTOR API: Scalarized using dabs in Double128VectorTests.ABSDouble128VectorTests(Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dabs in Double128VectorTests.ABSDouble128VectorTests(Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dabs in Double128VectorTests.ABSDouble128VectorTests(Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dadd in Double128VectorTests.ADDDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dadd in Double128VectorTests.ADDDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dadd in Double128VectorTests.ADDDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized fromBitsCoerced for Double in Double128VectorTests.ADDDouble128VectorTestsBroadcastLongSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V atscorching
23:05:59  #VECTOR API: Scalarized using dadd in Double128VectorTests.ADDDouble128VectorTestsBroadcastLongSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized fromBitsCoerced for Double in Double128VectorTests.ADDDouble128VectorTestsBroadcastLongSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V atscorching
23:05:59  #VECTOR API: Scalarized using dadd in Double128VectorTests.ADDDouble128VectorTestsBroadcastLongSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized fromBitsCoerced for Double in Double128VectorTests.BroadcastDouble128VectorTests(Ljava/util/function/IntFunction;)V atscorching
23:05:59  #VECTOR API: Scalarized fromBitsCoerced for Double in Double128VectorTests.BroadcastDouble128VectorTests(Ljava/util/function/IntFunction;)V atscorching
23:05:59  #VECTOR API: Scalarized fromBitsCoerced for Double in Double128VectorTests.BroadcastDouble128VectorTests(Ljava/util/function/IntFunction;)V atscorching
23:05:59  #VECTOR API: Scalarized fromBitsCoerced for Double in Double128VectorTests.BroadcastLongDouble128VectorTestsSmokeTest(Ljava/util/function/IntFunction;)V atscorching
23:05:59  #VECTOR API: Scalarized fromBitsCoerced for Double in Double128VectorTests.BroadcastLongDouble128VectorTestsSmokeTest(Ljava/util/function/IntFunction;)V atscorching
23:05:59  #VECTOR API: Scalarized using ddiv in Double128VectorTests.DIVDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using ddiv in Double128VectorTests.DIVDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using ddiv in Double128VectorTests.DIVDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dmul in Double128VectorTests.MULDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dmul in Double128VectorTests.MULDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dmul in Double128VectorTests.MULDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dneg in Double128VectorTests.NEGDouble128VectorTests(Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dneg in Double128VectorTests.NEGDouble128VectorTests(Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dneg in Double128VectorTests.NEGDouble128VectorTests(Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dsub in Double128VectorTests.SUBDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dsub in Double128VectorTests.SUBDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dsub in Double128VectorTests.SUBDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized fromBitsCoerced for Double in Double128VectorTests.ZeroDouble128VectorTests(Ljava/util/function/IntFunction;)V atscorching
23:05:59  #VECTOR API: Scalarized fromBitsCoerced for Double in Double128VectorTests.ZeroDouble128VectorTests(Ljava/util/function/IntFunction;)V atscorching
23:05:59  #VECTOR API: Scalarized using dabs in Double128VectorTests.absDouble128VectorTests(Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dabs in Double128VectorTests.absDouble128VectorTests(Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dabs in Double128VectorTests.absDouble128VectorTests(Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dadd in Double128VectorTests.addDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dadd in Double128VectorTests.addDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized fromBitsCoerced for Double in Double128VectorTests.addDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V atscorching
23:05:59  #VECTOR API: Scalarized using dadd in Double128VectorTests.addDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized fromBitsCoerced for Double in Double128VectorTests.addDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V atscorching
23:05:59  #VECTOR API: Scalarized using dadd in Double128VectorTests.addDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using ddiv in Double128VectorTests.divDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using ddiv in Double128VectorTests.divDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized fromBitsCoerced for Double in Double128VectorTests.divDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V atscorching
23:05:59  #VECTOR API: Scalarized using ddiv in Double128VectorTests.divDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized fromBitsCoerced for Double in Double128VectorTests.divDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V atscorching
23:05:59  #VECTOR API: Scalarized using ddiv in Double128VectorTests.divDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dmul in Double128VectorTests.mulDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dmul in Double128VectorTests.mulDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized fromBitsCoerced for Double in Double128VectorTests.mulDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V atscorching
23:05:59  #VECTOR API: Scalarized using dmul in Double128VectorTests.mulDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized fromBitsCoerced for Double in Double128VectorTests.mulDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V atscorching
23:05:59  #VECTOR API: Scalarized using dmul in Double128VectorTests.mulDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dneg in Double128VectorTests.negDouble128VectorTests(Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dneg in Double128VectorTests.negDouble128VectorTests(Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dneg in Double128VectorTests.negDouble128VectorTests(Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dsub in Double128VectorTests.subDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized using dsub in Double128VectorTests.subDouble128VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized fromBitsCoerced for Double in Double128VectorTests.subDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V atscorching
23:05:59  #VECTOR API: Scalarized using dsub in Double128VectorTests.subDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  #VECTOR API: Scalarized fromBitsCoerced for Double in Double128VectorTests.subDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V atscorching
23:05:59  #VECTOR API: Scalarized using dsub in Double128VectorTests.subDouble128VectorTestsBroadcastSmokeTest(Ljava/util/function/IntFunction;Ljava/util/function/IntFunction;)V at scorching
23:05:59  Unhandled exception
23:05:59  Type=Segmentation error vmState=0x0002000f
23:05:59  J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000001
23:05:59  Handler1=00000000063CCDE0 Handler2=00000000066EB9F0 InaccessibleAddress=000000000000001A
23:05:59  RDI=00007F90610244B8 RSI=00007F9060820868 RAX=409B080000000000 RBX=0000000000000000
23:05:59  RCX=0000700001C31550 RDX=0000700001C31678 R8=0000700001C31600 R9=0000700001C31540
23:05:59  R10=00007F9061024420 R11=FFFFFFFFFF9EEDD8 R12=00007F9061024420 R13=0000000000000000
23:05:59  R14=0000700001C31678 R15=00007F9061013420
23:05:59  RIP=000000000A393BB7 GS=0000 FS=0000 RSP=0000700001C314C0
23:05:59  RFlags=0000000000010246 CS=002B RBP=0000700001C31520 ERR=0000001A00000004
23:05:59  TRAPNO=000000040000000E CPU=001A000000040000 FAULTVADDR=000000000000001A
23:05:59  XMM0 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:05:59  XMM1 0000000000000003 (f: 3.000000, d: 1.482197e-323)
23:05:59  XMM2 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:05:59  XMM3 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:05:59  XMM4 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:05:59  XMM5 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:05:59  XMM6 3fa39e87b9febd60 (f: 3120479488.000000, d: 3.831886e-02)
23:05:59  XMM7 402a56ef8ec924cc (f: 2395546880.000000, d: 1.316980e+01)
23:05:59  XMM8 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:05:59  XMM9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:05:59  XMM10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:05:59  XMM11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:05:59  XMM12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:05:59  XMM13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:05:59  XMM14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:05:59  XMM15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:05:59  Module=/Users/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_x86-64_mac_Nightly/openjdkbinary/j2sdk-image/lib/default/libj9gc29.dylib
23:05:59  Module_base_address=000000000A2D4000 Symbol=_ZN22GC_ObjectModelDelegate29calculateObjectDetailsForCopyEP18MM_EnvironmentBaseP18MM_ForwardedHeaderPmS4_S4_
23:05:59  Symbol_address=000000000A393B90
23:05:59  Target=2_90_20230519_63 (Mac OS X 11.6.7)
23:05:59  CPU=amd64 (4 logical CPUs) (0x200000000 RAM)
23:05:59  ----------- Stack Backtrace -----------
23:05:59  _ZN22GC_ObjectModelDelegate29calculateObjectDetailsForCopyEP18MM_EnvironmentBaseP18MM_ForwardedHeaderPmS4_S4_+0x28 (0x000000000A393BB8 [libj9gc29.dylib+0xbfbb8])
23:05:59  _ZN12MM_Scavenger14copyForVariantILb0EEEP8J9ObjectP22MM_EnvironmentStandardP18MM_ForwardedHeader+0x5e (0x000000000A37375E [libj9gc29.dylib+0x9f75e])
23:05:59  _ZN12MM_Scavenger24copyAndForwardThreadSlotEP22MM_EnvironmentStandardPP8J9Object+0x1e5 (0x000000000A369875 [libj9gc29.dylib+0x95875])
23:05:59  _ZN23MM_ScavengerRootScanner11doStackSlotEPP8J9ObjectPvPKv+0x1a0 (0x000000000A375EF0 [libj9gc29.dylib+0xa1ef0])
23:05:59  jitWalkFrame+0x655 (0x0000000008FB4395 [libj9jit29.dylib+0x750395])
23:05:59  jitWalkStackFrames+0x1298 (0x0000000008FB37D8 [libj9jit29.dylib+0x74f7d8])
23:05:59  walkStackFrames+0x5f0 (0x000000000640E6B0 [libj9vm29.dylib+0x796b0])
23:05:59  _ZN28GC_VMThreadStackSlotIterator9scanSlotsEP10J9VMThreadS1_PvPFvP8J9JavaVMPP8J9ObjectS2_P16J9StackWalkStatePKvEbb+0xb8 (0x000000000A3B8AE8 [libj9gc29.dylib+0xe4ae8])
23:05:59  _ZN14MM_RootScanner13scanOneThreadEP18MM_EnvironmentBaseP10J9VMThreadPv+0x117 (0x000000000A3AFF17 [libj9gc29.dylib+0xdbf17])
23:05:59  _ZN14MM_RootScanner11scanThreadsEP18MM_EnvironmentBase+0xc1 (0x000000000A3AFCB1 [libj9gc29.dylib+0xdbcb1])
23:05:59  _ZN14MM_RootScanner9scanRootsEP18MM_EnvironmentBase+0x99 (0x000000000A3B1D99 [libj9gc29.dylib+0xddd99])
23:05:59  _ZN12MM_Scavenger24workThreadGarbageCollectEP22MM_EnvironmentStandard+0x263 (0x000000000A363F73 [libj9gc29.dylib+0x8ff73])
23:05:59  _ZN21MM_ParallelDispatcher16workerEntryPointEP18MM_EnvironmentBase+0x77 (0x000000000A3084E7 [libj9gc29.dylib+0x344e7])
23:05:59  _Z23dispatcher_thread_proc2P14OMRPortLibraryPv+0xf6 (0x000000000A3083D6 [libj9gc29.dylib+0x343d6])
23:05:59  omrsig_protect+0x392 (0x00000000066EA4E2 [libj9prt29.dylib+0x214e2])
23:05:59  dispatcher_thread_proc+0x42 (0x000000000A308462 [libj9gc29.dylib+0x34462])
23:05:59  thread_wrapper+0x13a (0x000000000676B6DA [libj9thr29.dylib+0xa6da])
23:05:59  _pthread_start+0xe0 (0x00007FFF203FF8FC [libsystem_pthread.dylib+0x68fc])
23:05:59  ---------------------------------------
23:05:59  JVMDUMP039I Processing dump event "gpf", detail "" at 2023/05/19 23:05:00 - please wait.

23:05:59  TEST RESULT: Failed. Unexpected exit from test [exit code: 255]
23:05:59  --------------------------------------------------
23:05:59  Test results: failed: 1
23:06:09  Report written to /Users/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_x86-64_mac_Nightly/aqa-tests/TKG/output_16845458104540/jdk_vector_double128_j9_0/report/html/report.html
23:06:09  Results written to /Users/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_x86-64_mac_Nightly/aqa-tests/TKG/output_16845458104540/jdk_vector_double128_j9_0/work
23:06:09  Error: Some tests failed or other problems occurred.
23:06:09  -----------------------------------
23:06:09  jdk_vector_double128_j9_0_FAILED

@JasonFengJ9 JasonFengJ9 changed the title JDK19 jdk_vector_double128_j9_0_FAILED jdk/incubator/vector/Double128VectorTests.java Segmentation error vmState=0x0002000f JDK20 jdk_vector_double128_j9_0_FAILED jdk/incubator/vector/Double128VectorTests.java Segmentation error vmState=0x0002000f May 20, 2023
@pshipton pshipton modified the milestones: Java 20.0.2, Java 21 Jun 20, 2023
@pshipton
Copy link
Member

https://openj9-jenkins.osuosl.org/job/Test_openjdk20_j9_sanity.openjdk_x86-64_linux_OMR/27
jdk_vector_double128_j9_0 -Xjit:{*Double128VectorTests*}(count=1,enforceVectorAPIExpansion),disableAsyncCompilation,disableSuffixLogs,verbose={vectorAPI}
jdk/incubator/vector/Double128VectorTests.java

https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Test/Test_openjdk20_j9_sanity.openjdk_x86-64_linux_OMR/27/openjdk_test_output.tar.gz

10:56:09  Type=Segmentation error vmState=0x0002000f
10:56:09  J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000001
10:56:09  Handler1=00007F9B500D3690 Handler2=00007F9B515DB710 InaccessibleAddress=000000000000001A
10:56:09  RDI=00007F9B4C049448 RSI=00007F9AD0001A68 RAX=00007F9B4C020EE8 RBX=4057400000000000
10:56:09  RCX=00007F9B0B73B378 RDX=00007F9B0B73B500 R8=00007F9B0B73B380 R9=00007F9B0B73B388
10:56:09  R10=0000000000000C38 R11=00007F9B4C0493B0 R12=00007F9B0B73B500 R13=00007F9B0B73B378
10:56:09  R14=00007F9B4C0493B0 R15=00007F9B0B73B388
10:56:09  RIP=00007F9B447B6D00 GS=0000 FS=0000 RSP=00007F9B0B73B2E0
10:56:09  EFlags=0000000000010246 CS=0033 RBP=0000000000000000 ERR=0000000000000004
10:56:09  TRAPNO=000000000000000E OLDMASK=0000000000000000 CR2=000000000000001A
10:56:09  xmm0 00007f9b448d2078 (f: 1150099584.000000, d: 6.931980e-310)
10:56:09  xmm1 00000000fff2ee00 (f: 4294110720.000000, d: 2.121573e-314)
10:56:09  xmm2 00007f9b4483cd94 (f: 1149488512.000000, d: 6.931980e-310)
10:56:09  xmm3 4030000000000000 (f: 0.000000, d: 1.600000e+01)
10:56:09  xmm4 402c000000000000 (f: 0.000000, d: 1.400000e+01)
10:56:09  xmm5 4028000000000000 (f: 0.000000, d: 1.200000e+01)
10:56:09  xmm6 4024000000000000 (f: 0.000000, d: 1.000000e+01)
10:56:09  xmm7 4020000000000000 (f: 0.000000, d: 8.000000e+00)
10:56:09  xmm8 4018000000000000 (f: 0.000000, d: 6.000000e+00)
10:56:09  xmm9 4014000000000000 (f: 0.000000, d: 5.000000e+00)
10:56:09  xmm10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
10:56:09  xmm11 0000ff0000000000 (f: 0.000000, d: 1.385239e-309)
10:56:09  xmm12 0000013d00000140 (f: 320.000000, d: 6.726727e-312)
10:56:09  xmm13 000001380000013f (f: 319.000000, d: 6.620627e-312)
10:56:09  xmm14 0000000008001800 (f: 134223872.000000, d: 6.631540e-316)
10:56:09  xmm15 000001420000013b (f: 315.000000, d: 6.832826e-312)
10:56:09  Module=/home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_x86-64_linux_OMR/openjdkbinary/j2sdk-image/lib/default/libj9gc29.so
10:56:09  Module_base_address=00007F9B4460A000
10:56:09  Target=2_90_20230620_41 (Linux 3.10.0-1160.88.1.el7.x86_64)
10:56:09  CPU=amd64 (4 logical CPUs) (0x1e8cbe000 RAM)
10:56:09  ----------- Stack Backtrace -----------
10:56:09  _ZN22GC_ObjectModelDelegate29calculateObjectDetailsForCopyEP18MM_EnvironmentBaseP18MM_ForwardedHeaderPmS4_S4_+0x30 (0x00007F9B447B6D00 [libj9gc29.so+0x1acd00])
10:56:09  _ZN12MM_Scavenger14copyForVariantILb0EEEP8J9ObjectP22MM_EnvironmentStandardP18MM_ForwardedHeader+0x60 (0x00007F9B44790B20 [libj9gc29.so+0x186b20])
10:56:09  _ZN12MM_Scavenger24copyAndForwardThreadSlotEP22MM_EnvironmentStandardPP8J9Object+0x2ac (0x00007F9B4478C65C [libj9gc29.so+0x18265c])
10:56:09  jitWalkFrame+0x174 (0x00007F9B452B82A4 [libj9jit29.so+0x9e12a4])
10:56:09  jitWalkStackFrames+0x10d4 (0x00007F9B452B99A4 [libj9jit29.so+0x9e29a4])
10:56:09  walkStackFrames+0xa6 (0x00007F9B50115E96 [libj9vm29.so+0x85e96])
10:56:09  _ZN28GC_VMThreadStackSlotIterator9scanSlotsEP10J9VMThreadS1_PvPFvP8J9JavaVMPP8J9ObjectS2_P16J9StackWalkStatePKvEbb+0x3c (0x00007F9B4464EC0C [libj9gc29.so+0x44c0c])
10:56:09  _ZN14MM_RootScanner13scanOneThreadEP18MM_EnvironmentBaseP10J9VMThreadPv+0x107 (0x00007F9B44646057 [libj9gc29.so+0x3c057])
10:56:09  _ZN14MM_RootScanner11scanThreadsEP18MM_EnvironmentBase+0xcf (0x00007F9B4464494F [libj9gc29.so+0x3a94f])
10:56:09  _ZN14MM_RootScanner9scanRootsEP18MM_EnvironmentBase+0x43 (0x00007F9B44647743 [libj9gc29.so+0x3d743])
10:56:09  _ZN12MM_Scavenger24workThreadGarbageCollectEP22MM_EnvironmentStandard+0x375 (0x00007F9B4478EAF5 [libj9gc29.so+0x184af5])
10:56:09  _ZN21MM_ParallelDispatcher16workerEntryPointEP18MM_EnvironmentBase+0x1b8 (0x00007F9B4473ACD8 [libj9gc29.so+0x130cd8])
10:56:09  _Z23dispatcher_thread_proc2P14OMRPortLibraryPv+0x109 (0x00007F9B44739C19 [libj9gc29.so+0x12fc19])
10:56:09  omrsig_protect+0x239 (0x00007F9B515DC399 [libj9prt29.so+0x2a399])
10:56:09  dispatcher_thread_proc+0x3f (0x00007F9B4473993F [libj9gc29.so+0x12f93f])
10:56:09  thread_wrapper+0x163 (0x00007F9B515A43A3 [libj9thr29.so+0xb3a3])
10:56:09  start_thread+0xc5 (0x00007F9B510FCEA5 [libpthread.so.0+0x7ea5])
10:56:09  clone+0x6d (0x00007F9B50C21B0D [libc.so.6+0xfeb0d])

@gita-omr
Copy link
Contributor

gita-omr commented Jul 13, 2023

Looks like only failed on amd64 so far.

@gita-omr
Copy link
Contributor

There is high chance this is a duplicate of [1] and was fixed by [2]

[1] #16979
[2] #17831

@vij-singh
Copy link

Can we verify if this is now in fact fixed?

@JasonFengJ9
Copy link
Member Author

There are no JDK20 head test runs since it is exiting the service life cycle.
The failure in question was not observed in 0.40.0 release builds and recent JDK21 manual runs.

I would close this, and it can be re-opened if the issue appears again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants