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

jdk_lang_j9_0_FAILED java/lang/CharSequence/Comparison.java Segmentation error vmState=0x00000000 #20034

Open
JasonFengJ9 opened this issue Aug 21, 2024 · 2 comments
Assignees
Labels
comp:jit segfault Issues that describe segfaults / JVM crashes test failure

Comments

@JasonFengJ9
Copy link
Member

JasonFengJ9 commented Aug 21, 2024

Failure link

From an internal build(rtj-rhel8le-rtp-test-qywpx-1):

java version "11.0.25-beta" 2024-10-15
IBM Semeru Runtime Certified Edition 11.0.25+3-202408170106 (build 11.0.25-beta+3-202408170106)
Eclipse OpenJ9 VM 11.0.25+3-202408170106 (build master-d075ca5a59, JRE 11 Linux ppc64le-64-Bit Compressed References 20240817_925 (JIT enabled, AOT enabled)
OpenJ9   - d075ca5a59
OMR      - cfe6789bf
JCL      - 6670212001 based on jdk-11.0.25+3)

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

Optional info

Failure output (captured from console output)

[2024-08-17T02:01:56.276Z] variation: -Xdump:system:none -Xdump:heap:none -Xdump:system:events=gpf+abort+traceassert+corruptcache -XX:-JITServerTechPreviewMessage Mode501
[2024-08-17T02:01:56.276Z] JVM_OPTIONS:  -Xdump:system:none -Xdump:heap:none -Xdump:system:events=gpf+abort+traceassert+corruptcache -XX:-JITServerTechPreviewMessage -Xjit -Xgcpolicy:balanced -Xnocompressedrefs -Xverbosegclog 

[2024-08-17T02:04:20.019Z] TEST: java/lang/CharSequence/Comparison.java

[2024-08-17T02:04:20.020Z] stderr:
[2024-08-17T02:04:20.020Z] Unhandled exception
[2024-08-17T02:04:20.020Z] Type=Segmentation error vmState=0x00000000
[2024-08-17T02:04:20.020Z] J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000001
[2024-08-17T02:04:20.020Z] Handler1=00007FFF82920560 Handler2=00007FFF82848880
[2024-08-17T02:04:20.020Z] R0=0000000000000001 R1=00007FFF225CABB0 R2=0000000000000000 R3=0000000000000032
[2024-08-17T02:04:20.020Z] R4=0000000000000000 R5=00007FFED82AB200 R6=0000000000007FFF R7=000000000000000E
[2024-08-17T02:04:20.020Z] R8=00007FFF225CACD0 R9=00007FFF7C22E338 R10=00007FFF82118220 R11=00007FFED82A6D28
[2024-08-17T02:04:20.020Z] R12=0000000022884840 R13=00007FFF225D68E0 R14=00007FFED82AAB70 R15=00007FFF7C717500
[2024-08-17T02:04:20.020Z] R16=00007FFF23D70038 R17=0000000000000000 R18=00007FFF5C188890 R19=00007FFF5C187FB0
[2024-08-17T02:04:20.020Z] R20=000000000000000A R21=0000000000000001 R22=FFFFFFFF80000001 R23=00007FFF5C188628
[2024-08-17T02:04:20.020Z] R24=00007FFF5C303848 R25=0000000000000000 R26=0000000000000000 R27=0000000000000001
[2024-08-17T02:04:20.020Z] R28=0000000000000000 R29=0000000000000000 R30=00007FFF5C188870 R31=0000000000000032
[2024-08-17T02:04:20.020Z] NIP=00007FFF426DEF14 MSR=800000000280F033 ORIG_GPR3=00007FFF82AF71E4 CTR=00007FFF426DC178
[2024-08-17T02:04:20.020Z] LINK=00007FFF81DDA350 XER=0000000020000000 CCR=0000000042884840 SOFTE=0000000000000001
[2024-08-17T02:04:20.020Z] TRAP=0000000000000300 DAR=0000000000000008 dsisr=0000000040000000 RESULT=0000000000000000
[2024-08-17T02:04:20.020Z] FPR0=00007ffed82ab1a0 (f: 3626676736.000000, d: 6.953111e-310)
[2024-08-17T02:04:20.020Z] FPR1=3fe8000000000000 (f: 0.000000, d: 7.500000e-01)
[2024-08-17T02:04:20.020Z] FPR2=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] FPR3=0000000003fa2b48 (f: 66726728.000000, d: 3.296738e-316)
[2024-08-17T02:04:20.020Z] FPR4=3fce840b4ac4e4d2 (f: 1254417664.000000, d: 2.384047e-01)
[2024-08-17T02:04:20.020Z] FPR5=bfe7154748bef6c8 (f: 1220474624.000000, d: -7.213475e-01)
[2024-08-17T02:04:20.020Z] FPR6=3fe62e42fefa39ef (f: 4277811712.000000, d: 6.931472e-01)
[2024-08-17T02:04:20.020Z] FPR7=bfba4e76ce8c0e5e (f: 3465285120.000000, d: -1.027598e-01)
[2024-08-17T02:04:20.020Z] FPR8=bfdffffef20a4123 (f: 4060758272.000000, d: -4.999997e-01)
[2024-08-17T02:04:20.020Z] FPR9=bfd00ea348b88334 (f: 1220051712.000000, d: -2.508934e-01)
[2024-08-17T02:04:20.020Z] FPR10=bfdfeb4d1984ce74 (f: 428134016.000000, d: -4.987366e-01)
[2024-08-17T02:04:20.020Z] FPR11=3eee172c283c7ce3 (f: 675052800.000000, d: 1.434828e-05)
[2024-08-17T02:04:20.020Z] FPR12=00007ffed82ab1d1 (f: 3626676736.000000, d: 6.953111e-310)
[2024-08-17T02:04:20.020Z] FPR13=000000004f429e7f (f: 1329766016.000000, d: 6.569917e-315)
[2024-08-17T02:04:20.020Z] FPR14=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] FPR15=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] FPR16=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] FPR17=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] FPR18=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] FPR19=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] FPR20=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] FPR21=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] FPR22=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] FPR23=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] FPR24=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] FPR25=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] FPR26=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] FPR27=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] FPR28=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] FPR29=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] FPR30=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] FPR31=0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2024-08-17T02:04:20.020Z] 
[2024-08-17T02:04:20.020Z] Compiled_method=java/lang/Integer.parseInt(Ljava/lang/String;I)I
[2024-08-17T02:04:20.020Z] Target=2_90_20240817_925 (Linux 4.18.0-553.16.1.el8_10.ppc64le)
[2024-08-17T02:04:20.020Z] CPU=ppc64le (4 logical CPUs) (0x1dcc50000 RAM)
[2024-08-17T02:04:20.020Z] ----------- Stack Backtrace -----------
[2024-08-17T02:04:20.020Z]  (0x00007FFF426DEF14 [<unknown>+0x0])
[2024-08-17T02:04:20.020Z] sidecarInvokeReflectMethodImpl+0x508 (0x00007FFF828FA638 [libj9vm29.so+0x1a638])
[2024-08-17T02:04:20.020Z] sidecarInvokeReflectMethod+0x3c (0x00007FFF828FB58C [libj9vm29.so+0x1b58c])
[2024-08-17T02:04:20.020Z] JVM_InvokeMethod_Impl+0xa8 (0x00007FFF80AFAD38 [libjclse29.so+0x7ad38])
[2024-08-17T02:04:20.020Z] JVM_InvokeMethod+0x3c (0x00007FFF82FC352C [libjvm.so+0x2352c])
[2024-08-17T02:04:20.020Z] JVM_InvokeMethod+0x30 (0x00007FFF830A67C0 [libjvm.so+0x67c0])
[2024-08-17T02:04:20.020Z] Java_jdk_internal_reflect_NativeMethodAccessorImpl_invoke0+0x24 (0x00007FFF4003C994 [libjava.so+0xc994])
[2024-08-17T02:04:20.020Z]  (0x00007FFF424AD1A0 [<unknown>+0x0])
[2024-08-17T02:04:20.020Z] runJavaThread+0x240 (0x00007FFF828F6C90 [libj9vm29.so+0x16c90])
[2024-08-17T02:04:20.020Z] javaProtectedThreadProc+0x148 (0x00007FFF8298F6B8 [libj9vm29.so+0xaf6b8])
[2024-08-17T02:04:20.020Z] omrsig_protect+0x3e4 (0x00007FFF82849D34 [libj9prt29.so+0x39d34])
[2024-08-17T02:04:20.020Z] javaThreadProc+0x60 (0x00007FFF8298AD20 [libj9vm29.so+0xaad20])
[2024-08-17T02:04:20.020Z] thread_wrapper+0x190 (0x00007FFF827DCBC0 [libj9thr29.so+0xcbc0])
[2024-08-17T02:04:20.020Z] start_thread+0xf8 (0x00007FFF83379718 [libpthread.so.0+0x9718])
[2024-08-17T02:04:20.020Z] clone+0x74 (0x00007FFF8321B798 [libc.so.6+0x13b798])
[2024-08-17T02:04:20.020Z] ---------------------------------------
[2024-08-17T02:04:20.020Z] JVMDUMP039I Processing dump event "gpf", detail "" at 2024/08/16 19:03:09 - please wait.

[2024-08-17T02:04:20.020Z] TEST RESULT: Error. Agent communication error: java.io.EOFException; check console log for any additional details
[2024-08-17T02:04:20.020Z] --------------------------------------------------
[2024-08-17T02:30:19.777Z] Test results: passed: 735; error: 1
[2024-08-17T02:31:09.532Z] Report written to /home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_testList_0/aqa-tests/TKG/output_17238601142415/jdk_lang_j9_0/report/html/report.html
[2024-08-17T02:31:09.532Z] Results written to /home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_testList_0/aqa-tests/TKG/output_17238601142415/jdk_lang_j9_0/work
[2024-08-17T02:31:09.532Z] Error: Some tests failed or other problems occurred.
[2024-08-17T02:31:09.532Z] -----------------------------------
[2024-08-17T02:31:09.532Z] jdk_lang_j9_0_FAILED

50x internal grinder
7 failures at java/lang/Class/getFields/Sanity.java

One failure at java/lang/Class/getFields/Sanity.java

This looks like dup of

@pshipton
Copy link
Member

https://openj9-jenkins.osuosl.org/job/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/110/ - ubu24-ppc64le-3
jdk_util_0
java/util/Map/InPlaceOpsCollisions.java

https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Test/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/110/openjdk_test_output.tar.gz

22:19:25  STDERR:
22:19:25  Unhandled exception
22:19:25  Type=Segmentation error vmState=0x00040000
22:19:25  J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000001
22:19:25  Handler1=000078BE89C406F0 Handler2=000078BE89FA8820
22:19:25  R0=0000000000000002 R1=000078BE6260A4A0 R2=0000000000000000 R3=00000000FFE175E0
22:19:25  R4=000000000065B9AA R5=0000000000284E00 R6=000000009FC2FD88 R7=0000000000000000
22:19:25  R8=00000000FFE17790 R9=000000009FC00000 R10=0000000000640000 R11=00000000000C5C00
22:19:25  R12=00000000A018C580 R13=000078BE626168E0 R14=0000000000233C90 R15=000000000022EE00
22:19:25  R16=0000000000000015 R17=00000000FFE17628 R18=00000000A018C570 R19=0000000000000017
22:19:25  R20=00000000FFE17628 R21=0000000000000015 R22=00000000FFE17640 R23=000000000021E88E
22:19:25  R24=000000009FD3CDD8 R25=0000000000000000 R26=0000000000000015 R27=000000009FD3CDE8
22:19:25  R28=0000000000000015 R29=000000009FD3CDE8 R30=000000009FD3DB80 R31=0000000000000015
22:19:25  NIP=000078BE69850B60 MSR=800000000280D033 ORIG_GPR3=000078BE69850B10 CTR=000078BE6984E36C
22:19:25  LINK=000078BE6984E6EC XER=0000000000000004 CCR=0000000080042884 SOFTE=0000000000000001
22:19:25  TRAP=0000000000000300 DAR=0000000000000004 dsisr=0000000040000000 RESULT=0000000000000000
22:19:25  FPR0=000000000039b818 (f: 3782680.000000, d: 1.868892e-317)
22:19:25  FPR1=4052c80be0000000 (f: 3758096384.000000, d: 7.512572e+01)
22:19:25  FPR2=412b1bb000000000 (f: 0.000000, d: 8.882800e+05)
22:19:25  FPR3=3fee666660000000 (f: 1610612736.000000, d: 9.500000e-01)
22:19:25  FPR4=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR5=3fe62e42fefa39ef (f: 4277811712.000000, d: 6.931472e-01)
22:19:25  FPR6=bfc6574f0ac07758 (f: 180385632.000000, d: -1.745395e-01)
22:19:25  FPR7=bff0000000000000 (f: 0.000000, d: -1.000000e+00)
22:19:25  FPR8=bfdffffef20a4123 (f: 4060758272.000000, d: -4.999997e-01)
22:19:25  FPR9=3fd5575b0be00b6a (f: 199232368.000000, d: 3.334568e-01)
22:19:25  FPR10=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR11=000000000000435d (f: 17245.000000, d: 8.520162e-320)
22:19:25  FPR12=00000000002346f9 (f: 2311929.000000, d: 1.142245e-317)
22:19:25  FPR13=6d656d69746c6c61 (f: 1953262720.000000, d: 9.454883e+218)
22:19:25  FPR14=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR15=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR16=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR17=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR18=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR19=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR20=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR21=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR22=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR23=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR24=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR25=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR26=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR27=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR28=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR29=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR30=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  FPR31=0000000000000000 (f: 0.000000, d: 0.000000e+00)
22:19:25  
22:19:25  Compiled_method=java/util/Formatter.parse(Ljava/lang/String;)Ljava/util/List;
22:19:25  Target=2_90_20241129_856 (Linux 6.8.0-45-generic)
22:19:25  CPU=ppc64le (4 logical CPUs) (0x1ea0e0000 RAM)
22:19:25  ----------- Stack Backtrace -----------
22:19:25   (0x000078BE69850B60 [<unknown>+0x0])
22:19:25  sidecarInvokeReflectMethodImpl+0x508 (0x000078BE89C1A178 [libj9vm29.so+0x1a178])
22:19:25  sidecarInvokeReflectMethod+0x3c (0x000078BE89C1B0CC [libj9vm29.so+0x1b0cc])
22:19:25  JVM_InvokeMethod_Impl+0xa8 (0x000078BE83FBACF8 [libjclse29.so+0x7acf8])
22:19:25  JVM_InvokeMethod+0x3c (0x000078BE8A5A351C [libjvm.so+0x2351c])
22:19:25  JVM_InvokeMethod+0x30 (0x000078BE8A9167C0 [libjvm.so+0x67c0])
22:19:25  Java_jdk_internal_reflect_NativeMethodAccessorImpl_invoke0+0x24 (0x000078BE7940C944 [libjava.so+0xc944])
22:19:25   (0x000078BE89E053B8 [libj9vm29.so+0x2053b8])
22:19:25  ffi_call_int+0xd4 (0x000078BE89E05084 [libj9vm29.so+0x205084])
22:19:25  bytecodeLoopCompressed+0x11974 (0x000078BE89CC9114 [libj9vm29.so+0xc9114])
22:19:25   (0x000078BE89D738F0 [libj9vm29.so+0x1738f0])
22:19:25  runJavaThread+0x240 (0x000078BE89C167D0 [libj9vm29.so+0x167d0])
22:19:25  javaProtectedThreadProc+0x148 (0x000078BE89CB04D8 [libj9vm29.so+0xb04d8])
22:19:25  omrsig_protect+0x3e4 (0x000078BE89FA9CD4 [libj9prt29.so+0x39cd4])
22:19:25  javaThreadProc+0x60 (0x000078BE89CABB40 [libj9vm29.so+0xabb40])
22:19:25  thread_wrapper+0x190 (0x000078BE89F3CC00 [libj9thr29.so+0xcc00])
22:19:25   (0x000078BE8A6B2A5C [libc.so.6+0xb2a5c])
22:19:25  ---------------------------------------

@hzongaro
Copy link
Member

hzongaro commented Dec 4, 2024

Looking at a jitdump that was produced following this crash, I saw the same problem that appears in issue #17515, so this is very likely a duplicate.

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

No branches or pull requests

3 participants