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

Crash w/ G1 during nmethod dependency cleaning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • 9
    • 9
    • hotspot

      Thread 1 (LWP 21020):
      #0 0x0000007fac5cea88 in __GI_raise (sig=sig@entry=6)
          at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
      #1 0x0000007fac5d1efc in __GI_abort () at abort.c:89
      #2 0x0000007fac605b3c in __libc_message (do_abort=1,
          fmt=fmt@entry=0x7fac6b5410 "*** Error in `%s': %s: 0x%s ***\n")
          at ../sysdeps/posix/libc_fatal.c:175
      #3 0x0000007fac60fe10 in malloc_printerr (action=1,
          str=0x7fac6b5688 "double free or corruption (fasttop)",
          ptr=<optimized out>) at malloc.c:4996
      #4 0x0000007fac610be8 in _int_free (av=0x7f28000020, p=<optimized out>,
          have_lock=0) at malloc.c:3840
      #5 0x0000007fabbdc410 in FreeHeap (p=0x7f2810fb00)
          at /opt/jprt/T/P1/183527.jbachorik/s/hotspot/src/share/vm/memory/allocation.inline.hpp:93
      #6 operator delete (p=0x7f2810fb00)
          at /opt/jprt/T/P1/183527.jbachorik/s/hotspot/src/share/vm/memory/allocation.inline.hpp:146
      #7 nmethodBucket::clean_dependent_nmethods (deps=deps@entry=0x7f2810fb00)
          at /opt/jprt/T/P1/183527.jbachorik/s/hotspot/src/share/vm/oops/instanceKlass.cpp:1908
      #8 0x0000007fabf256d0 in MethodHandles::remove_dependent_nmethod (
          call_site=..., nm=nm@entry=0x7fa81e5f90)
          at /opt/jprt/T/P1/183527.jbachorik/s/hotspot/src/share/vm/prims/methodHandles.cpp:967
      #9 0x0000007fabf66a8c in nmethod::flush_dependencies (this=0x7fa81e5f90,
          is_alive=0x7f9c69e428)
          at /opt/jprt/T/P1/183527.jbachorik/s/hotspot/src/share/vm/code/nmethod.cpp:1475
      #10 0x0000007fabf6d130 in nmethod::make_unloaded (
          this=this@entry=0x7fa81e5f90, is_alive=is_alive@entry=0x7f9c69e428,
          cause=...)
          at /opt/jprt/T/P1/183527.jbachorik/s/hotspot/src/share/vm/code/nmethod.cpp:1201
      #11 0x0000007fabf6d4a0 in nmethod::can_unload (this=this@entry=0x7fa81e5f90,
          is_alive=is_alive@entry=0x7f9c69e428, root=root@entry=0x7fa81e6128,
          unloading_occurred=unloading_occurred@entry=true)
          at /opt/jprt/T/P1/183527.jbachorik/s/hotspot/src/share/vm/code/nmethod.cpp:1504
      #12 0x0000007fabf6eefc in nmethod::do_unloading_parallel (
          this=this@entry=0x7fa81e5f90, is_alive=0x7f9c69e428,
          unloading_occurred=true)
          at /opt/jprt/T/P1/183527.jbachorik/s/hotspot/src/share/vm/code/nmethod.cpp:1822
      #13 0x0000007fabaac274 in clean_nmethod (nm=0x7fa81e5f90, this=0x7f9c69e238)
          at /opt/jprt/T/P1/183527.jbachorik/s/hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp:4818
      #14 work_first_pass (worker_id=1, this=0x7f9c69e238)
          at /opt/jprt/T/P1/183527.jbachorik/s/hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp:4918
      #15 G1ParallelCleaningTask::work (this=0x7f9c69e1e0, worker_id=1)
          at /opt/jprt/T/P1/183527.jbachorik/s/hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp:5010
      #16 0x0000007fac27f110 in GangWorker::loop (this=0x7fa404d000)
          at /opt/jprt/T/P1/183527.jbachorik/s/hotspot/src/share/vm/gc/shared/workgroup.cpp:286
      #17 0x0000007fac27ec98 in GangWorker::run (this=0x7fa404d000)
          at /opt/jprt/T/P1/183527.jbachorik/s/hotspot/src/share/vm/gc/shared/workgroup.cpp:208
      #18 0x0000007fabfabe10 in java_start (thread=0x7fa404d000)
          at /opt/jprt/T/P1/183527.jbachorik/s/hotspot/src/os/linux/vm/os_linux.cpp:686
      #19 0x0000007fac721e2c in start_thread (arg=0x7f9f9131f0)
          at pthread_create.c:314
      #20 0x0000007fac663430 in clone ()
          at ../ports/sysdeps/unix/sysv/linux/aarch64/nptl/../clone.S:96

            vlivanov Vladimir Ivanov
            vlivanov Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: