Concurrent Chunk Management Engine

Concurrent Chunk Management Engine

2M Downloads

Incompatiblity with Smoothchunk (Fabric 1.21.1 on 0.16.10)

suerion opened this issue ยท 5 comments

commented

@someaddons had updated his Smoothchunk, since this, i got an incompatibility issue on smoothchunk an c2me ->

had added there an Issue, but if it could be fixed on your side, i would be happpy also. thanks for looking on it
someaddons/smoothchunksave#9

Crash Log and Latest log on Smoothchunksave issue

[00:40:36 WARN] [Server thread]: [FabricLoader/Mixin] @Redirect conflict. Skipping smoothchunk.mixins.json:ChunkMapSlowUnload from mod smoothchunk->@Redirect::getSize(Ljava/util/Queue;)I with priority 1000, already redirected by c2me-opts-scheduling.mixins.json:general_overheads.MixinThreadedAnvilChunkStorage from mod c2me-opts-scheduling->@Redirect::redirectUnloadSize(Ljava/util/Queue;)I with priority 1100
[00:40:36 ERROR] [Server thread]: [MinecraftServer] Encountered an unexpected exception
java.lang.RuntimeException: Mixin transformation of net.minecraft.class_3898 failed
        at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:427) ~[fabric-loader-0.16.10.jar:?]
        at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.16.10.jar:?]
        at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.16.10.jar:?]
        at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119) ~[fabric-loader-0.16.10.jar:?]
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?]
        at knot/net.minecraft.server.level.ServerChunkCache.<init>(ServerChunkCache.java:84) ~[?:?]
        at knot/net.minecraft.server.level.ServerLevel.<init>(MixinServerLevel.java:242) ~[?:?]
        at knot/net.minecraft.server.MinecraftServer.createLevels(MinecraftServer.java:377) ~[server-intermediary.jar:?]        at knot/net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:342) ~[server-intermediary.jar:?]
        at knot/net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:185) ~[?:?]
        at knot/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:664) ~[server-intermediary.jar:?]
        at knot/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:281) ~[server-intermediary.jar:?]
        at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
        at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392) ~[sponge-mixin-0.15.4+mixin.0.8.7.jar:0.15.4+mixin.0.8.7]
        at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) ~[sponge-mixin-0.15.4+mixin.0.8.7.jar:0.15.4+mixin.0.8.7]
        at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) ~[sponge-mixin-0.15.4+mixin.0.8.7.jar:0.15.4+mixin.0.8.7]
        at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:422) ~[fabric-loader-0.16.10.jar:?]
        ... 12 more
Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Redirector getSize(Ljava/util/Queue;)I in smoothchunk.mixins.json:ChunkMapSlowUnload from mod smoothchunk failed injection check, (0/1) succeeded. Scanned 0 target(s). Using refmap smoothchunk-fabric-refmap.json
        at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.postInject(InjectionInfo.java:531) ~[sponge-mixin-0.15.4+mixin.0.8.7.jar:0.15.4+mixin.0.8.7]
        at org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1490) ~[sponge-mixin-0.15.4+mixin.0.8.7.jar:0.15.4+mixin.0.8.7]
        at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:752) ~[sponge-mixin-0.15.4+mixin.0.8.7.jar:0.15.4+mixin.0.8.7]
        at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:330) ~[sponge-mixin-0.15.4+mixin.0.8.7.jar:0.15.4+mixin.0.8.7]
        at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:246) ~[sponge-mixin-0.15.4+mixin.0.8.7.jar:0.15.4+mixin.0.8.7]
        at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:437) ~[sponge-mixin-0.15.4+mixin.0.8.7.jar:0.15.4+mixin.0.8.7]
        at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:418) ~[sponge-mixin-0.15.4+mixin.0.8.7.jar:0.15.4+mixin.0.8.7]
        at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[sponge-mixin-0.15.4+mixin.0.8.7.jar:0.15.4+mixin.0.8.7]
        at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) ~[sponge-mixin-0.15.4+mixin.0.8.7.jar:0.15.4+mixin.0.8.7]
        at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) ~[sponge-mixin-0.15.4+mixin.0.8.7.jar:0.15.4+mixin.0.8.7]
        at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:422) ~[fabric-loader-0.16.10.jar:?]
        ... 12 more
commented

@ishland

is this mod also a problem on saving?
https://www.curseforge.com/minecraft/mc-mods/fast-async-world-save-forge-fabric
Then i would disable it also, had not see an issue yet with this mod

commented

is this mod also a problem on saving? https://www.curseforge.com/minecraft/mc-mods/fast-async-world-save-forge-fabric Then i would disable it also, had not see an issue yet with this mod

It is probably fine. But if your server is having trouble saving persistent states and even level.dat, you should just get a ssd. Unless such autosave becomes a problem for the server, I wouldn't use it.

commented

Please consider picking your mods wisely.

commented

We include something similar all the time, called the enhanced autosave. it saves chunks when the server is idle. There's probably no need for smooth chunk save when using C2ME.

See #233 (might be outdated a bit)

commented

Please consider picking your mods wisely.

@development4511 what do you mean? i think, someaddons are good mods, but i thougt, i could need it here also.

@ishland thanks for answering. ;) then i would disable the mod on my server.