JDK-4829886 : Assertion as (peek() == null()), "what's left behind is null" at parseHelper.cpp
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 1.4.2,1.4.2_03
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_8,solaris_9
  • CPU: sparc
  • Submitted: 2003-03-10
  • Updated: 2004-04-07
  • Resolved: 2003-06-05
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.
1.4.2_05 05Fixed

Tests failed : bunch of jck-api tests attached in rerun.dat file.
VM failed    : server 
Mode	     : -Xcomp
JDK failed   : 1.4.2-b18

To reproduce :

* Go to /net/sqesvr/export/vsn/GammaBase/Bugs/{BugID}
* execute rerun.sh script.

Assertion occurs even when the thread is set is 10 in the rerun.sh script. It takes atlease 30-45 minutes to reproduce the bug.

I reproduced the error at machine "yacc"

Error :

Full gc no: 1040        Interval: 82
Full gc no: 1041        Interval: 87
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/parseHelper.cpp:69
# 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 (20030228200906.jmasa.baseline-fastdebug-debug compiled mode)
# assert(stopped() || (peek() == null()), "what's left behind is null")
# Error ID: /net/balvenie.sfbay/export/imgr_home/ws/20030228200906.jmasa.baseline/src/share/vm/opto/parseHelper.cpp, 69 [ Patched ]
# Problematic Thread: prio=5 tid=0x0016aef0 nid=0xa runnable 

Heap at VM Abort:
 def new generation   total 2112K, used 32K [0xf0400000, 0xf0620000, 0xf1950000)
  eden space 2048K,   1% used [0xf0400000, 0xf0408000, 0xf0600000)
  from space 64K,   0% used [0xf0600000, 0xf0600000, 0xf0610000)
  to   space 64K,   0% used [0xf0610000, 0xf0610000, 0xf0620000)
 tenured generation   total 1888K, used 909K [0xf1950000, 0xf1b28000, 0xf4400000)
   the space 1888K,  48% used [0xf1950000, 0xf1a335a0, 0xf1a33600, 0xf1b28000)
 compacting perm gen  total 16384K, used 3525K [0xf4400000, 0xf5400000, 0xf8400000)
   the space 16384K,  21% used [0xf4400000, 0xf47715c8, 0xf4771600, 0xf5400000)
Dumping core....
Abort - core dumped


###@###.### 2003-04-28
This assertion still happens with b20 of 1.4.2.

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.2_05 generic tiger FIXED IN: 1.4.2_05 tiger INTEGRATED IN: 1.4.2_05 tiger tiger-b08 VERIFIED IN: tiger

SUGGESTED FIX ------- parseHelper.cpp ------- 69c69 < assert( stopped() || (peek() == null()), "what's left behind is null" ); --- > assert( stopped() || _gvn.type(peek())->higher_equal(TypePtr::NULL_PTR), "what's left behind is null" ); ###@###.### 2003-05-22

EVALUATION reproduceble with b18, but having issues reproducing with main baseline. ###@###.### 2003-03-13