T
tModLoader2y ago
flat-fuchsia

System.Exception: Fatal Deadlock in FastParallelFor.

things i have tried: complete uninstall and reinstall of tmod loader and terraria various "anti-lag" mods my own internet search im seeing lots of "tile light" and "lighting" so maybe that has somthing to do with it? thanks in advance
3 Replies
flat-fuchsia
flat-fuchsiaOP2y ago
This is the important part of the log
System.Exception: Fatal Deadlock in FastParallelFor. pending: 10. avail: 32695
at ReLogic.Threading.FastParallel.For(Int32 fromInclusive, Int32 toExclusive, ParallelForAction callback, Object context) in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Threading\FastParallel.cs:line 102
at Terraria.Graphics.Light.TileLightScanner.ExportTo(Rectangle area, LightMap outputMap, TileLightScannerOptions options) in tModLoader\Terraria\Graphics\Light\TileLightScanner.cs:line 36
at Terraria.Graphics.Light.LightingEngine.ProcessScan(Rectangle area) in tModLoader\Terraria\Graphics\Light\LightingEngine.cs:line 118
at Terraria.Graphics.Light.LightingEngine.ProcessArea(Rectangle area) in tModLoader\Terraria\Graphics\Light\LightingEngine.cs:line 68
at Terraria.Lighting.LightTiles(Int32 firstX, Int32 lastX, Int32 firstY, Int32 lastY) in tModLoader\Terraria\Lighting.cs:line 88
at DMD<System.Void Terraria.Main:DoDraw(Microsoft.Xna.Framework.GameTime)>(Main this, GameTime gameTime)
at SyncProxy<System.Void Terraria.Main:DoDraw(Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at Terraria.Main.Draw_Inner(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52853
at DMD<System.Void Terraria.Main:Draw(Microsoft.Xna.Framework.GameTime)>(Main this, GameTime gameTime)
at Hook<System.Void GumGum.System.UIRedirectionSystem::InterceptCharacterCreationMenu(Terraria.On_Main+orig_Draw,Terraria.Main,Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at SyncProxy<System.Void Terraria.Main:Draw(Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at Microsoft.Xna.Framework.Game.Tick() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 562
at Microsoft.Xna.Framework.Game.RunLoop() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 878
at Microsoft.Xna.Framework.Game.Run() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 419
at Terraria.Program.RunGame() in tModLoader\Terraria\Program.cs:line 266
[19:27:59.133] [Main Thread/DEBUG] [TerrariaSteamClient]: Send: shutdown
System.Exception: Fatal Deadlock in FastParallelFor. pending: 10. avail: 32695
at ReLogic.Threading.FastParallel.For(Int32 fromInclusive, Int32 toExclusive, ParallelForAction callback, Object context) in D:\a\tModLoader\tModLoader\src\tModLoader\ReLogic\Threading\FastParallel.cs:line 102
at Terraria.Graphics.Light.TileLightScanner.ExportTo(Rectangle area, LightMap outputMap, TileLightScannerOptions options) in tModLoader\Terraria\Graphics\Light\TileLightScanner.cs:line 36
at Terraria.Graphics.Light.LightingEngine.ProcessScan(Rectangle area) in tModLoader\Terraria\Graphics\Light\LightingEngine.cs:line 118
at Terraria.Graphics.Light.LightingEngine.ProcessArea(Rectangle area) in tModLoader\Terraria\Graphics\Light\LightingEngine.cs:line 68
at Terraria.Lighting.LightTiles(Int32 firstX, Int32 lastX, Int32 firstY, Int32 lastY) in tModLoader\Terraria\Lighting.cs:line 88
at DMD<System.Void Terraria.Main:DoDraw(Microsoft.Xna.Framework.GameTime)>(Main this, GameTime gameTime)
at SyncProxy<System.Void Terraria.Main:DoDraw(Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at Terraria.Main.Draw_Inner(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52853
at DMD<System.Void Terraria.Main:Draw(Microsoft.Xna.Framework.GameTime)>(Main this, GameTime gameTime)
at Hook<System.Void GumGum.System.UIRedirectionSystem::InterceptCharacterCreationMenu(Terraria.On_Main+orig_Draw,Terraria.Main,Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at SyncProxy<System.Void Terraria.Main:Draw(Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at Microsoft.Xna.Framework.Game.Tick() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 562
at Microsoft.Xna.Framework.Game.RunLoop() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 878
at Microsoft.Xna.Framework.Game.Run() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 419
at Terraria.Program.RunGame() in tModLoader\Terraria\Program.cs:line 266
[19:27:59.133] [Main Thread/DEBUG] [TerrariaSteamClient]: Send: shutdown
Rijam
Rijam2y ago
Fatal Deadlock in FastParallelFor typically means something went wrong with the lighting engine. Does it happen with zero mods enabled?
flat-fuchsia
flat-fuchsiaOP2y ago
No. It only happens when certain bosses die. This info is HUGE tho ISSUE RESOLVED (changed lighting to "retro" and lowered overall graphics quality)

Did you find this page helpful?