constellation-mc / blame-log

Prepending method callers since 2023
MIT License
2 stars 0 forks source link

[BUG] MC isn't loading while version blame-log-0.3.2-1.18.jar is active #4

Open Cape-City opened 1 year ago

Cape-City commented 1 year ago

Hi,

with the version 0.3.1 everything works as it should, but after update to version 0.3.2 the game is stuck while loading.

Here is the latest.log with version 0.3.2: latest.log

Here is the latest.log with version 0.3.1: latest.log

MC 1.19.3 Fabric 0.14.22 fabric-api-0.76.1+1.19.3.jar

melontini commented 1 year ago

Hi, thanks for the report. Unfortunately, I can't confirm this. The game launches fine on all MC versions I tested it on.

Cape-City commented 1 year ago

Maybe it has to do with an incomp with one of the 445 other mods i have installed, but this incomp isn't there, if i use the v0.3.1. The question is what changes has been taken place between these 2 versions?

melontini commented 1 year ago

There was a major-ish Dark Matter update, but there were hardly any changes related to BlameLog/Danger. Even Base was barely affected.

The only one I can think of is the ClassLoader switch FabricLoader.class.getClassLoader() -> ClassLoader.getSystemClassLoader() in Danger. But if something went wrong here, the game would've crashed immediately.

Cape-City commented 1 year ago

The Dark Matter mod is also in its last version installed (dark-matter-1.1.0-1.19.3.jar). The pain is, that MC doesn't produced any error in the log, just freeze exactly at the same point every time.

melontini commented 1 year ago

Can you check this version? https://github.com/melontini/blame-log/suites/16613259664/artifacts/949118009

Cape-City commented 1 year ago

Hi,

it freezes again at the same time during startup, sorry :(

latest.log

melontini commented 1 year ago

I honestly have no idea. If you're playing a modpack, could you send me the link?

Cape-City commented 1 year ago

It's my modpack:

https://www.curseforge.com/minecraft/modpacks/monty-mcdonnells-a-new-world

melontini commented 1 year ago

Can you try reproducing with MemoryLeakFix v1.1.2? There seems to be a conflict with v1.0.0 and MixinExtras 0.2.0-rc.4

Cape-City commented 1 year ago

Hi,

even with blame-log-0.3.2-1.18.jar or blame-log-0.4.0-1.18.jar and MemoryLeakFix 1.1.2 or MemoryLeakFix completly disabled, this error happens with that freeze.

latest.log

melontini commented 1 year ago

Hmm. Could you please dump the debug.log using https://modrinth.com/mod/better-log4j-config with this config https://github.com/FabricMC/fabric-loom/blob/dev/1.4/src/main/resources/log4j2.fabric.xml ? Also, which java vendor are you using? (e.g. Adoptium, Azul Zulu, GraalVM, IBM, OpenJ9 etc.)

Cape-City commented 1 year ago

Hi,

CurseForge is using the OpenJDK Binary:

grafik

Here is the latest.log file with the better_log4j_config mod active (the debug.log is complete empty):

latest.log

grafik

Cape-City commented 1 year ago

If using the "working" blame-log mod again, this is plottet in the latest.log: (did mc just not load the mod in version 0.3.1 and that's why the game is not crashing?):

12:19:59.521 FabricLoader/Mixin main Error loading companion plugin class [me.melontini.blamelog.BlamePlugin] for mixin config [blame-log.mixins.json]. The plugin may be out of date: NoClassDefFoundError:me/melontini/dark_matter/util/Utilities java.lang.NoClassDefFoundError: me/melontini/dark_matter/util/Utilities at me.melontini.blamelog.BlamePlugin.(BlamePlugin.java:29) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:467) at net.fabricmc.loader.impl.launch.knot.MixinServiceKnot.findClass(MixinServiceKnot.java:96) at org.spongepowered.asm.mixin.transformer.PluginHandle.(PluginHandle.java:96) at org.spongepowered.asm.mixin.transformer.MixinConfig.onSelect(MixinConfig.java:708) at org.spongepowered.asm.mixin.transformer.MixinProcessor.selectConfigs(MixinProcessor.java:498) at org.spongepowered.asm.mixin.transformer.MixinProcessor.select(MixinProcessor.java:460) at org.spongepowered.asm.mixin.transformer.MixinProcessor.checkSelect(MixinProcessor.java:438) at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:290) at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:422) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:112) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:467) at net.fabricmc.loader.impl.util.DefaultLanguageAdapter.create(DefaultLanguageAdapter.java:50) at net.fabricmc.loader.impl.entrypoint.EntrypointStorage$NewEntry.getOrCreate(EntrypointStorage.java:117) at net.fabricmc.loader.impl.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:53) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:162) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) Caused by: java.lang.ClassNotFoundException: me.melontini.dark_matter.util.Utilities at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226) at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:112) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) ... 27 more 12:19:59.545 FabricLoader/Mixin main Reference map 'blame-log-refmap.json' for blame-log.mixins.json could not be read. If this is a development environment you can ignore this message

Here is the latest.log when MC starts normally into the game:

latest.log

melontini commented 1 year ago

Ah, sorry, the error happens before BetterLog4J is inited. Can you try this version https://github.com/melontini/better_log4j_config/suites/16755696946/artifacts/956993108 with the hanging version of BlameLog?

Cape-City commented 1 year ago

Here are the two logs:

debug.log latest.log