SUGGESTED FIX
Archived data: /net/prt-archiver.sfbay/data/archived_workspaces/1.6/update3/baseline/2007/20070629135641.nips.bug6572484-6u3/
Webrev: http://prt-web.sfbay.sun.com/net/prt-archiver.sfbay/data/archived_workspaces/1.6/update3/baseline/2007/20070629135641.nips.bug6572484-6u3/workspace/webrevs/webrev-2007.06.29/index.html
|
|
|
EVALUATION
This failure is now visible on other platforms too. Here is the list of platforms where similar javac crash were seen using JDK 6U2 b05.
[1] 64BIT Solaris AMD 64
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xfffffd7ffe8c2fc1, pid=20926, tid=10
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20070621105710.km88527.6570268_6u3 compiled mode solaris-amd64)
# Problematic frame:
# V [libjvm.so+0x2c2fc1]
#
# An error report file with more information is saved as:
# /export/local/1847.MUSTANG_UR.PROMOTION.VM+vm_6.0_server_comp_64BITSOLARIS-AMD64_1135523F341/results/java/lang/management/MemoryMXBean/CollectionUsageThresholdConcMarkSweepGC/hs_err_pid20926.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
[2] 64BIT Solaris SPARC
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xffffffff7dd0edc4, pid=26605, tid=8
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20070621105710.km88527.6570268_6u3 compiled mode solaris-sparc)
# Problematic frame:
# V [libjvm.so+0x10edc4]
#
# An error report file with more information is saved as:
# /export/local/1847.MUSTANG_UR.PROMOTION.VM+vm_6.0_server_comp_64BITSOLSPARC_1135523F0A3/results/java/lang/management/MemoryMXBean/LowMemoryTestSerialGC/hs_err_pid26605.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
I also ran the same set of tests with other VM options which did not result in the crash (Eg: -XX:+UseConcMarkSweepGC -XX:+CompileThreshold=100).
|
|
|
EVALUATION
Smaller test case:
java -server -Xcomp -Xbatch \
-XX:CompileOnly=com/sun/tools/javac/main/JavaCompiler.generate \
-XX:CompileOnly=com/sun/tools/javac/tree/JCTree.pos \
-XX:CompileOnly=com/sun/tools/javac/util/Log.error \
-classpath /java/re/jdk/1.7.0/latest/binaries/solaris-i586/lib/tools.jar \
com.sun.tools.javac.Main OpenTypeConverter.java
OpenTypeConverter.java is in attachment.
|
|
|
EVALUATION
This fails all the way back to jdk1.7.0 b03. I don't know why the testing for 1.7 doesn't include running this same test. It sure would be nice if we'd found this earlier.
It looks like it's caused by 20060913073259.nips.unswitch
Running 20060913073259.nips.unswitch
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/loopnode.hpp:586]
#
# An unexpected error has been detected by Java Runtime Environment:
#
# Internal Error (/net/prt-solx86-q1-6/PrtBuildDir/workspace/src/share/vm/opto/loopnode.hpp, 586), pid=15744, tid=15
#
# Java VM: Java HotSpot(TM) Server VM (20060913073259.nips.unswitch-debug compiled mode)
#
# Error: assert(n != 0,"Bad immediate dominator info.")
# An error report file with more information is saved as hs_err_pid15744.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Current thread is 15
Dumping core ...
Abort - core dumped
Here's a command line to reproduce it:
java -Xcomp -classpath /java/re/jdk/1.7.0/latest/binaries/solaris-i586/lib/tools.jar com.sun.tools.javac.Main /net/smite/never/tmp/OpenTypeConverter.java
|
|
|
EVALUATION
Probably wasn't caught earlier as the issue with JTreg (not passing VM options - to javac) was resolved only recently.
|
|
|