JDK-6392989 : Mustang JVM build 71-74 core dumps during startup on Solaris 10 on Intel Pentium 4
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: x86
  • Submitted: 2006-03-02
  • Updated: 2012-10-08
  • Resolved: 2006-03-25
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.
JDK 6
6 b77Fixed
Related Reports
Relates :  
Description
The mustang build 73 of the java VM crashes when starting it on Solaris 10 x86 on an Intel Pentium machine:

os136802@khepri07:~> /usr/local/java/jdk1.6.0_b73/bin/java
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  Internal Error (524553544F52450E435050005F), pid=1373, tid=2
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-beta2-b73 mixed mode, sharing)
# An error report file with more information is saved as hs_err_pid1373.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Abort (core dumped)

The hs_err_pid1373.log file contains:

os136802@khepri07:~> less hs_err_pid1373.log
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  Internal Error (524553544F52450E435050005F), pid=1373, tid=2
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-beta2-b73 mixed mode, sharing)
# 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 (0x0806fc00):  JavaThread  [_thread_in_vm, id=2]

Stack: [0xd077c000,0xd07cc000),  sp=0xd07cbc38,  free space=319k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)

[error occurred during error reporting, step 120, id 0xb]


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

Java Threads: ( => current thread )

Other Threads:

VM state:not at safepoint (not fully initilizated)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 960K, used 0K [0x92800000, 0x92900000, 0x92ce0000)
  eden space 896K,   0% used [0x92800000, 0x92800000, 0x928e0000)
  from space 64K,   0% used [0x928e0000, 0x928e0000, 0x928f0000)
  to   space 64K,   0% used [0x928f0000, 0x928f0000, 0x92900000)
 tenured generation   total 4096K, used 0K [0x92ce0000, 0x930e0000, 0x96800000)
   the space 4096K,   0% used [0x92ce0000, 0x92ce0000, 0x92ce0200, 0x930e0000)
 compacting perm gen  total 12288K, used 0K [0x96800000, 0x97400000, 0x9a800000)   the space 12288K,   0% used [0x96800000, 0x96800000, 0x96800200, 0x97400000)
    ro space 8192K,  81% used [0x9a800000, 0x9ae7d2c0, 0x9a800200, 0x9b000000)
    rw space 12288K,  63% used [0x9b000000, 0x9b7a9cc8, 0x9b000200, 0x9bc00000)

Dynamic libraries:
0x08050000      /usr/local/java/jdk1.6.0_b73/bin/java
0xd0fb0000      /usr/lib/libthread.so.1
0xd0f80000      /usr/local/java/jdk1.6.0_b73/bin/../jre/lib/i386/jli/libjli.so
0xd0fc0000      /usr/lib/libdl.so.1
0xd0e90000      /usr/lib/libc.so.1
0xd0800000      /usr/local/java/jdk1.6.0_b73/jre/lib/i386/client/libjvm.so
0xd0e50000      /usr/lib/libsocket.so.1
0xd0e70000      /usr/lib/libsched.so.1
0xd0e00000      /usr/lib/libCrun.so.1
0xd0de0000      /usr/lib/libm.so.1
0xd0dc0000      /usr/lib/libdoor.so.1
0xd0d20000      /usr/lib/libnsl.so.1
0xd0cc0000      /usr/lib/libm.so.2
0xd0c90000      /usr/lib/libscf.so.1
0xd0c60000      /usr/lib/libuutil.so.1
0xd0c40000      /usr/lib/libmd5.so.1
0xd07e0000      /usr/lib/libmp.so.2
0xd0720000      /usr/local/java/jdk1.6.0_b73/jre/lib/i386/native_threads/libhpi.so
0xd06e0000      /usr/local/java/jdk1.6.0_b73/jre/lib/i386/libverify.so
0xd0690000      /usr/local/java/jdk1.6.0_b73/jre/lib/i386/libjava.so
0xd0660000      /usr/local/java/jdk1.6.0_b73/jre/lib/i386/libzip.so

VM Arguments:
java_command: <unknown>
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/usr/local/java/jdk1.4
PATH=/home/os136802/bin:/usr/local/share/java/apache-ant-1.6.2/bin:/usr/bin:/usr/ucb:/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/local/bin:/usr/local/frame/bin:/opt/SUNWspro8/bin:/opt/SUNWspro70/bin:/opt/SUNWspro61/bin:/usr/openwin/bin:/usr/dt/bin:/usr/local/etc:/usr/local/java/jdk/bin:/usr/local/java/ant/bin:/local/lib/ICAClient:/usr/local/teTeX/bin/i386-pc-solaris2.9
LD_LIBRARY_PATH=/usr/local/java/jdk1.6.0_b73/jre/lib/i386/client:/usr/local/java/jdk1.6.0_b73/jre/lib/i386:/usr/local/java/jdk1.6.0_b73/jre/../lib/i386:/usr/openwin/lib:/usr/lib:/usr/local/lib:/usr/local/pgsql/lib
SHELL=/bin/tcsh
DISPLAY=localhost:10.0
HOSTTYPE=i386
OSTYPE=solaris
MACHTYPE=i386

Signal Handlers:
SIGSEGV: [libjvm.so+0x31c76c], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGBUS: [libjvm.so+0x31c76c], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGFPE: [libjvm.so+0x10a7a0], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGPIPE: [libjvm.so+0x10a7a0], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGILL: [libjvm.so+0x10a7a0], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGHUP: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGINT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGQUIT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGTERM: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGQUIT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGTERM: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIG39: [libjvm.so+0x2a24a0], sa_mask[0]=0x00000000, sa_flags=0x00000008
SIG40: [libjvm.so+0x10a7a0], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c


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

OS:                        Solaris 10 1/06 s10x_u1wos_19a X86
           Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 07 December 2005

uname:SunOS 5.10 Generic_118844-28 i86pc  (T2 libthread)
rlimit: STACK 8480k, CORE infinity, NOFILE 65536, AS infinity
load average:0.09 0.09 0.09

CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 1048124k(139996k free)

vm_info: Java HotSpot(TM) Client VM (1.6.0-beta2-b73) for solaris-x86, built on
Feb 23 2006 00:56:22 by "" with unknown Workshop:0x580

os136802@khepri07:~>

Note 1: this problem is reproducable on several machines running Intel Pentium 4 processors. But when trying
        it on a similar machine running an AMD processor the problem does not occur.

Note 2: the problem is reproducable and a core file can be provided if requested.

Comments
EVALUATION Typo in alignment checking code lead to reversed condition checking, i.e. instead of checking that current GC alignement requirments stronger than ones imposed by image file, we checked reverse condition.
25-03-2006