jdk 1.6 Internal Error (verifier.cpp:1524) guarantee(cp->cache() == NULL)

现在有几个weblogic  10.3服务发布在window上,jdk用的是:

# JRE version: 6.0_31-b05

# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.6-b01 mixed mode windows-amd64 compressed oops)

现象:节点在无任何征兆的情况下停止。

起初从发回来的日志,根本看不出问题,怀疑是有人手工关闭服务,为了排除这个问题,打开一个CMD窗口,进入域目录下bin目录手动执行startweblogic,如果窗口被关闭,则说明是人工关闭的。

实验的结果是窗口还在,说明不是人工关闭,weblogic显示日志如下:

# A fatal error has been detected by the Java Runtime Environment:

#

#  Internal Error (verifier.cpp:1524), pid=9228, tid=11928

#  guarantee(cp->cache() == NULL) failed: not rewritten yet

#

# JRE version: 6.0_31-b05

# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.6-b01 mixed mode windows-amd64

compressed oops)

# An error report file with more information is saved as:

# E:\bea\bea\user_projects\domains\****\hs_err_pid9228.log

拿回hs_err_pid9228.log分析,是jdk的一个bug. 在metalink上找到问题,要设置-XX:ReservedCodeCacheSize的大小,由于此jdk设置内存为-Xms6144m -Xmx6144m -XX:MaxPermSize=2048m,于是将-XX:ReservedCodeCacheSize设置为1024m,文档说是要反复的实验。

-XX:ReservedCodeCacheSize意思是设置代码缓存的最大值,编译时用。Solaris
64-bit, amd64, -server x86: 48m, 1.5.0_06之前, Solaris 64-bit amd64: 1024m, 其他默认32m。

JDK Crashes with guarantee(cp->cache() == NULL) failed: not
rewritten yet (文档 ID 1626429.1)
转到底部

In this Document

Symptoms
  Cause
  Solution

APPLIES TO:

Oracle Business Process Management Suite - Version 11.1.1.6.0 and later

Information in this document applies to any platform.

SYMPTOMS

When attempting to use SOA\BPM 11g, the following error occurs:

# A fatal error has been detected by the Java Runtime Environment:

#

#  Internal Error (verifier.cpp:1524), pid=6063, tid=1141598528

#  guarantee(cp->cache() == NULL) failed: not rewritten yet

#

# JRE version: 6.0_32-b05

# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.7-b02 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 (0x00007f1ec01e7000):  JavaThread "[ACTIVE] ExecuteThread: ‘4‘ for queue: ‘weblogic.kernel.Default (self-tuning)‘" daemon [_thread_in_vm, id=6245, stack(0x0000000043fb6000,0x00000000440b7000)]

Stack: [0x0000000043fb6000,0x00000000440b7000],  sp=0x00000000440b2f30,  free space=1011k

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)

V  [libjvm.so+0x85f675]  VMError::report_and_die()+0x265

V  [libjvm.so+0x3e4b86]  report_vm_error(char const*, int, char const*, char const*)+0x56

V  [libjvm.so+0x8537c4]  ClassVerifier::verify_cp_type(int, constantPoolHandle, unsigned, Thread*)+0x54

V  [libjvm.so+0x855306]  ClassVerifier::verify_invoke_instructions(RawBytecodeStream*, unsigned, StackMapFrame*, bool*, VerificationType, constantPoolHandle, Thread*)+0x96

V  [libjvm.so+0x8521e4]  ClassVerifier::verify_method(methodHandle, Thread*)+0x3764

V  [libjvm.so+0x84e964]  ClassVerifier::verify_class(Thread*)+0x1a4

V  [libjvm.so+0x84dd4c]  Verifier::verify(instanceKlassHandle, Verifier::Mode, bool, Thread*)+0x26c

V  [libjvm.so+0x4ad32a]  instanceKlass::verify_code(instanceKlassHandle, bool, Thread*)+0x2a

V  [libjvm.so+0x4ada7c]  instanceKlass::link_class_impl(instanceKlassHandle, bool, Thread*)+0x64c

V  [libjvm.so+0x4ad38c]  instanceKlass::link_class(Thread*)+0x4c

V  [libjvm.so+0x4adc60]  instanceKlass::initialize_impl(instanceKlassHandle, Thread*)+0x30

V  [libjvm.so+0x4ad2ea]  instanceKlass::initialize(Thread*)+0x6a

V  [libjvm.so+0x4d47cc]  InterpreterRuntime::_new(JavaThread*, constantPoolOopDesc*, int)+0xbc

j  oracle.bpel.services.rules.management.instance.InstanceTrackerFactory.getInstanceTracker()Loracle/bpel/services/rules/management/instance/InstanceTracker;+21

j  oracle.bpel.services.rules.fabric.BusinessRulesServiceEngineFacades.getFaults(Loracle/soa/management/util/FaultFilter;)Ljava/util/List;+89

j  oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.getFaults(Loracle/soa/management/util/FaultFilter;)Ljava/util/List;+5

j  oracle.soa.management.internal.ejb.impl.FacadeFinderBeanImpl.getFaults(Loracle/soa/management/util/FaultFilter;)Ljava/util/List;+104

v  ~StubRoutines::call_stub

V  [libjvm.so+0x4dff90]  JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x1e0

V  [libjvm.so+0x710259]  os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x19

V  [libjvm.so+0x4dfda5]  JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x25

V  [libjvm.so+0x76e099]  Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*)+0x519

V  [libjvm.so+0x7722af]  Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*)+0x11f

V  [libjvm.so+0x56e12e]  JVM_InvokeMethod+0x21e

C  [libjava.so+0x19685]  Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x15

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)

j  oracle.bpel.services.rules.management.instance.InstanceTrackerFactory.getInstanceTracker()Loracle/bpel/services/rules/management/instance/InstanceTracker;+21

j  oracle.bpel.services.rules.fabric.BusinessRulesServiceEngineFacades.getFaults(Loracle/soa/management/util/FaultFilter;)Ljava/util/List;+89

j  oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.getFaults(Loracle/soa/management/util/FaultFilter;)Ljava/util/List;+5

j  oracle.soa.management.internal.ejb.impl.FacadeFinderBeanImpl.getFaults(Loracle/soa/management/util/FaultFilter;)Ljava/util/".

CAUSE

This is explained in the following bug: http://bugs.java.com/view_bug.do?bug_id=7033141 .

SOLUTION

To implement an immediate alternative solution, please execute the following steps:

1. Increase the current value of ‘-XX:ReservedCodeCacheSize=128m‘ to 256 and if the reported issue still persists then try with 512.

2. Retest the issue.

3. Migrate the solution as appropriate to other environments.

时间: 2024-11-11 23:22:30

jdk 1.6 Internal Error (verifier.cpp:1524) guarantee(cp->cache() == NULL)的相关文章

An internal error occurred during: "Setup check". java.lang.NullPointerException

在Eclipse的workspace下有个.metadata文件夹,Eclipse出现异常的log文件就在这个目录下. 最近出现了这样的错误: 查看日志文件发现:     !ENTRY org.eclipse.core.jobs 4 2 2011-08-03 09:33:32.843!MESSAGE An internal error occurred during: "Updating indexes".     !STACK 0Java.lang.OutOfMemoryError:

启动Eclipse时发生An internal error occurred during: "Initializing Java Tooling"错误

详细提示如下: An internal error occurred during: "Initializing Java Tooling". Illegal exception table range in class file org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration 解决方法: 通过[重置窗口布局],可解决大部分情况:点击菜单导航栏的windows > perspective > r

tomcat部属项目时报错:An internal error occurred during Add Deployment.java.lang.NullPointerException

在tomcat上部部署时报错: An internal error occurred during Add Deployment. java.lang.NullPointerException 查了一下说出现这种错误一般是是因为down的项目与本机的JDK版本不一致所致. 查了一下发现导入的类库报错,删除后重新选择jdk就好了 右键项目名→Properties→Java Build Path→Libraries→选中JRE System Library[Sun JDK 1.5.0.22]→Edi

myeclipse部署时An internal error occurred 错误的几种情况

myecplise上将工程部署到应用下时,经常出现 An internal error occurred during: "Add Deployment". java.lang.NullPointException 错误.很让人郁闷. 究其原因,一般是因为项目从别处导入的,从cvs上down下来的等. 原因一.jdk版本不一致.具体步骤如下: 右键项目名→Properties→Java Build Path→Libraries→选中JRE System Library[Sun JDK

使用myeclipse tomcat插件部署web项目时报错 an internal error occurred during add deployment . java.lang.nullpointerexception

问题描述: 使用myeclipse10的tomcat插件部署web项目时,首次部署.实际部署到了tomcat/webapps目录下且tomcat启动成功,但是eclipse报错"An internal error occurred during: "Add Deployment"  : 且eclipse中看不到部署的项目.重新部署按钮也无法点击,如图: myeclipse中看不到部署的项目: myeclipse中可以看到部署的项目如下(作为看不到项目的对比): 再次试图部署项

ORA-00600: internal error code, arguments: [4193]问题解决

操作环境 SuSE+Oracle11gR2 问题现象 单板宕机自动重启后,ORACLE运行不正常,主要表现如下: 1.执行shutdown immedate停止数据库时,提示ORA-00600: internal error code, arguments: [4193],[],[] 2.压测性能时,oracle总是无缘无故关闭 问题分析 发现问题后首先查看告警日志<find $ORACLE_BASE -name "alert*.log"> 1.查看告警日志,发现日志中有O

ORA-00600: internal error code, arguments: [kcratr1_lastbwr], [], [], [], [], [], [], []

今天在PlateSpin Forge(关于PlateSpin相关介绍,请见最下面部分简单介绍) 复制出来的一台数据库服务器上,测试数据库能否正常启动时,遇到了"ORA-00600: internal error code, arguments: [kcratr1_lastbwr], [], [], [], [], [], [], []"错误: 在官方文档介绍中,这个错误主要出现在磁盘出现故障导致数据库崩溃后,实例启动失败,并报ORA-00600: arguments: [kcratr1

An internal error occurred during: &quot;Requesting JavaScript AST from selection&quot;. GC overhead limit exc

1.错误描述 An internal error occurred during: "Requesting JavaScript AST from selection". GC overhead limit exceeded 单击"OK"后,提示如下图所示: 2.错误原因 由于用Eclipse编写JavaScript时,出现了return,位置不对,导致错误 3.解决办法 Windows--->Preference--->JavaScript (1)图一

简单记录一次ORA-00600: internal error code, arguments: [2662]

接上一个,REDO报错搞定后OPEN数据库时又报错ORA-00600: internal error code, arguments: [2662]. 原因是_ALLOW_RESETLOGS_CORRUPTION后resetlogs打开数据库,我们可能会由于SCN不一致而遭遇到ORA-00600 2662号错误,这里给出一个完整的例子及解决过程. 现象及解决--这个没拍照参考EYGLE的吧 Sun Dec 11 18:02:25 2005 Errors in file /opt/oracle/a