Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8277352

runtime/cds/appcds/customLoader/HelloCustom_JFR.java fails with exitValue = -1073741819

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 18
    • Fix Version/s: 19
    • Component/s: hotspot
    • Subcomponent:
      jfr
    • CPU:
      x86_64
    • OS:
      windows

      Description

      The following test failed in the JDK18 CI:

      runtime/cds/appcds/customLoader/HelloCustom_JFR.java

      Here's a snippet from the log file:

      Refcount of symbol HelloClassLoader is 65535
      [3.926s][debug][cds,jvmti ] classfile data for java/io/RandomAccessFile$1 [0: C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+24-1605\\windows-x64-debug.jdk\\jdk-18\\fastdebug\\lib\\modules] = 736 bytes
      Is CustomLoadee alive? false
      Refcount of symbol HelloClassLoader is 65535
      [3.940s][debug][cds,jvmti ] classfile data for java/util/IdentityHashMap$IdentityHashMapIterator [0: C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+24-1605\\windows-x64-debug.jdk\\jdk-18\\fastdebug\\lib\\modules] = 2732 bytes
      [3.953s][debug][cds,jvmti ] classfile data for java/util/IdentityHashMap$KeyIterator [0: C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+24-1605\\windows-x64-debug.jdk\\jdk-18\\fastdebug\\lib\\modules] = 1020 bytes
      [4.137s][debug][cds,jvmti ] classfile data for java/util/LinkedHashSet [0: C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+24-1605\\windows-x64-debug.jdk\\jdk-18\\fastdebug\\lib\\modules] = 1592 bytes
      [4.242s][debug][cds,jvmti ] classfile data for java/lang/invoke/MethodHandleImpl$CasesHolder [0: C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+24-1605\\windows-x64-debug.jdk\\jdk-18\\fastdebug\\lib\\modules] = 634 bytes
      [4.242s][debug][cds,jvmti ] classfile data for java/lang/invoke/MethodHandleImpl$LoopClauses [0: C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+24-1605\\windows-x64-debug.jdk\\jdk-18\\fastdebug\\lib\\modules] = 1703 bytes
      [4.242s][debug][cds,jvmti ] classfile data for java/lang/invoke/MethodHandleImpl$ArrayAccess [0: C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+24-1605\\windows-x64-debug.jdk\\jdk-18\\fastdebug\\lib\\modules] = 3024 bytes
      [4.243s][debug][cds,jvmti ] classfile data for java/lang/invoke/MethodHandleImpl$2 [0: C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+24-1605\\windows-x64-debug.jdk\\jdk-18\\fastdebug\\lib\\modules] = 862 bytes
      [4.244s][debug][cds,jvmti ] classfile data for java/lang/invoke/MethodHandleImpl$ArrayAccessor [0: C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+24-1605\\windows-x64-debug.jdk\\jdk-18\\fastdebug\\lib\\modules] = 8331 bytes
      [4.244s][debug][cds,jvmti ] classfile data for java/lang/invoke/MethodHandleImpl$ArrayAccessor$1 [0: C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+24-1605\\windows-x64-debug.jdk\\jdk-18\\fastdebug\\lib\\modules] = 1061 bytes
      [4.258s][debug][cds,jvmti ] classfile data for java/lang/ClassValue$ClassValueMap [0: C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+24-1605\\windows-x64-debug.jdk\\jdk-18\\fastdebug\\lib\\modules] = 9384 bytes
      ];
       stderr: [java version "18-ea" 2022-03-15
      Java(TM) SE Runtime Environment (fastdebug build 18-ea+24-1605)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 18-ea+24-1605, mixed mode, sharing)
      ]
       exitValue = -1073741819

      java.lang.RuntimeException: Expected to get exit value of [0]

      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
      at jdk.test.lib.cds.CDSTestUtils.checkExec(CDSTestUtils.java:468)
      at jdk.test.lib.cds.CDSTestUtils.checkExec(CDSTestUtils.java:457)
      at HelloCustom.run(HelloCustom.java:81)
      at HelloCustom_JFR.main(HelloCustom_JFR.java:50)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:833)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

      I believe that "exitValue = -1073741819" indicates a stack overflow.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: