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

Internal error "StringStream is re-allocated with a different ResourceMark"

    XMLWordPrintable

Details

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

    Description

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/home/katya/work/JavaSE/Hotspot/ws/hs10/hotspot/src/share/vm/utilities/ostream.cpp:340), pid=28556, tid=28603
      # assert(rm == __null || Thread::current()->current_resource_mark() == rm) failed: StringStream is re-allocated with a different ResourceMark. Current: 0x00007f49babad200 original: 0x00007f49babad470
      #
      # JRE version: Java(TM) SE Runtime Environment (10.0) (fastdebug build 10-internal+0-2017-06-07-102447.katya.hs10)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 10-internal+0-2017-06-07-102447.katya.hs10, mixed mode, tiered, jvmci, jvmci compiler, compressed oops, g1 gc, linux-amd64)
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c" (or dumping to /home/katya/work/JavaSE/Hotspot/ws/hs10/JTwork/scratch/core.28556)


      Current thread (0x00007f4a8c2ac800): VMThread "VM Thread" [stack: 0x00007f49baaaf000,0x00007f49babaf000] [id=28603]

      Stack: [0x00007f49baaaf000,0x00007f49babaf000], sp=0x00007f49babac590, free space=1013k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x1771c62] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x162
      V [libjvm.so+0x1772a2f] VMError::report_and_die(Thread*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f
      V [libjvm.so+0xb17f8d] report_vm_error(char const*, int, char const*, char const*, ...)+0xdd
      V [libjvm.so+0x142b9c6] stringStream::write(char const*, unsigned long)+0x216
      V [libjvm.so+0x11d482c] LogStreamBase<stringStream>::write(char const*, unsigned long)+0x5c
      V [libjvm.so+0x142bfd6] outputStream::do_vsnprintf_and_write_with_automatic_buffer(char const*, __va_list_tag*, bool)+0x106
      V [libjvm.so+0x142cc24] outputStream::print_cr(char const*, ...)+0x1d4
      V [libjvm.so+0xe01795] KlassInfoEntry::print_on(outputStream*) const+0x115
      V [libjvm.so+0xe050aa] KlassInfoHisto::print_elements(outputStream*) const+0x16a
      V [libjvm.so+0xe071f4] HeapInspection::heap_inspection(outputStream*)+0x2e4
      V [libjvm.so+0x1773aad] VM_GC_HeapInspection::doit()+0x8d
      V [libjvm.so+0xa3a853] CollectedHeap::full_gc_dump(GCTimer*, bool)+0x3d3
      V [libjvm.so+0xca1e02] G1CollectedHeap::do_full_collection(bool, bool)+0x5a2
      V [libjvm.so+0xca2bd9] G1CollectedHeap::satisfy_failed_allocation_helper(unsigned long, unsigned char, bool, bool, bool, bool*)+0x129
      V [libjvm.so+0xca2d1d] G1CollectedHeap::satisfy_failed_allocation(unsigned long, unsigned char, bool*)+0x11d
      V [libjvm.so+0x17b4687] VM_G1CollectForAllocation::doit()+0xb7
      V [libjvm.so+0x17b2519] VM_Operation::evaluate()+0xa9
      V [libjvm.so+0x17aea8a] VMThread::evaluate_operation(VM_Operation*)+0x15a
      V [libjvm.so+0x17af572] VMThread::loop()+0x2a2
      V [libjvm.so+0x17afce0] VMThread::run()+0xc0
      V [libjvm.so+0x141ba22] thread_native_entry(Thread*)+0x112

      VM_Operation (0x00007f4963efd150): G1CollectForAllocation, mode: safepoint, requested by thread 0x00007f496818d800

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              epavlova Ekaterina Pavlova
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: