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

Launcher termination can crash if the VM could not be shutdown

XMLWordPrintable

      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)

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

            Unassigned Unassigned
            mchernov Michail Chernov
            Votes:
            0 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated: