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

demo/jvmti/mtrace/TraceJFrame.java crashes due to SIGSEGV on Solaris-X64

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      solaris

      Description

      In my baseline testing of JDK8-B45 on Solaris X64, I noticed that
      the following JVM/TI demo test was failing:

          demo/jvmti/mtrace/TraceJFrame.java

      This test failed in all eight of my Solaris X64 configs with
      error messages like the following:

      ----------messages:(3/143)----------
      command: main TraceJFrameJFrameCreateTime
      reason: User specified action: run main TraceJFrame JFrameCreateTime
      elapsed time (seconds): 14.711
      ----------System.out:(50/2451)----------
      Starting: /work/shared/baseline_jdks/1.8.0_b45/solaris-x64/jre/bin/amd64/java -c
      p /work/shared/test_results/jdk8/baseline/solaris-x64/b45/sdk-demo_jvmti-prod-se
      rver-prod-mixed.solaris-x64/JTwork/classes/demo/jvmti/mtrace -Dtest.classes=/wor
      k/shared/test_results/jdk8/baseline/solaris-x64/b45/sdk-demo_jvmti-prod-server-p
      rod-mixed.solaris-x64/JTwork/classes/demo/jvmti/mtrace -d64 -Xcheck:jni -Xverify
      :all -agentpath:/work/shared/baseline_jdks/1.8.0_b45/solaris-x64/jre/../demo/jvm
      ti/mtrace/lib/amd64/libmtrace.so JFrameCreateTime
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000000000000000, pid=22068, tid=2
      #
      # JRE version: 8.0-b45
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.0-b14 mixed mode solaris-amd64
      compressed oops)
      # Problematic frame:
      # C 0x0000000000000000
      #
      # Core dump written. Default location: /work/shared/test_results/jdk8/baseline/s
      olaris-x64/b45/sdk-demo_jvmti-prod-server-prod-mixed.solaris-x64/JTwork/demo/jvm
      ti/mtrace/TraceJFrame/core or core.22068
      #
      # An error report file with more information is saved as:
      # /work/shared/test_results/jdk8/baseline/solaris-x64/b45/sdk-demo_jvmti-prod-se
      rver-prod-mixed.solaris-x64/JTwork/demo/jvmti/mtrace/TraceJFrame/hs_err_pid22068
      .log
      Phoning home...
      Using server: 10.161.186.18, port 4711
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.sun.com/bugreport/crash.jsp
      #
      VMStart
      Exit code is 6
      <beginning of Error Stream buffer>
      Phoning home...
      Using server: 10.161.186.18, port 4711

      <end of buffer>
      <beginning of Input Stream buffer>
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000000000000000, pid=22068, tid=2
      #
      # JRE version: 8.0-b45
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.0-b14 mixed mode solaris-amd64
      compressed oops)
      # Problematic frame:
      # C 0x0000000000000000
      #
      # Core dump written. Default location: /work/shared/test_results/jdk8/baseline/s
      olaris-x64/b45/sdk-demo_jvmti-prod-server-prod-mixed.solaris-x64/JTwork/demo/jvm
      ti/mtrace/TraceJFrame/core or core.22068
      #
      # An error report file with more information is saved as:
      # /work/shared/test_results/jdk8/baseline/solaris-x64/b45/sdk-demo_jvmti-prod-se
      rver-prod-mixed.solaris-x64/JTwork/demo/jvmti/mtrace/TraceJFrame/hs_err_pid22068
      .log
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.sun.com/bugreport/crash.jsp
      #
      VMStart

      <end of buffer>
      ----------System.err:(19/1032)----------
      java version "1.8.0-ea"
      Java(TM) SE Runtime Environment (build 1.8.0-ea-b45)
      Java HotSpot(TM) 64-Bit Server VM (build 24.0-b14, mixed mode)

      java.lang.RuntimeException: Test failed - exit return code non-zero (exitStatus=
      =6)
              at DemoRun.runit(DemoRun.java:217)
              at DemoRun.runit(DemoRun.java:109)
              at TraceJFrame.main(TraceJFrame.java:42)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:474)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:
      94)
              at java.lang.Thread.run(Thread.java:722)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed
      - exit return code non-zero (exitStatus==6)
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed -
      exit return code non-zero (exitStatus==6)
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeExcep
      tion: Test failed - exit return code non-zero (exitStatus==6)


      test result: Failed. Execution failed: `main' threw exception: java.lang.Runtime
      Exception: Test failed - exit return code non-zero (exitStatus==6)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: