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

demo/jvmti/compiledMethodLoad/CompiledMethodLoadTest.java fails due to 112(JVMTI_ERROR_WRONG_PHASE)

XMLWordPrintable

      #section:main
      ----------messages:(3/143)----------
      command: main CompiledMethodLoadTest Hello
      reason: User specified action: run main CompiledMethodLoadTest Hello
      elapsed time (seconds): 9.107
      ----------System.out:(46/3832)----------
      Starting: /export/local/aurora/CommonData/jdk/bin/java -cp /export/local/aurora/sandbox/results/workDir/classes/demo/jvmti/compiledMethodLoad -Dtest.classes=/export/local/aurora/sandbox/results/workDir/classes/demo/jvmti/compiledMethodLoad -Xcheck:jni -Xverify:all -agentpath:/export/local/aurora/CommonData/jdk/demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so Hello
      WARNING in native method: JNI call made without checking exceptions when required to from CallStaticObjectMethod
      Warning: SIGINT handler expected:libjvm.so+0xd93960 found:0x00000001
      Running in non-interactive shell, SIGINT handler is replaced by shell
      Signal Handlers:
      SIGSEGV: [libjvm.so+0xd93810], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGBUS: [libjvm.so+0xd93810], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGFPE: [libjvm.so+0xd93810], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGPIPE: [libjvm.so+0xd93810], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGXFSZ: [libjvm.so+0xd93810], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGILL: [libjvm.so+0xd93810], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGUSR1: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
      SIGUSR2: [libjvm.so+0xd93a70], sa_mask[0]=00100000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
      SIGHUP: [libjvm.so+0xd93960], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGINT: SIG_IGN, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
      SIGTERM: [libjvm.so+0xd93960], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGQUIT: [libjvm.so+0xd93960], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      WARNING in native method: JNI call made without checking exceptions when required to from CallStaticObjectMethod
      Hello
      ERROR: JVMTI: 112(JVMTI_ERROR_WRONG_PHASE): get method name
      Exit code is 3
      <beginning of Error Stream buffer>
      ERROR: JVMTI: 112(JVMTI_ERROR_WRONG_PHASE): get method name

      <end of buffer>
      <beginning of Input Stream buffer>
      WARNING in native method: JNI call made without checking exceptions when required to from CallStaticObjectMethod
      Warning: SIGINT handler expected:libjvm.so+0xd93960 found:0x00000001
      Running in non-interactive shell, SIGINT handler is replaced by shell
      Signal Handlers:
      SIGSEGV: [libjvm.so+0xd93810], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGBUS: [libjvm.so+0xd93810], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGFPE: [libjvm.so+0xd93810], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGPIPE: [libjvm.so+0xd93810], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGXFSZ: [libjvm.so+0xd93810], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGILL: [libjvm.so+0xd93810], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGUSR1: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
      SIGUSR2: [libjvm.so+0xd93a70], sa_mask[0]=00100000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
      SIGHUP: [libjvm.so+0xd93960], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGINT: SIG_IGN, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
      SIGTERM: [libjvm.so+0xd93960], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGQUIT: [libjvm.so+0xd93960], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      WARNING in native method: JNI call made without checking exceptions when required to from CallStaticObjectMethod
      Hello

      <end of buffer>
      ----------System.err:(15/913)----------
      java.lang.RuntimeException: Test failed - exit return code non-zero (exitStatus==3)
      at DemoRun.runit(DemoRun.java:207)
      at DemoRun.runit(DemoRun.java:109)
      at CompiledMethodLoadTest.main(CompiledMethodLoadTest.java:41)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)

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

            sspitsyn Serguei Spitsyn
            ykantser Yekaterina Kantserova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: