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

JDK19 LambdaLoadTest_CS_5m_0_FAILED j9mm.479 * ** ASSERTION FAILED ** at runtime\gc_glue_java\MarkingSchemeRootMarker.cpp:53: ((MM_StackSlotValidator(MM_StackSlotValidator::NOT_ON_HEAP, object, stackLocation, walkState).validate(_env))) #15410

Closed
JasonFengJ9 opened this issue Jun 23, 2022 · 4 comments

Comments

@JasonFengJ9
Copy link
Member

Failure link

From an internal build job/Test_openjdk19_j9_sanity.system_x86-64_windows_Personal/2/tapResults/(win16x64rt-1-2):

openjdk version "19-internal" 2022-09-20
OpenJDK Runtime Environment (build 19-internal-adhoc.jenkins.buildjdk19x86-64windowspersonal)
Eclipse OpenJ9 VM (build master-ac82c9067c5, JRE 19 Windows Server 2016 amd64-64-Bit Compressed References 20220622_4 (JIT enabled, AOT enabled)
OpenJ9   - ac82c9067c5
OMR      - 342963cee6d
JCL      - abd1f9e6083 based on jdk-19+27)

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

Optional info

Failure output (captured from console output)

===============================================
Running test LambdaLoadTest_CS_5m_0 ...
===============================================
LambdaLoadTest_CS_5m_0 Start Time: Wed Jun 22 23:43:16 2022 Epoch Time (ms): 1655966596444
variation: -Xgcpolicy:gencon -Xgc:concurrentScavenge
JVM_OPTIONS:  -Xgcpolicy:gencon -Xgc:concurrentScavenge 

LT  23:45:12.952 - Completed 33.5%. Number of tests started=3030 (+785)
LT  stderr 00000000005D2800: Object neither in heap nor stack-allocated in thread load-4
LT  stderr 00000000005D2800:	O-Slot=0000000000AB9990
LT  stderr 00000000005D2800:	O-Slot value=00000000000B2188
LT  stderr 00000000005D2800:	PC=00007FFEBD837B65
LT  stderr 00000000005D2800:	framesWalked=1
LT  stderr 00000000005D2800:	arg0EA=0000000000AB99A8
LT  stderr 00000000005D2800:	walkSP=0000000000AB9920
LT  stderr 00000000005D2800:	literals=0000000000000000
LT  stderr 00000000005D2800:	jitInfo=00000241C21659A8
LT  stderr 00000000005D2800:	method=0000000000079900 (java/lang/Thread.genThreadName()Ljava/lang/String;) (JIT)
LT  stderr 00000000005D2800:	stack=0000000000A5E518-0000000000ABA1D0
LT  stderr 06:45:31.373 0x173900    j9mm.479    *   ** ASSERTION FAILED ** at c:\users\jenkins\workspace\build_jdk19_x86-64_windows_personal\openj9\runtime\gc_glue_java\MarkingSchemeRootMarker.cpp:53: ((MM_StackSlotValidator(MM_StackSlotValidator::NOT_ON_HEAP, object, stackLocation, walkState).validate(_env)))
LT  stderr JVMDUMP039I Processing dump event "traceassert", detail "" at 2022/06/22 23:45:31 - please wait.

LambdaLoadTest_CS_5m_0_FAILED

This assertion appeared in a few other issues (all closed)
j9mm.479 * ** ASSERTION FAILED ** at openj9/runtime/gc_glue_java/MarkingSchemeRootMarker.cpp:53: ((MM_StackSlotValidator(MM_StackSlotValidator::NOT_ON_HEAP, object, stackLocation, walkState).validate(_env)))
JDK16 aarch64_linux : j9mm.479 * ** ASSERTION FAILED ** at openj9/runtime/gc_glue_java/MarkingSchemeRootMarker.cpp:53: ((MM_StackSlotValidator(MM_StackSlotValidator::NOT_ON_HEAP, object, stackLocation, walkState).validate(_env)))
JDK8 JIT Server j9mm.479 * ** ASSERTION FAILED ** at ../../gc_glue_java/MarkingSchemeRootMarker.cpp:53

@pshipton
Copy link
Member

@dmitripivkine fyi

@JasonFengJ9
Copy link
Member Author

Another occurrence at Mac - job/Test_openjdk19_j9_special.system_x86-64_mac_Personal/2/tapResults/

LT  stderr 0000000015BB1E00: Object neither in heap nor stack-allocated in thread load-5
LT  stderr 0000000015BB1E00:	O-Slot=0000000015F07348
LT  stderr 0000000015BB1E00:	O-Slot value=00000000156AC2A8
LT  stderr 0000000015BB1E00:	PC=000000002BC620E9
LT  stderr 0000000015BB1E00:	framesWalked=4
LT  stderr 0000000015BB1E00:	arg0EA=0000000015F073A8
LT  stderr 0000000015BB1E00:	walkSP=0000000015F07048
LT  stderr 0000000015BB1E00:	literals=0000000000000000
LT  stderr 0000000015BB1E00:	jitInfo=00007F9A358EA9E8
LT  stderr 0000000015BB1E00:	method=000000001566BCD8 (java/lang/Thread.<init>(Ljava/lang/Runnable;)V) (JIT)
LT  stderr 0000000015BB1E00:	stack=0000000015ED4800-0000000015F07DF0
LT  stderr 08:22:43.871 0x15dcb200    j9mm.479    *   ** ASSERTION FAILED ** at /Users/jenkins/workspace/Build_JDK19_x86-64_mac_Personal/openj9/runtime/gc_glue_java/MarkingSchemeRootMarker.cpp:53: ((MM_StackSlotValidator(MM_StackSlotValidator::NOT_ON_HEAP, object, stackLocation, walkState).validate(_env)))
LT  stderr JVMDUMP039I Processing dump event "traceassert", detail "" at 2022/06/23 04:22:43 - please wait.

@dmitripivkine
Copy link
Contributor

from one of the failures in this build - bad O-slot 0xf5bb728 contain 0xef4dd18 JIT frame for method=0xef13d78 (java/lang/Thread.<init>(Ljava/lang/Runnable;)V) (JIT)

19:29:17.562182019 *0xF001900 j9mm.481             Exception  * Object neither in heap nor stack-allocated in thread load-5
19:29:17.562190229  0xF001900 j9mm.482             Exception  * O-Slot=0xf5bb728
19:29:17.562197007  0xF001900 j9mm.483             Exception  * O-Slot value=0xef4dd18
19:29:17.562203586  0xF001900 j9mm.484             Exception  * PC=0x28eb2c09
19:29:17.562210328  0xF001900 j9mm.485             Exception  * framesWalked=5
19:29:17.562216899  0xF001900 j9mm.486             Exception  * arg0EA=0xf5bb788
19:29:17.562223240  0xF001900 j9mm.487             Exception  * walkSP=0xf5bb458
19:29:17.562229613  0xF001900 j9mm.488             Exception  * literals=0x0
19:29:17.562236419  0xF001900 j9mm.489             Exception  * jitInfo=0x7fa90d37e868
19:29:17.562244333  0xF001900 j9mm.490             Exception  * method=0xef13d78 (java/lang/Thread.<init>(Ljava/lang/Runnable;)V) (JIT)
19:29:17.562251539  0xF001900 j9mm.493             Exception  * stack=0xf580d38-0xf5bc180
19:29:17.562252073  0xF001900 j9mm.491             Exit       *<StackSlotValidator::reportStackSlot
19:29:17.562252467  0xF001900 j9mm.479             Assert     * ** ASSERTION FAILED ** at /Users/jenkins/workspace/Build_JDK19_x86-64_mac_Personal/openj9/runtime/gc_glue_java/MarkingSchemeRootMarker.cpp:53: ((MM_StackSlotValidator(MM_StackSlotValidator::NOT_ON_HEAP, object, stackLocation, walkState).validate(_env)))

Bogus value 0xef4dd18 is an address of ramStatics section for !j9class 0xEF54400 java/lang/Thread$ThreadNumbering

This is duplicate of #15251
@0xdaryl I am going to close this item as duplicate, there are a few more cores in the build in case you need them

@dmitripivkine
Copy link
Contributor

I was looking to core from different build. However this build has exactly the same problem. So just for the record:

08:22:43.870047264 *0x15DCB200 j9mm.481             Exception  * Object neither in heap nor stack-allocated in thread load-5
08:22:43.870059496  0x15DCB200 j9mm.482             Exception  * O-Slot=0x15f07348
08:22:43.870067034  0x15DCB200 j9mm.483             Exception  * O-Slot value=0x156ac2a8
08:22:43.870074295  0x15DCB200 j9mm.484             Exception  * PC=0x2bc620e9
08:22:43.870081906  0x15DCB200 j9mm.485             Exception  * framesWalked=4
08:22:43.870089174  0x15DCB200 j9mm.486             Exception  * arg0EA=0x15f073a8
08:22:43.870096283  0x15DCB200 j9mm.487             Exception  * walkSP=0x15f07048
08:22:43.870103062  0x15DCB200 j9mm.488             Exception  * literals=0x0
08:22:43.870109879  0x15DCB200 j9mm.489             Exception  * jitInfo=0x7f9a358ea9e8
08:22:43.870118669  0x15DCB200 j9mm.490             Exception  * method=0x1566bcd8 (java/lang/Thread.<init>(Ljava/lang/Runnable;)V) (JIT)
08:22:43.870126570  0x15DCB200 j9mm.493             Exception  * stack=0x15ed4800-0x15f07df0
08:22:43.870127158  0x15DCB200 j9mm.491             Exit       *<StackSlotValidator::reportStackSlot
08:22:43.870127477  0x15DCB200 j9mm.479             Assert     * ** ASSERTION FAILED ** at /Users/jenkins/workspace/Build_JDK19_x86-64_mac_Personal/openj9/runtime/gc_glue_java/MarkingSchemeRootMarker.cpp:53: ((MM_StackSlotValidator(MM_StackSlotValidator::NOT_ON_HEAP, object, stackLocation, walkState).validate(_env)))
 
<15bb1e00> JIT frame: bp = 0x0000000015F07398, pc = 0x000000002BC620E9, unwindSP = 0x0000000015F072D0, cp = 0x000000001566A490, arg0EA = 0x0000000015F073A8, jitInfo = 0x00007F9A358EA9E8
<15bb1e00> 	Method: java/lang/Thread.<init>(Ljava/lang/Runnable;)V !j9method 0x000000001566BCD8
<15bb1e00> 	Bytecode index = 9, inlineDepth = 0, PC offset = 0x00000000000001E9
<15bb1e00> 	stackMap=0x00007F9A358EABC0, slots=I16(0x0002) parmBaseOffset=I16(0x0008), parmSlots=U16(0x0002), localBaseOffset=I16(0xFFA0)
<15bb1e00> 	Described JIT args starting at 0x0000000015F073A0 for U16(0x0002) slots
<15bb1e00> 		O-Slot: : a1[0x0000000015F073A0] = 0x0000000700D82588
<15bb1e00> 		O-Slot: : a0[0x0000000015F073A8] = 0x0000000700D825A0
<15bb1e00> 	Described JIT temps starting at 0x0000000015F07338 for IDATA(0x000000000000000C) slots
<15bb1e00> 		O-Slot: : t11[0x0000000015F07338] = 0x0000000700D82658
<15bb1e00> 		O-Slot: : t10[0x0000000015F07340] = 0x0000000700000258
<15bb1e00> 		O-Slot: : t9[0x0000000015F07348] = 0x00000000156AC2A8 <------
<15bb1e00> 		O-Slot: : t8[0x0000000015F07350] = 0x000000070000B098
<15bb1e00> 		O-Slot: : t7[0x0000000015F07358] = 0x0000000700D82610
<15bb1e00> 		O-Slot: : t6[0x0000000015F07360] = 0x0000000700D82610
<15bb1e00> 		O-Slot: : t5[0x0000000015F07368] = 0x0000000700D82658
<15bb1e00> 		O-Slot: : t4[0x0000000015F07370] = 0x0000000700D82610
<15bb1e00> 		O-Slot: : t3[0x0000000015F07378] = 0x0000000700D82610
<15bb1e00> 		O-Slot: : t2[0x0000000015F07380] = 0x0000000700D82658
<15bb1e00> 		O-Slot: : t1[0x0000000015F07388] = 0x0000000000000000
<15bb1e00> 		O-Slot: : t0[0x0000000015F07390] = 0x0000000700D825A0
<15bb1e00> 	JIT-RegisterMap = UDATA(0x0000000000000000)
<15bb1e00> 	JIT-Frame-RegisterMap[0x0000000015F07310] = UDATA(0x000000070043CE08) (jit_rbx)
<15bb1e00> 	JIT-Frame-RegisterMap[0x0000000015F07318] = UDATA(0x0000000700854B40) (jit_r9)
<15bb1e00> 	JIT-Frame-RegisterMap[0x0000700003F184A0] = UDATA(0x0000000000000000) (jit_r10)
<15bb1e00> 	JIT-Frame-RegisterMap[0x0000700003F184A8] = UDATA(0x000000001572B600) (jit_r11)
<15bb1e00> 	JIT-Frame-RegisterMap[0x0000700003F184B0] = UDATA(0x0000000700007938) (jit_r12)
<15bb1e00> 	JIT-Frame-RegisterMap[0x0000700003F184B8] = UDATA(0x0000000700007938) (jit_r13)
<15bb1e00> 	JIT-Frame-RegisterMap[0x0000700003F184C0] = UDATA(0x0000000000000004) (jit_r14)
<15bb1e00> 	JIT-Frame-RegisterMap[0x0000700003F184C8] = UDATA(0x0000000000000009) (jit_r15)

> !j9statics 0x00000000156AC300
Static fields in java/lang/Thread$ThreadNumbering:
	0x00000000156AC2A8 U Ljdk/internal/misc/Unsafe; (!j9romstaticfieldshape 0x000000003AF00008) = !j9object 0x0000000700000258
	0x00000000156AC2B8 NEXT J (!j9romstaticfieldshape 0x000000003AF00014) = 0x0000000000000009 (9)
	0x00000000156AC2B0 next I (!j9romstaticfieldshape 0x000000003AF00020) = 0x00000086 (134)

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

3 participants