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

CMS: gc/gctests/FinalizeLock fails with SIGSEGV

XMLWordPrintable

    • gc
    • x86
    • solaris_10

      Test gc/gctests/FinalizeLock intermittently fails on solaris10-x86 with options
      -client -Xmixed -XX:+UseConcMarkSweepGC

      Failure log is provided below

      It seems to me that this failure is similar to CR 6482915 and 6635560

      This bug is reproducible only with -XX:+UseConcMarkSweepGC option.

      ;; Using jvm: "/export/jdk/jdk1.6.0_19/jre/lib/i386/client/libjvm.so"
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0xfe90dcd4, pid=29026, tid=6
      #
      # JRE version: 6.0_19-b04
      # Java VM: Java HotSpot(TM) Client VM (16.2-b04 mixed mode solaris-x86 )
      # Problematic frame:
      # V [libjvm.so+0x10dcd4]
      #
      # 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 (0x0815cc00): VMThread [stack: 0xf217f000,0xf21ff000] [id=6]

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

      Registers:
      EAX=0xe822e118, EBX=0xf29b2000, ECX=0x00000001, EDX=0xf29b1ff0
      ESP=0xf21fe924, EBP=0xf21fe934, ESI=0xf2ee0000, EDI=0xf2ee0000
      EIP=0xfe90dcd4, EFLAGS=0x00010286

      Top of Stack: (sp=0xf21fe924)
      0xf21fe924: fe90dc70 08076cb8 f21fe990 f81ffbc8
      0xf21fe934: f21fe944 fe90dc84 080774e0 f21fe910
      0xf21fe944: f21fe96c fe9e947a f21fe990 080774e0
      0xf21fe954: f21fea20 00000000 08073ac0 fecefac0
      0xf21fe964: f21fe980 f21fe980 f21fe994 fe90dc69
      0xf21fe974: 08076cb8 f21fe990 00000001 0815b7f4
      0xf21fe984: 08073a70 00000001 08073ac4 fece8474
      0xf21fe994: f21fe9a4 fe90dc40 08076cb8 fecefae0

      Instructions: (pc=0xfe90dcd4)
      0xfe90dcc4: 03 83 f8 03 74 47 3b df 73 1f 8b 43 04 83 c0 08
      0xfe90dcd4: 8b 08 8b 49 68 53 50 ff d1 83 c4 08 8d 1c 83 3b
      ;; fe90dcc4 03 83 f8 03 74 47 add 0x477403f8(%ebx),%eax
      ;; fe90dcca 3b df cmp %edi,%ebx
      ;; fe90dccc 73 1f jae 0xfe90dced
      ;; fe90dcce 8b 43 04 mov 0x4(%ebx),%eax
      ;; fe90dcd1 83 c0 08 add $0x8,%eax
      ;; ---------------
      ;; fe90dcd4 8b 08 mov (%eax),%ecx
      ;; fe90dcd6 8b 49 68 mov 0x68(%ecx),%ecx
      ;; fe90dcd9 53 push %ebx
      ;; fe90dcda 50 push %eax
      ;; fe90dcdb ff d1 call *%ecx
      ;; fe90dcdd 83 c4 08 add $0x8,%esp
      ;; fe90dce0 8d 1c 83 lea (%ebx,%eax,4),%ebx
      ;; fe90dce3 3b ff cmp %edi,%edi
      ;;
      Stack: [0xf217f000,0xf21ff000], sp=0xf21fe924, free space=1fefecf6aeck
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x10dcd4];; __1cQCompactibleSpacePadjust_pointers6M_v_+0x48
      V [libjvm.so+0x10dc84];; __1cVAdjustPointersClosureIdo_space6MpnFSpace__v_+0x14
      V [libjvm.so+0x1e947a];; __1cQDefNewGenerationNspace_iterate6MpnMSpaceClosure_b_v_+0x1e
      V [libjvm.so+0x10dc69];; __1cKGenerationPadjust_pointers6M_v_+0x21
      V [libjvm.so+0x10dc40];; __1cYGenAdjustPointersClosureNdo_generation6MpnKGeneration__v_+0x14
      V [libjvm.so+0x21b725];; __1cQGenCollectedHeapSgeneration_iterate6Mpn0AKGenClosure_b_v_+0x65
      V [libjvm.so+0x10d7c3];; __1cMGenMarkSweepRmark_sweep_phase36Fi_v_+0x13f
      V [libjvm.so+0x21c0b7];; __1cMGenMarkSweepTinvoke_at_safepoint6FipnSReferenceProcessor_b_v_+0xd7
      V [libjvm.so+0x1d5821];; __1cMCMSCollectorSdo_compaction_work6Mb_v_+0x175
      V [libjvm.so+0x1d53a4];; __1cMCMSCollectorbBacquire_control_and_collect6Mbb_v_+0x1a8
      V [libjvm.so+0x1d5186];; __1cMCMSCollectorHcollect6MbbIb_v_+0x3e
      V [libjvm.so+0x1d513f];; __1cbDConcurrentMarkSweepGenerationHcollect6MbbIb_v_+0x27
      V [libjvm.so+0x21a47d];; __1cQGenCollectedHeapNdo_collection6MbbIbi_v_+0x555
      V [libjvm.so+0x1bfc98];; __1cSGenCollectorPolicyZsatisfy_failed_allocation6MIb_pnIHeapWord__+0xb0
      V [libjvm.so+0x21a87e];; __1cQGenCollectedHeapZsatisfy_failed_allocation6MIb_pnIHeapWord__+0x1e
      V [libjvm.so+0xfb6f5];; __1cbAVM_GenCollectForAllocationEdoit6M_v_+0x8d
      V [libjvm.so+0xebabe];; __1cMVM_OperationIevaluate6M_v_+0x76
      V [libjvm.so+0xeb990];; __1cIVMThreadSevaluate_operation6MpnMVM_Operation__v_+0xac
      V [libjvm.so+0xa573a];; __1cIVMThreadEloop6M_v_+0x27a
      V [libjvm.so+0xa53cc];; __1cIVMThreadDrun6M_v_+0x88
      V [libjvm.so+0x329ce1];; java_start+0xf9
      C [libc.so.1+0xa71d0];; _thr_setup+0x4e
      C [libc.so.1+0xa74c0];; _lwp_start+0x0

      VM_Operation (0xf14ab674): GenCollectForAllocation, mode: safepoint, requested by thread 0x081c5c00


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

      Java Threads: ( => current thread )
        0x081c5c00 JavaThread "gc.gctests.FinalizeLock.FinalizeLock$SyncMethodCaller@1d1acd3" [_thread_blocked, id=15, stack(0xf145c000,0xf14ac000)]
        0x081c5000 JavaThread "gc.gctests.FinalizeLock.FinalizeLock$GarbageCreator@723d7c" [_thread_blocked, id=14, stack(0xf14ad000,0xf14fd000)]
        0x0817cc00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=12, stack(0xf1a17000,0xf1a67000)]
        0x0817a000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=11, stack(0xf157f000,0xf15ff000)]
        0x08178800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10, stack(0xf208c000,0xf20dc000)]
        0x08177000 JavaThread "Surrogate Locker Thread (CMS)" daemon [_thread_blocked, id=9, stack(0xf20dd000,0xf212d000)]
        0x08163c00 JavaThread "Finalizer" daemon [_thread_blocked, id=8, stack(0xf212e000,0xf217e000)]
        0x0815f000 JavaThread "Reference Handler" daemon [_thread_blocked, id=7, stack(0xfc218000,0xfc268000)]
        0x08070400 JavaThread "main" [_thread_blocked, id=2, stack(0xfe63f000,0xfe68f000)]

      Other Threads:
      =>0x0815cc00 VMThread [stack: 0xf217f000,0xf21ff000] [id=6]
        0x0817f800 WatcherThread [stack: 0xf14fe000,0xf157e000] [id=13]

      VM state:at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
      [0x0806f7b8] Threads_lock - owner thread: 0x0815cc00
      [0x0806fc30] Heap_lock - owner thread: 0x081c5c00

      Heap
       par new generation total 14784K, used 14783K [0xf2200000, 0xf3200000, 0xf3200000)
        eden space 13184K, 100% used [0xf2200000, 0xf2ee0000, 0xf2ee0000)
        from space 1600K, 99% used [0xf2ee0000, 0xf306fd10, 0xf3070000)
        to space 1600K, 0% used [0xf3070000, 0xf3070000, 0xf3200000)
       concurrent mark-sweep generation total 81920K, used 81919K [0xf3200000, 0xf8200000, 0xf8200000)
       concurrent-mark-sweep perm gen total 12288K, used 1893K [0xf8200000, 0xf8e00000, 0xfc200000)

            ysr Y. Ramakrishna
            mmikhalk Mikhail Mikhalkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: