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

Crucible incompatible with OpenJ9 SharedCache #92

Open
Zilacon opened this issue Jan 5, 2022 · 5 comments
Open

Crucible incompatible with OpenJ9 SharedCache #92

Zilacon opened this issue Jan 5, 2022 · 5 comments
Labels
Can Not Reproduce We can't reproduce this issue on our servers. Outside Crucible When a bug or issue is not with crucible itself, but with minecraft, forge or thermos code.

Comments

@Zilacon
Copy link

Zilacon commented Jan 5, 2022

Using OJ9 SharedCache will cause the server to crash, and the FML Security will throw errors
2022-01-05-4.log

I am not having an issue using OJ9 Cache on my 1.5.2/1.6.4/1.12.2 servers.

@juanmuscaria
Copy link
Member

Avoid using shared classes with forge, or at least make sure to only use -Xshareclasses:bootClassesOnly without Ahead of Time compilation. In general, forge itself has several issues with class transformation and openj9 which are far from our reach to even try to fix.

@juanmuscaria juanmuscaria added the Outside Crucible When a bug or issue is not with crucible itself, but with minecraft, forge or thermos code. label Jan 6, 2022
@Zilacon
Copy link
Author

Zilacon commented Jan 6, 2022

But as i said, every other server software i use, even the original hybrid servers that we had to force patch to allow java 8 even works with it. But it doesnt with crucible...

@drori200
Copy link

drori200 commented Jan 6, 2022

Could be related to a8f15e4

@Zilacon
Copy link
Author

Zilacon commented Jan 6, 2022

Could be related to a8f15e4

No, that patch was at the request of me to add oj9 support. Without that crucible doesnt even start using oj9.

@juanmuscaria
Copy link
Member

Crucible itself works just fine with -Xshareclasses, the problem is that forge class transformation is unstable with openj9 in general, specially with class sharing, as you can see in the logs everything is beyond broken, logic pipes can't register its transformers, grimoire can't load properly as a forge mod, most stacktraces are broken with "" everywhere, javapatcher failed to apply one patch.
I tried to reproduce those errors locally, but it works just fine except from the broken stacktraces and freezing when forge security manager tries to catch a bad exit.

@juanmuscaria juanmuscaria added the Can Not Reproduce We can't reproduce this issue on our servers. label Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Can Not Reproduce We can't reproduce this issue on our servers. Outside Crucible When a bug or issue is not with crucible itself, but with minecraft, forge or thermos code.
Projects
None yet
Development

No branches or pull requests

3 participants