JDK-7013008 : assert(method == NULL || check_method(method, bcp)) failed: bcp must point into method
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs20
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: x86
  • Submitted: 2011-01-18
  • Updated: 2011-04-23
  • Resolved: 2011-04-23
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 6 JDK 7 Other
6u25Fixed 7Fixed hs20Fixed
Related Reports
Relates :  
Description
after 4926272

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/tmp/jprt/P1/B/191319.coleenp/source/src/share/vm/interpreter/bytecodes.hpp:365), pid=1116, tid=140557252213072
#  assert(method == NULL || check_method(method, bcp)) failed: bcp must point into method
#
# JRE version: 7.0
# Java VM: OpenJDK 64-Bit Server VM (20.0-b06-internal-201101141913.coleenp.6811367-fastdebug mixed mode linux-amd64 compressed oops)
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x0000000002502000):  JavaThread "Main Thread" [_thread_in_vm, id=1117, stack(0x00007fd60906b000,0x00007fd60916c000)]

Stack: [0x00007fd60906b000,0x00007fd60916c000],  sp=0x00007fd609169ce0,  free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xba803c]  VMError::report(outputStream*)+0x131c;;  VMError::report(outputStream*)+0x131c
V  [libjvm.so+0xba8482]  VMError::report_and_die()+0x2d2;;  VMError::report_and_die()+0x2d2
V  [libjvm.so+0x5b6904]  report_vm_error(char const*, int, char const*, char const*)+0x84;;  report_vm_error(char const*, int, char const*, char const*)+0x84
V  [libjvm.so+0xa7ac01]  Relocator::rc_instr_len(int)+0xa1;;  Relocator::rc_instr_len(int)+0xa1
V  [libjvm.so+0xa7cf2b]  Relocator::handle_widen(int, int, unsigned char*)+0x1b;;  Relocator::handle_widen(int, int, unsigned char*)+0x1b
V  [libjvm.so+0xa7a0cc]  Relocator::handle_code_changes()+0x5c;;  Relocator::handle_code_changes()+0x5c
V  [libjvm.so+0xa7a897]  Relocator::insert_space_at(int, int, unsigned char*, Thread*)+0x167;;  Relocator::insert_space_at(int, int, unsigned char*, Thread*)+0x167

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/2f33b03bd915
20-01-2011

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/2f33b03bd915
19-01-2011

EVALUATION relocator should be passing null for the methodOop since the code_array is a resource array. It can't contain breakpoints either since it's used before the code has ever been linked.
18-01-2011