-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird crash with Java 21 #3338
Comments
Java 21 should work fine, what operating system are you using? I vageully recall seeing this issue before, I forget what the cause was though. |
Windows 10. Never had a similar problem up to this point. |
I assume you have tried redownloading FabricAPI? This could possibly be caused by a corrupted jar file. |
The jar itself in mod folder? The crc seems to be fine... |
👋 We use the issue tracker exclusively for final bug reports and feature requests. However, this issue appears to be better suited for either a discussion thread, or a message on our discord server. Please post your request on one of these, and the conversation can continue there. |
I'm not sure if it's related to Java version, but since it's the first time I'm seeing this and I've made some changes recently, it's my primary suspicion.
I'm running official oracle GraalVM Java 21 released a few days ago, with 1.19.2.
Using these flags (I now use ZGC, but these caused the crashes):
-XX:+EnableJVMCI -XX:+UseJVMCICompiler -XX:+EagerJVMCI -Djvmci.Compiler=graal -Dfml.readTimeout=120 -Dgraal.ShowConfiguration=info -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -Dsun.rmi.dgc.server.gcInterval=900000 -XX:+DisableExplicitGC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=51 -XX:G1HeapRegionSize=32M
I get occasional crashes about different stuff. One was this, as soon I made a world and was waiting to get in:
java.lang.SecurityException: SHA-256 digest error for net/fabricmc/fabric/api/event/server/ServerStartCallback.class
The second time it was this
java.lang.SecurityException: SHA-256 digest error for net/fabricmc/fabric/api/block/BlockAttackInteractionAware.class
The text was updated successfully, but these errors were encountered: