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

JVM crash in libzip newEntry

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P3 P3
    • None
    • 7
    • core-libs
    • None

      FULL PRODUCT VERSION :
      java version " 1.7.0_17 "
      Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
      Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)


      A DESCRIPTION OF THE PROBLEM :
      When I open Eclipse the JVM most of the time crashes.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGBUS (0x7) at pc=0x00007f2744d15a82, pid=12704, tid=139804802967296
      #
      # JRE version: 7.0_17-b02
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)
      # Problematic frame:
      # C [libzip.so+0x4a82] newEntry+0x62
      #
      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try " ulimit -c unlimited " before starting Java again
      #
      # An error report file with more information is saved as:
      # /home/fynn/hs_err_pid12704.log
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.sun.com/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGBUS (0x7) at pc=0x00007f2744d15a82, pid=12704, tid=139804802967296
      #
      # JRE version: 7.0_17-b02
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)
      # Problematic frame:
      # C [libzip.so+0x4a82] newEntry+0x62
      #
      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try " ulimit -c unlimited " before starting Java again
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.sun.com/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #

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

      Current thread (0x00007f26dc0e4800): JavaThread " Java indexing " daemon [_thread_in_native, id=12732, stack(0x00007f26d78e6000,0x00007f26d79e7000)]

      siginfo:si_signo=SIGBUS: si_errno=0, si_code=2 (BUS_ADRERR), si_addr=0x00007f26d43e791b

      Registers:
      RAX=0x00007f26c8004460, RBX=0x00007f26c8051450, RCX=0x00007f26c8000040, RDX=0x00007f26c8000020
      RSP=0x00007f26d79e54c0, RBP=0x00007f26d79e5510, RSI=0x00007f26c8000038, RDI=0x0000000000000003
      R8 =0x00007f26c8005000, R9 =0x0000000000000000, R10=0x00007f273d22aca4, R11=0x00000000fdc943d8
      R12=0x00007f26d43e78fe, R13=0x00007f26c8004460, R14=0x00007f26d79e5570, R15=0x00007f26c8000b70
      RIP=0x00007f2744d15a82, EFLAGS=0x0000000000010202, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
        TRAPNO=0x000000000000000e

        Top of Stack: (sp=0x00007f26d79e54c0)
      0x00007f26d79e54c0: 00000000f9a8b490 0000000000000001
      0x00007f26d79e54d0: 000000000000001d 00007f27467b119c
      0x00007f26d79e54e0: 00007f26c8004460 0000000000000ea6
      0x00007f26d79e54f0: 00007f26c8000b70 00007f26d79e55e8
      0x00007f26d79e5500: 00007f26d79e5570 00007f26dc0e4800
      0x00007f26d79e5510: 00007f26d79e5530 00007f2744d160d7
      0x00007f26d79e5520: 00007f26d79e55c0 0000000000000000
      0x00007f26d79e5530: 00007f26d79e5580 00007f273d22ad16
      0x00007f26d79e5540: 0000000000000000 00007f26d79e5560
      0x00007f26d79e5550: 00007f26d79e55b0 00007f273d006158
      0x00007f26d79e5560: 0000000000000000 00000000f9a8a548
      0x00007f26d79e5570: 00000000e0442f40 00000000d16bc443
      0x00007f26d79e5580: 00007f26d79e5630 00007f273d1adca4
      0x00007f26d79e5590: 00000000fdc943a8 00000000fdc943a8
      0x00007f26d79e55a0: 00000000fdc943d8 00007f26d79e55c8
      0x00007f26d79e55b0: 00000000fdc943a8 00007f273d006158
      0x00007f26d79e55c0: 0000000000000011 00000000fdc94390
      0x00007f26d79e55d0: 00007f26d79e5630 00007f273d0069e1
      0x00007f26d79e55e0: 00007f273d0069e1 00000000fdc943d8
      0x00007f26d79e55f0: 00007f26d79e55f0 00000000d16c6e66
      0x00007f26d79e5600: 00007f26d79e56c8 00000000d4fda2e8
      0x00007f26d79e5610: 00000000d53ffab0 00000000d16c7308
      0x00007f26d79e5620: 00007f26d79e55e8 00007f26d79e56c0
      0x00007f26d79e5630: 00007f26d79e5720 00007f273d006afe
      0x00007f26d79e5640: 0000000000000000 00000000f9a8a548
      0x00007f26d79e5650: 00000000f9a8a158 00000000f9a876e8
      0x00007f26d79e5660: 00000000f9a875b0 00000000fdc943d8
      0x00007f26d79e5670: 00000000e2be9a30 00000000fdc94390
      0x00007f26d79e5680: 00000000fdc94348 0000000000000000
      0x00007f26d79e5690: 0000013e37d3c53c 0000000000000000
      0x00007f26d79e56a0: 00000000e17141c0 00000000fdc943a8
      0x00007f26d79e56b0: 00000000fdb852e8 00000000fdb851b8

      Instructions: (pc=0x00007f2744d15a82)
      0x00007f2744d15a62: 00 48 c7 40 28 00 00 00 00 41 80 7f 30 00 0f 84
      0x00007f2744d15a72: 8a 02 00 00 4c 8b 63 08 4d 2b 67 28 4d 03 67 18
      0x00007f2744d15a82: 41 0f b6 5c 24 1d 41 0f b6 44 24 1c c1 e3 08 09
      0x00007f2744d15a92: c3 41 0f b6 44 24 1e 88 45 bd 41 0f b6 54 24 20

      Register to memory mapping:

      RAX=0x00007f26c8004460 is an unknown value
      RBX=0x00007f26c8051450 is an unknown value
      RCX=0x00007f26c8000040 is an unknown value
      RDX=0x00007f26c8000020 is an unknown value
      RSP=0x00007f26d79e54c0 is pointing into the stack for thread: 0x00007f26dc0e4800
      RBP=0x00007f26d79e5510 is pointing into the stack for thread: 0x00007f26dc0e4800
      RSI=0x00007f26c8000038 is an unknown value
      RDI=0x0000000000000003 is an unknown value
      R8 =0x00007f26c8005000 is an unknown value
      R9 =0x0000000000000000 is an unknown value
      R10=0x00007f273d22aad0 [CodeBlob (0x00007f273d22aad0)]
      Framesize: 10
      R11=0x00000000fdc943d8 is an oop
      java.util.zip.ZipFile$1
       - klass: 'java/util/zip/ZipFile$1'
      R12=0x00007f26d43e78fe is an unknown value
      R13=0x00007f26c8004460 is an unknown value
      R14=0x00007f26d79e5570 is pointing into the stack for thread: 0x00007f26dc0e4800
      R15=0x00007f26c8000b70 is an unknown value


      Stack: [0x00007f26d78e6000,0x00007f26d79e7000], sp=0x00007f26d79e54c0, free space=1021k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [libzip.so+0x4a82] newEntry+0x62
      C [libzip.so+0x50d7] ZIP_GetNextEntry+0x57
      J java.util.zip.ZipFile.getNextEntry(JI)J
      J java.util.zip.ZipFile$1.nextElement()Ljava/lang/Object;
      j org.eclipse.jdt.internal.core.search.processing.JobManager.run()V+240
      j java.lang.Thread.run()V+11
      v ~StubRoutines::call_stub
      V [libjvm.so+0x551945] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x355
      V [libjvm.so+0x550468] JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x28
      V [libjvm.so+0x5506fc] JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*)+0x17c
      V [libjvm.so+0x550827] JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*)+0x47
      V [libjvm.so+0x5ab0ef] thread_entry(JavaThread*, Thread*)+0xdf
      V [libjvm.so+0x8651b8] JavaThread::thread_main_inner()+0xc8
      V [libjvm.so+0x865308] JavaThread::run()+0x138
      V [libjvm.so+0x746cf0] java_start(Thread*)+0x100

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      J java.util.zip.ZipFile.getNextEntry(JI)J
      J java.util.zip.ZipFile$1.nextElement()Ljava/lang/Object;
      j org.eclipse.jdt.internal.core.search.indexing.AddJarFileToIndex.execute(Lorg/eclipse/core/runtime/IProgressMonitor;)Z+1278
      j org.eclipse.jdt.internal.core.search.processing.JobManager.run()V+240
      j java.lang.Thread.run()V+11
      v ~StubRoutines::call_stub

      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
        0x00000000014c8800 JavaThread " Worker-10 " [_thread_blocked, id=12771, stack(0x00007f26d428f000,0x00007f26d4390000)]
        0x00007f2710002000 JavaThread " Keep-Alive-Timer " daemon [_thread_blocked, id=12769, stack(0x00007f26d54d4000,0x00007f26d55d5000)]
        0x00000000014f8800 JavaThread " Worker-9 " [_thread_blocked, id=12766, stack(0x00007f26d5f54000,0x00007f26d6055000)]
        0x00007f26c0095000 JavaThread " Worker-8 " [_thread_blocked, id=12765, stack(0x00007f26d6296000,0x00007f26d6397000)]
        0x00007f26b000c000 JavaThread " Worker-7 " [_thread_blocked, id=12762, stack(0x00007f26d6397000,0x00007f26d6498000)]
        0x0000000001401800 JavaThread " Worker-6 " [_thread_blocked, id=12761, stack(0x00007f26d6599000,0x00007f26d669a000)]
        0x00007f26b8001800 JavaThread " Worker-5 " [_thread_blocked, id=12760, stack(0x00007f26d6195000,0x00007f26d6296000)]
        0x00007f26b0007000 JavaThread " Worker-4 " [_thread_blocked, id=12759, stack(0x00007f26d6498000,0x00007f26d6599000)]
        0x00007f27413bd000 JavaThread " org.eclipse.jdt.internal.ui.text.JavaReconciler " daemon [_thread_blocked, id=12758, stack(0x00007f26d694f000,0x00007f26d6a50000)]
        0x00007f26d043f000 JavaThread " process reaper " daemon [_thread_blocked, id=12743, stack(0x00007f26d6888000,0x00007f26d68b0000)]
        0x00007f26e0040800 JavaThread " Worker-3 " [_thread_blocked, id=12741, stack(0x00007f26d6055000,0x00007f26d6156000)]
        0x00007f26dc26c800 JavaThread " Bundle File Closer " daemon [_thread_blocked, id=12734, stack(0x00007f26d7674000,0x00007f26d7775000)]
        0x00007f26e003e800 JavaThread " Worker-2 " [_thread_blocked, id=12733, stack(0x00007f26d77e5000,0x00007f26d78e6000)]
      =>0x00007f26dc0e4800 JavaThread " Java indexing " daemon [_thread_in_native, id=12732, stack(0x00007f26d78e6000,0x00007f26d79e7000)]
        0x00007f26dc00b000 JavaThread " Worker-1 " [_thread_blocked, id=12731, stack(0x00007f2724b90000,0x00007f2724c91000)]
        0x00007f27407f7000 JavaThread " Worker-0 " [_thread_in_native, id=12730, stack(0x00007f272474b000,0x00007f272484c000)]
        0x00007f26e81b8800 JavaThread " Worker-JM " [_thread_blocked, id=12728, stack(0x00007f272484c000,0x00007f272494d000)]
        0x00007f26e80a5800 JavaThread " [Timer] - Main Queue Handler " daemon [_thread_blocked, id=12726, stack(0x00007f272494d000,0x00007f2724a4e000)]
        0x00007f26e8013000 JavaThread " Framework Event Dispatcher " daemon [_thread_blocked, id=12724, stack(0x00007f2724a4e000,0x00007f2724b4f000)]
        0x00007f27405ac000 JavaThread " Start Level Event Dispatcher " daemon [_thread_blocked, id=12723, stack(0x00007f2724c91000,0x00007f2724d92000)]
        0x00007f27404ea800 JavaThread " State Data Manager " daemon [_thread_blocked, id=12722, stack(0x00007f2724d92000,0x00007f2724e93000)]
        0x00007f2740451000 JavaThread " Framework Active Thread " [_thread_blocked, id=12721, stack(0x00007f272c0ce000,0x00007f272c1cf000)]
        0x00007f27401b7800 JavaThread " Service Thread " daemon [_thread_blocked, id=12716, stack(0x00007f2735816000,0x00007f2735917000)]
        0x00007f27401b5800 JavaThread " C2 CompilerThread1 " daemon [_thread_in_native, id=12715, stack(0x00007f2735917000,0x00007f2735a18000)]
        0x00007f27401b2800 JavaThread " C2 CompilerThread0 " daemon [_thread_in_native, id=12714, stack(0x00007f2735a18000,0x00007f2735b19000)]
        0x00007f27401b0800 JavaThread " Signal Dispatcher " daemon [_thread_blocked, id=12713, stack(0x00007f2735b19000,0x00007f2735c1a000)]
        0x00007f2740163800 JavaThread " Finalizer " daemon [_thread_blocked, id=12712, stack(0x00007f27362fb000,0x00007f27363fc000)]
        0x00007f2740161000 JavaThread " Reference Handler " daemon [_thread_blocked, id=12711, stack(0x00007f27363fc000,0x00007f27364fd000)]
        0x00007f2740009800 JavaThread " main " [_thread_in_Java, id=12705, stack(0x00007f27478bf000,0x00007f27479c0000)]

      Other Threads:
        0x00007f2740159800 VMThread [stack: 0x00007f27364fd000,0x00007f27365fe000] [id=12710]
        0x00007f27401c2800 WatcherThread [stack: 0x00007f2735715000,0x00007f2735816000] [id=12717]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
       PSYoungGen total 120256K, used 90144K [0x00000000f5560000, 0x00000000ff950000, 0x0000000100000000)
        eden space 82240K, 87% used [0x00000000f5560000,0x00000000f9b49da8,0x00000000fa5b0000)
        from space 38016K, 48% used [0x00000000fd430000,0x00000000fe64e608,0x00000000ff950000)
        to space 42816K, 0% used [0x00000000fa5b0000,0x00000000fa5b0000,0x00000000fcf80000)
       ParOldGen total 127040K, used 69270K [0x00000000e0000000, 0x00000000e7c10000, 0x00000000f5560000)
        object space 127040K, 54% used [0x00000000e0000000,0x00000000e43a5888,0x00000000e7c10000)
       PSPermGen total 118336K, used 86020K [0x00000000d0000000, 0x00000000d7390000, 0x00000000e0000000)
        object space 118336K, 72% used [0x00000000d0000000,0x00000000d54010d8,0x00000000d7390000)

      Card table byte_map: [0x00007f2744b90000,0x00007f2744d11000] byte_map_base: 0x00007f2744510000

      Polling page: 0x00007f27479e1000

      Code Cache [0x00007f273d000000, 0x00007f273d670000, 0x00007f2740000000)
       total_blobs=2252 nmethods=1581 adapters=620 free_code_cache=42706Kb largest_free_block=43630336

      Compilation events (10 events):
      Event: 25.314 Thread 0x00007f27401b5800 nmethod 1768 0x00007f273d5ac250 code [0x00007f273d5ac380, 0x00007f273d5ac3d8]
      Event: 25.314 Thread 0x00007f27401b5800 1769 org.eclipse.core.internal.dtree.DataTreeNode::forwardDeltaWith (466 bytes)
      Event: 25.324 Thread 0x00007f27401b2800 nmethod 1766 0x00007f273d647890 code [0x00007f273d647a20, 0x00007f273d647f70]
      Event: 25.324 Thread 0x00007f27401b2800 1770 org.eclipse.jdt.internal.core.util.SimpleWordSet::<init> (41 bytes)
      Event: 25.325 Thread 0x00007f27401b2800 nmethod 1770 0x00007f273d647550 code [0x00007f273d6476c0, 0x00007f273d6477f8]
      Event: 25.325 Thread 0x00007f27401b2800 1771 java.util.Locale::getDefault (13 bytes)
      Event: 25.326 Thread 0x00007f27401b2800 nmethod 1771 0x00007f273d647310 code [0x00007f273d647440, 0x00007f273d6474b8]
      Event: 25.326 Thread 0x00007f27401b2800 1772 org.eclipse.jdt.internal.compiler.classfmt.MethodInfo::getTagBits (5 bytes)
      Event: 25.326 Thread 0x00007f27401b2800 nmethod 1772 0x00007f273d647110 code [0x00007f273d647240, 0x00007f273d647298]
      Event: 25.326 Thread 0x00007f27401b2800 1773 java.util.regex.Pattern::compile (406 bytes)

      GC Heap History (10 events):
      Event: 15.591 GC heap before
      {Heap before GC invocations=15 (full 2):
       PSYoungGen total 122688K, used 122668K [0x00000000f5560000, 0x00000000fec70000, 0x0000000100000000)
        eden space 99328K, 100% used [0x00000000f5560000,0x00000000fb660000,0x00000000fb660000)
        from space 23360K, 99% used [0x00000000fd120000,0x00000000fe7eb1a8,0x00000000fe7f0000)
        to space 27392K, 0% used [0x00000000fb660000,0x00000000fb660000,0x00000000fd120000)
       ParOldGen total 82048K, used 40693K [0x00000000e0000000, 0x00000000e5020000, 0x00000000f5560000)
        object space 82048K, 49% used [0x00000000e0000000,0x00000000e27bd5d8,0x00000000e5020000)
       PSPermGen total 71232K, used 70727K [0x00000000d0000000, 0x00000000d4590000, 0x00000000e0000000)
        object space 71232K, 99% used [0x00000000d0000000,0x00000000d4511f70,0x00000000d4590000)
      Event: 15.645 GC heap after
      Heap after GC invocations=15 (full 2):
       PSYoungGen total 126720K, used 27385K [0x00000000f5560000, 0x0000000100000000, 0x0000000100000000)
        eden space 99328K, 0% used [0x00000000f5560000,0x00000000f5560000,0x00000000fb660000)
        from space 27392K, 99% used [0x00000000fb660000,0x00000000fd11e500,0x00000000fd120000)
        to space 35264K, 0% used [0x00000000fdd90000,0x00000000fdd90000,0x0000000100000000)
       ParOldGen total 82048K, used 49357K [0x00000000e0000000, 0x00000000e5020000, 0x00000000f5560000)
        object space 82048K, 60% used [0x00000000e0000000,0x00000000e3033650,0x00000000e5020000)
       PSPermGen total 71232K, used 70727K [0x00000000d0000000, 0x00000000d4590000, 0x00000000e0000000)
        object space 71232K, 99% used [0x00000000d0000000,0x00000000d4511f70,0x00000000d4590000)
      }
      Event: 19.478 GC heap before
      {Heap before GC invocations=16 (full 2):
       PSYoungGen total 126720K, used 126713K [0x00000000f5560000, 0x0000000100000000, 0x0000000100000000)
        eden space 99328K, 100% used [0x00000000f5560000,0x00000000fb660000,0x00000000fb660000)
        from space 27392K, 99% used [0x00000000fb660000,0x00000000fd11e500,


      ( This report has more than 16,000 characters and has been truncated. )

            sherman Xueming Shen
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: