我在Android上使用船框架启动我的世界时出现错误。 以下是小船运行时报错:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (assembler_aarch64.hpp:237), pid=14937, tid=0x0000007b51b54cb0
# guarantee(val < (1U << nbits)) failed: Field too big for insn
#
# JRE version: (8.0) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.71-b00 mixed mode linux-aarch64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
Other Threads:
=>0xb400007b18b91000 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=15485, stack(0x0000007b51953000,0x0000007b51b54cb0)]
下面是Android Studio通过boat执行java报错
E/Boat: #
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (assembler_aarch64.hpp:237), pid=28321, tid=0x0000007b4df8ecb0
# guarantee(val < (1U << nbits)) failed: Field too big for insn
#
# JRE version: (8.0) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.71-b00 mixed mode linux-aarch64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
E/Boat: # An error report file with more information is saved as:
# /storage/emulated/0/Android/data/com.xiaodong.huachipokemon/files/huachipokemon/gamedir/hs_err_pid28321.log
A/libc: fdsan: attempted to close file descriptor 5, expected to be unowned, actually owned by FILE* 0x7bf0a144d8
APP和船都用
Android 11, api30, NDK: 21.3.6528147, BuildTools: 30.0.2, Android Gradle Plugin Version 4.1.1 Gradle Version 6.7.
船的github:https://github.com/AOF-Dev/Boat
环境变量:
JAVA_HOME=/data/user/0/com.xiaodong.huachipokemon/files/runtime/boat/j2re-image
PATH=/data/user/0/com.xiaodong.huachipokemon/files/runtime/boat/j2re-image/bin:/product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin
LD_LIBRARY_PATH=/data/user/0/com.xiaodong.huachipokemon/files/runtime/boat/j2re-image/lib/aarch64/server:/data/user/0/com.xiaodong.huachipokemon/files/runtime/boat/j2re-image/lib/aarch64/jli:/data/user/0/com.xiaodong.huachipokemon/files/runtime/boat/j2re-image/lib/aarch64:/system/lib64:/vendor/lib64:/vendor/lib64/hw
如何解决?我使用 Android Studio 编译启动器来启动我的世界。我使用船框架来启动。参数应该没问题,但是我开船的时候报错,java相关的错误