sendaoYan / riscv-port-jdk8u-ysd

https://openjdk.org/projects/riscv-port
GNU General Public License v2.0
0 stars 0 forks source link

java launch crash: java.lang.String.<clinit>()V #252

Open sendaoYan opened 1 month ago

sendaoYan commented 1 month ago
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000003f85027184, pid=1136843, tid=0x0000003f9b17e180
#
# JRE version:  (8.0_412) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.412-b00 mixed mode linux-riscv64 compressed oops)
# Problematic frame:
# j  java.lang.String.<clinit>()V+4
#
# Core dump written. Default location: /home/yansendao/software/jdk/jdk8u-riscv64/0919/1629/core or core.1136843
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp

core.1136843.tar.gz.zip hs_err_pid1136843.log 257-fixed.zip

sendaoYan commented 1 month ago

core.1136843.tar.gz

sendaoYan commented 1 month ago

253-fixed-clean.zip

sendaoYan commented 1 month ago
./riscv-jdk8u-0923-1121-slowdebug-binary/bin/java -Xint -XX:ParallelGCThreads=1 -version
sendaoYan commented 1 month ago

hs_err_pid11335.log

sendaoYan commented 1 month ago
./riscv-jdk8u-0923-1121-slowdebug-binary/bin/java -Xint -XX:ParallelGCThreads=1 -XX:+TraceClassInitialization -version
0 Initializing 'java/lang/Object' (0x0000000800000fb0)
1 Initializing 'java/lang/CharSequence'(no method) (0x00000008000015a0)
2 Initializing 'java/lang/String' (0x0000000800001798)
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000003f81030794, pid=25749, tid=0x0000003f947ff180
#
# JRE version:  (8.0_412) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.412-b00-debug interpreted mode linux-riscv64 compressed oops)
# Problematic frame:
# j  java.lang.String.<clinit>()V+4
#
# Core dump written. Default location: /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/core or core.25749
#
# An error report file with more information is saved as:
# /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/hs_err_pid25749.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Current thread is 273074352512
Dumping core ...
sendaoYan commented 1 month ago
./riscv-jdk8u-0923-1121-slowdebug-binary/bin/java -Xint -XX:ParallelGCThreads=1 -XX:+TraceClassInitialization -XX:+TraceBytecodes -version
0 Initializing 'java/lang/Object' (0x0000000800000fb0)

[48943] static void java.lang.Object.<clinit>()
[48943]        1     0  invokestatic 16 <java/lang/Object.registerNatives()V> 
[48943]        2     3  return
1 Initializing 'java/lang/CharSequence'(no method) (0x00000008000015a0)
2 Initializing 'java/lang/String' (0x0000000800001798)

[48943] static void java.lang.String.<clinit>()
[48943]        3     0  iconst_0
[48943]        4     1  anewarray java/io/ObjectStreamField 
[48943]        5     4  putstatic 144 <java/lang/String.serialPersistentFields/[Ljava/io/ObjectStreamField;> 
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000003f8d034fe0, pid=48939, tid=0x0000003fa13ff180
#
# JRE version:  (8.0_412) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.412-b00-debug interpreted mode linux-riscv64 compressed oops)
# Problematic frame:
# j  java.lang.String.<clinit>()V+4
#
# Core dump written. Default location: /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/core or core.48939
#
# An error report file with more information is saved as:
# /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/hs_err_pid48939.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Current thread is 273288262016
Dumping core ...
Aborted (core dumped)
sendaoYan commented 1 month ago
./riscv-jdk8u-0923-1121-slowdebug-binary/bin/java -Xint -XX:ParallelGCThreads=1 -XX:+TraceClassInitialization -XX:+TraceBytecodes -XX:+TraceClassInitialization -XX:+TraceClassLoading -version
[Opened /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Object from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.io.Serializable from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Comparable from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.CharSequence from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.String from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.reflect.AnnotatedElement from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.reflect.GenericDeclaration from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.reflect.Type from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Class from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Cloneable from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.ClassLoader from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.System from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Throwable from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Error from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.ThreadDeath from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Exception from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.RuntimeException from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.SecurityManager from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.security.ProtectionDomain from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.security.AccessControlContext from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.security.SecureClassLoader from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.ReflectiveOperationException from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.ClassNotFoundException from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.LinkageError from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.NoClassDefFoundError from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.ClassCastException from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.ArrayStoreException from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.VirtualMachineError from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.OutOfMemoryError from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.StackOverflowError from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.IllegalMonitorStateException from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.ref.Reference from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.ref.SoftReference from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.ref.WeakReference from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.ref.FinalReference from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.ref.PhantomReference from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.ref.Finalizer from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.ref.ReferenceQueue from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Runnable from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Thread from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Thread$UncaughtExceptionHandler from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.ThreadGroup from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.util.Map from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.util.Dictionary from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.util.Hashtable from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.util.Properties from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.reflect.AccessibleObject from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.reflect.Member from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.reflect.Field from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.reflect.Parameter from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.reflect.Executable from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.reflect.Method from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.reflect.Constructor from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded sun.reflect.MagicAccessorImpl from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded sun.reflect.MethodAccessor from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded sun.reflect.MethodAccessorImpl from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded sun.reflect.ConstructorAccessor from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded sun.reflect.ConstructorAccessorImpl from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded sun.reflect.DelegatingClassLoader from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded sun.reflect.ConstantPool from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded sun.reflect.FieldAccessor from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded sun.reflect.FieldAccessorImpl from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded sun.reflect.UnsafeFieldAccessorImpl from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded sun.reflect.UnsafeStaticFieldAccessorImpl from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.annotation.Annotation from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded sun.reflect.CallerSensitive from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.invoke.MethodHandle from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.invoke.DirectMethodHandle from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.invoke.MemberName from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.invoke.MethodHandleNatives from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.invoke.LambdaForm from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.invoke.MethodType from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.BootstrapMethodError from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.invoke.CallSite from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.invoke.ConstantCallSite from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.invoke.MutableCallSite from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.invoke.VolatileCallSite from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Appendable from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.AbstractStringBuilder from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.StringBuffer from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.StringBuilder from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded sun.misc.Unsafe from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.AutoCloseable from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.io.Closeable from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.io.InputStream from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.io.ByteArrayInputStream from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.io.File from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.net.URLClassLoader from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.net.URL from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.util.jar.Manifest from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded sun.misc.Launcher from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded sun.misc.Launcher$AppClassLoader from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded sun.misc.Launcher$ExtClassLoader from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.security.CodeSource from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.StackTraceElement from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.nio.Buffer from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Boolean from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Character from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Number from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Float from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Double from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Byte from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Short from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Integer from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.Long from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.NullPointerException from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[Loaded java.lang.ArithmeticException from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
0 Initializing 'java/lang/Object' (0x0000000800000fb0)

[50278] static void java.lang.Object.<clinit>()
[50278]        1     0  invokestatic 16 <java/lang/Object.registerNatives()V> 
[50278]        2     3  return
1 Initializing 'java/lang/CharSequence'(no method) (0x00000008000015a0)
2 Initializing 'java/lang/String' (0x0000000800001798)

[50278] static void java.lang.String.<clinit>()
[50278]        3     0  iconst_0
[50278]        4     1  anewarray java/io/ObjectStreamField 
[Loaded java.io.ObjectStreamField from /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/riscv-jdk8u-0923-1121-slowdebug-binary/jre/lib/rt.jar]
[50278]        5     4  putstatic 144 <java/lang/String.serialPersistentFields/[Ljava/io/ObjectStreamField;> 
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000003f8d034fe0, pid=50277, tid=0x0000003fa037e180
#
# JRE version:  (8.0_412) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.412-b00-debug interpreted mode linux-riscv64 compressed oops)
# Problematic frame:
# j  java.lang.String.<clinit>()V+4
#
# Core dump written. Default location: /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/core or core.50277
#
# An error report file with more information is saved as:
# /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/hs_err_pid50277.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Current thread is 273270956416
Dumping core ...
sendaoYan commented 1 month ago
./riscv-jdk8u-0923-1121-slowdebug-binary/bin/java -Xint -XX:ParallelGCThreads=1 -XX:+TraceClassInitialization -XX:+TraceBytecodes -XX:+TraceClassInitialization -XX:+TraceProfileInterpreter -XX:+TraceStartupTime -version
[Create VM[StubRoutines generation 1, 0.0016704 secs]
[Genesis, 3.7375994 secs]
[TemplateTable initialization, 0.0000838 secs]
[Interpreter generation, 0.1050659 secs]
[StubRoutines generation 2, 0.0080590 secs]
[Start VMThread, 0.0007632 secs]
[Initialize java.lang classes0 Initializing 'java/lang/Object' (0x0000000800000fb0)

[50348] static void java.lang.Object.<clinit>()
[50348]        1     0  invokestatic 16 <java/lang/Object.registerNatives()V> 
[50348]        2     3  return
1 Initializing 'java/lang/CharSequence'(no method) (0x00000008000015a0)
2 Initializing 'java/lang/String' (0x0000000800001798)

[50348] static void java.lang.String.<clinit>()
[50348]        3     0  iconst_0
[50348]        4     1  anewarray java/io/ObjectStreamField 
[50348]        5     4  putstatic 144 <java/lang/String.serialPersistentFields/[Ljava/io/ObjectStreamField;> 
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000003f99034fe0, pid=50347, tid=0x0000003faedff180
#
# JRE version:  (8.0_412) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.412-b00-debug interpreted mode linux-riscv64 compressed oops)
# Problematic frame:
# j  java.lang.String.<clinit>()V+4
#
# Core dump written. Default location: /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/core or core.50347
#
# An error report file with more information is saved as:
# /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/hs_err_pid50347.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Current thread is 273516851584
Dumping core ...
sendaoYan commented 1 month ago
./riscv-jdk8u-0923-1121-slowdebug-binary/bin/java -Xint -XX:ParallelGCThreads=1 -XX:+TraceBytecodes -XX:+TraceStartupTime -version[Create VM[StubRoutines generation 1, 0.0016675 secs]
[Genesis, 3.7908584 secs]
[TemplateTable initialization, 0.0000862 secs]
[Interpreter generation, 0.1052067 secs]
[StubRoutines generation 2, 0.0253008 secs]
[Start VMThread, 0.0009855 secs]
[Initialize java.lang classes
[53342] static void java.lang.Object.<clinit>()
[53342]        1     0  invokestatic 16 <java/lang/Object.registerNatives()V> 
[53342]        2     3  return

[53342] static void java.lang.String.<clinit>()
[53342]        3     0  iconst_0
[53342]        4     1  anewarray java/io/ObjectStreamField 
[53342]        5     4  putstatic 144 <java/lang/String.serialPersistentFields/[Ljava/io/ObjectStreamField;> 
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000003f91034fe0, pid=53341, tid=0x0000003fa617e180
#
# JRE version:  (8.0_412) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.412-b00-debug interpreted mode linux-riscv64 compressed oops)
# Problematic frame:
# j  java.lang.String.<clinit>()V+4
#
# Core dump written. Default location: /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/core or core.53341
#
# An error report file with more information is saved as:
# /home/yansendao/software/jdk/jdk8u-riscv64/0923/1139/hs_err_pid53341.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Current thread is 273369522560
sendaoYan commented 1 month ago
./riscv-jdk8u-0923-1121-slowdebug-binary/bin/java -Xint -XX:ParallelGCThreads=1 -XX:+TraceBytecodes -XX:+PrintInterpreter -version &> trace.log

trace.log

sendaoYan commented 1 month ago
./build/linux-riscv64-normal-server-slowdebug/images/j2sdk-image/bin/java -XX:+UseG1GC -Xint -XX:ParallelGCThreads=1 -XX:+TraceBytecodes -version 
[257009] static void java.lang.Object.<clinit>()
[257009]        1     0  invokestatic 16 <java/lang/Object.registerNatives()V> 
[257009]        2     3  return

[257009] static void java.lang.String.<clinit>()
[257009]        3     0  iconst_0
[257009]        4     1  anewarray java/io/ObjectStreamField 
[257009]        5     4  putstatic 144 <java/lang/String.serialPersistentFields/[Ljava/io/ObjectStreamField;> 
[257009]        6     7  new 145 <java/lang/String$CaseInsensitiveComparator>
[257009]        7    10  dup
[257009]        8    11  aconst_null
[257009]        9    12  invokespecial 146 <java/lang/String$CaseInsensitiveComparator.<init>(Ljava/lang/String$1;)V> 

[257009] virtual void java.lang.String$CaseInsensitiveComparator.<init>(jobject)
[257009]       10     0  aload_0
[257009]       11     1  invokespecial 1 <java/lang/String$CaseInsensitiveComparator.<init>()V> 

[257009] virtual void java.lang.String$CaseInsensitiveComparator.<init>()
[257009]       12     0  aload_0
[257009]       13     1  invokespecial 2 <java/lang/Object.<init>()V> 

[257009] virtual void java.lang.Object.<init>()
[257009]       14     0  return_register_finalizer

[257009] virtual void java.lang.String$CaseInsensitiveComparator.<init>()
[257009]       15     4  return

[257009] virtual void java.lang.String$CaseInsensitiveComparator.<init>(jobject)
[257009]       16     4  return

[257009] static void java.lang.String.<clinit>()
[257009]       17    15  putstatic 55 <java/lang/String.CASE_INSENSITIVE_ORDER/Ljava/util/Comparator;> 
[257009]       18    18  return

[257009] static void java.lang.System.<clinit>()
[257009]       19     0  invokestatic 103 <java/lang/System.registerNatives()V> 
[257009]       20     3  aconst_null
[257009]       21     4  putstatic 104 <java/lang/System.in/Ljava/io/InputStream;> 
[257009]       22     7  aconst_null
[257009]       23     8  putstatic 105 <java/lang/System.out/Ljava/io/PrintStream;> 
[257009]       24    11  aconst_null
[257009]       25    12  putstatic 106 <java/lang/System.err/Ljava/io/PrintStream;> 
[257009]       26    15  aconst_null
[257009]       27    16  putstatic 27 <java/lang/System.security/Ljava/lang/SecurityManager;> 
[257009]       28    19  aconst_null
[257009]       29    20  putstatic 6 <java/lang/System.cons/Ljava/io/Console;> 
[257009]       30    23  return

[257009] virtual void java.lang.ThreadGroup.<init>()
[257009]       31     0  aload_0
[257009]       32     1  invokespecial 1 <java/lang/Object.<init>()V> 

[257009] virtual void java.lang.Object.<init>()
[257009]       33     0  return_register_finalizer

[257009] virtual void java.lang.ThreadGroup.<init>()
[257009]       34     4  aload_0
[257009]       35     5  iconst_0
[257009]       36     6  putfield 2 <java/lang/ThreadGroup.nUnstartedThreads/I> 
[257009]       37     9  aload_0
[257009]       38    10  fast_aldc system
[257009]       39    12  putfield 4 <java/lang/ThreadGroup.name/Ljava/lang/String;> 
[257009]       40    15  aload_0
[257009]       41    16  bipush 10
[257009]       42    18  putfield 6 <java/lang/ThreadGroup.maxPriority/I> 
[257009]       43    21  aload_0
[257009]       44    22  aconst_null
[257009]       45    23  putfield 7 <java/lang/ThreadGroup.parent/Ljava/lang/ThreadGroup;> 
[257009]       46    26  return

[257009] virtual void java.lang.ThreadGroup.<init>(jobject, jobject)
[257009]       47     0  aload_0
[257009]       48     1  aload_1
[257009]       49     2  invokestatic 11 <java/lang/ThreadGroup.checkParentAccess(Ljava/lang/ThreadGroup;)Ljava/lang/Void;> 

[257009] static jobject java.lang.ThreadGroup.checkParentAccess(jobject)
[257009]       50     0  aload_0
[257009]       51     1  invokevirtual 16 <java/lang/ThreadGroup.checkAccess()V> 

[257009] virtual void java.lang.ThreadGroup.checkAccess()
[257009]       52     0  invokestatic 24 <java/lang/System.getSecurityManager()Ljava/lang/SecurityManager;> 

[257009] static jobject java.lang.System.getSecurityManager()
[257009]       53     0  getstatic 27 <java/lang/System.security/Ljava/lang/SecurityManager;> 
[257009]       54     3  areturn

[257009] virtual void java.lang.ThreadGroup.checkAccess()
[257009]       55     3  astore_1
[257009]       56     4  aload_1
[257009]       57     5  ifnull 13
[257009]       58    13  return

[257009] static jobject java.lang.ThreadGroup.checkParentAccess(jobject)
[257009]       59     4  aconst_null
[257009]       60     5  areturn

[257009] virtual void java.lang.ThreadGroup.<init>(jobject, jobject)
[257009]       61     5  aload_1
[257009]       62     6  aload_2
[257009]       63     7  invokespecial 12 <java/lang/ThreadGroup.<init>(Ljava/lang/Void;Ljava/lang/ThreadGroup;Ljava/lang/String;)V> 

[257009] virtual void java.lang.ThreadGroup.<init>(jobject, jobject, jobject)
[257009]       64     0  aload_0
[257009]       65     1  invokespecial 1 <java/lang/Object.<init>()V> 

[257009] virtual void java.lang.Object.<init>()
[257009]       66     0  return_register_finalizer

[257009] virtual void java.lang.ThreadGroup.<init>(jobject, jobject, jobject)
[257009]       67     4  aload_0
[257009]       68     5  iconst_0
[257009]       69     6  putfield 2 <java/lang/ThreadGroup.nUnstartedThreads/I> 
[257009]       70     9  aload_0
[257009]       71    10  aload_3
[257009]       72    11  putfield 4 <java/lang/ThreadGroup.name/Ljava/lang/String;> 
[257009]       73    14  aload_0
[257009]       74    15  aload_2
[257009]       75    16  getfield 6 <java/lang/ThreadGroup.maxPriority/I> 
[257009]       76    19  putfield 6 <java/lang/ThreadGroup.maxPriority/I> 
[257009]       77    22  aload_0
[257009]       78    23  aload_2
[257009]       79    24  getfield 13 <java/lang/ThreadGroup.daemon/Z> 
[257009]       80    27  putfield 13 <java/lang/ThreadGroup.daemon/Z> 
[257009]       81    30  aload_0
[257009]       82    31  aload_2
[257009]       83    32  getfield 14 <java/lang/ThreadGroup.vmAllowSuspension/Z> 
[257009]       84    35  putfield 14 <java/lang/ThreadGroup.vmAllowSuspension/Z> 
[257009]       85    38  aload_0
[257009]       86    39  aload_2
[257009]       87    40  putfield 7 <java/lang/ThreadGroup.parent/Ljava/lang/ThreadGroup;> 
[257009]       88    43  aload_2
[257009]       89    44  aload_0
[257009]       90    45  invokespecial 15 <java/lang/ThreadGroup.add(Ljava/lang/ThreadGroup;)V> 

[257009] virtual void java.lang.ThreadGroup.add(jobject)
[257009]       91     0  aload_0
[257009]       92     1  dup
[257009]       93     2  astore_2
[257009]       94     3  monitorenter
[257009]       95     4  aload_0
[257009]       96     5  getfield 17 <java/lang/ThreadGroup.destroyed/Z> 
[257009]       97     8  ifeq 19
[257009]       98    19  aload_0
[257009]       99    20  getfield 20 <java/lang/ThreadGroup.groups/[Ljava/lang/ThreadGroup;> 
[257009]      100    23  ifnonnull 37
[257009]      101    26  aload_0
[257009]      102    27  iconst_4
[257009]      103    28  anewarray java/lang/ThreadGroup 
[257009]      104    31  putfield 20 <java/lang/ThreadGroup.groups/[Ljava/lang/ThreadGroup;> 
[257009]      105    34  goto 69
[257009]      106    69  aload_0
[257009]      107    70  getfield 20 <java/lang/ThreadGroup.groups/[Ljava/lang/ThreadGroup;> 
[257009]      108    73  aload_0
[257009]      109    74  getfield 19 <java/lang/ThreadGroup.ngroups/I> 
[257009]      110    77  aload_1
[257009]      111    78  aastore
[257009]      112    79  aload_0
[257009]      113    80  dup
[257009]      114    81  getfield 19 <java/lang/ThreadGroup.ngroups/I> 
[257009]      115    84  iconst_1
[257009]      116    85  iadd
[257009]      117    86  putfield 19 <java/lang/ThreadGroup.ngroups/I> 
[257009]      118    89  aload_2
[257009]      119    90  monitorexit
[257009]      120    91  goto 99
[257009]      121    99  return

[257009] virtual void java.lang.ThreadGroup.<init>(jobject, jobject, jobject)
[257009]      122    48  return

[257009] virtual void java.lang.ThreadGroup.<init>(jobject, jobject)
[257009]      123    10  return

[257009] static void java.lang.Thread.<clinit>()
[257009]      124     0  invokestatic 143 <java/lang/Thread.registerNatives()V> 
[257009]      125     3  iconst_0
[257009]      126     4  anewarray java/lang/StackTraceElement 
[257009]      127     7  putstatic 113 <java/lang/Thread.EMPTY_STACK_TRACE/[Ljava/lang/StackTraceElement;> 
[257009]      128    10  new 109 <java/lang/RuntimePermission>
[257009]      129    13  dup
[257009]      130    14  fast_aldc enableContextClassLoaderOverride
[257009]      131    16  invokespecial 111 <java/lang/RuntimePermission.<init>(Ljava/lang/String;)V> 

[257009] virtual void java.lang.RuntimePermission.<init>(jobject)
[257009]      132     0  aload_0
[257009]      133     1  aload_1
[257009]      134     2  invokespecial 1 <java/security/BasicPermission.<init>(Ljava/lang/String;)V> 

[257009] virtual void java.security.BasicPermission.<init>(jobject)
[257009]      135     0  aload_0
[257009]      136     1  aload_1
[257009]      137     2  invokespecial 17 <java/security/Permission.<init>(Ljava/lang/String;)V> 

[257009] virtual void java.security.Permission.<init>(jobject)
[257009]      138     0  aload_0
[257009]      139     1  invokespecial 1 <java/lang/Object.<init>()V> 

[257009] virtual void java.lang.Object.<init>()
[257009]      140     0  return_register_finalizer

[257009] virtual void java.security.Permission.<init>(jobject)
[257009]      141     4  aload_0
[257009]      142     5  aload_1
[257009]      143     6  putfield 2 <java/security/Permission.name/Ljava/lang/String;> 
[257009]      144     9  return

[257009] virtual void java.security.BasicPermission.<init>(jobject)
[257009]      145     5  aload_0
[257009]      146     6  aload_1
[257009]      147     7  invokespecial 18 <java/security/BasicPermission.init(Ljava/lang/String;)V> 

[257009] virtual void java.security.BasicPermission.init(jobject)
[257009]      148     0  aload_1
[257009]      149     1  ifnonnull 14
[257009]      150    14  aload_1
[257009]      151    15  invokevirtual 4 <java/lang/String.length()I> 

[257009] virtual jint java.lang.String.length()
[257009]      152     0  aload_0
[257009]      153     1  getfield 3 <java/lang/String.value/[C> 
[257009]      154     4  arraylength
[257009]      155     5  ireturn

[257009] virtual void java.security.BasicPermission.init(jobject)
[257009]      156    18  istore_2
[257009]      157    19  iload_2
[257009]      158    20  ifne 33
[257009]      159    33  aload_1
[257009]      160    34  iload_2
[257009]      161    35  iconst_1
[257009]      162    36  isub
[257009]      163    37  invokevirtual 8 <java/lang/String.charAt(I)C> 

[257009] virtual jchar java.lang.String.charAt(jint)
[257009]      164     0  iload_1
[257009]      165     1  iflt 13
[257009]      166     4  iload_1
[257009]      167     5  aload_0
[257009]      168     6  getfield 3 <java/lang/String.value/[C> 
[257009]      169     9  arraylength
[257009]      170    10  if_icmplt 22
[257009]      171    22  aload_0
[257009]      172    23  getfield 3 <java/lang/String.value/[C> 
[257009]      173    26  iload_1
[257009]      174    27  caload
[257009]      175    28  ireturn

[257009] virtual void java.security.BasicPermission.init(jobject)
[257009]      176    40  istore_3
[257009]      177    41  iload_3
[257009]      178    42  bipush 42
[257009]      179    44  if_icmpne 98
[257009]      180    98  aload_1
[257009]      181    99  fast_aldc exitVM
[257009]      182   101  invokevirtual 14 <java/lang/String.equals(Ljava/lang/Object;)Z> 

[257009] virtual jboolean java.lang.String.equals(jobject)
[257009]      183     0  aload_0
[257009]      184     1  aload_1
[257009]      185     2  if_acmpne 7
[257009]      186     7  aload_1
[257009]      187     8  instanceof 43 <java/lang/String>
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000003f6903b564, pid=257008, tid=0x0000003f7f9ff180
#
# JRE version:  (8.0_412) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.412-b00-debug interpreted mode linux-riscv64 compressed oops)
# Problematic frame:
# j  java.lang.String.equals(Ljava/lang/Object;)Z+8
#
# 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:
# /home/yansendao/git/riscv-port-jdk8u-ysd/hs_err_pid257008.log
#
# If you would like to submit a bug report, please visit:
#   mailto:yansendao.ysd@alibaba-inc.com
#
Current thread is 272724128128
Dumping core ...
Aborted (core dumped)
sendaoYan commented 1 month ago

127.patch

sendaoYan commented 1 month ago

252-fixed.zip To github.com:sendaoYan/riscv-port-jdk8u-ysd.git db969a8542..e2045725d0 minus-jbs8276799 -> minus-jbs8276799