Skip to content
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

Closed
Abalieno opened this issue Sep 25, 2023 · 5 comments
Closed

Weird crash with Java 21 #3338

Abalieno opened this issue Sep 25, 2023 · 5 comments
Labels
support Issues closed due to being a support request.

Comments

@Abalieno
Copy link

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

@modmuss50
Copy link
Member

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.

@Abalieno
Copy link
Author

Windows 10. Never had a similar problem up to this point.

@modmuss50
Copy link
Member

I assume you have tried redownloading FabricAPI? This could possibly be caused by a corrupted jar file.

@Abalieno
Copy link
Author

The jar itself in mod folder? The crc seems to be fine...

@modmuss50 modmuss50 added the support Issues closed due to being a support request. label Sep 29, 2023
@github-actions
Copy link

👋 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.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Issues closed due to being a support request.
Projects
None yet
Development

No branches or pull requests

2 participants