[1.18.2] Server hang on startup UNSAFE.PARK
Reshy opened this issue ยท 6 comments
No Crash report, but I have the thread dump. It only started happening after turning off a large amount of mods for debugging, and specifically after I enabled the Abnormal Mod Suite.
Thread Dump: https://pastebin.com/CvMq19C2
Logs: https://pastebin.com/NiNr9imh
"Render thread" #1 prio=5 os_prio=0 cpu=10687.50ms elapsed=480.02s tid=0x000001eb5d9011e0 nid=0x74f4 runnable [0x00000004a12fd000]
java.lang.Thread.State: TIMED_WAITING (parking)
at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
at java.util.concurrent.locks.LockSupport.parkNanos([email protected]/LockSupport.java:376)
at org.embeddedt.modernfix.forge.load.ModWorkManagerQueue.pollFirst([email protected]/ModWorkManagerQueue.java:24)
at org.embeddedt.modernfix.forge.load.ModWorkManagerQueue.pollFirst([email protected]/ModWorkManagerQueue.java:10)
at net.minecraftforge.fml.ModWorkManager$SyncExecutor.driveOne([email protected]/ModWorkManager.java:40)
at net.minecraftforge.fml.ModWorkManager$DrivenExecutor.drive([email protected]/ModWorkManager.java:26)
at net.minecraftforge.fml.ModLoader.waitForTransition([email protected]/ModLoader.java:202)
at net.minecraftforge.fml.ModLoader.lambda$dispatchAndHandleError$21([email protected]/ModLoader.java:187)
at net.minecraftforge.fml.ModLoader$$Lambda$3847/0x0000000800be4d40.accept([email protected]/Unknown Source)
at java.util.Optional.ifPresent([email protected]/Optional.java:178)
at net.minecraftforge.fml.ModLoader.dispatchAndHandleError([email protected]/ModLoader.java:187)
at net.minecraftforge.fml.ModLoader.lambda$gatherAndInitializeMods$11([email protected]/ModLoader.java:164)
at net.minecraftforge.fml.ModLoader$$Lambda$3841/0x0000000800be4000.accept([email protected]/Unknown Source)
at java.lang.Iterable.forEach([email protected]/Iterable.java:75)
at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods([email protected]/ModLoader.java:164)
at net.minecraftforge.client.loading.ClientModLoader.lambda$begin$1([email protected]/ClientModLoader.java:92)
at net.minecraftforge.client.loading.ClientModLoader$$Lambda$3760/0x0000000800bc1740.run([email protected]/Unknown Source)
at net.minecraftforge.client.loading.ClientModLoader.lambda$createRunnableWithCatch$4([email protected]/ClientModLoader.java:112)
at net.minecraftforge.client.loading.ClientModLoader$$Lambda$3761/0x0000000800bc1958.run([email protected]/Unknown Source)
at net.minecraftforge.client.loading.ClientModLoader.begin([email protected]/ClientModLoader.java:92)
at net.minecraft.client.Minecraft.([email protected]/Minecraft.java:459)
at net.minecraft.client.main.Main.main([email protected]/Main.java:169)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0([email protected]/Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke([email protected]/NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke([email protected]/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke([email protected]/Method.java:568)
at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0([email protected]/CommonClientLaunchHandler.java:31)
at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler$$Lambda$856/0x0000000800476788.call([email protected]/Unknown Source)
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch([email protected]/LaunchServiceHandlerDecorator.java:37)
at cpw.mods.modlauncher.LaunchServiceHandler.launch([email protected]/LaunchServiceHandler.java:53)
at cpw.mods.modlauncher.LaunchServiceHandler.launch([email protected]/LaunchServiceHandler.java:71)
at cpw.mods.modlauncher.Launcher.run([email protected]/Launcher.java:106)
at cpw.mods.modlauncher.Launcher.main([email protected]/Launcher.java:77)
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept([email protected]/BootstrapLaunchConsumer.java:26)
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept([email protected]/BootstrapLaunchConsumer.java:23)
at cpw.mods.bootstraplauncher.BootstrapLauncher.main([email protected]/BootstrapLauncher.java:149)
This appears to be an issue in Forge, not ModernFix. I have reported it here: MinecraftForge/MinecraftForge#9505
Adding a few more mods in or removing Environmental for now would probably solve it.
I've applied a workaround from my end. Can you try this development build and let me know if it fixes the hang?
It crashes on start up: https://pastebin.com/8GNRs2YY