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

runtime/ErrorHandling/MachCodeFramesInErrorFile.java fails when hsdis is present

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b19

      Description

      tier1 test that is newly added by JDK-8272586 fails on hsdis-enabled machine here:

      $ CONF=linux-x86_64-server-fastdebug make run-test TEST=runtime/ErrorHandling/MachCodeFramesInErrorFile.java

      STDERR:
      java.lang.RuntimeException: Mach code headers: []

      Extracted MachCode:
      null

      Extracted native frames:
      J 15 c2 MachCodeFramesInErrorFile$Crasher.method3(J)V (19 bytes) @ 0x00007f83b0ab9377 [0x00007f83b0ab9340+0x0000000000000037]
      J 14 c2 MachCodeFramesInErrorFile$Crasher.method2(J)V (13 bytes) @ 0x00007f83b0ab977c [0x00007f83b0ab9740+0x000000000000003c]
      j MachCodeFramesInErrorFile$Crasher.method1(J)V+9
      J 12 c2 MachCodeFramesInErrorFile$Crasher.main([Ljava/lang/String;)V (7 bytes) @ 0x00007f83b0ab9e38 [0x00007f83b0ab9e20+0x0000000000000018]
      v ~StubRoutines::call_stub
      V [libjvm.so+0xe75324] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x504
      V [libjvm.so+0xf99f21] jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, JavaThread*) [clone .isra.0] [clone .constprop.1]+0x331
      V [libjvm.so+0xf9d5f9] jni_CallStaticVoidMethod+0x1c9
      C [libjli.so+0x528e] JavaMain+0xc2e
      C [libjli.so+0x7f3d] ThreadJavaMain+0xd: expected true, was false
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
      at MachCodeFramesInErrorFile.main(MachCodeFramesInErrorFile.java:119)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:51)
      at java.base/java.lang.reflect.Method.invoke(Method.java:569)
      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shade Aleksey Shipilev
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: