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

jvm crashes in InlineCacheBuffer::update_inline_caches

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 8u40
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      linux

      Description

      FULL PRODUCT VERSION :
      java version "1.8.0_40"
      Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
      Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)


      FULL OS VERSION :
      2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 04:27:16 UTC 2014 x86_64 x86_64 GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      Seen a few times a week across production environment of >100 servers. jvm stops with no hs_err.pid file created, but core dump is produced.


      REGRESSION. Last worked in version 7u75

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Have not been able to reduce a simple test case as of yet. I note that 8075805 also deals with a free() error in InlineCacheBuffer::update_inline_caches (I have no ability to update that bug, so entering this one).

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      Expected: server does not crash.
      Actual: server does occaisionally crash.
      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      No hs_err_pid. From stderr/stdout:
      *** glibc detected *** /usr/jdk1.8/bin/java: free(): invalid pointer: 0x00000007c0038518 ***
      ======= Backtrace: =========
      /lib64/libc.so.6[0x322ac75e66]
      /usr/jdk1.8.0_40/jre/lib/amd64/server/libjvm.so(+0x622b71)[0x7f628cbffb71]
      /usr/jdk1.8.0_40/jre/lib/amd64/server/libjvm.so(+0x9a500c)[0x7f628cf8200c]
      /usr/jdk1.8.0_40/jre/lib/amd64/server/libjvm.so(+0x9a5d06)[0x7f628cf82d06]
      /usr/jdk1.8.0_40/jre/lib/amd64/server/libjvm.so(+0xab420f)[0x7f628d09120f]
      /usr/jdk1.8.0_40/jre/lib/amd64/server/libjvm.so(+0xab4690)[0x7f628d091690]
      /usr/jdk1.8.0_40/jre/lib/amd64/server/libjvm.so(+0x910ee8)[0x7f628ceedee8]
      /lib64/libpthread.so.0[0x322b0079d1]
      /lib64/libc.so.6(clone+0x6d)[0x322ace88fd]
      ======= Memory map: ========
      00400000-00401000 r-xp 00000000 08:03 16652618 /usr/jdk1.8.0_40/bin/java
      00600000-00601000 rw-p 00000000 08:03 16652618 /usr/jdk1.8.0_40/bin/java
      020f0000-02247000 rw-p 00000000 00:00 0 [heap]
      203400000-7c107f000 rw-p 00000000 00:00 0
      7c107f000-800000000 ---p 00000000 00:00 0
      ...

      core was produced. Stack trace:
      Program terminated with signal 6, Aborted.
      #0 0x000000322ac32625 in raise () from /lib64/libc.so.6
      Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.149.el6_6.5.x86_64 libgcc-4.4.7-11.el6.x86_64 nss-softokn-freebl-3.14.3-17.el6.x86_64
      (gdb) bt
      #0 0x000000322ac32625 in raise () from /lib64/libc.so.6
      #1 0x000000322ac33e05 in abort () from /lib64/libc.so.6
      #2 0x000000322ac70537 in __libc_message () from /lib64/libc.so.6
      #3 0x000000322ac75e66 in malloc_printerr () from /lib64/libc.so.6
      #4 0x00007f628cbffb71 in InlineCacheBuffer::update_inline_caches() () from /usr/jdk1.8.0_40/jre/lib/amd64/server/libjvm.so
      #5 0x00007f628cf8200c in SafepointSynchronize::do_cleanup_tasks() () from /usr/jdk1.8.0_40/jre/lib/amd64/server/libjvm.so
      #6 0x00007f628cf82d06 in SafepointSynchronize::begin() () from /usr/jdk1.8.0_40/jre/lib/amd64/server/libjvm.so
      #7 0x00007f628d09120f in VMThread::loop() () from /usr/jdk1.8.0_40/jre/lib/amd64/server/libjvm.so
      #8 0x00007f628d091690 in VMThread::run() () from /usr/jdk1.8.0_40/jre/lib/amd64/server/libjvm.so
      #9 0x00007f628ceedee8 in java_start(Thread*) () from /usr/jdk1.8.0_40/jre/lib/amd64/server/libjvm.so
      #10 0x000000322b0079d1 in start_thread () from /lib64/libpthread.so.0
      #11 0x000000322ace88fd in clone () from /lib64/libc.so.6
      (gdb)


      REPRODUCIBILITY :
      This bug can be reproduced rarely.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aroy Abhijit Roy (Inactive)
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: