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

VirtualSpaceNodeTest.half_vsn_is_committed_humongous_chunk_is_used_test_vm crashes on local machine

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b06
    • CPU:
      x86

      Backports

        Description

        Reproduces readily on my Mac run locally via "test-hotspot-gtest"

        [----------] 8 tests from VirtualSpaceNodeTest
        [ RUN ] VirtualSpaceNodeTest.sanity_test_vm
        [ OK ] VirtualSpaceNodeTest.sanity_test_vm (0 ms)
        [ RUN ] VirtualSpaceNodeTest.four_pages_vsn_is_committed_some_is_used_by_chunks_test_vm
        [ OK ] VirtualSpaceNodeTest.four_pages_vsn_is_committed_some_is_used_by_chunks_test_vm (0 ms)
        [ RUN ] VirtualSpaceNodeTest.half_vsn_is_committed_humongous_chunk_is_used_test_vm
        assert failed: list invariant

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/Volumes/Work/bugs/8215155/jdk13/open/src/hotspot/share/memory/freeList.inline.hpp:189), pid=32065, tid=775
        # assert(head() == __null || head()->prev() == __null) failed: list invariant
        #
        # JRE version: Java(TM) SE Runtime Environment (13.0) (fastdebug build 13-internal+0-adhoc.gerard.open)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 13-internal+0-adhoc.gerard.open, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
        # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
        #
        # 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.
        #

        --------------- S U M M A R Y ------------

        Command Line: -XX:+ExecutingUnitTests

        Host: Gerards-MBP-17, MacBookPro14,3 x86_64 3100 MHz, 8 cores, 16G, Darwin 18.0.0
        Time: Thu Jan 10 10:55:25 2019 CST elapsed time: 16 seconds (0d 0h 0m 16s)

        --------------- T H R E A D ---------------

        Current thread (0x00007fd2d2807000): JavaThread "main" [_thread_in_native, id=775, stack(0x00007ffeebb26000,0x00007ffeefb25000)]

        Stack: [0x00007ffeebb26000,0x00007ffeefb25000], sp=0x00007ffeefb23b40, free space=65526k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.dylib+0xddcae5] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x5fd
        V [libjvm.dylib+0xddd17b] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x47
        V [libjvm.dylib+0x534eca] report_vm_error(char const*, int, char const*, char const*, ...)+0xcc
        V [libjvm.dylib+0x4048eb] FreeList<metaspace::Metachunk>::return_chunk_at_head(metaspace::Metachunk*, bool)+0xf5
        V [libjvm.dylib+0x401f18] metaspace::ChunkManager::return_single_chunk(metaspace::Metachunk*)+0x2c0
        V [libjvm.dylib+0xdd405c] metaspace::VirtualSpaceNode::allocate_padding_chunks_until_top_is_at(MetaWord*)+0x3e4
        V [libjvm.dylib+0xdd42dc] metaspace::VirtualSpaceNode::take_from_committed(unsigned long)+0x20a
        V [libjvm.dylib+0xdd4c86] metaspace::VirtualSpaceNode::retire(metaspace::ChunkManager*)+0xc0
        V [libjvm.dylib+0xe3e73] VirtualSpaceNodeTest_half_vsn_is_committed_humongous_chunk_is_used_test_vm_Test::TestBody()+0x177
        V [libjvm.dylib+0x8944] testing::Test::Run()+0x66
        V [libjvm.dylib+0x9417] testing::TestInfo::Run()+0xbd
        V [libjvm.dylib+0x9964] testing::TestCase::Run()+0xc4
        V [libjvm.dylib+0xe660] testing::internal::UnitTestImpl::RunAllTests()+0x29a
        V [libjvm.dylib+0xe3a4] testing::UnitTest::Run()+0x6c
        V [libjvm.dylib+0x1b45c] runUnitTestsInner(int, char**)+0x315
        C [gtestLauncher+0xf82] main+0x22
        C [libdyld.dylib+0x17085] start+0x1

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                gziemski Gerard Ziemski
                Reporter:
                gziemski Gerard Ziemski
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: