1.12.2 Freeze at post (With client thread stack included)
cyberpwnn opened this issue ยท 5 comments
It's related to #890
I know this was already closed, but I figured the stack would be useful here since it wasnt reported before, nor could anyone seem to reproduce it.
However its not actually iterating through the loop. It just freezes on the (first?) entry. I've waited 30 minutes with CPU monitoring, nothing is happening. Looks like a deadlock.
Client Thread stack
Thread dump at 0:19.928.007
* Thread group "main":
Thread "Client thread":
at org.lwjgl.input.Keyboard.isKeyDown(int) (line: 404)
at crafttweaker.mc1120.events.ClientEventHandler.onItemTooltip(net.minecraftforge.event.entity.player.ItemTooltipEvent) (line: 46)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1549_ClientEventHandler_onItemTooltip_ItemTooltipEvent.invoke(net.minecraftforge.fml.common.eventhandler.Event)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(net.minecraftforge.fml.common.eventhandler.Event) (line: 90)
at com.github.terminatornl.laggoggles.tickcentral.EventBusTransformer.redirectEvent(net.minecraftforge.fml.common.eventhandler.IEventListener, net.minecraftforge.fml.common.eventhandler.Event) (line: 67)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(net.minecraftforge.fml.common.eventhandler.Event) (line: 182)
at net.minecraftforge.event.ForgeEventFactory.onItemTooltip(net.minecraft.item.ItemStack, net.minecraft.entity.player.EntityPlayer, java.util.List, net.minecraft.client.util.ITooltipFlag) (line: 358)
at net.minecraft.item.ItemStack.func_82840_a(net.minecraft.entity.player.EntityPlayer, net.minecraft.client.util.ITooltipFlag) (line: 889)
at net.minecraft.client.Minecraft.lambda$populateSearchTreeManager$1(net.minecraft.item.ItemStack) (line: 576)
at net.minecraft.client.Minecraft$$Lambda$3085.814336632.apply(java.lang.Object)
at net.minecraft.client.util.SearchTree.func_194042_b(java.lang.Object) (line: 49)
at net.minecraft.client.util.SearchTree.func_194043_a(java.lang.Object) (line: 44)
at net.minecraft.client.Minecraft$$Lambda$3128.1981492334.accept(java.lang.Object)
at java.lang.Iterable.forEach(java.util.function.Consumer)
at net.minecraft.client.Minecraft.func_193986_ar() (line: 590)
at crafttweaker.mc1120.CraftTweaker.onFMLLoadComplete(net.minecraftforge.fml.common.event.FMLLoadCompleteEvent) (line: 185)
at sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[ ])
at sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[ ])
at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[ ])
at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[ ])
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(net.minecraftforge.fml.common.event.FMLEvent) (line: 637)
at sun.reflect.GeneratedMethodAccessor11.invoke(java.lang.Object, java.lang.Object[ ])
at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[ ])
at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[ ])
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(java.lang.Object) (line: 91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(java.lang.Object) (line: 150)
at com.google.common.eventbus.Subscriber$1.run() (line: 76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(java.lang.Runnable) (line: 399)
at com.google.common.eventbus.Subscriber.dispatchEvent(java.lang.Object) (line: 71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(java.lang.Object, java.util.Iterator) (line: 116)
at com.google.common.eventbus.EventBus.post(java.lang.Object) (line: 217)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(net.minecraftforge.fml.common.event.FMLEvent, net.minecraftforge.fml.common.ModContainer) (line: 219)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(net.minecraftforge.fml.common.event.FMLEvent) (line: 197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[ ])
at sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[ ])
at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[ ])
at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[ ])
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(java.lang.Object) (line: 91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(java.lang.Object) (line: 150)
at com.google.common.eventbus.Subscriber$1.run() (line: 76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(java.lang.Runnable) (line: 399)
at com.google.common.eventbus.Subscriber.dispatchEvent(java.lang.Object) (line: 71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(java.lang.Object, java.util.Iterator) (line: 116)
at com.google.common.eventbus.EventBus.post(java.lang.Object) (line: 217)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(net.minecraftforge.fml.common.LoaderState, java.lang.Object[ ]) (line: 136)
at net.minecraftforge.fml.common.Loader.initializeMods() (line: 757)
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading() (line: 336)
at net.minecraft.client.Minecraft.func_71384_a() (line: 535)
at net.minecraft.client.Minecraft.func_99999_d() (line: 3931)
at net.minecraft.client.main.Main.main(java.lang.String[ ]) (line: 123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[ ])
at sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[ ])
at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[ ])
at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[ ])
at net.minecraft.launchwrapper.Launch.launch(java.lang.String[ ]) (line: 135)
at net.minecraft.launchwrapper.Launch.main(java.lang.String[ ]) (line: 28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[ ])
at sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[ ])
at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[ ])
at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[ ])
at org.multimc.onesix.OneSixLauncher.launchWithMainClass() (line: 196)
at org.multimc.onesix.OneSixLauncher.launch(org.multimc.ParamBucket) (line: 231)
at org.multimc.EntryPoint.listen() (line: 143)
at org.multimc.EntryPoint.main(java.lang.String[ ]) (line: 34)
Yup, all of my scripts include #disable_search_tree
right after imports. Perhaps its an older version of CT? That's my only thought. Currently on 1.12-4.1.20.586
, i'll try updating.
Edit: First startup on latest 1.12.2 ct version seemed to work. If my next launch doesnt have the issue i'll close this within a day or less.
could you reproduce it using the older version of crt
my hunch is that theres another mod accessing the opengl global package lock, which freezes this thread and subsequently the loading
maybe it got stuck while waiting for the next keypress? did you try pressing some keys to see if that fixed it?
doot @cyberpwnn