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

Launcher termination can crash if the VM could not be shutdown

    Details

      Description

      gc/g1/logging/TestG1LoggingFailure.java failed with exception java.lang.RuntimeException: 'pure virtual method called' found in stderr

      [17.322s][info][gc] GC(22) Concurrent Cycle 242.132ms
      [17.336s][info][gc] GC(27) Pause Young (G1 Evacuation Pause) 19M->19M(20M) 13.472ms
      ];
       stderr: [
      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"
      pure virtual method called
      terminate called without an active exception
      ]
       exitValue = 1

      java.lang.RuntimeException: 'pure virtual method called' found in stderr

      at jdk.test.lib.process.OutputAnalyzer.shouldNotContain(OutputAnalyzer.java:180)
      at gc.g1.logging.TestG1LoggingFailure.startVM(TestG1LoggingFailure.java:68)
      at gc.g1.logging.TestG1LoggingFailure.main(TestG1LoggingFailure.java:61)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:537)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-internal/Thread.java:844)

        Attachments

        1. gdb-all-stacks.txt
          121 kB
        2. pure.c
          2 kB
        3. R.java
          4 kB
        4. R.java
          2 kB

          Issue Links

            Activity

              People

              • Assignee:
                ksrini Kumar Srinivasan
                Reporter:
                mchernov Michail Chernov
              • Votes:
                0 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated: