LoliKingdom / LoliASM

The lolis are now preparing to bytecode manipulate your game.
GNU Lesser General Public License v2.1
104 stars 22 forks source link

Client thread indefinite park #227

Open cyberpwnn opened 7 months ago

cyberpwnn commented 7 months ago

Client thread stack trace looks like this

sun.misc.Unsafe.park(boolean, long)
java.util.concurrent.locks.LockSupport.park(java.lang.Object) (line: 175)
java.util.concurrent.FutureTask.awaitDone(boolean, long) (line: 429)
java.util.concurrent.FutureTask.get() (line: 191)
com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(java.util.concurrent.Future) (line: 142)
com.google.common.util.concurrent.Futures.getUnchecked(java.util.concurrent.Future) (line: 1312)
net.minecraft.server.integrated.IntegratedServer.func_71263_m() (line: 536)
net.minecraft.client.Minecraft.func_71353_a(net.minecraft.client.multiplayer.WorldClient, java.lang.String) (line: 2448)
net.minecraft.client.Minecraft.func_71403_a(net.minecraft.client.multiplayer.WorldClient) (line: 2430)
net.minecraft.client.Minecraft.resetGameState() (line: 5288)
net.minecraft.client.Minecraft.func_71398_f() (line: 5194)
net.minecraft.client.Minecraft.func_99999_d() (line: 5142)

Everything freezes. Only happens with loliasm installed, It seems to happen when generating a lot of chunks and something in that chunk is causing it. Setting everything in the config to false fixed it, do you know what option in loliasm could be related to this stack trace caused by loading / generating a chunk? Same kind of thing happens serverside though so there mught be multiple issues

Rongmario commented 7 months ago

That looks like a deadlock in the scheduled tasks trying to run, can you try turning off crashReportImprovements?