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

JVM crash at ContiguousSpace::block_size(const HeapWord*)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 1.4-pool
    • 1.4.2_13
    • hotspot
    • gc
    • generic
    • solaris_9

      Customer got a crash using 1.4.2_12 on Solaris/sparc. Original hs_err_pid3422.log file is attached to this CR. Decoded/Demangled stack trace is below.

      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # SIGBUS (0xa) at pc=0xfeccf360, pid=3422, tid=3
      #
      # Java VM: Java HotSpot(TM) Server VM (1.4.2_12-b03 mixed mode)
      # Problematic frame:
      # V [libjvm.so+0xcf360]
      #

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

      Current thread (0x000a1548): GCTaskThread [id=3]

      siginfo:si_signo=10, si_errno=0, si_code=1, si_addr=0x00000055

      Registers:
       O0=0xf0ed6c00 O1=0xf0ed6c00 O2=0xfc77f700 O3=0xfc77f670
       O4=0xfc77fa78 O5=0x00000000 O6=0xfc77f650 O7=0xfed0789c
       G1=0x00005000 G2=0x00000005 G3=0xf0ed6c38 G4=0x00000000
       G5=0xf0ed6c30 G6=0x00000000 G7=0xff350400 Y=0x00000000
       PC=0xfeccf360 nPC=0xfeccf364


      Top of Stack: (sp=0xfc77f650)
      0xfc77f650: fed505c0 ff0f2b48 00000000 f02b25f0
      0xfc77f660: f0edba18 f0edb9e0 ff1f6964 00000000
      0xfc77f670: 000c4e00 f0ed6c00 000061b6 fe810000
      0xfc77f680: fc77f700 00a8c820 fc77f6b0 fece76c8
      0xfc77f690: fed07714 ff1aa000 f0edba00 f0edba18
      0xfc77f6a0: f0edb9e0 ffffffff 000001ac ff1f6834
      0xfc77f6b0: feccf2e8 fc77f71c fc77f718 f0ed6c00
      0xfc77f6c0: f0ed6c00 ffffffff 000001ac ff1f6834

      Instructions: (pc=0xfeccf360)
      0xfeccf350: 91 e8 00 04 c4 01 60 08 86 01 60 08 92 10 00 08
      0xfeccf360: e0 00 a0 50 9f c4 00 00 90 10 00 03 88 10 00 08

      00000000feccf350 91 e8 00 04 c4 01 60 08 86 01 60 08 92 10 00 08
      ---------------
      00000000feccf360 e0 00 a0 50 ld [ %g2 + 0x50 ], %l0
      00000000feccf364 9f c4 00 00 call %l0
      00000000feccf368 90 10 00 03 mov %g3, %o0
      00000000feccf36c 88 10 00 08 mov %o0, %g4

      Stack: [0x00000000,0x00000000), sp=0xfc77f650, free space=-57859k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)

      V [libjvm.so+0xcf360] unsigned ContiguousSpace::block_size(const HeapWord*)const+0x78
      V [libjvm.so+0xe76d0] HeapWord*BlockOffsetArrayContigSpace::block_start_unsafe(const void*)const+0x98
      V [libjvm.so+0x107460] void DirtyCardToOopClosure::do_MemRegion(MemRegion)+0x68
      V [libjvm.so+0x1079c4] void ClearNoncleanCardWrapper::do_MemRegion(MemRegion)+0x100
      V [libjvm.so+0x229388] void CardTableModRefBS::non_clean_card_iterate_work(MemRegion,MemRegionClosure*,int)+0x1c8
      V [libjvm.so+0x33a7f0] void CardTableModRefBS::process_stride(Space*,MemRegion,int,int,DirtyCardToOopClosure*,MemRegionClosure*,int,signed char**,unsigned,unsigned)+0x178
      V [libjvm.so+0x339e24] void CardTableModRefBS::par_non_clean_card_iterate_work(Space*,MemRegion,DirtyCardToOopClosure*,MemRegionClosure*,int,int)+0xb8
      V [libjvm.so+0x229630] void CardTableModRefBS::non_clean_card_iterate(Space*,MemRegion,DirtyCardToOopClosure*,MemRegionClosure*,int)+0x7c
      V [libjvm.so+0x229520] void CardTableRS::younger_refs_in_space_iterate(Space*,OopsInGenClosure*)+0xa0
      V [libjvm.so+0x229438] void OneContigSpaceCardGeneration::younger_refs_iterate(OopsInGenClosure*)+0x6c
      V [libjvm.so+0x227928] void GenCollectedHeap::process_strong_roots(int,int,int,GenCollectedHeap::ClassScanningOption,OopsInGenClosure*,OopsInGenClosure*)+0x318
      V [libjvm.so+0x4c3300] void ParNewGenTask::work(int)+0x3e0
      V [libjvm.so+0x521b94] void GangWorker::run()+0xb4
      V [libjvm.so+0x4b861c] java_start+0x13c


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

      Java Threads: ( => current thread )
        0x00722bc0 JavaThread "File Processor" [_thread_blocked, id=21015]
        0x00c0ac10 JavaThread "Worker#4" [_thread_blocked, id=21014]
        0x006dd240 JavaThread "Worker#3" [_thread_blocked, id=21013]
        0x00aadf68 JavaThread "Worker#2" [_thread_blocked, id=21012]
        0x00e2d180 JavaThread "Worker#1" [_thread_blocked, id=21011]
        0x00a18260 JavaThread "Worker#0" [_thread_blocked, id=21010]
        0x0075bbf8 JavaThread "FileLogger" daemon [_thread_blocked, id=20996]
        0x00820110 JavaThread "File Processor" [_thread_blocked, id=20988]
        0x008dfb88 JavaThread "Worker#4" [_thread_blocked, id=20987]
        0x00c0b630 JavaThread "Worker#3" [_thread_blocked, id=20986]
        0x00adb340 JavaThread "Worker#2" [_thread_blocked, id=20985]
        0x008c5800 JavaThread "Worker#1" [_thread_blocked, id=20984]
        0x0080bbc8 JavaThread "Worker#0" [_thread_blocked, id=20983]
        0x009859d0 JavaThread "FileLogger" daemon [_thread_blocked, id=18080]
        0x00960b20 JavaThread "Poller _opt_redknee_mnt_TO5IPCG_ctr2" [_thread_blocked, id=11283]
        0x00439d88 JavaThread "Poller _opt_redknee_mnt_TO5IPCG_ctr1" [_thread_blocked, id=11282]
        0x00807178 JavaThread "FileLogger" daemon [_thread_blocked, id=11144]
        0x0088e468 JavaThread "com.redknee.framework.core.socket.SockletServer-9871" [_thread_blocked, id=86]
        0x00037898 JavaThread "DestroyJavaVM" [_thread_blocked, id=1]
        0x00e7a8a8 JavaThread "Thread-24" daemon [_thread_blocked, id=84]
        0x00e79e58 JavaThread "ER525PostProcessingWorker:15" [unknown thread state, id=83]
        0x00e79340 JavaThread "ER525PostProcessingWorker:14" [_thread_blocked, id=82]
        0x00e788f0 JavaThread "ER525PostProcessingWorker:13" [_thread_blocked, id=81]
        0x00a1b6e8 JavaThread "ER525PostProcessingWorker:12" [_thread_blocked, id=80]
        0x0085c8f8 JavaThread "ER525PostProcessingWorker:11" [_thread_blocked, id=79]
        0x0085c750 JavaThread "ER525PostProcessingWorker:10" [_thread_blocked, id=78]
        0x0088fea0 JavaThread "ER525PostProcessingWorker:9" [_thread_blocked, id=77]
        0x00b144c0 JavaThread "ER525PostProcessingWorker:8" [_thread_blocked, id=76]
        0x00c2e428 JavaThread "ER525PostProcessingWorker:7" [_thread_blocked, id=75]
        0x00c2e280 JavaThread "ER525PostProcessingWorker:6" [_thread_blocked, id=74]
        0x00a188a8 JavaThread "ER525PostProcessingWorker:5" [_thread_blocked, id=73]
        0x00a17f38 JavaThread "ER525PostProcessingWorker:4" [_thread_blocked_trans, id=72]
        0x00c2d868 JavaThread "ER525PostProcessingWorker:3" [_thread_blocked, id=71]
        0x00833d00 JavaThread "ER525PostProcessingWorker:2" [_thread_blocked, id=70]
        0x003df920 JavaThread "ER525PostProcessingWorker:1" [_thread_blocked, id=69]
        0x00b12b18 JavaThread "ER525PostProcessingWorker:0" [_thread_blocked, id=68]
        0x00a74b28 JavaThread "TP-Monitor" daemon [_thread_blocked, id=64]
        0x00839c28 JavaThread "TP-Processor5" daemon [_thread_blocked, id=63]
        0x00988078 JavaThread "TP-Processor4" daemon [_thread_blocked, id=62]
        0x00987ed0 JavaThread "TP-Processor3" daemon [_thread_blocked, id=61]
        0x00ada3f0 JavaThread "TP-Processor2" daemon [_thread_blocked, id=60]
        0x00ada248 JavaThread "TP-Processor1" daemon [_thread_blocked, id=59]
        0x00b163e0 JavaThread "StandardManager[]" daemon [_thread_blocked, id=58]
        0x008e3dd8 JavaThread "WebappLoader[]" daemon [_thread_blocked, id=57]
        0x00423200 JavaThread "StandardManager[/AppDatamartCore]" daemon [_thread_blocked, id=55]
        0x00723650 JavaThread "ChannelLogger ForwardingThread" daemon [_thread_blocked, id=48]
        0x007af4d0 JavaThread "NFSMonitorThread[/opt/redknee/mnt/TO5IPCG_ctr1]" [_thread_blocked, id=39]
        0x007bebe0 JavaThread "NFSMonitorThread[/opt/redknee/mnt/TO5IPCG_ctr2]" [_thread_blocked, id=36]
        0x0076f258 JavaThread "Poller _opt_redknee_home_rkadm_501" [_thread_blocked, id=34]
        0x006df938 JavaThread "NFSMonitorThread[/opt/redknee/home/rkadm/501]" [_thread_blocked, id=33]
        0x0080fac8 JavaThread "SnmpPortal-0" [_thread_blocked, id=31]
        0x0080aa20 JavaThread "SnmpTimer" [_thread_blocked, id=30]
        0x008100f8 JavaThread "WebappLoader[/AppDatamartCore]" daemon [_thread_blocked, id=29]
        0x00724390 JavaThread "HearBeatServer" daemon [_thread_blocked, id=25]
        0x005cae80 JavaThread "Scheduler" daemon [_thread_blocked, id=24]
        0x005cb560 JavaThread "AutoPurgeHome-PurgerThread" [_thread_blocked, id=23]
        0x007c8060 JavaThread "GC Daemon" daemon [_thread_blocked, id=22]
        0x004f59a0 JavaThread "RMI Reaper" [_thread_blocked, id=21]
        0x004f5758 JavaThread "FileLogger" daemon [_thread_blocked, id=20]
        0x00813908 JavaThread "RMI TCP Accept-8204" daemon [_thread_blocked, id=19]
        0x0076f0b0 JavaThread "Thread-4" daemon [_thread_blocked, id=18]
        0x003effd8 JavaThread "ChannelLogger ForwardingThread" daemon [_thread_blocked, id=17]
        0x004227c8 JavaThread "FileLogger" daemon [_thread_blocked, id=16]
        0x002d6a38 JavaThread "CompilerThread1" daemon [_thread_blocked, id=13]
        0x002d5018 JavaThread "CompilerThread0" daemon [_thread_blocked, id=12]
        0x002d43a8 JavaThread "AdapterThread" daemon [_thread_blocked, id=11]
        0x002d3770 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10]
        0x00111208 JavaThread "Finalizer" daemon [_thread_blocked, id=8]
        0x001100a0 JavaThread "Reference Handler" daemon [_thread_blocked, id=7]

      Other Threads:
        0x0010fa58 VMThread [id=6]
        0x002d9548 WatcherThread [id=14]

      VM state:at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
      [0x000371b0/0x000371e0] Threads_lock - owner thread: 0x0010fa58
      [0x00034ab8/0x000374c8] Heap_lock - owner thread: 0x00b12b18

      Heap
       par new generation total 42368K, used 42251K [0xed800000, 0xf02a0000, 0xf02a0000)
        eden space 41088K, 100% used [0xed800000, 0xf0020000, 0xf0020000)
        from space 1280K, 90% used [0xf0160000, 0xf0282db0, 0xf02a0000)
        to space 1280K, 66% used [0xf0020000, 0xf00f3ce0, 0xf0160000)
       tenured generation total 87424K, used 13098K [0xf02a0000, 0xf5800000, 0xf5800000)
         the space 87424K, 14% used [0xf02a0000, 0xf0f6a860, 0xf0f6aa00, 0xf5800000)
       compacting perm gen total 16384K, used 14341K [0xf5800000, 0xf6800000, 0xf9800000)
         the space 16384K, 87% used [0xf5800000, 0xf6601660, 0xf6601800, 0xf6800000)

      Dynamic libraries:
      0x00010000 /usr/j2sdk1.4.2_12/bin/java
      0xff370000 /lib/libthread.so.1
      0xff3fa000 /lib/libdl.so.1
      0xff280000 /lib/libc.so.1
      0xff3a0000 /usr/platform/SUNW,Netra-440/lib/libc_psr.so.1
      0xfec00000 /usr/j2sdk1.4.2_12/jre/lib/sparc/server/libjvm.so
      0xff240000 /lib/libCrun.so.1
      0xff220000 /lib/libsocket.so.1
      0xfeb00000 /lib/libnsl.so.1
      0xfeab0000 /lib/libm.so.1
      0xfebd0000 /lib/libsched.so.1
      0xfea90000 /lib/libmp.so.2
      0xfea50000 /usr/j2sdk1.4.2_12/jre/lib/sparc/native_threads/libhpi.so
      0xfea10000 /usr/j2sdk1.4.2_12/jre/lib/sparc/libverify.so
      0xfe9c0000 /usr/j2sdk1.4.2_12/jre/lib/sparc/libjava.so
      0xfe9a0000 /usr/j2sdk1.4.2_12/jre/lib/sparc/libzip.so
      0xfe2b0000 /usr/lib/locale/en_CA.ISO8859-1/en_CA.ISO8859-1.so.2
      0xed0a0000 /usr/j2sdk1.4.2_12/jre/lib/sparc/libnet.so
      0xec160000 /usr/j2sdk1.4.2_12/jre/lib/sparc/libnio.so
      0xec140000 /lib/librt.so.1
      0xebfe0000 /lib/libaio.so.1
      0xebee0000 /lib/libmd5.so.1
      0xebec0000 /usr/lib/libsendfile.so.1
      0xebea0000 /lib/nss_files.so.1

      VM Arguments:
      jvm_args: -Drk.home=/opt/redknee/app/datamart/core/current -Djava.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory -Djava.naming.provider.url=file:///opt/redknee/app/datamart/core/current/var/dbinfo -Dorg.omg.CORBA.ORBInitialPort=20000 -Dorg.omg.CORBA.ORBInitialHost=localhost -Drkacl.file=/opt/redknee/etc/rkacl.xml -Djava.awt.headless=true -Xms512m -Xmx512m -Dsun.rmi.dgc.server.gcInterval=86400000 -Dsun.rmi.dgc.client.gcInterval=86400000 -XX:+UseParNewGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -verbose:gc -Xloggc://opt/redknee/app/datamart/core/current/log/gcstats.log -Djava.ext.dirs=/opt/redknee/app/datamart/core/current/lib:/usr/j2sdk1.4.2_12/lib:/usr/j2sdk1.4.2_12/jre/lib/ext -Djava.system.class.loader=com.redknee.app.datamart.core.pluggins.ProxySystemClassLoader -Xms128M -Xmx128M
      java_command: com.redknee.app.datamart.core.AppDatamartCore
      Launcher Type: SUN_STANDARD

      Environment Variables:
      JAVA_HOME=/usr/j2sdk1.4.2_12
      PATH=/usr/bin:/usr/ucb:/usr/local/bin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/opt/redknee/home/rkadm/bin:/u01/app/oracle/products/9.2.0.1.0/bin:/opt/netscape:/opt/ADC/access/bin:/opt/redknee/bin:/opt/redknee/tool/corba/1_0_2/bin:/opt/redknee/app/datamart/core/current/bin:/opt/redknee/service/rek/current/bin:/opt/redknee/service/rek/current/cfg/bin
      LD_LIBRARY_PATH=/usr/j2sdk1.4.2_12/jre/lib/sparc/server:/usr/j2sdk1.4.2_12/jre/lib/sparc:/usr/j2sdk1.4.2_12/jre/../lib/sparc::/lib:/usr/lib:/usr/local/lib:/usr/ucblib:/opt/redknee/lib:/u01/app/oracle/products/9.2.0.1.0/lib:/opt/ADC/access/lib:/usr/dt/lib:/opt/redknee/lib:/lib:/usr/lib:/usr/local/lib:/usr/ucblib:/opt/redknee/lib:/u01/app/oracle/products/9.2.0.1.0/lib:/opt/ADC/access/lib:/usr/dt/lib:/opt/redknee/lib:/lib:/usr/lib:/usr/local/lib:/usr/ucblib:/opt/redknee/lib:/u01/app/oracle/products/9.2.0.1.0/lib:/opt/ADC/access/lib:/usr/dt/lib:/opt/redknee/lib
      SHELL=/usr/bin/ksh


      --------------- S Y S T E M ---------------

      OS: Solaris 9 9/04 s9s_u7wos_09 SPARC
                 Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
                              Use is subject to license terms.
                                   Assembled 29 June 2004

      uname:SunOS 5.9 Generic_118558-34 sun4u (T2 libthread)
      rlimit: STACK 8192k, CORE infinity, NOFILE 65536, AS infinity
      load average:4.97 4.75 3.38

      CPU:total 4 has_v8, has_v9, has_vis1, has_vis2, is_ultra3

      Memory: 8k page, physical 8388608k(6125424k free)

      vm_info: Java HotSpot(TM) Server VM (1.4.2_12-b03) for solaris-sparc, built on May 9 2006 12:15:23 by unknown with Workshop 5.2 compat=5

            kevinw Kevin Walls
            jloefflm Johann Löfflmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: