JDK-7029819 : JSR 292: SIGBUS in methodOopDesc::validate_bci_from_bcx(int)
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs21
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2011-03-22
  • Updated: 2012-02-01
  • Resolved: 2011-03-22
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
Duplicate :  
Relates :  
Description
Test names:
java/dyn/InvokeGenericTest.java
java/dyn/JavaDocExamplesTest.java
hs21 b05 crashed:

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xf70735a4, pid=3093, tid=4097981328
#
# JRE version: 7.0-b134
# Java VM: Java HotSpot(TM) Client VM (21.0-b05-internal-<...>.hs21-b05-snapshot compiled mode, sharing linux-x86 )
# Problematic frame:
# V  [libjvm.so+0x33e5a4]  methodOopDesc::validate_bci_from_bcx(int) const+0x44

Stack: [0xf43d3000,0xf4424000],  sp=0xf4421cf0,  free space=315k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x33e5a4]  methodOopDesc::validate_bci_from_bcx(int) const+0x44;;  methodOopDesc::validate_bci_from_bcx(int) const+0x44
V  [libjvm.so+0x2ae020]  vframeStream::vframeStream(JavaThread*, bool)+0x250;;  vframeStream::vframeStream(JavaThread*, bool)+0x250
V  [libjvm.so+0x3b73d3]  SharedRuntime::generate_wrong_method_type_message(JavaThread*, oopDesc*, oopDesc*)+0x183;;  SharedRuntime::generate_wrong_method_type_message(JavaThread*, oopDesc*, oopDesc*)+0x183
V  [libjvm.so+0x24fa88]  InterpreterRuntime::throw_WrongMethodTypeException(JavaThread*, oopDesc*, oopDesc*)+0x48;;  InterpreterRuntime::throw_WrongMethodTypeException(JavaThread*, oopDesc*, oopDesc*)+0x48

Comments
EVALUATION Running with the debug build results in: $ ./bin/java -client -Xcomp -XX:+UnlockExperimentalVMOptions -XX:+EnableMethodHandles -cp /java/devtools/share/junit/latest/junit.jar:$HOME/jdk7/jdk7/jdk/ org.junit.runner.JUnitCore test.java.dyn.JavaDocExamplesTest VM option '+UnlockExperimentalVMOptions' VM option '+EnableMethodHandles' JUnit version 4.4 Java HotSpot(TM) Client VM warning: JSR 292 invokedynamic is disabled in this JVM. Use -XX:+UnlockExperimentalVMOptions -XX:+EnableInvokeDynamic to enable. .# To suppress the following error report, specify this argument # after -XX: or in .hotspotrc: SuppressErrorAt=/sharedRuntime.cpp:1103 # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (/tmp/jprt/P1/B/203836.et151817/source/src/share/vm/runtime/sharedRuntime.cpp:1103), pid=2702, tid=2 # assert(caller_nm->is_method_handle_return(caller_frame.pc())) failed: must be MH call site # # JRE version: 7.0-b134 # Java VM: Java HotSpot(TM) Client VM (21.0-b05-internal-201103182038.et151817.hs21-b05-snapshot-jvmg compiled mode solaris-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: # /export/twisti/2011-03-18-203836.et151817.hs21-b05-snapshot/hs_err_pid2702.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Means this is (kind of) a duplicate of 6986944 and will go away with 6981791.
22-03-2011