STDOUT:
Launching child process to trigger JVM crash...
Command: /home/yansendao/git/CompoundVM-ysd/output/CompoundVM_8.17.4_linux_x64/jre/bin/java -server17 -Xmx64m -XX:+IgnoreUnrecognizedVMOptions -cp /home/yansendao/git/CompoundVM-ysd/build/jt-work/manual-run/classes/hotspot/runtime/version CrashReportTest$Crasher
[child] #
[child] # A fatal error has been detected by the Java Runtime Environment:
[child] #
[child] # SIGSEGV (0xb) at pc=0x00007ffff6e68262, pid=2293185, tid=2293186
[child] #
[child] # JRE version: OpenJDK Runtime Environment ByteDance CompoundVM (17.0.16) (slowdebug build 17.0.16+0)
[child] # Java VM: OpenJDK 64-Bit Server VM (CompoundVM 8.17.4) ByteDance CompoundVM (slowdebug 17.0.16+0, mixed mode, tiered, compressed oops, compressed class ptrs, parallel gc, linux-amd64)
[child] # Problematic frame:
[child] # V [libjvm.so+0x137c262] Unsafe_SetNativeInt+0x98
[child] #
[child] # Core dump will be written. Default location: /home/yansendao/git/CompoundVM-ysd/build/jt-work/manual-run/scratch/core.2293185
[child] #
[child] # An error report file with more information is saved as:
[child] # /home/yansendao/git/CompoundVM-ysd/build/jt-work/manual-run/scratch/hs_err_pid2293185.log
[child] #
[child] # If you would like to submit a bug report, please visit:
[child] # https://github.com/bytedance/CompoundVM/issues
[child] #
Child process exited with code: 134
Found hs_err file: /home/yansendao/git/CompoundVM-ysd/build/jt-work/manual-run/scratch/hs_err_pid2293185.log
STDERR:
java.lang.RuntimeException: Could not find JRE version line with vendor version 'ByteDance CompoundVM' and runtime version '17.0.16+0' in hs_err file.
at CrashReportTest.verifyJREVersion(CrashReportTest.java:147)
at CrashReportTest.main(CrashReportTest.java:107)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.lang.Thread.run(Thread.java:833)
报错日志:
hs_err_pid-fastdebug.log
hs_err_pid-release.log
hs_err_pid-slowdebug.log