JDK-6305546 : Hotspot server VM crashes when running DaCapo benchmark suite
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 5.0,6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,linux
  • CPU: x86,sparc
  • Submitted: 2005-08-03
  • Updated: 2011-02-16
  • Resolved: 2005-08-26
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
5.0u6Fixed 6 b49Fixed
Description
FULL PRODUCT VERSION :
$  /usr/local/java/jdk1.5.0_04/bin/java -version
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_04-b05, mixed mode)


A DESCRIPTION OF THE PROBLEM :
This is an updated report. This bug was previously reported as affecting jdk1.5.0_02-linux-i586 under Red Hat 9 i586 (search for my email address). I can now confirm that this bug also affects jdk1.5.0_02-linux-i586 (server VM)  under Fedora Core 4 x86_64 and jdk1.5.0_04-linux-amd64 (only has server VM) under Fedora Core 4 x86_64. That is, an upgrade to the latest Red Hat operating system and the latest 1.5 JVM does not resolve the issue.

The logs below  refer to jdk1.5.0_04-linux-amd64 under Fedora Core 4 x86_64.

Here is the homepage of the DaCapo benchmark suite:

http://www-ali.cs.umass.edu/DaCapo/gcbm.html

Here is the jarfile required to reproduce the bug. There are no dependencies:

http://www-ali.cs.umass.edu/DaCapo/gcbm/dacapo-beta050224.jar

Here is the (bash) commandline that caused the crash:

time { /usr/local/java/jdk1.5.0_04/bin/java -server -Xms128m -Xmx128m -classpath dacapo-beta050224.jar Harness -s small antlr batik bloat chart fop hsqldb jython pmd ps; }

Note that -server is redundant for jdk1.5.0_04-linux-amd64 as only the server VM is included. The -X options do not affect the bug.

I have prepared a smaller jar file containing the classes and resources needed to reproduce this bug. These are extracted from the full dacapo jar file referenced in the original report.

The new jar file contains:
(1) JFreeChart (org.jfree ...)
(2) iText (com.lowagie ...)
(3) dacapo code and a subset of the dacapo config and data ("dat")
     required for the "chart" benchmark

This is not a minimal set, but still much smaller (660 kB) than the 
original dacapo jar file (9 MB). 

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
The JVM sementation fault can then be reproduced with:
/usr/local/java/jdk1.5.0_04/bin/java -server -classpath  dacapo-beta050224-chart-small.jar Harness -s small chart


ERROR MESSAGES/STACK TRACES THAT OCCUR :
Attached seperatly



APPLET URL OR APPLICATION NAME:
http://www-ali.cs.umass.edu/DaCapo/gcbm/dacapo-beta050224.jar

Comments
SUGGESTED FIX See PRT webrev: http://analemma.sfbay.sun.com/net/prt-archiver.sfbay/data/archived_workspaces/main/c2_baseline/2005/20050812060549.rasbold.c2_baseline/workspace/webrevs/webrev-2005.08.12/index.html
12-08-2005

EVALUATION At an OSR point, the server compiler is not correctly handling a stack variable whose class is not yet loaded. *** (#1 of 1): [ UNSAVED ] ###@###.###
03-08-2005