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

compiler/aot/cli/MultipleAOTLibraryTest.java crashes in CodeCache::get_code_heap_containing running in CDS mode

    Details

      Description

      The crash was observed in tier6 testing for the default CDS archive:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007fde5374a55f, pid=18399, tid=18411
      #
      # JRE version: (12.0) (fastdebug build )
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 12-internal+0-2018-09-18-2141241.jiangli.zhou.jdknoncds, mixed mode, aot, tiered, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x9fa55f] CodeCache::get_code_heap_containing(void*)+0x4f

      From hs_err log:

      Current thread (0x00007fde4c4d8800): ConcurrentGCThread "G1 Young RemSet Sampling" [stack: 0x00007fde2820f000,0x00007fde2830f000] [id=18411]

      Stack: [0x00007fde2820f000,0x00007fde2830f000], sp=0x00007fde2830db80, free space=1018k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x9fa55f] CodeCache::get_code_heap_containing(void*)+0x4f
      V [libjvm.so+0x9fa64f] CodeCache::find_blob(void*)+0x1f
      V [libjvm.so+0x14f9459] os::get_sender_for_C_frame(frame*)+0x39
      V [libjvm.so+0x14ff665] os::get_native_stack(unsigned char**, int, int)+0xa5
      V [libjvm.so+0x61a7b2] ResourceObj::operator new(unsigned long, std::nothrow_t const&, ResourceObj::allocation_type, MemoryType)+0x62
      V [libjvm.so+0x18afa0a] VirtualMemoryTracker::add_reserved_region(unsigned char*, unsigned long, NativeCallStack const&, MemoryType)+0x26a
      V [libjvm.so+0x18031ec] Thread::record_stack_base_and_size()+0x17c
      V [libjvm.so+0xabc78f] ConcurrentGCThread::run()+0xf
      V [libjvm.so+0x14f3170] thread_native_entry(Thread*)+0x100

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kvn Vladimir Kozlov
                Reporter:
                jiangli Jiangli Zhou
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: