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

Segfault in internal test jdk_lang_j9_0 java/lang/Class/getFields/Sanity.java #19577

Open
cjjdespres opened this issue May 30, 2024 · 1 comment

Comments

@cjjdespres
Copy link
Contributor

Failure link

https://hyc-runtimes-jenkins.swg-devops.com/job/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/317/

Optional info

This was an internal JITServer nightly test, but this component runs with -Xnocompressedrefs and the JITServer instance does not, so the JITServer should not have been in use at all while this component was running. (If a client and server do not match in their use of -Xcompressedrefs the very first message they exchange will cause them to stop communicating with each other).

Failure output (captured from console output)

03:39:18  openjdk version "11.0.24-internal" 2024-07-16
03:39:18  OpenJDK Runtime Environment (build 11.0.24-internal+0-adhoc.jenkins.BuildJDK11ppc64lelinuxjitPersonal)
03:39:18  Eclipse OpenJ9 VM (build master-43bc29c710a, JRE 11 Linux ppc64le-64-Bit Compressed References 20240530_1756 (JIT enabled, AOT enabled)
03:39:18  OpenJ9   - 43bc29c710a
03:39:18  OMR      - 5c74758cf6b
03:39:18  JCL      - b3e5f087c87 based on jdk-11.0.24+4)

03:41:21  Test Layer
03:41:21    class path: /home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/aqa-tests/TKG/output_17170547577672/jdk_lang_j9_0/work/classes/2/java/lang/Class/getFields/Sanity.d
03:41:21                /home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/java/lang/Class/getFields
03:41:21
03:41:21  rerun:
03:41:21  cd /home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/aqa-tests/TKG/output_17170547577672/jdk_lang_j9_0/work/scratch/1 && \
03:41:21  DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/55655/bus \
03:41:21  DISPLAY=:0 \
03:41:21  HOME=/home/jenkins \
03:41:21  LANG=en_US.UTF-8 \
03:41:21  PATH=/bin:/usr/bin:/usr/sbin \
03:41:21  XDG_RUNTIME_DIR=/run/user/55655 \
03:41:21  XDG_SESSION_CLASS=user \
03:41:21  XDG_SESSION_ID=1043 \
03:41:21  XDG_SESSION_TYPE=tty \
03:41:21      /home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/jdkbinary/j2sdk-image/bin/java \
03:41:21          -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseJITServer -Xdump:system:none -Xdump:heap:none -Xdump:system:events=gpf+abort+traceassert+corruptcache -XX:-JITServerTechPreviewMessage -Xjit -Xgcpolicy:balanced -Xnocompressedrefs -Xverbosegclog' \
03:41:21          -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseJITServer -J-Xdump:system:none -J-Xdump:heap:none -J-Xdump:system:events=gpf+abort+traceassert+corruptcache -J-XX:-JITServerTechPreviewMessage -J-Xjit -J-Xgcpolicy:balanced -J-Xnocompressedrefs -J-Xverbosegclog' \
03:41:21          -Dtest.compiler.opts= \
03:41:21          -Dtest.java.opts= \
03:41:21          -Dtest.jdk=/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/jdkbinary/j2sdk-image \
03:41:21          -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/jdkbinary/j2sdk-image \
03:41:21          -Dtest.timeout.factor=8.0 \
03:41:21          -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/jdkbinary/openjdk-test-image/jdk/jtreg/native \
03:41:21          -Dtest.root=/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk \
03:41:21          -Dtest.name=java/lang/Class/getFields/Sanity.java \
03:41:21          -Dtest.file=/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/java/lang/Class/getFields/Sanity.java \
03:41:21          -Dtest.src=/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/java/lang/Class/getFields \
03:41:21          -Dtest.src.path=/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/java/lang/Class/getFields \
03:41:21          -Dtest.classes=/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/aqa-tests/TKG/output_17170547577672/jdk_lang_j9_0/work/classes/2/java/lang/Class/getFields/Sanity.d \
03:41:21          -Dtest.class.path=/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/aqa-tests/TKG/output_17170547577672/jdk_lang_j9_0/work/classes/2/java/lang/Class/getFields/Sanity.d \
03:41:21          -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/aqa-tests/TKG/output_17170547577672/jdk_lang_j9_0/work/classes/2/java/lang/Class/getFields/Sanity.d:/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/java/lang/Class/getFields \
03:41:21          -classpath /home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/aqa-tests/TKG/output_17170547577672/jdk_lang_j9_0/work/classes/2/java/lang/Class/getFields/Sanity.d:/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/java/lang/Class/getFields:/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/jvmtest/openjdk/jtreg/lib/testng-7.3.0.jar:/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/jvmtest/openjdk/jtreg/lib/guice-5.1.0.jar:/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/jvmtest/openjdk/jtreg/lib/jcommander-1.82.jar:/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux_jit_Personal_testList_1/jvmtest/openjdk/jtreg/lib/jtreg.jar \
03:41:21          com.sun.javatest.regtest.agent.TestNGRunner java/lang/Class/getFields/Sanity.java false Sanity
03:41:21  stderr:
03:41:21  Unhandled exception
03:41:21  Type=Segmentation error vmState=0x00000000
03:41:21  J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000001
03:41:21  Handler1=00007FFFAE856A60 Handler2=00007FFFAE77D540
03:41:21  R0=0000000000000001 R1=00007FFF47CBAA10 R2=0000000000000000 R3=0000000000000032
03:41:21  R4=0000000000000000 R5=0000000000000010 R6=000000000000000E R7=00007FFF47CBAB30
03:41:21  R8=00007FFFAE081D80 R9=000000000000000E R10=00007FFEF02DF7B0 R11=00007FFEF02DB288
03:41:21  R12=0000000024004842 R13=00007FFF47CC68E0 R14=00007FFEF02DF120 R15=00007FFFA86E2500
03:41:21  R16=00007FFF6CC90038 R17=0000000000000000 R18=00007FFF8AC73520 R19=00007FFF8AC72DA0
03:41:21  R20=000000000000000A R21=0000000000000001 R22=FFFFFFFF80000001 R23=0000000000000020
03:41:21  R24=0000000000000010 R25=0000000000000000 R26=0000000000000001 R27=0000000000000000
03:41:21  R28=0000000000000000 R29=000000000000000F R30=00007FFF8AC73500 R31=0000000000000032
03:41:21  NIP=00007FFF6E4888FC MSR=800000000280D033 ORIG_GPR3=00007FFF6E4888F0 CTR=00007FFF6E485B78
03:41:21  LINK=00007FFFADD44F18 XER=0000000020040000 CCR=0000000042004842 SOFTE=0000000000000001
03:41:21  TRAP=0000000000000300 DAR=0000000000000008 dsisr=0000000040000000 RESULT=0000000000000000
03:41:21  FPR0=00007ffef02df7d0 (f: 4029544448.000000, d: 6.953130e-310)
03:41:21  FPR1=3fe8000000000000 (f: 0.000000, d: 7.500000e-01)
03:41:21  FPR2=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  FPR3=3fe8000000000000 (f: 0.000000, d: 7.500000e-01)
03:41:21  FPR4=3fe8000000000000 (f: 0.000000, d: 7.500000e-01)
03:41:21  FPR5=3fe62e42fefa39ef (f: 4277811712.000000, d: 6.931472e-01)
03:41:21  FPR6=3faaa5aa5df25984 (f: 1576163712.000000, d: 5.204518e-02)
03:41:21  FPR7=bff0000000000000 (f: 0.000000, d: -1.000000e+00)
03:41:21  FPR8=bfdffffef20a4123 (f: 4060758272.000000, d: -4.999997e-01)
03:41:21  FPR9=3fd5575b0be00b6a (f: 199232368.000000, d: 3.334568e-01)
03:41:21  FPR10=bfd00ea348b88334 (f: 1220051712.000000, d: -2.508934e-01)
03:41:21  FPR11=bfdf6e28cd07f009 (f: 3439849472.000000, d: -4.910986e-01)
03:41:21  FPR12=3fc7565060000000 (f: 1610612736.000000, d: 1.823216e-01)
03:41:21  FPR13=00007fffae737e00 (f: 2926804480.000000, d: 6.953288e-310)
03:41:21  FPR14=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  FPR15=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  FPR16=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  FPR17=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  FPR18=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  FPR19=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  FPR20=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  FPR21=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  FPR22=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  FPR23=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  FPR24=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  FPR25=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  FPR26=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  FPR27=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  FPR28=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  FPR29=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  FPR30=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  FPR31=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:41:21  
03:41:21  Compiled_method=java/lang/Integer.parseInt(Ljava/lang/String;I)I
03:41:21  Target=2_90_20240530_1756 (Linux 5.14.0-427.16.1.el9_4.ppc64le)
03:41:21  CPU=ppc64le (8 logical CPUs) (0x1dac60000 RAM)
03:41:21  ----------- Stack Backtrace -----------
03:41:21   (0x00007FFF6E4888FC [<unknown>+0x0])
03:41:21  sidecarInvokeReflectMethodImpl+0x3c0 (0x00007FFFAE8300E0 [libj9vm29.so+0x200e0])
03:41:21  sidecarInvokeReflectMethod+0x38 (0x00007FFFAE831578 [libj9vm29.so+0x21578])
03:41:21  JVM_InvokeMethod_Impl+0xb4 (0x00007FFFACAE2A04 [libjclse29.so+0x82a04])
03:41:21  JVM_InvokeMethod+0x40 (0x00007FFFAEF740A0 [libjvm.so+0x240a0])
03:41:21  JVM_InvokeMethod+0x34 (0x00007FFFAF046AF4 [libjvm.so+0x6af4])
03:41:21  Java_jdk_internal_reflect_NativeMethodAccessorImpl_invoke0+0x24 (0x00007FFF6C8CCED4 [libjava.so+0xced4])
03:41:21   (0x00007FFF6E026F20 [<unknown>+0x0])
03:41:21  runJavaThread+0x340 (0x00007FFFAE82AEE0 [libj9vm29.so+0x1aee0])
03:41:21  javaProtectedThreadProc+0xf0 (0x00007FFFAE8C8B50 [libj9vm29.so+0xb8b50])
03:41:21  omrsig_protect+0x358 (0x00007FFFAE77E948 [libj9prt29.so+0x3e948])
03:41:21  javaThreadProc+0x64 (0x00007FFFAE8C3E44 [libj9vm29.so+0xb3e44])
03:41:21  thread_wrapper+0x1a8 (0x00007FFFAE7113E8 [libj9thr29.so+0x113e8])
03:41:21  start_thread+0x184 (0x00007FFFAF128BC4 [libc.so.6+0xa8bc4])
03:41:21  clone+0xa0 (0x00007FFFAF1D65C0 [libc.so.6+0x1565c0])
@cjjdespres
Copy link
Contributor Author

This could be the same issue as #17515.

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

1 participant