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

jsr292Test crash vmState=0x0002000f #19004

Closed
pshipton opened this issue Feb 23, 2024 · 6 comments
Closed

jsr292Test crash vmState=0x0002000f #19004

pshipton opened this issue Feb 23, 2024 · 6 comments
Labels
comp:gc segfault Issues that describe segfaults / JVM crashes test failure

Comments

@pshipton
Copy link
Member

https://openj9-jenkins.osuosl.org/job/Test_openjdk22_j9_extended.functional_aarch64_mac_Nightly_testList_0/13
jsr292Test_0

https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Test/Test_openjdk22_j9_extended.functional_aarch64_mac_Nightly_testList_0/13/functional_test_output.tar.gz

21:34:42  testIdentity.3
21:34:46  Unhandled exception
21:34:46  Type=Segmentation error vmState=0x0002000f
21:34:46  J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000002
21:34:46  Handler1=000000010061DE2C Handler2=0000000100915E84 InaccessibleAddress=000000000000001A
21:34:46  x0=000000014A80A4B0 x1=000000013A065C68 x2=0000000170616A20 x3=0000000170616918
21:34:46  x4=0000000170616910 x5=0000000170616908 x6=0000000000000000 x7=0000000000000000
21:34:46  x8=0000000000000000 x9=0000000000000000 x10=0000000139E769B0 x11=000000013A047298
21:34:46  x12=0000000000000001 x13=0000000000000000 x14=0000000000003B00 x15=0000000000000001
21:34:46  x16=00000001954CE2A0 x17=0000000203B25AB0 x18=0000000000000000 x19=000000013A065C68
21:34:46  x20=0000000170616910 x21=0000000000000000 x22=0000000170616918 x23=0000000170616A20
21:34:46  x24=0000000170616BA8 x25=000000014A810134 x26=0000000000005D14 x27=000000014A80A420
21:34:46  x28=00000001005B9EE0 x29(FP)=00000001706168C0 x30(LR)=0000000105DD91E4 x31(SP)=0000000170616860
21:34:46  PC=0000000105DF64D4 SP=0000000170616860
21:34:46  v0 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v1 412e848000000000 (f: 0.000000, d: 1.000000e+06)
21:34:46  v2 41cdcd6500000000 (f: 0.000000, d: 1.000000e+09)
21:34:46  v3 0000006500000065 (f: 101.000000, d: 2.143216e-312)
21:34:46  v4 0000000000000065 (f: 101.000000, d: 4.990063e-322)
21:34:46  v5 0000004400000000 (f: 0.000000, d: 1.442957e-312)
21:34:46  v6 0000004400000000 (f: 0.000000, d: 1.442957e-312)
21:34:46  v7 0000000000000044 (f: 68.000000, d: 3.359646e-322)
21:34:46  v8 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v16 bfd0000000000000 (f: 0.000000, d: -2.500000e-01)
21:34:46  v17 3fd5451b62655555 (f: 1650808192.000000, d: 3.323430e-01)
21:34:46  v18 3f7031be1fff47fc (f: 536823808.000000, d: 3.953688e-03)
21:34:46  v19 3fe62e42fefa39ef (f: 4277811712.000000, d: 6.931472e-01)
21:34:46  v20 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v21 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v22 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v23 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v24 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v25 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v26 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v27 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v28 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v29 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v30 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  v31 0000000000000000 (f: 0.000000, d: 0.000000e+00)
21:34:46  Module=/Users/jenkins/workspace/Test_openjdk22_j9_extended.functional_aarch64_mac_Nightly_testList_0/jdkbinary/j2sdk-image/lib/default/libj9gc29.dylib
21:34:46  Module_base_address=0000000105D4C000 Symbol=_ZN22GC_ObjectModelDelegate29calculateObjectDetailsForCopyEP18MM_EnvironmentBaseP18MM_ForwardedHeaderPmS4_S4_
21:34:46  Symbol_address=0000000105DF6498
21:34:46  Target=2_90_20240223_21 (Mac OS X 11.7.1)
21:34:46  CPU=aarch64 (8 logical CPUs) (0x400000000 RAM)
21:34:46  ----------- Stack Backtrace -----------
21:34:46  ---------------------------------------

4b15be6...4be0f69
ibmruntimes/openj9-openjdk-jdk22@441da50...cdc12a5

@pshipton pshipton added comp:gc test failure segfault Issues that describe segfaults / JVM crashes labels Feb 23, 2024
@pshipton
Copy link
Member Author

@dmitripivkine fyi

@dmitripivkine
Copy link
Contributor

This failure might be another manifestation of #18805:
This crash occur an attempt to scan !j9module 0x13A047298 and moduleObject is collected already:

> !j9module 0x13A047298
J9Module at 0x13a047298 {
  Fields for J9Module:
	0x0: struct J9Object* moduleName = !j9object 0x000000037FF6BA60 // <---- FP to 0x280494a88 "jdk.MHProxy1"
	0x8: struct J9Object* moduleObject = !j9object 0x000000037FF6BA00<FAULT>
	0x10: struct J9Object* version = !j9object 0x0000000000000000
	0x18: struct J9ClassLoader* classLoader = !j9classloader 0x000000014A862B98
	0x20: struct J9HashTable* readAccessHashTable = !j9hashtable 0x0000000149F64440
	0x28: struct J9HashTable* removeAccessHashTable = !j9hashtable 0x0000000149F61F90
	0x30: struct J9HashTable* removeExportsHashTable = !j9hashtable 0x0000000000000000
	0x38: U32 isLoose = 0x00000001 (1)
	0x3c: U32 isOpen = 0x00000000 (0)
}

The class is pointed to this module !j9class 0x14a9d5500 jdk/MHProxy1/SamePackageSingleMethodInterfaceExample/0x0000000000000000 is unloaded Hidden (Anonymous from GC point of view).
So, something is not quite right in handling of modules for Hidden classes. The problem might be in GC or VM code.

@pshipton
Copy link
Member Author

@TobiAjila fyi

@tajila
Copy link
Contributor

tajila commented Feb 23, 2024

This failure might be another manifestation of #18805:

I agree, this looks very similar.

@dmitripivkine
Copy link
Contributor

Should be fixed when #19020 is going to be promoted.

@dmitripivkine
Copy link
Contributor

Fixed by #19020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:gc segfault Issues that describe segfaults / JVM crashes test failure
Projects
None yet
Development

No branches or pull requests

3 participants