JDK-7118280 : The gbyc00102 JCK7 test causes an assert in JVM 7.0 fastdebug mode
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • CPU: x86
  • Submitted: 2011-12-05
  • Updated: 2013-06-26
  • Resolved: 2012-04-10
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.
JDK 7 JDK 8 Other
7u4Fixed 8Fixed hs23Fixed
Description
The customer is seeing an assertion in Java 7 when running gbyc00102 JCK test,
on Linux/x86 (7b147 build) as shown below. The test passes if the
assertion is suppressed. (The failure happens quickly and every
time.) They've also tried more recent builds, 7u2b9 and 8b4, and got
the same failure.

::::::::::::::
% env LD_LIBRARY_PATH=/proj/tests/java/jck/JCK-70-GA/JCK-runtime-7/native/linux/x86/32 /proj/hotspot/users/jgragg/images/javasoft/linux/i486/jdk7/jdk1.7.0/fastdebug/bin/java -classpath /proj/tests/java/jck/JCK-70-GA/JCK-runtime-7/classes -agentlib:jckjvmti=gbyc00102 javasoft.sqe.tests.vm.jvmti.gbyc001.gbyc00102.gbyc00102 -platform.jvmtiSupported true
# To suppress the following err24583.log
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/HUDSON/workspace/jdk7-2-build-linux-i586-product/jdk7/hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.cpp:682), pid=24583, tid=3086723984
# assert(len == 3 || (code == Bytecodes::_invokeinterface && len ==5)) failed: sanity check
#
# JRE version: 7.0-b147
# Java VM: Java HotSpot(TM) Server VM (21.0-b17-fastdebug mixed mode linux-x86 )
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid24583.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
Current thread is 3086723984
Dumping core ...
Abort
::::::::::::::

Comments
EVALUATION http://hg.openjdk.java.net/hsx/hsx23/hotspot/rev/1db5b993a0d8
28-03-2012

EVALUATION http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/ff29ce866f23
22-03-2012

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/ff29ce866f23
01-03-2012

EVALUATION assert in jvmtiClassFileReconstituter.cpp wrongly trigerred by invokedynamic instruction.
09-02-2012