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

[32bit] assert in gtest OopStorageTestParIteration.par_state_safepoint_iterate_test_vm

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 11
    • hotspot

      I see this on windows; did not test on other 32bit platforms yet:

      $ ./hotspot/variant-server/libjvm/gtest/gtestLauncher.exe -jdk:./images/jdk/
      .....
      [----------] 8 tests from OopStorageTestParIteration
      [ RUN ] OopStorageTestParIteration.par_state_safepoint_iterate_test_vm
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=c:/SAPDevelop/d031900/openjdk/jdk-jdk/source/src/hotspot/share/gc/shared/oopStorage.cpp:923
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (c:/SAPDevelop/d031900/openjdk/jdk-jdk/source/src/hotspot/share/gc/shared/oopStorage.cpp:923), pid=7612, tid=13828
      # assert(estimated_thread_count > 0) failed: estimated thread count must be positive
      #
      # JRE version: OpenJDK Runtime Environment (11.0) (fastdebug build 11-internal+0-adhoc.D031900.source)
      # Java VM: OpenJDK Server VM (fastdebug 11-internal+0-adhoc.D031900.source, mixed mode, emulated-client, serial gc, windows-x86)
      # Core dump will be written. Default location: C:\SAPDevelop\d031900\openjdk\jdk-jdk\output-fastdebug-32\hs_err_pid7612.mdmp
      #
      # An error report file with more information is saved as:
      # C:\SAPDevelop\d031900\openjdk\jdk-jdk\output-fastdebug-32\hs_err_pid7612.log
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #
      assert failed: estimated thread count must be positive


      Stack: [0x006c0000,0x00710000], sp=0x0070f384, free space=316k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0x9a847b] VMError::report_and_die+0x4cb (vmerror.cpp:1411)
      V [jvm.dll+0x9a8988] VMError::report_and_die+0x28 (vmerror.cpp:1250)
      V [jvm.dll+0x4bbffa] report_vm_error+0x4a (debug.cpp:231)
      V [jvm.dll+0x83a9f0] OopStorage::BasicParState::BasicParState+0x60 (oopstorage.cpp:923)
      V [jvm.dll+0xbe237] OopStorageTestParIteration_par_state_safepoint_iterate_test_vm_Test::TestBody+0x77 (test_oopstorage.cpp:960)
      V [jvm.dll+0x12210] testing::internal::HandleSehExceptionsInMethodIfSupported<testing::TestCase,void>+0x40 (gtest.cc:2066)
      V [jvm.dll+0x11f5b] testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,void>+0x5b (gtest.cc:2117)
      V [jvm.dll+0x241b2] testing::Test::Run+0xe2 (gtest.cc:2154)
      V [jvm.dll+0x24309] testing::TestCase::Run+0xf9 (gtest.cc:2446)
      V [jvm.dll+0x2491e] testing::internal::UnitTestImpl::RunAllTests+0x2ae (gtest.cc:4317)
      V [jvm.dll+0x123b0] testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,bool>+0x40 (gtest.cc:2066)
      V [jvm.dll+0x1213b] testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,bool>+0x5b (gtest.cc:2117)
      V [jvm.dll+0x2463c] testing::UnitTest::Run+0xec (gtest.cc:3932)
      V [jvm.dll+0x28e72] runUnitTestsInner+0x162 (gtestmain.cpp:253)
      V [jvm.dll+0x28f58] runUnitTests+0x78 (gtestmain.cpp:323)
      C [gtestLauncher.exe+0x1011] main+0x11 (gtestlauncher.cpp:32)
      C [gtestLauncher.exe+0x1216] __tmainCRTStartup+0xfd (crtexe.c:626)
      C [KERNEL32.DLL+0x18744]
      C [ntdll.dll+0x6582d]

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

              Created:
              Updated:
              Resolved: