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

G1: Eclipse crash during GC with compressed OOPS

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6u10
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
      gc
    • CPU:
      x86
    • OS:
      linux

      Description

      FULL PRODUCT VERSION :
      java version "1.7.0-ea"
      Java(TM) SE Runtime Environment (build 1.7.0-ea-b133)


      A DESCRIPTION OF THE PROBLEM :
      After working for a couple of hours in Eclipse, it crashes. I've had this identical crash multiple times.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      ...

      [GC pause (partial), 0.11945200 secs]
         [Parallel Time: 116.9 ms]
            [GC Worker Start Time (ms): 523670.4 523670.5 523670.5 523670.6]
            [Update RS (ms): 10.9 10.9 10.2 9.0
             Avg: 10.2, Min: 9.0, Max: 10.9]
               [Processed Buffers : 27 31 21 14
                Sum: 93, Avg: 23, Min: 14, Max: 31]
            [Ext Root Scanning (ms): 4.2 4.4 4.4 6.4
             Avg: 4.8, Min: 4.2, Max: 6.4]
            [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0
             Avg: 0.0, Min: 0.0, Max: 0.0]
            [Scan RS (ms): 15.9 15.9 15.9 15.4
             Avg: 15.7, Min: 15.4, Max: 15.9]
            [Object Copy (ms): 85.8 85.7 86.4 86.0
             Avg: 85.9, Min: 85.7, Max: 86.4]
            [Termination (ms): 0.0 0.0 0.0 0.0
             Avg: 0.0, Min: 0.0, Max: 0.0]
               [Termination Attempts : 115 1 143 118
                Sum: 377, Avg: 94, Min: 1, Max: 143]
            [GC Worker End Time (ms): 523787.3 523787.3 523787.3 523787.3]
            [Other: 0.1 ms]
         [Clear CT: 0.1 ms]
         [Other: 2.4 ms]
            [Choose CSet: 0.0 ms]
         [ 302M->228M(977M)]
       [Times: user=0.47 sys=0.00, real=0.12 secs]
      [GC pause (young)#
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007fdce80c0042, pid=14190, tid=140586742822656
      #
      # JRE version: 7.0-b133
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (21.0-b03 mixed mode linux-amd64 compressed oops)
      # Problematic frame:
      # V [libjvm.so+0x457042] G1ParCopyHelper::copy_to_survivor_space(oopDesc*)+0x42
      #
      # 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/mark.christiaens/tmp/eclipse_Xtext_2.0_M5/hs_err_pid14190.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007fdce80c0042, pid=14190, tid=140586742822656
      #
      # JRE version: 7.0-b133
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (21.0-b03 mixed mode linux-amd64 compressed oops)
      # Problematic frame:
      # V [libjvm.so+0x457042] G1ParCopyHelper::copy_to_survivor_space(oopDesc*)+0x42
      #
      # 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://java.sun.com/webapps/bugreport/crash.jsp
      #

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

      Current thread (0x00007fdce0017000): GCTaskThread [stack: 0x0000000000000000,0x0000000000000000] [id=14195]

      siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000000000018

      Registers:
      RAX=0x00007fdce889ec60, RBX=0x0000000781fb74d8, RCX=0x0000000000000003, RDX=0x0000000000000000
      RSP=0x00007fdce6dd9d30, RBP=0x00007fdce6dd9d90, RSI=0x0000000781fb74d8, RDI=0x0000000000000010
      R8 =0x0000000000000001, R9 =0x00007fdce6dda930, R10=0x0000000000000029, R11=0x00007fdce8468630
      R12=0x00007fdce6dda930, R13=0x000000000000008d, R14=0x000000077eaa7ad4, R15=0x0000000000000032
      RIP=0x00007fdce80c0042, EFLAGS=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
        TRAPNO=0x000000000000000e

        Top of Stack: (sp=0x00007fdce6dd9d30)
      0x00007fdce6dd9d30: 00007fdce0003c50 0000000000000029
      0x00007fdce6dd9d40: 00007fdce6dda930 0000000000000001
      0x00007fdce6dd9d50: 0000007100000001 0000000000000001
      0x00007fdce6dd9d60: 00007fdce6dd9d90 0000000781fb74d8
      0x00007fdce6dd9d70: 00007fdce6dda930 000000000000008d
      0x00007fdce6dd9d80: 000000077eaa7ad4 0000000000000032
      0x00007fdce6dd9d90: 00007fdce6dd9dc0 00007fdce80c59eb
      0x00007fdce6dd9da0: 000000077eaa7ad5 000000077eaa7ad4
      0x00007fdce6dd9db0: 000000000000008d 00007fdce6ddaa00
      0x00007fdce6dd9dc0: 00007fdce6dd9e90 00007fdce80c0f88
      0x00007fdce6dd9dd0: 00007fdcaf0109f8 00007fdcaf0109e8
      0x00007fdce6dd9de0: 00007fdce6dd9e30 00007fdce6dd9e20
      0x00007fdce6dd9df0: 00007fdce6dd9e10 00007fdce6dd9e40
      0x00007fdce6dd9e00: 00007fdce6dd9e50 00007fdce6dd9fd0
      0x00007fdce6dd9e10: 00007fdc5014e1a8 00007fdc5014e210
      0x00007fdce6dd9e20: 0000000798736ba2 00007fdc5014e278
      0x00007fdce6dd9e30: 00007fdc5014e240 00007fdc5015e008
      0x00007fdce6dd9e40: 00007fdc84048750 00007fdc84048758
      0x00007fdce6dd9e50: 000000077eaa7ad5 00007fdc84048768
      0x00007fdce6dd9e60: 00007fdc84048770 00007fdce6dda6c0
      0x00007fdce6dd9e70: 0000000000000000 00007fdce6dda790
      0x00007fdce6dd9e80: 00007fdce6dda338 00007fdce6dd9fd0
      0x00007fdce6dd9e90: 00007fdce6dd9f60 00007fdce80c1933
      0x00007fdce6dd9ea0: 00007fdcd404f800 00007fdcd404f7f0
      0x00007fdce6dd9eb0: 00007fdcd404f830 00007fdcd404f860
      0x00007fdce6dd9ec0: 00007fdcd404f850 00007fdcd404f8c8
      0x00007fdce6dd9ed0: 00007fdcd404f8c0 00007fdcd404f8b8
      0x00007fdce6dd9ee0: 00007fdce6ddab50 00007fdce6dd9ee8
      0x00007fdce6dd9ef0: 00007fdce6dd9f10 00007fff69fff639
      0x00007fdce6dd9f00: 00007fdce6dd9f50 0000000000000000
      0x00007fdce6dd9f10: 00007fdce6dd9f30 00007fff69fff8ec
      0x00007fdce6dd9f20: 0000000000000000 0000000000000000

      Instructions: (pc=0x00007fdce80c0042)
      0x00007fdce80c0022: 45 84 c0 0f 84 95 04 00 00 48 8b 05 0e a5 7c 00
      0x00007fdce80c0032: 8b 56 08 8b 48 08 48 d3 e2 48 03 10 48 8d 7a 10
      0x00007fdce80c0042: 8b 77 08 83 fe 00 0f 8e 86 04 00 00 89 f0 c1 f8
      0x00007fdce80c0052: 03 49 8b 71 40 48 8b 3d aa ee 7c 00 4c 63 d0 48

      Register to memory mapping:

      RAX=0x00007fdce889ec60: <offset 0xc35c60> in /home/mark.christiaens/tmp/jdk1.7.0/jre/lib/amd64/server/libjvm.so at 0x00007fdce7c69000
      RBX=0x0000000781fb74d8 is an oop
      [J
       - klass: {type array long}
       - length: 39
      RCX=0x0000000000000003 is an unknown value
      RDX=0x0000000000000000 is an unknown value
      RSP=0x00007fdce6dd9d30 is an unknown value
      RBP=0x00007fdce6dd9d90 is an unknown value
      RSI=0x0000000781fb74d8 is an oop
      [J
       - klass: {type array long}
       - length: 39
      RDI=0x0000000000000010 is an unknown value
      R8 =0x0000000000000001 is an unknown value
      R9 =0x00007fdce6dda930 is an unknown value
      R10=0x0000000000000029 is an unknown value
      R11=0x00007fdce8468630: <offset 0x7ff630> in /home/mark.christiaens/tmp/jdk1.7.0/jre/lib/amd64/server/libjvm.so at 0x00007fdce7c69000
      R12=0x00007fdce6dda930 is an unknown value
      R13=0x000000000000008d is an unknown value
      R14=0x000000077eaa7ad4 is an oop
      java.lang.String
       - klass: 'java/lang/String'
      R15=0x0000000000000032 is an unknown value


      Stack: [0x0000000000000000,0x0000000000000000], sp=0x00007fdce6dd9d30, free space=137291741031k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x457042] G1ParCopyHelper::copy_to_survivor_space(oopDesc*)+0x42
      V [libjvm.so+0x45c9eb] void G1ParCopyClosure<false, (G1Barrier)2, false>::do_oop_work<unsigned int>(unsigned int*)+0x16b
      V [libjvm.so+0x457f88] G1ParScanThreadState::trim_queue()+0x408
      V [libjvm.so+0x458933] G1ParEvacuateFollowersClosure::do_void()+0x33
      V [libjvm.so+0x45f70e] G1ParTask::work(int)+0xb8e
      V [libjvm.so+0x8366c3] GangWorker::loop()+0x83
      V [libjvm.so+0x6d20c0] java_start(Thread*)+0x100


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

      Java Threads: ( => current thread )
        0x00007fdce1c4a800 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=14402, stack(0x00007fdcad2e9000,0x00007fdcad3ea000)]
        0x00007fdc5026b800 JavaThread "process reaper" daemon [_thread_blocked, id=14381, stack(0x00007fdcd41dc000,0x00007fdcd41f6000)]
        0x00007fdc3c086000 JavaThread "Worker-9" [_thread_blocked, id=14378, stack(0x00007fdcad4eb000,0x00007fdcad5ec000)]
        0x00007fdc5024b000 JavaThread "Process monitor" daemon [_thread_blocked, id=14299, stack(0x00007fdcad77b000,0x00007fdcad87c000)]
        0x00007fdc50249800 JavaThread "Input Stream Monitor" daemon [_thread_blocked, id=14298, stack(0x00007fdcad87c000,0x00007fdcad97d000)]
        0x00007fdc5014e000 JavaThread "Output Stream Monitor" daemon [_thread_in_native, id=14297, stack(0x00007fdcaef11000,0x00007fdcaf012000)]
        0x00007fdc5014f000 JavaThread "Output Stream Monitor" daemon [_thread_in_native, id=14296, stack(0x00007fdcaee10000,0x00007fdcaef11000)]
        0x00007fdc5015e000 JavaThread "process reaper" daemon [_thread_in_native, id=14295, stack(0x00007fdcd4037000,0x00007fdcd4051000)]
        0x00007fdce19ec000 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=14293, stack(0x00007fdcc073a000,0x00007fdcc083b000)]
        0x00007fdce18be000 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=14292, stack(0x00007fdcc0639000,0x00007fdcc073a000)]
        0x00007fdce05ae000 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=14291, stack(0x00007fdcd4b90000,0x00007fdcd4c91000)]
        0x00007fdc54006000 JavaThread "[ThreadPool Manager] - Idle Thread" daemon [_thread_blocked, id=14265, stack(0x00007fdcaf012000,0x00007fdcaf113000)]
        0x00007fdc5c005800 JavaThread "Worker-8" [_thread_blocked, id=14264, stack(0x00007fdcaf113000,0x00007fdcaf214000)]
        0x00007fdc5012c800 JavaThread "Worker-7" [_thread_blocked, id=14263, stack(0x00007fdcaf41a000,0x00007fdcaf51b000)]
        0x00007fdc6053c000 JavaThread "com.google.common.base.internal.Finalizer" daemon [_thread_blocked, id=14262, stack(0x00007fdcaf51b000,0x00007fdcaf61c000)]
        0x00007fdc604ff000 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=14261, stack(0x00007fdcaf61c000,0x00007fdcaf71d000)]
        0x00007fdc604b6800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=14260, stack(0x00007fdcaf71d000,0x00007fdcaf81e000)]
        0x00007fdc60024000 JavaThread "YJP-Plugin-RequestListener" daemon [_thread_in_native, id=14259, stack(0x00007fdcc0437000,0x00007fdcc0538000)]
        0x00007fdc3c003000 JavaThread "Worker-6" [_thread_blocked, id=14258, stack(0x00007fdcc0538000,0x00007fdcc0639000)]
        0x00007fdce0841000 JavaThread "Worker-2" [_thread_blocked, id=14254, stack(0x00007fdcd4c95000,0x00007fdcd4d96000)]
        0x00007fdce1399000 JavaThread "Bundle File Closer" daemon [_thread_blocked, id=14225, stack(0x00007fdcd4089000,0x00007fdcd418a000)]
        0x00007fdc5c006800 JavaThread "Worker-1" [_thread_blocked, id=14224, stack(0x00007fdcd41f6000,0x00007fdcd42f7000)]
        0x00007fdce0a98800 JavaThread "com.google.inject.internal.Finalizer" daemon [_thread_blocked, id=14222, stack(0x00007fdcd4480000,0x00007fdcd4581000)]
        0x00007fdce037a000 JavaThread "Java indexing" daemon [_thread_blocked, id=14221, stack(0x00007fdcd459a000,0x00007fdcd469b000)]
        0x00007fdce078e800 JavaThread "Worker-0" [_thread_blocked, id=14218, stack(0x00007fdcd54e9000,0x00007fdcd55ea000)]
        0x00007fdc68078000 JavaThread "Worker-JM" [_thread_blocked, id=14217, stack(0x00007fdcd52e7000,0x00007fdcd53e8000)]
        0x00007fdc68026800 JavaThread "[Timer] - Main Queue Handler" daemon [_thread_blocked, id=14216, stack(0x00007fdcd53e8000,0x00007fdcd54e9000)]
        0x00007fdc6800d000 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=14214, stack(0x00007fdcd55ea000,0x00007fdcd56eb000)]
        0x00007fdce046c000 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=14213, stack(0x00007fdcd56eb000,0x00007fdcd57ec000)]
        0x00007fdce0453800 JavaThread "State Data Manager" daemon [_thread_blocked, id=14212, stack(0x00007fdcd57ec000,0x00007fdcd58ed000)]
        0x00007fdce017b800 JavaThread "Service Thread" daemon [_thread_blocked, id=14210, stack(0x00007fdce4e88000,0x00007fdce4f89000)]
        0x00007fdce0178800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=14209, stack(0x00007fdce4f89000,0x00007fdce508a000)]
        0x00007fdce0176800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=14208, stack(0x00007fdce508a000,0x00007fdce518b000)]
        0x00007fdce0174000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=14207, stack(0x00007fdce518b000,0x00007fdce528c000)]
        0x00007fdce0172000 JavaThread "Surrogate Locker Thread (Concurrent GC)" daemon [_thread_blocked, id=14206, stack(0x00007fdce528c000,0x00007fdce538d000)]
        0x00007fdce0120800 JavaThread "Finalizer" daemon [_thread_blocked, id=14205, stack(0x00007fdce538d000,0x00007fdce548e000)]
        0x00007fdce011e800 JavaThread "Reference Handler" daemon [_thread_blocked, id=14204, stack(0x00007fdce548e000,0x00007fdce558f000)]
        0x00007fdce0007000 JavaThread "main" [_thread_in_native, id=14191, stack(0x00007fdce7b68000,0x00007fdce7c69000)]

      Other Threads:
        0x00007fdce0116800 VMThread [stack: 0x00007fdce558f000,0x00007fdce5690000] [id=14203]
        0x00007fdce0186000 WatcherThread [stack: 0x00007fdce4d87000,0x00007fdce4e88000] [id=14211]

      =>0x00007fdce0017000 (exited) GCTaskThread [stack: 0x0000000000000000,0x0000000000000000] [id=14195]

      VM state:at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
      [0x00007fdce0004e50] Threads_lock - owner thread: 0x00007fdce0116800
      [0x00007fdce0005350] Heap_lock - owner thread: 0x00007fdce037a000

      Heap
       garbage-first heap total 1000448K, used 631416K [0x0000000770000000, 0x00000007ad100000, 0x00000007f0000000)
        region size 1024K, 363 young (371712K), 1 survivors (1024K)
       compacting perm gen total 111616K, used 111540K [0x00000007f0000000, 0x00000007f6d00000, 0x0000000800000000)
         the space 111616K, 99% used [0x00000007f0000000, 0x00000007f6ced2e8, 0x00000007f6ced400, 0x00000007f6d00000)
      No shared spaces configured.

      Code Cache [0x00007fdcd8000000, 0x00007fdcd9010000, 0x00007fdce0000000)
       total_blobs=4407 nmethods=3625 adapters=731 free_code_cache=117684608 largest_free_block=59456

      Dynamic libraries:
      00400000-00401000 r-xp 00000000 fd:04 5126161 /home/mark.christiaens/tmp/jdk1.7.0/bin/java
      00600000-00601000 rw-p 00000000 fd:04 5126161 /home/mark.christiaens/tmp/jdk1.7.0/bin/java
      024ba000-024db000 rw-p 00000000 00:00 0 [heap]
      770000000-7ad100000 rw-p 00000000 00:00 0
      7ad100000-7f0000000 rw-p 00000000 00:00 0
      7f0000000-7f6d00000 rw-p 00000000 00:00 0
      7f6d00000-800000000 rw-p 00000000 00:00 0
      362a600000-362a771000 r-xp 00000000 fd:01 2097213 /lib64/libcrypto.so.1.0.0d
      362a771000-362a971000 ---p 00171000 fd:01 2097213 /lib64/libcrypto.so.1.0.0d
      362a971000-362a993000 rw-p 00171000 fd:01 2097213 /lib64/libcrypto.so.1.0.0d
      362a993000-362a997000 rw-p 00000000 00:00 0
      370ee00000-370eed0000 r-xp 00000000 fd:01 2097589 /lib64/libkrb5.so.3.3
      370eed0000-370f0cf000 ---p 000d0000 fd:01 2097589 /lib64/libkrb5.so.3.3
      370f0cf000-370f0da000 rw-p 000cf000 fd:01 2097589 /lib64/libkrb5.so.3.3
      370f200000-370f227000 r-xp 00000000 fd:01 2097556 /lib64/libk5crypto.so.3.1
      370f227000-370f427000 ---p 00027000 fd:01 2097556 /lib64/libk5crypto.so.3.1
      370f427000-370f429000 rw-p 00027000 fd:01 2097556 /lib64/libk5crypto.so.3.1
      370f600000-370f60a000 r-xp 00000000 fd:01 2097181 /lib64/libkrb5support.so.0.1
      370f60a000-370f809000 ---p 0000a000 fd:01 2097181 /lib64/libkrb5support.so.0.1
      370f809000-370f80a000 rw-p 00009000 fd:01 2097181 /lib64/libkrb5support.so.0.1
      370fa00000-370fa38000 r-xp 00000000 fd:01 2097595 /lib64/libgssapi_krb5.so.2.2
      370fa38000-370fc37000 ---p 00038000 fd:01 2097595 /lib64/libgssapi_krb5.so.2.2
      370fc37000-370fc39000 rw-p 00037000 fd:01 2097595 /lib64/libgssapi_krb5.so.2.2
      370fe00000-370fe54000 r-xp 00000000 fd:01 566454 /usr/lib64/libssl.so.1.0.0d
      370fe54000-3710053000 ---p 00054000 fd:01 566454 /usr/lib64/libssl


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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                johnc John Cuthbertson
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: