JDK-6982509 : Assertion failure triggered by jnistress005
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs19
  • Priority: P3
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: generic
  • CPU: generic
  • Submitted: 2010-09-04
  • Updated: 2011-02-28
  • Resolved: 2011-02-28
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
7Resolved
Related Reports
Relates :  
Relates :  
Description
The test

   nsk/stress/jni/jnistress005

crashes the fastdebug VM with the following message:

# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error[thread 12368 also had an error]
[thread 12368 also had an error]
[thread 12368 also had an error
 (C:\BUILD_AREA\jdk7\hotspot\src\share\vm\oops\oop.inline.hpp:172), pid=11868, tid=2312
#  assert(!is_null(v)) failed: narrow oop value can never be zero
#
# JRE version: 7.0
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b05-fastdebug mixed mode windows-amd64 compressed oops)
# An error report file with more information is saved as:
# k:\execution\results\JDK7\PROMOTION\VM\7\b107\ConcMarkSweepIncGC\vm\windows-amd64\server\mixed\windows-amd64_vm_server_mixed_nsk.stress.testlist\ResultDir\jnistress005\hs_err_pid11868.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

Java command line:

K:/jdk/re/7/promoted/ea/b107/binaries//windows-amd64/fastdebug/bin/java -server -Xmixed -XX:+StartAttachListener -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -Djava.library.path=K:/testbase/sqe/vm/6/build/execution/vm/bin/lib/windows-amd64/nsk/stress/jni/ nsk.stress.jni.JNIStress005.jnistress005 -numTHREADer 20 -threadInterval 200 -numInterrupter 2 -interruptInterval 500 -numGarbage 80 -garbageInterval 5 -numIteration 260

Comments
EVALUATION Sergey Dolgov also verified that this bug is not longer reproducible with hotspot b128.
28-02-2011

EVALUATION So far, I could not reproduce the crash with b128.
11-02-2011