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

NMT has detected a memory corruption bug: ChunkPool

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2 P2
    • 26
    • 26
    • hotspot

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/0103b69c-746c-4fb5-bf13-94918f380124-S1663/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/eb47c3f3-7319-4033-8b19-8eb10dd64469/runs/61db34bd-1f48-48da-87cb-56ce831476fd/workspace/open/src/hotspot/share/nmt/mallocHeader.inline.hpp:107), pid=55453, tid=17415
      # fatal error: NMT has detected a memory corruption bug. Block at 0x0000000153588010: footer canary broken at 0x0000000153590000 (buffer overflow?)
      #

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

      Current thread (0x0000000159863010): WatcherThread "VM Periodic Task Thread" [id=17415, stack(0x000000016e274000,0x000000016e477000) (2060K)]

      Stack: [0x000000016e274000,0x000000016e477000], sp=0x000000016e476a50, free space=2058k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x123a5e8] VMError::report(outputStream*, bool)+0x1b68 (mallocHeader.inline.hpp:107)
      V [libjvm.dylib+0x123dee4] VMError::report_and_die(int, char const*, char const*, char*, Thread*, unsigned char*, void const*, void const*, char const*, int, unsigned long)+0x55c
      V [libjvm.dylib+0x5b7dec] DebuggingContext::~DebuggingContext()+0x0
      V [libjvm.dylib+0xdaa8e4] MallocHeader* MallocHeader::resolve_checked_impl<void*, MallocHeader*>(void*)+0x19c
      V [libjvm.dylib+0xdaa174] MallocTracker::record_free_block(void*)+0x4c
      V [libjvm.dylib+0xecf5f4] os::free(void*)+0xa8
      V [libjvm.dylib+0x278e04] ChunkPool::prune()+0x5c
      V [libjvm.dylib+0x278d68] ChunkPoolCleaner::task()+0x38
      V [libjvm.dylib+0x113ad44] PeriodicTask::real_time_tick(int)+0xf0
      V [libjvm.dylib+0xe8c938] WatcherThread::run()+0xb4
      V [libjvm.dylib+0x1179d10] Thread::call_run()+0xf0
      V [libjvm.dylib+0xed6ee8] thread_native_entry(Thread*)+0x138
      C [libsystem_pthread.dylib+0x6bc8] _pthread_start+0x88

      Detected during ChunkPool cleaning - is it possible we have a race condition?

            cnorrbin Casper Norrbin
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: