#Axiom shading LWJGL causes launch crash

1 messages · Page 1 of 1 (latest)

ember lintelBOT
#

@cunning sorrel uploaded a log, It appears that Axiom is shading in parts of LWJGL which causes a linkage error since the library is already available from the Minecraft libraries.
Attached is the crash report that should be more than enough to diagnose the issue.

  • OpenJDK 64-Bit Server VM, version 18.0.1

Recommendations:

  • Unless you know what you're doing, modifying your JVM args could have unintended side effects. It's best to use the defaults.
raven vector
#

This only occurs on quilt

cunning sorrel
#

is there any particular reason as to why lwjgl gets shaded in the first place? I assume that wasn't on purpose?

raven vector
#

For NFD

#

LWJGL itself should be excluded

#

I'll try adding an additional exclude for system

cunning sorrel
cunning sorrel
raven vector
#

Native File Dialogs

cunning sorrel
#

ah right

raven vector
#

Since Tiny File Dialogs has remote code execution exploits

cunning sorrel
#

maybe relocate it perhaps?

#

Quilt probably should isolate the core libraries and the stuff from the mods

raven vector
#

Not sure if relocation works with natives

#

Alright, well, seemingly everything is still functional even with relocation, so I'll just do that

cunning sorrel
raven vector
#

Turns out relocation doesn't work when the jar is compiled, only when running in dev

#

I'll try to figure out an alternative solution

cunning sorrel
#

I wonder if this issue should be brought up with Quilt themselves

raven vector
#

Do you know off the top of your head which 'feature' in quilt is breaking class loading?

#

Does fabric have some isolation that quilt removes?

cunning sorrel