JDK-7008887 : C1: assert(!is_index((intptr_t)runtime_address)) failed: must not look like an index
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2008
  • CPU: x86
  • Submitted: 2010-12-23
  • Updated: 2011-01-06
  • Resolved: 2011-01-06
Related Reports
Duplicate :  
Description
Nightly test failure in GC_Baseline: an assertion failure in C1 while generating code.

Analysis Page:
http://sqeweb.sfbay.sun.com/nfs/results/vm/gtee/JDK7/NIGHTLY/VM/2010-12-21/GC_Baseline/vm/windows-i586/client/mixed/windows-i586_vm_client_mixed_vm.gc.testlist/analysis.html

Results Dir:
R:/results/vm/gtee/JDK7/NIGHTLY/VM/2010-12-21/GC_Baseline/vm/windows-i586/client/mixed/windows-i586_vm_client_mixed_vm.gc.testlist

Test:
gc/lock/malloc/malloclock03

Description:
Assertion failure..
[2010-12-22T07:29:16.12] # Actual: C:/local/common/jdk/baseline/windows-i586/bin/java -client -Xmixed -XX:-PrintVMOptions -XX:+StartAttachListener -XX:DefaultMaxRAMFraction=8 -XX:+IgnoreUnrecognizedVMOptions -XX:+UseCompressedOops -XX:-UseGCOverheadLimit gc.lock.LockerTest -gp1 byteArr -lockers malloc
[2010-12-22T07:29:16.12] # To suppress the following error report, specify this argument
[2010-12-22T07:29:16.94] # after -XX: or in .hotspotrc:  SuppressErrorAt=\relocInfo.cpp:474
[2010-12-22T07:29:16.94] #
[2010-12-22T07:29:16.94] # A fatal error has been detected by the Java Runtime Environment:
[2010-12-22T07:29:16.94] #
[2010-12-22T07:29:16.94] #  Internal Error (C:\temp\jprt\P1\B\020431.ap31282\source\src\share\vm\code\relocInfo.cpp:474), pid=5972, tid=10168
[2010-12-22T07:29:16.94] #  assert(!is_index((intptr_t)runtime_address)) failed: must not look like an index
[2010-12-22T07:29:16.94] #
[2010-12-22T07:29:16.94] # JRE version: 7.0-b122
[2010-12-22T07:29:16.94] # Java VM: OpenJDK Client VM (20.0-b04-internal-201012200204.ap31282.hotspot-g1-push-fastdebug mixed mode, sharing windows-x86 )
[2010-12-22T07:29:16.94] # An error report file with more information is saved as:
[2010-12-22T07:29:16.94] # c:\local\40724.JDK7.NIGHTLY.VM+windows-i586_vm_client_mixed_vm.gc.testlist\results\ResultDir\malloclock03\hs_err_pid5972.log
[2010-12-22T07:29:16.94] #
[2010-12-22T07:29:16.94] # If you would like to submit a bug report, please visit:
[2010-12-22T07:29:16.94] #   http://java.sun.com/webapps/bugreport/crash.jsp
[2010-12-22T07:29:16.94] #

Stack Trace:
---------------  T H R E A D  ---------------

Current thread (0x009d8400):  JavaThread "C1 CompilerThread0" daemon [_thread_in_native, id=10168, stack(0x03f30000,0x04030000)]

Stack: [0x03f30000,0x04030000],  sp=0x0402ed5c,  free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
Warning: This error log is *not* generated by the following JVM:
           C:/local/common/jdk/baseline/windows-i586/jre/bin/client/jvm.dll
         JVM symbol lookup may be incorrect.
         Please use --jvm=<path/to/jvm> to point to the correct JVM.

V  [jvm.dll+0x2397aa];;  ?report_and_die@VMError@@QAEXXZ+0x54a
V  [jvm.dll+0x231ec5];;  ?report_vm_error@@YAXPBDH00@Z+0x45
V  [jvm.dll+0x6934d];;  ?runtime_address_to_index@Relocation@@KAHPAE@Z+0x2d
V  [jvm.dll+0x69684];;  ?pack_data_to@external_word_Relocation@@UAEXPAVCodeSection@@@Z+0x14
V  [jvm.dll+0x6b13d];;  ?initialize@relocInfo@@QAEXPAVCodeSection@@PAVRelocation@@@Z+0x3d
V  [jvm.dll+0x3af4];;  ?relocate@CodeSection@@QAEXPAEABVRelocationHolder@@H@Z+0x1a4
V  [jvm.dll+0x2516da];;  ?emit_operand@Assembler@@AAEXPAVRegisterImpl@@00W4ScaleFactor@Address@@HABVRelocationHolder@@H@Z+0x48a
V  [jvm.dll+0x254258];;  ?leal@Assembler@@QAEXPAVRegisterImpl@@VAddress@@@Z+0x78
V  [jvm.dll+0x2844b7];;  ?generate_code_for@Runtime1@@CAPAVOopMapSet@@W4StubID@1@PAVStubAssembler@@@Z+0x1f17
V  [jvm.dll+0x3ce8e3];;  ?generate_blob_for@Runtime1@@CAXPAVBufferBlob@@W4StubID@1@@Z+0xe3
V  [jvm.dll+0x3cea79];;  ?initialize@Runtime1@@SAXPAVBufferBlob@@@Z+0x19
V  [jvm.dll+0x37d92e];;  ?initialize_all@Compiler@@SAXXZ+0x2e
V  [jvm.dll+0x37d96c];;  ?initialize@Compiler@@UAEXXZ+0x1c
V  [jvm.dll+0x71881];;  ?invoke_compiler_on_method@CompileBroker@@CAXPAVCompileTask@@@Z+0x301
V  [jvm.dll+0x72800];;  ?compiler_thread_loop@CompileBroker@@SAXXZ+0x440
V  [jvm.dll+0x20e599];;  ?thread_main_inner@JavaThread@@QAEXXZ+0xb9
V  [jvm.dll+0x24c584];;  ?java_start@@YGIPAVThread@@@Z+0xc4
C  [msvcr100.dll+0x5c6de]
C  [msvcr100.dll+0x5c788]
C  [kernel32.dll+0x4d0e9]
C  [ntdll.dll+0x419bb]
C  [ntdll.dll+0x4198e]


Current CompileTask:
C1:    358   1      java.lang.String.hashCode()I (67 bytes)


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x009e6800 JavaThread "Low Memory Detector" daemon [_thread_new, id=5292, stack(0x00000000,0x00000000)]
=>0x009d8400 JavaThread "C1 CompilerThread0" daemon [_thread_in_native, id=10168, stack(0x03f30000,0x04030000)]

The failure has only been seen on windows.

Comments
EVALUATION This is basically the same issue as 6777083 though in the case the value happens to fall within the first page instead of being null.
06-01-2011