JDK-4849884 : JVM crashes with 'eclipse' software
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 1.4.2
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_8
  • CPU: sparc
  • Submitted: 2003-04-17
  • Updated: 2003-08-15
  • Resolved: 2003-04-29
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 Other
1.4.1_05 05Fixed 1.4.2Fixed
Description

Name: ks84122			Date: 04/16/2003


this c2 crash is reproducible with the latest build (20)

Steps to reproduce:

1) bash-2.00$ /java/re/jdk/1.4.2/latest/binaries/solaris-sparc/bin/java -server -cp /net/knight1/export/tmp/downloads/eclipse/startup.jar org.eclipse.core.launcher.Main -os solaris -ws motif -arch sparc -showsplash /net/knight1/export/tmp/downloads/eclipse/eclipse -showsplash 600

2) when IDE comes up, click help->software update->update manager

The dump below is produced. 

Original description from HP :
==============================
Eclipse(http://www.eclipse.org) version: 2.0.2

$java -version
java version "1.4.1_03-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_03-ea-b01)
Java HotSpot(TM) Server VM (build 1.4.1_03-ea-b01, mixed mode)

$uname -a
SunOS hppdl694 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-4

$eclipse -vm /opt/jdk1.4.1_03/bin/java -vmargs -server

Unexpected Signal : 10 occurred at PC=0xFE0C7988
Function=[Unknown. Nearest: JVM_CurrentTimeMillis+0x1EA4]
Library=/export/home1/schadaga/jdk1.4.1_03/jre/lib/sparc/server/libjvm.so

Current Java thread:

Dynamic libraries:
0x10000         /opt/jdk1.4.1_03/bin/java
0xff350000      /usr/lib/libthread.so.1
0xff390000      /usr/lib/libdl.so.1
0xff200000      /usr/lib/libc.so.1
0xff330000      /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
0xfe000000      /opt/jdk1.4.1_03/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
0xff310000      /usr/lib/libw.so.1
0xff0b0000      /usr/lib/libmp.so.2
0xff070000      /opt/jdk1.4.1_03/jre/lib/sparc/native_threads/libhpi.so
0xff040000      /opt/jdk1.4.1_03/jre/lib/sparc/libverify.so
0xfe7c0000      /opt/jdk1.4.1_03/jre/lib/sparc/libjava.so
0xff020000      /opt/jdk1.4.1_03/jre/lib/sparc/libzip.so
0xfdfb0000      /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2
0xfa040000      /proj/javelin/schadaga/141/JAGae68649_eclipse/solaris/eclipse/pl
ugins/org.eclipse.swt.motif_2.0.2/os/solaris/sparc/libswt-motif-2052.so
0xf0b80000      /usr/lib/libXm.so.4
0xf1f90000      /usr/lib/libXt.so.4
0xf0a80000      /usr/lib/libX11.so.4
0xfa020000      /usr/openwin/lib/libSM.so.6
0xf1ed0000      /usr/openwin/lib/libICE.so.6
0xf1ea0000      /usr/openwin/lib/libXext.so.0
0xf1dd0000      /usr/openwin/lib/libdga.so.1
0xf1db0000      /usr/openwin/lib/locale/common/xlibi18n.so.2
0xf1cc0000      /usr/openwin/lib/locale/common/ximlocal.so.2
0xf16b0000      /usr/openwin/lib/locale/iso8859-1/xomEuro.so.2
0xf1690000      /usr/lib//liblayout.so

Local Time = Tue Apr 15 10:26:00 2003
Elapsed Time = 27
#
# HotSpot Virtual Machine Error : 10
# Error ID : 4F530E43505002E6 01
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.4.1_03-ea-b01 mixed mode)
#
# An error report file has been saved as hs_err_pid24925.log.
# Please refer to the file for further information.
#

Sometimes crashes when help->software updates is clicked.
(Review ID: 184170) 
======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.1_05 mantis-rc FIXED IN: 1.4.1_05 mantis-rc INTEGRATED IN: 1.4.1_05 mantis-rc tiger tiger-b08 VERIFIED IN: 1.4.1_05
14-06-2004

SUGGESTED FIX --- 905,916 ---- // Make sure only merging this one phi here if (region->has_unique_phi() != phi) return NULL; + + // Make sure each arm of the diamond has exactly one output, which we assume + // is the region. Otherwise, the control flow won't disappear. + if (region->in(1)->outcnt() != 1) return NULL; + if (region->in(2)->outcnt() != 1) return NULL; + // Check for "(P < Q)" if( bool->_test._test != BoolTest::lt ) return NULL; ###@###.### 2003-04-23
23-04-2003

EVALUATION ###@###.### 2003-04-21 Reproduced with targeted command-line (fastdebug build hit assert in loopnode.cpp) -XX:CompileOnly=.decodeACCoefficients -XX:+PrintCompilation -XX:+ShowMessageBoxOnError First compilation hits assert Notes are available in Bugs/4849884/README_eval.txt and README_node_dump.txt ----- is_cond_add() is causing a PhiNode to be replaced when the diamond is not going away. ###@###.### 2003-04-22
22-04-2003