JDK-6181110 : JVM(1.4.2_05) caused SEGV at PSPromotionManager::copy_to_survivor_space
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version:
    1.4.2_04,1.4.2_05,1.4.2_06,1.4.2_07,1.4.2_08,5.0,5.0u2,5.0u3,6 1.4.2_04,1.4.2_05,1.4.2_06,1.4.2_07,1.4.2_08,5.0,5.0u2,5.0u3,6
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS:
    linux,linux_redhat_3.0,linux_redhat_8.0,solaris,solaris_7,solaris_8,solaris_9 linux,linux_redhat_3.0,linux_redhat_8.0,solaris,solaris_7,solaris_8,solaris_9
  • CPU: x86,sparc
  • Submitted: 2004-10-19
  • Updated: 2010-12-03
  • Resolved: 2005-04-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6
1.4.2_09Fixed 6 b31Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Description
The hardware configuration, software configuration, stack trace and
the output of hs_err_xx file are below.

<Hardware configuration> *************************************************

 Model:Sun Fire 280R(750Mhzx2)
 Memory: 2048 MB

<Software configuration> *************************************************
 o OS: Solaris8/Sparc(108528-06)
 o java version "1.4.2_05"
     Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
     Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)

 o Java option: 

    -server -Xms1024m -Xmx1024m -XX:MaxNewSize=256m -XX:NewSize=256m
    -XX:MaxPermSize=256m -XX:+UseParallelGC

 o WebLogic Server 8.1 SP3  Wed Jun 30 00:22:55 PDT 2004 404973
     WebLogic XMLX Module 8.1 SP3  Wed Jun 30 00:22:55 PDT 2004 404973

<stack trace at SEGV dump> ***********************************************

(dbx) mainargs
main's fp =  0xffbef728
argc =  16
argv =  0xffbef78c
envp = 0xffbef7d0
Arguments:
0xffbef8dc:     "java"
0xffbef8e1:     "-server"
0xffbef8e9:     "-Xms1024m"
0xffbef8f3:     "-Xmx1024m"
0xffbef8fd:     "-XX:MaxNewSize=256m"
0xffbef911:     "-XX:NewSize=256m"
0xffbef922:     "-XX:MaxPermSize=256m"
0xffbef937:     "-XX:+UseParallelGC"
0xffbef94a:     "-Dweblogic.RootDirectory=/pia/piadomain"
0xffbef972:     "-Dbea.home=/opt/bea"
0xffbef986:     "-Dweblogic.Name=piaServer"
0xffbef9a0:     "-Dweblogic.management.username=weblogic"
0xffbef9c8:     "-Dweblogic.management.password=weblogic"
0xffbef9f0:     "-Dweblogic.ProductionModeEnabled=true"
0xffbefa16:     "-Djava.security.policy=/server/lib/weblogic.policy"
0xffbefa49:     "weblogic.Server"

(dbx) where    
current thread: t@4
  [1] __sigprocmask(0x0, 0xfde80918, 0x0, 0x0, 0x0, 0x0), at 0xff369bb4 
  [2] _resetsig(0xff36c500, 0x0, 0x0, 0xfde81d78, 0xff37e000, 0x0), at 0xff35e548 
  [3] _sigon(0xfde81d78, 0xff3859a8, 0x6, 0xfde809ec, 0xfde81d78, 0xfde80a30), at 0xff35dc38 
  [4] _thrp_kill(0x0, 0x4, 0x6, 0xff37e000, 0x4, 0xff2bc480), at 0xff360dac 
  [5] raise(0x6, 0x0, 0x0, 0xffffffff, 0xff2bc3ec, 0xfde80b40), at 0xff24ae60 
  [6] abort(0xff2b8000, 0xfde80b40, 0x0, 0xfffffff8, 0x4, 0xfde80b61), at 0xff23563c 
  [7] os::abort(0x1, 0xfe5555aa, 0xfde80bf0, 0xfe582000, 0xfe5c9944, 0x3ee894), at 0xfe499d98 
  [8] os::handle_unexpected_exception(0x0, 0xb, 0xfe4b7334, 0xfde819b0, 0xb, 0x0), at 0xfe4980ac 
  [9] JVM_handle_solaris_signal(0xfe4b7334, 0xfde819b0, 0xfde816f8, 0x3400, 0x3608, 0xfde81e00), at 0xfe1d7c6c 
  [10] __libthread_segvhdlr(0xb, 0xfde819b0, 0xfde816f8, 0xff37e000, 0xb, 0x0), at 0xff369158 
  [11] __sighndlr(0xb, 0xfde819b0, 0xfde816f8, 0xff369074, 0xfde81e10, 0xfde81e00), at 0xff36bcc8 
  ---- called from signal handler with signal 11 (SIGSEGV) ------
=>[12] PSPromotionManager::copy_to_survivor_space(0x2eb808, 0xb6c4f918, 0xffad61f0, 0x62d68f, 0x447bc8, 0xfe3aeb98), at 0xfe4b7334 
  [13] instanceKlass::oop_copy_contents(0xeb9b3664, 0xfe5cae94, 0x0, 0xfe5cae88, 0x4b8110, 0xfe3aea88), at 0xfe3ab3e8 
  [14] CardTableExtension::scavenge_contents_parallel(0x200, 0xc5ad2000, 0xc5ae0000, 0xd8aa4380, 0xfb9e3700, 0xfb9e3688), at 0xfe335618 
  [15] OldToYoungRootsTask::do_it(0x2b72ec, 0x2eb128, 0x0, 0xc8420, 0xfe39376c, 0x0), at 0xfe4b9ac8 
  [16] GCTaskThread::run(0x2eb1d0, 0x5, 0x40, 0x0, 0x4, 0xff37e000), at 0xfe393788 
  [17] _start(0x2eb1d0, 0xff37f6b8, 0x1, 0x1, 0xff37e000, 0x0), at 0xfe2643e0 
(dbx) 


<hs_err_pid17382.log> *************************************************

Unexpected Signal : 11 occurred at PC=0xFE4B7334
Function=[Unknown. Nearest: sysThreadAvailableStackWithSlack+0x1A494]
Library=/opt/j2sdk/jre/lib/sparc/server/libjvm.so

Dynamic libraries:
0x10000         java
0xff350000      /usr/lib/libthread.so.1
0xff390000      /usr/lib/libdl.so.1
0xff200000      /usr/lib/libc.so.1
0xff340000      /usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1
0xfe000000      /opt/j2sdk/jre/lib/sparc/server/libjvm.so
0xff2e0000      /usr/lib/libCrun.so.1
0xff1e0000      /usr/lib/libsocket.so.1
0xff100000      /usr/lib/libnsl.so.1
0xff0d0000      /usr/lib/libm.so.1
0xff1c0000      /usr/lib/libsched.so.1
0xff310000      /usr/lib/libw.so.1
0xff0b0000      /usr/lib/libmp.so.2
0xff060000      /opt/j2sdk/jre/lib/sparc/native_threads/libhpi.so
0xfe7d0000      /opt/j2sdk/jre/lib/sparc/libverify.so
0xfe790000      /opt/j2sdk/jre/lib/sparc/libjava.so
0xfe770000      /opt/j2sdk/jre/lib/sparc/libzip.so
0xfe6f0000      /usr/lib/locale/ja_JP.eucJP/ja_JP.eucJP.so.2
0xfdfe0000      /usr/lib/locale/ja/methods_ja.so.2
0xfc180000      /opt/j2sdk/jre/lib/sparc/libnet.so
0xfbba0000      /opt/bea/weblogic/server/lib/solaris/libweblogicunix1.so
0xfb890000      /opt/j2sdk/jre/lib/sparc/libnio.so
0xfb870000      /usr/lib/librt.so.1
0xfb850000      /usr/lib/libaio.so.1
0xfb810000      /opt/j2sdk/jre/lib/sparc/libioser12.so
0xa4460000      /opt/bea/weblogic/server/lib/solaris/libstackdump.so
0xa4440000      /opt/bea/weblogic/server/lib/solaris/libmuxer.so
0xa4420000      /usr/ucblib/libucb.so.1
0xa4340000      /usr/lib/libresolv.so.2
0xa4240000      /usr/lib/libelf.so.1
0xa4320000      /pia/lib/libIFRofComposer.so
0xa1c00000      /pia/lib/librofcompose.so

Heap at VM Abort:
Heap
 PSYoungGen      total 249984K, used 238934K [0xa9400000, 0xb9400000, 0xb9400000)
  eden [0xa9400000,0xb7c0f888,0xb7c40000)
  from [0xb8820000,0xb8966030,0xb9400000)
  to   [0xb7c40000,0xb7f04000,0xb8820000)
 PSOldGen        total 786432K, used 514788K [0xb9400000, 0xe9400000, 0xe9400000)
  object [0xb9400000,0xd8ab9380,0xe9400000)
 PSPermGen       total 54400K, used 54336K [0xe9400000, 0xec920000, 0xf9400000)
  object [0xe9400000,0xec910048,0xec920000)

Local Time = Mon Oct 18 09:58:14 2004
Elapsed Time = 8293
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002EF 01
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.4.2_05-b04 mixed mode)
#

************************************************************************
###@###.### 10/19/04 10:46 GMT
###@###.### 10/19/04 12:12 GMT

Comments
EVALUATION Please see the comment section for more details. This failure exhibits the same symptoms as 6208009. Examination of the core file for 61861110 and 6208009 indicate that the failure was occurring in the same method and that the object that was being processed during the failure were of the same type. I'm closing this bug as a duplicate of 6208009. The fix for 6208009 has been integrated into 1.6 and backported to updates of 1.4.2 and 1.5.0. ###@###.### 2005-04-22 02:05:26 GMT For process reasons, we have updated 6181110 (this bug) and 6208009 so that 6208009 is now a duplicate of 6181110 (rather than vice-versa). As a result we have transferred the values of "fixed in" and "delievered in" from 6208009 to 6181110. [This was done so as to allow smooth handling of escalations and related subCR's associated with 6181110; contact ###@###.### and ###@###.### if you have any questions.] ###@###.### 2005-04-27 00:41:20 GMT
22-04-2005

SUGGESTED FIX The following fix was integrated into Mustang and duly backported to 1.4.2_XX and to 1.5_XX: http://analemma.sfbay.sun.com/net/prt-archiver/data/archived_workspaces/main/gc_baseline/2005/20050317065509.jmasa.gc_baseline_6181110b/workspace/webrevs/webrev-2005.03.17/ Should this not be closed now as a duplicate of 6208009? ###@###.### 2005-04-22 00:54:24 GMT
22-04-2005