TravaOpenJDK / trava-jdk-8-dcevm

dcevm-8 built on Travis (under construction)
Apache License 2.0
61 stars 42 forks source link

JVM crash when use corretto1.8.0_202 and dcevm8(extract libjvm.so from dcevm8u202b08 to corretto1.8.0_202) directory #8

Closed zhaoxiaojie0415 closed 1 year ago

zhaoxiaojie0415 commented 1 year ago

It crash when start up the java application. I have not reload any classes yet. the crash log is:

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

Internal Error (sharedRuntime.cpp:1175), pid=6, tid=0x00007fc273efe700 guarantee((retry_count++ < 100)) failed: Could not resolve to latest version of redefined method

JRE version: Java(TM) SE Runtime Environment (8.0_202-b08) (build 1.8.0_202-b08) Java VM: Dynamic Code Evolution 64-Bit Server VM (25.202b08-bdcevm8u20208 mixed mode linux-amd64 compressed oops) Core dump written. Default location: /home/shared/apps/infra-hotswap-test/core or core.6

If you would like to submit a bug report, please visit: https://github.com/dcevm/dcevm/issues

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

Current thread (0x00007fc2d5976800): JavaThread "pool-4-thread-3" [_thread_in_vm, id=140, stack(0x00007fc273dfe000,0x00007fc273eff000)]

Stack: [0x00007fc273dfe000,0x00007fc273eff000], sp=0x00007fc273ef9560, free space=1005k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0xa4c29b] VMError::report_and_die()+0x15b V [libjvm.so+0x4b9c78] report_vm_error(char const, int, char const, char const)+0x58 V [libjvm.so+0x94b727] SharedRuntime::resolve_helper(JavaThread, bool, bool, Thread)+0x407 V [libjvm.so+0x94be92] SharedRuntime::resolve_virtual_call_C(JavaThread)+0x32 v ~RuntimeStub::resolve_virtual_call J 17232 C1 java.util.regex.Matcher.reset()Ljava/util/regex/Matcher; (83 bytes) @ 0x00007fc3bed93a0c [0x00007fc3bed938c0+0x14c] j java.util.regex.Matcher.(Ljava/util/regex/Pattern;Ljava/lang/CharSequence;)V+79 j java.util.regex.Pattern.matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;+38 j org.hotswap.agent.util.HotswapTransformer.transform(Ljava/lang/ClassLoader;Ljava/lang/String;Ljava/lang/Class;Ljava/security/ProtectionDomain;[B)[B+128 j sun.instrument.TransformerManager.transform(Ljava/lang/ClassLoader;Ljava/lang/String;Ljava/lang/Class;Ljava/security/ProtectionDomain;[B)[B+50 j sun.instrument.InstrumentationImpl.transform(Ljava/lang/ClassLoader;Ljava/lang/String;Ljava/lang/Class;Ljava/security/ProtectionDomain;[BZ)[B+34 v ~StubRoutines::call_stub

zhaoxiaojie0415 commented 1 year ago

The cause is out anoter agent not compatible with dcevm.