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

balanced abbs Invalid class in objectPtr ASSERTION FAILED ** at CopyForwardScheme.cpp:1290 #21433

Open
pshipton opened this issue Mar 20, 2025 · 3 comments · May be fixed by eclipse-omr/omr#7694

Comments

@pshipton
Copy link
Member

pshipton commented Mar 20, 2025

http://vmfarm.rtp.raleigh.ibm.com/job_output.php?id=104035421
[Linux PPC LE 64bit] 80 Load_Level_2.abbs.5mins.Mode501
-Xjit -Xgcpolicy:balanced -Xnocompressedrefs
rtv-ubu20le-rtp-test-9lanm-1

50x grinder passed

j> 03:11:14 Invalid class in objectPtr=00007902EA5FFFE8
j> 03:11:14 10:11:13.927 0x78fc8c002400    j9mm.141    *   ** ASSERTION FAILED ** at CopyForwardScheme.cpp:1290: ((false))
@pshipton
Copy link
Member Author

@dmitripivkine @amicic fyi

@dmitripivkine
Copy link
Contributor

p> 20250320-03:12:53 <gdb> #12 0x00007902f034cafc in javaTrace () from /bluebird/builds/bld_90646/sdk/xl6480/jre/lib/ppc64le/default/libj9trc29.so
p> 20250320-03:12:53 <gdb> #13 0x00007902eb0991bc in MM_CopyForwardSchemeRootScanner::doStackSlot(J9Object**, void*, void const*) () from /bluebird/builds/bld_90646/sdk/xl6480/jre/lib/ppc64le/default/libj9gc29.so
p> 20250320-03:12:53 <gdb> #14 0x00007902eafb5984 in stackSlotIterator(J9JavaVM*, J9Object**, void*, J9StackWalkState*, void const*) () from /bluebird/builds/bld_90646/sdk/xl6480/jre/lib/ppc64le/default/libj9gc29.so
p> 20250320-03:12:53 <gdb> #15 0x00007902eafca0fc in gc_vmThreadStackDoOSlotIterator () from /bluebird/builds/bld_90646/sdk/xl6480/jre/lib/ppc64le/default/libj9gc29.so
p> 20250320-03:12:53 <gdb> #16 0x00007902ebcf6fe0 in jitWalkFrame () from /bluebird/builds/bld_90646/sdk/xl6480/jre/lib/ppc64le/default/libj9jit29.so
p> 20250320-03:12:53 <gdb> #17 0x00007902ebcf8750 in jitWalkStackFrames () from /bluebird/builds/bld_90646/sdk/xl6480/jre/lib/ppc64le/default/libj9jit29.so
p> 20250320-03:12:53 <gdb> #18 0x00007902f0adc0d4 in walkStackFrames () from /bluebird/builds/bld_90646/sdk/xl6480/jre/lib/ppc64le/default/libj9vm29.so
p> 20250320-03:12:53 <gdb> #19 0x00007902eafca27c in GC_VMThreadStackSlotIterator::scanSlots(J9VMThread*, J9VMThread*, void*, void (*)(J9JavaVM*, J9Object**, void*, J9StackWalkState*, void const*), bool, bool) () from /bluebird/builds/bld_90646/sdk/xl6480/jre/lib/ppc64le/default/libj9gc29.so
p> 20250320-03:12:53 <gdb> #20 0x00007902eafb5254 in MM_RootScanner::scanOneThread(MM_EnvironmentBase*, J9VMThread*, void*) () from /bluebird/builds/bld_90646/sdk/xl6480/jre/lib/ppc64le/default/libj9gc29.so
p> 20250320-03:12:53 <gdb> #21 0x00007902eafb3934 in MM_RootScanner::scanThreads(MM_EnvironmentBase*) () from /bluebird/builds/bld_90646/sdk/xl6480/jre/lib/ppc64le/default/libj9gc29.so
p> 20250320-03:12:53 <gdb> #22 0x00007902eb0929cc in MM_CopyForwardScheme::scanRoots(MM_EnvironmentVLHGC*) () from /bluebird/builds/bld_90646/sdk/xl6480/jre/lib/ppc64le/default/libj9gc29.so
p> 20250320-03:12:53 <gdb> #23 0x00007902eb095520 in MM_CopyForwardScheme::workThreadGarbageCollect(MM_EnvironmentVLHGC*) () from /bluebird/builds/bld_90646/sdk/xl6480/jre/lib/ppc64le/default/libj9gc29.so
p> 20250320-03:12:53 <gdb> #24 0x00007902eb09cbbc in MM_CopyForwardSchemeTask::run(MM_EnvironmentBase*) () from /bluebird/builds/bld_90646/sdk/xl6480/jre/lib/ppc64le/default/libj9gc29.so
p> 20250320-03:12:53 <gdb> #25 0x00007902eb0f2828 in MM_ParallelDispatcher::workerEntryPoint(MM_EnvironmentBase*) () from /bluebird/builds/bld_90646/sdk/xl6480/jre/lib/ppc64le/default/libj9gc29.so
p> 20250320-03:12:53 <gdb> #26 0x00007902eb0f0e60 in dispatcher_thread_proc2(OMRPortLibrary*, void*) () from /bluebird/builds/bld_90646/sdk/xl6480/jre/lib/ppc64le/default/libj9gc29.so

@dmitripivkine
Copy link
Contributor

There is pointer to the first element of array in O-slot JIT frame (dataAddr in O-slot):

0x7902EA5FFFD0 :  00007902ecbbb200 0000000000000001 [ .....y.......... ] <---- object start
0x7902EA5FFFE0 :  00007902ea5fffe8 00007902e98a4000 [ [email protected].. ] <---- first (and only) element
0x7902EA5FFFF0 :  0000000000000001 0000000000000010 [ ................ ]

> !j9object 0x7902EA5FFFD0
!J9IndexableObject 0x00007902EA5FFFD0 {
    struct J9Class* clazz = !j9arrayclass 0x7902ECBBB200   // [L
    Object flags = 0x00000000;
    U_32 size = 0x00000001;
    U_64 DataAddr = 0x00007902EA5FFFE8;
	[0] = !fj9object 0x7902e98a4000 = !j9object 0x7902e98a4000
}

<78fc6c953800> JIT frame: bp = 0x000078FC6CA054E8, pc = 0x000078FCBF9C7D34, unwindSP = 0x000078FC6CA05470, cp = 0x00007902ECD32B30, arg0EA = 0x000078FC6CA054F0, jitInfo = 0x000078FCBD602A38
<78fc6c953800> 	Method: org/junit/runners/model/TestClass.getOnlyConstructor()Ljava/lang/reflect/Constructor; !j9method 0x00007902ECD33318
<78fc6c953800> 	Bytecode index = 18, inlineDepth = 0, PC offset = 0x00000000000000B8
<78fc6c953800> 	stackMap=0x000078FCBD602C63, slots=I16(0x0001) parmBaseOffset=I16(0x0008), parmSlots=U16(0x0001), localBaseOffset=I16(0xFFE8)
<78fc6c953800> 	Described JIT args starting at 0x000078FC6CA054F0 for U16(0x0001) slots
<78fc6c953800> 		I-Slot: : a0[0x000078FC6CA054F0] = 0x00007902DC400348
<78fc6c953800> 	Described JIT temps starting at 0x000078FC6CA054D0 for IDATA(0x0000000000000003) slots
<78fc6c953800> 		I-Slot: : t2[0x000078FC6CA054D0] = 0x00007901FD684A68
<78fc6c953800> 		I-Slot: : t1[0x000078FC6CA054D8] = 0x00007902EA5FF8D0
<78fc6c953800> 		I-Slot: : t0[0x000078FC6CA054E0] = 0x00007902EA585348
<78fc6c953800> 	JIT-RegisterMap = UDATA(0x0000000010000000)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB928] = UDATA(0x00007901FC8D0C70) (jit_r31)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB920] = UDATA(0x00007901FC8D0C70) (jit_r30)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB918] = UDATA(0x0000000000000001) (jit_r29)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB910] = UDATA(0x00007901FC8D0C70) (jit_r28)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB908] = UDATA(0x00007902EA5FFFD0) (jit_r27)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB900] = UDATA(0x00007902EA401A28) (jit_r26)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB8F8] = UDATA(0x00007902EA401358) (jit_r25)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB8F0] = UDATA(0x00007902EA5FF950) (jit_r24)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB8E8] = UDATA(0x00007902EA401318) (jit_r23)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB8E0] = UDATA(0x00007902EA413988) (jit_r22)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB8D8] = UDATA(0x00007902EA4019E0) (jit_r21)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB8D0] = UDATA(0x00007902DC400348) (jit_r20)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB8C8] = UDATA(0x00007902DC400348) (jit_r19)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB8C0] = UDATA(0x00007901FC1B6960) (jit_r18)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB8B8] = UDATA(0x00007902EA585348) (jit_r17)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB8B0] = UDATA(0x000078FCBD470038) (jit_r16)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB8A8] = UDATA(0x0000000000000000) (jit_r15)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB8A0] = UDATA(0x0000000000000000) (jit_r14)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB898] = UDATA(0x000078FC3A4E68F0) (jit_r13)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB890] = UDATA(0x00007901FC4B9328) (jit_r12)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB888] = UDATA(0x00007902EBCFAFF0) (jit_r11)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB880] = UDATA(0x00007902EA5FFFD0) (jit_r10)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB878] = UDATA(0x0000000000000000) (jit_r9)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB870] = UDATA(0x00007902E98A4000) (jit_r8)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB868] = UDATA(0x0000000000000000) (jit_r7)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB860] = UDATA(0x000000000000000A) (jit_r6)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB858] = UDATA(0x00007902EC480100) (jit_r5)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB850] = UDATA(0x00007901FC786C90) (jit_r4)
<78fc6c953800> 		JIT-RegisterMap-O-Slot[0x000078FC3A4DB848] = 0x00007902EA5FFFE8 (jit_r3) <----------
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB840] = UDATA(0x0000000000000001) (jit_r2)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB838] = UDATA(0x0000000000000000) (jit_r1)
<78fc6c953800> 		JIT-RegisterMap-I-Slot[0x000078FC3A4DB830] = UDATA(0xFFFFFFFFFFFFFFFF) (jit_r0)
<78fc6c953800> 	JIT-Frame-RegisterMap[0x000078FC3A4DB8B0] = UDATA(0x000078FCBD470038) (jit_r16)
<78fc6c953800> 	JIT-Frame-RegisterMap[0x000078FC3A4DB8B8] = UDATA(0x00007902EA585348) (jit_r17)
<78fc6c953800> 	JIT-Frame-RegisterMap[0x000078FC3A4DB8C0] = UDATA(0x00007901FC1B6960) (jit_r18)
<78fc6c953800> 	JIT-Frame-RegisterMap[0x000078FC3A4DB8C8] = UDATA(0x00007902DC400348) (jit_r19)
<78fc6c953800> 	JIT-Frame-RegisterMap[0x000078FC3A4DB8D0] = UDATA(0x00007902DC400348) (jit_r20)
<78fc6c953800> 	JIT-Frame-RegisterMap[0x000078FC3A4DB8D8] = UDATA(0x00007902EA4019E0) (jit_r21)
<78fc6c953800> 	JIT-Frame-RegisterMap[0x000078FC3A4DB8E0] = UDATA(0x00007902EA413988) (jit_r22)
<78fc6c953800> 	JIT-Frame-RegisterMap[0x000078FC3A4DB8E8] = UDATA(0x00007902EA401318) (jit_r23)
<78fc6c953800> 	JIT-Frame-RegisterMap[0x000078FC3A4DB8F0] = UDATA(0x00007902EA5FF950) (jit_r24)
<78fc6c953800> 	JIT-Frame-RegisterMap[0x000078FC3A4DB8F8] = UDATA(0x00007902EA401358) (jit_r25)
<78fc6c953800> 	JIT-Frame-RegisterMap[0x000078FC6CA05490] = UDATA(0x00007902EA401358) (jit_r26)
<78fc6c953800> 	JIT-Frame-RegisterMap[0x000078FC6CA05498] = UDATA(0x00007902EA413988) (jit_r27)
<78fc6c953800> 	JIT-Frame-RegisterMap[0x000078FC6CA054A0] = UDATA(0x00007902EA4019E0) (jit_r28)
<78fc6c953800> 	JIT-Frame-RegisterMap[0x000078FC6CA054A8] = UDATA(0x00007902EA5FFFB8) (jit_r29)
<78fc6c953800> 	JIT-Frame-RegisterMap[0x000078FC6CA054B0] = UDATA(0x00007902EA5FFF00) (jit_r30)
<78fc6c953800> 	JIT-Frame-RegisterMap[0x000078FC6CA054B8] = UDATA(0x00007902EA401A28) (jit_r31)

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

Successfully merging a pull request may close this issue.

2 participants