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

Logging: LogStream gtests crash when executed isolated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • None
    • 9
    • hotspot
    • None

    Description

      When executing the LogStream tests isolated, they crash:

      gtestLauncher.exe -jdk ./images/jdk/ --gtest_filter=LogStream*

      [ RUN ] LogStreamTest.from_log
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=\runtime/thread.hpp:662
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (c:\d031900\openjdk\jdk9-hs2\source\hotspot\src\share\vm\runtime/thread.hpp:662), pid=17512, tid=7260
      # assert(current != 0LL) failed: Thread::current() called on detached thread

      TEST_VM_F (or TEST_OTHER_VM_F? LogStream tests change the global log settings) macros should be used instead of TEST_F.

      Logging: LogStream gtests crash when executed isolated

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: