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
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
- duplicates
-
JDK-8170919 LogStreamTest tests crash if they are run first
-
- Resolved
-