JDK-4784330 : CTW assertion at chaitin.cpp, 1288
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 1.4.2
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_8
  • CPU: x86
  • Submitted: 2002-11-25
  • Updated: 2005-02-01
  • Resolved: 2005-02-01
Related Reports
Duplicate :  
Duplicate :  
Description

Name: fh87463			Date: 11/25/2002



Following assertion occur when running Compile The World tests on solx86/linux platform.

#
# HotSpot Virtual Machine Error, assertion failure
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (20021118163147.phh.master-fastdebug-debug mixed mode)
#
# assert(n->outcnt() != 0 || C->top() == n || n->is_Proj(), "No dead instructions after post-alloc")
#
# Error ID: /net/balvenie.sfbay/export/imgr_home/ws/20021118163147.phh.master/src/share/vm/opto/chaitin.cpp, 1288
#
# Problematic Thread: prio=5 tid=0x0815d408 nid=0xa runnable 
#
This assertion occured in following log files
========================================================
file:/net/sqesvr/export/vsn/users/ctwresult/solx86/baseline/compiler2/20021118163147.phh.master/Failed/ctw.dx.jar.1.txt
file:/net/sqesvr/export/vsn/users/ctwresult/solx86/baseline/compiler2/20021118163147.phh.master/Failed/ctw.dx.jar.1.txt

Binary used:
  Fastdebug binary of [baseline/compiler2/20021118163147.phh.master] from IMGR archive

Please look into rerun scripts for more detail.

#########################
# To reproduce the bug:
#########################
1. cd /net/jano.sfbay/export/disk20/GammaBase/Bugs/[bug ID]
2. edit script if needed.
3. run one of the shell scripts: 
   run.dx.jar.1.ksh

======================================================================

The following assertions also occured with the following jar files at chaitin.cpp. If these assertions are not related. I can re-open the bug 4799509 and open a new bug for the given second assertion.

Assertion in Bug 4799509 : with dx.jar.1

CompileTheWorld (87) : com/borland/dx/dataset/RowFilterListener
CompileTheWorld (88) : com/borland/dx/dataset/RowFilterResponse
#!/bin/ksh
# Script generated at Fri Dec 20 09:11:33 PST 2002
#
# Error ID: /net/balvenie.sfbay/export/imgr_home/ws/20021219132811.kbr.c1_baseline
/src/share/vm/opto/chaitin.cpp, 1288
#
# Problematic Thread: prio=5 tid=0x08164608 nid=0xb runnable
#

Heap at VM Abort:
Heap

-------------------------------------------------------------------------

With fop.jar.402, the following assertion also occured at chaitin.cpp, 1002

 To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/chaitin.cpp:1002
#
# HotSpot Virtual Machine Error, assertion failure
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.4.2-beta-b11-debug mixed mode)
#
# assert(lo_lrg->lo_degree() || !lo_no_simplify, "Live range was lo-degree before coalesce; should simplify")
#
# Error ID: /BUILD_AREA/jdk1.4.2/hotspot/src/share/vm/opto/chaitin.cpp, 1002
#
# Problematic Thread: prio=1 tid=0x60000000000b9818 nid=0x30f4 runnable 
#
This assertion occured in following log files
========================================================
http://sqesvr.eng/vsn/users/ctwresult/compiler2/linux-ia64/comp/baseline/1.4.2-beta-b11-debug/Failed/ctw.fop.jar.402.txt


To reproduce the above two assertions run the repective jar files at /net/jano.sfbay/export/disk20/GammaBase/Bugs/[bug ID]

Also found by nsk tests on solaris x86:

nsk/regression/b4493566
nsk/regression/b4529145

###@###.### 2003-07-10

===================================================================
I got this while running the JCKs through javatest on linux/x86 on several
tests... I believe one of them was
  api/java_awt/JobAttribute/index.html#ctor2

The nightly tests on rt_baseline for 7/9/03 also found this on solaris/x86,
test (in vm_quicklook) jit/common/misctests/Pi.


###@###.### 2003-07-11
==========================================================

Comments
EVALUATION ###@###.### 2002-12-02 Assertion has identified "unused" dead code that still remains after post-aloc. Investigate why this phi is not reused when rematerialization changes some inputs to the instruction that uses this phi. ----- ----- Not reproduceable with B54 (wow what a difference 18 months makes!). Ran CTW on foundation (X86 Solaris), passed. ###@###.### 2004-06-03 -------------- Fails with JDK1.4.2 but passes with 1.5 and 6.0 ###@###.### 2005-1-04 19:59:38 GMT This bugs is duplicated by the the more recent 6207830. Am making myself RE for both bugs. ###@###.### 2005-1-19 17:28:53 GMT Am closing this as a duplicate of 6207830. If we choose to backport that to 1.4.2, we'll open a SubCR there. ###@###.### 2005-2-01 22:16:05 GMT
19-01-2005