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

CMS: SIGSEGV during preclean phase



    • Subcomponent:
    • CPU:
    • OS:


      Problem Description : CMS crashed with SIGSEGV during preclean phase.

      JDK Release / Build : 6u10-b26
      HS Release / Build : hs11-b13
      Bits : product, fastdebug
      VM flavors : client (didn't check with server)
      VM Modes : -Xcomp, -Xbatch (didn't check with -Xmixed, -Xint)
      Java flags : -XX:CompileThreshold=2 -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled
      Platform(s) : solaris-sparc (didn't check other)


      Here is the relates stack trace from core file:

      (dbx) threads
            t@1 a l@1 ?() LWP suspended in __lwp_wait()
            t@2 a l@2 JavaMain() LWP suspended in ___lwp_cond_wait()
      o> t@3 b l@3 java_start() signal SIGABRT in __lwp_kill()
            t@4 b l@4 java_start() LWP suspended in ___lwp_cond_wait()
            t@5 b l@5 java_start() LWP suspended in ___lwp_cond_wait()
            t@6 b l@6 java_start() LWP suspended in ___lwp_cond_wait()
            t@7 b l@7 java_start() LWP suspended in ___lwp_cond_wait()
            t@8 b l@8 java_start() sleep on 0xfee569e0 in __lwp_park()
            t@9 b l@9 java_start() LWP suspended in ___lwp_cond_wait()
           t@10 b l@10 java_start() LWP suspended in ___lwp_cond_wait()
           t@11 b l@11 java_start() LWP suspended in _poll()

      (dbx) where
      current thread: t@3
      =>[1] __lwp_kill(0x0, 0x6, 0x0, 0xff2bc000, 0x15b6c, 0x1), at 0xff29fc54
        [2] raise(0x6, 0x0, 0xfe67f0d0, 0xfee5df10, 0x20db44, 0xd400), at 0xff250c48
        [3] abort(0x2d108, 0xfee56a34, 0x1000, 0xfee34000, 0x0, 0x29c00), at 0xff236d50
        [4] os::abort(0x1, 0x1, 0xcc4, 0xfee34000, 0x21774c, 0xc00), at 0xfec1c90c
        [5] VMError::report_and_die(0x0, 0x0, 0x1, 0xfee4937c, 0xfec2507c, 0x43c00), at 0xfecfd47c
        [6] JVM_handle_solaris_signal(0xb, 0xfe67f778, 0xfe67f4c0, 0x91000, 0x43c00, 0xfea599fc), at 0xfe98b5ac
        [7] __sighndlr(0xb, 0xfe67f778, 0xfe67f4c0, 0xfe98ab80, 0x0, 0x0), at 0xff385bac
        ---- called from signal handler with signal 11 (SIGSEGV) ------
        [8] CompactibleFreeListSpace::object_iterate_careful_m(0xda5fe2d4, 0xfe67f8e8, 0xfe67f994, 0x80, 0x200, 0xfa5fac00), at 0xfea599fc
        [9] CMSCollector::preclean_card_table(0x45, 0x35c30, 0xfee3e6f0, 0xfa60a000, 0xfa5fae00, 0x361f0), at 0xfea71ecc
        [10] CMSCollector::preclean_work(0x43470, 0xfee414d4, 0x361f0, 0xfee414d8, 0x0, 0x0), at 0xfea7158c
        [11] CMSCollector::abortable_preclean(0x43470, 0x0, 0x6, 0xfee5df10, 0x75, 0x2e38), at 0xfea70e90
        [12] CMSCollector::collect_in_background(0x43470, 0x1, 0xfea6c188, 0x0, 0x0, 0x43898), at 0xfea6c558
        [13] ConcurrentMarkSweepThread::run(0x0, 0x0, 0x0, 0xfee3f49c, 0xfee47b84, 0xfee41464), at 0xfea7d888
        [14] java_start(0x43c00, 0x2efb, 0x212c4, 0xfee34000, 0xfee48c7c, 0x21000), at 0xfec1bccc

      hs_err file contains:
      # An unexpected error has been detected by Java Runtime Environment:
      # SIGSEGV (0xb) at pc=0xfea599fc, pid=12027, tid=3
      # Java VM: Java HotSpot(TM) Client VM (11.0-b13 mixed mode solaris-sparc)
      # Problematic frame:
      # V [libjvm.so+0x2599fc]
      # 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 (0x00043c00): ConcurrentGCThread [stack: 0xfe600000,0xfe680000] [id=3]

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

       O0=0xf8000d60 O1=0xfa5f6a38 O2=0xfe67f858 O3=0xfea7e3dc
       O4=0xf8000dd8 O5=0xfee3f558 O6=0xfe67f7f8 O7=0xfea599dc
       G1=0x00c004cc G2=0xf5000000 G3=0x0000e000 G4=0x00004000
       G5=0x00000000 G6=0x00000000 G7=0xff330400 Y=0x00000000
       PC=0xfea599fc nPC=0xfea599ac

      Top of Stack: (sp=0xfe67f7f8)
      0xfe67f7f8: 00027970 00338000 fa5fae00 00000001
      0xfe67f808: 00000001 fea775c8 fee3f348 e0003580
      0xfe67f818: da5fe2d4 fe67f8e8 fe67f994 00000080
      0xfe67f828: 00000200 fa5fac00 fe67f860 fea71ecc
      0xfe67f838: fe67f860 fea77aec 00000008 00043c00
      0xfe67f848: fee481ec fee413a8 f8000000 00982800
      0xfe67f858: fa5fac00 00000080 00043470 000442d4
      0xfe67f868: 00043ee8 00043808 00043ee0 00000080

      Instructions: (pc=0xfea599fc)
      0xfea599ec: af 2a 20 02 b0 06 00 17 80 a6 00 12 2a bf ff ed
      0xfea599fc: e8 06 20 04 b0 10 20 00 81 c7 e0 08 81 e8 20 00
      Stack: [0xfe600000,0xfe680000], sp=0xfe67f7f8, free space=509k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x2599fc]Warning: /net/sqenfs-1.sfbay/export1/jdk/vm/6u10/promoted/b26/solaris-sparc/jre/lib/sparc/c
      lient/libjvm.so does not exist or it has been stripped

      V [libjvm.so+0x271ed4]
      V [libjvm.so+0x271594]
      V [libjvm.so+0x270e98]
      V [libjvm.so+0x26c560]
      V [libjvm.so+0x27d890]
      V [libjvm.so+0x41bcd4]

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

      Java Threads: ( => current thread )
        0x0010b000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10, stack(0xf3200000,0xf3280000)]
        0x000de000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=9, stack(0xf3300000,0xf3380000)]
        0x000dc800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=8, stack(0xf3900000,0xf3980000)]
        0x000db400 JavaThread "Surrogate Locker Thread (CMS)" daemon [_thread_blocked, id=7, stack(0xf3a00000,0xf3a80000
        0x000c5800 JavaThread "Finalizer" daemon [_thread_blocked, id=6, stack(0xf3b00000,0xf3b80000)]
        0x000c3800 JavaThread "Reference Handler" daemon [_thread_blocked, id=5, stack(0xfe500000,0xfe580000)]
        0x00031400 JavaThread "Main Thread" [_thread_in_vm, id=2, stack(0xfef80000,0xff000000)]

      Other Threads:
        0x000c0000 VMThread [stack: 0xfc080000,0xfc100000] [id=4]
        0x0010d400 WatcherThread [stack: 0xf3100000,0xf3180000] [id=11]

      =>0x00043c00 (exited) ConcurrentGCThread [stack: 0xfe600000,0xfe680000] [id=3]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
      [0x000309c0] UNKNOWN - owner thread: 0x00031400

       def new generation total 14784K, used 432K [0xf4000000, 0xf5000000, 0xf5000000)
        eden space 13184K, 1% used [0xf4000000, 0xf4027970, 0xf4ce0000)
        from space 1600K, 17% used [0xf4e70000, 0xf4eb48b8, 0xf5000000)
        to space 1600K, 0% used [0xf4ce0000, 0xf4ce0000, 0xf4e70000)
       concurrent mark-sweep generation total 49152K, used 0K [0xf5000000, 0xf8000000, 0xf8000000)
       concurrent-mark-sweep perm gen total 38952K, used 38166K [0xf8000000, 0xfa60a000, 0xfc000000)



          Issue Links



              • Assignee:
                jmasa Jon Masamitsu (Inactive)
                epavlova Ekaterina Pavlova
              • Votes:
                0 Vote for this issue
                3 Start watching this issue


                • Created: