You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use Mixin as a Java agent to create a custom usage for all Minecraft client versions, including customized ones like LabyMod, Feather, Vanilla, etc., since they are most likely to use the same obfuscated client code as Vanilla.
Currently, I'm facing an issue where the agent freezes on MixinBootstrap.init().
By "freezing," I mean that all logs before the init() call are created successfully, but any logs or operations after the init() call are not executed. My agent appears to hang without throwing any error, while Minecraft continues to run as if nothing happened.
In the logs, I can see the line "Initializing Mixins", but after that, there’s no "Mixins initialized", no "Mixins configuration added", and no errors.
My first impression was that it might be a deadlock or something I misconfigured, such as using a wrong method or missing dependency, but I have no clue at the moment.
Additional Details:
I'm using the Java Instrumentation API with the -javaagent argument.
The program is run from a FAT-JAR containing all dependencies, including Mixin and ASM.
Used versions:
Mixin: 0.8.3
ASM/Util: 9.7
If someone could provide guidance or point out what I might have done wrong, I would greatly appreciate it.
Best regards,
Splatcrafter
The text was updated successfully, but these errors were encountered:
I used jstack to capture a thread dump after encountering the issue where the agent freezes on MixinBootstrap.init(). I also updated Mixin to version 0.8.5, but the behavior remains unchanged.
From my analysis, Minecraft itself continues running without any issues, but the agent seems to hang during the initialization process. I couldn’t identify any Java-level deadlocks or specific blocked threads, but I might have missed something.
I’d appreciate any further guidance or insights into what might be causing this.
Hello,
I'm trying to use Mixin as a Java agent to create a custom usage for all Minecraft client versions, including customized ones like LabyMod, Feather, Vanilla, etc., since they are most likely to use the same obfuscated client code as Vanilla.
Currently, I'm facing an issue where the agent freezes on
MixinBootstrap.init()
.By "freezing," I mean that all logs before the
init()
call are created successfully, but any logs or operations after theinit()
call are not executed. My agent appears to hang without throwing any error, while Minecraft continues to run as if nothing happened.Here’s the relevant code snippet:
In the logs, I can see the line
"Initializing Mixins"
, but after that, there’s no"Mixins initialized"
, no"Mixins configuration added"
, and no errors.My first impression was that it might be a deadlock or something I misconfigured, such as using a wrong method or missing dependency, but I have no clue at the moment.
Additional Details:
-javaagent
argument.If someone could provide guidance or point out what I might have done wrong, I would greatly appreciate it.
Best regards,
Splatcrafter
The text was updated successfully, but these errors were encountered: