tModLoader

tModLoader

Aslute Apr 23, 2023 @ 12:15pm
Need help fixing crashes that don't create crash logs
I have been using tModLoader for quite long but have never encounter issues like this before while playing with worlds that have around 4-5 hours played. The game just suddenly crashed when I was in the middle of playing for 5-10 mins, it just like that for a whole month. Here is the log from the client log, I hope it helps:

[02:01:07.179] [.NET ThreadPool Worker/WARN] [tML]: Silently Caught Exception:
System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer)
at System.Net.Security.SslStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
at System.Net.Http.HttpConnection.<CheckUsabilityOnScavenge>g__ReadAheadWithZeroByteReadAsync|45_0()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.Net.Http.HttpConnection.<CheckUsabilityOnScavenge>g__ReadAheadWithZeroByteReadAsync|45_0()
at System.Net.Http.HttpConnection.CheckUsabilityOnScavenge()
at System.Net.Http.HttpConnectionPool.<CleanCacheAndDisposeIfUnused>g__IsUsableConnection|115_2(HttpConnectionBase connection, Int64 nowTicks, TimeSpan pooledConnectionLifetime, TimeSpan pooledConnectionIdleTimeout)
at System.Net.Http.HttpConnectionPool.<CleanCacheAndDisposeIfUnused>g__ScavengeConnectionList|115_1[T](List`1 list, List`1& toDispose, Int64 nowTicks, TimeSpan pooledConnectionLifetime, TimeSpan pooledConnectionIdleTimeout)
at System.Net.Http.HttpConnectionPool.CleanCacheAndDisposeIfUnused()
at System.Net.Http.HttpConnectionPoolManager.RemoveStalePools()
at System.Net.Http.HttpConnectionPoolManager.<>c.<.ctor>b__11_0(Object s)
at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
at System.Threading.TimerQueue.FireNextTimers()
at System.Threading.UnmanagedThreadPoolWorkItem.ExecuteUnmanagedThreadPoolWorkItem(IntPtr callback, IntPtr state)
at System.Threading.UnmanagedThreadPoolWorkItem.ExecuteUnmanagedThreadPoolWorkItem(IntPtr callback, IntPtr state)
at System.Threading.UnmanagedThreadPoolWorkItem.System.Threading.IThreadPoolWorkItem.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

[02:01:07.196] [.NET ThreadPool Worker/WARN] [tML]: Silently Caught Exception:
System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer)
at System.Net.Security.SslStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
at System.Net.Http.HttpConnection.<CheckUsabilityOnScavenge>g__ReadAheadWithZeroByteReadAsync|45_0()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.Net.Http.HttpConnection.<CheckUsabilityOnScavenge>g__ReadAheadWithZeroByteReadAsync|45_0()
at System.Net.Http.HttpConnection.CheckUsabilityOnScavenge()
at System.Net.Http.HttpConnectionPool.<CleanCacheAndDisposeIfUnused>g__IsUsableConnection|115_2(HttpConnectionBase connection, Int64 nowTicks, TimeSpan pooledConnectionLifetime, TimeSpan pooledConnectionIdleTimeout)
at System.Net.Http.HttpConnectionPool.<CleanCacheAndDisposeIfUnused>g__ScavengeConnectionList|115_1[T](List`1 list, List`1& toDispose, Int64 nowTicks, TimeSpan pooledConnectionLifetime, TimeSpan pooledConnectionIdleTimeout)
at System.Net.Http.HttpConnectionPool.CleanCacheAndDisposeIfUnused()
at System.Net.Http.HttpConnectionPoolManager.RemoveStalePools()
at System.Net.Http.HttpConnectionPoolManager.<>c.<.ctor>b__11_0(Object s)
at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
at System.Threading.TimerQueue.FireNextTimers()
at System.Threading.UnmanagedThreadPoolWorkItem.ExecuteUnmanagedThreadPoolWorkItem(IntPtr callback, IntPtr state)
at System.Threading.UnmanagedThreadPoolWorkItem.ExecuteUnmanagedThreadPoolWorkItem(IntPtr callback, IntPtr state)
at System.Threading.UnmanagedThreadPoolWorkItem.System.Threading.IThreadPoolWorkItem.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()

[02:04:04.098] [Main Thread/WARN] [tML]: Silently Caught Exception:
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'Function called with a bad style argument')
at Terraria.ObjectData.TileObjectData.GetTileData(Int32 type, Int32 style, Int32 alternate) in tModLoader\Terraria\ObjectData\TileObjectData.cs:line 4281
at Terraria.ModLoader.TileLoader.CheckModTile(Int32 i, Int32 j, Int32 type) in tModLoader\Terraria\ModLoader\TileLoader.cs:line 287
at Terraria.WorldGen.TileFrame(Int32 i, Int32 j, Boolean resetFrame, Boolean noBreak) in tModLoader\Terraria\WorldGen.cs:line 54161
at Terraria.WorldGen.SquareTileFrame(Int32 i, Int32 j, Boolean resetFrame) in tModLoader\Terraria\WorldGen.cs:line 52558
at CalamityMod.Tiles.Abyss.ViperVines.RandomUpdate(Int32 i, Int32 j) in CalamityMod\Tiles\Abyss\ViperVines.cs:line 97
at Terraria.ModLoader.TileLoader.RandomUpdate(Int32 i, Int32 j, Int32 type) in tModLoader\Terraria\ModLoader\TileLoader.cs:line 701
at Terraria.WorldGen.UpdateWorld_UndergroundTile(Int32 i, Int32 j, Boolean checkNPCSpawns, Int32 wallDist) in tModLoader\Terraria\WorldGen.cs:line 47737
at Terraria.WorldGen.UpdateWorld_Inner() in tModLoader\Terraria\WorldGen.cs:line 46961
at Terraria.WorldGen.UpdateWorld() in tModLoader\Terraria\WorldGen.cs:line 46889
at Terraria.Main.DoUpdateInWorld(Stopwatch sw) in tModLoader\Terraria\Main.cs:line 13765
at Terraria.Main.DoUpdate(GameTime& gameTime) in tModLoader\Terraria\Main.cs:line 13222
at Terraria.Main.Update(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 12777
at Microsoft.Xna.Framework.Game.Tick() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 546
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.LaunchGame_(Boolean isServer) in tModLoader\Terraria\Program.cs:line 231
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs) in tModLoader\Terraria\Program.cs:line 192
at MonoLaunch.<>c__DisplayClass1_0.<Main>b__0() in tModLoader\Terraria\MonoLaunch.cs:line 56
at System.Threading.Thread.StartCallback()
Originally posted by 5ive6se7en:
Originally posted by dracobeans🦒:
Have you ever tried to disable every mod you have on to see if that will fix the problem?
It appears that he had a classic Calamity world gen issue. The abyss vines hit a rusty chest and tried to destroy it when it can't be destroyed cause it has items in it. Ergo the crash
< >
Showing 1-4 of 4 comments
forgot Apr 23, 2023 @ 1:47pm 
Have you ever tried to disable every mod you have on to see if that will fix the problem?
The author of this thread has indicated that this post answers the original topic.
5ive6se7en Apr 23, 2023 @ 2:11pm 
Originally posted by dracobeans🦒:
Have you ever tried to disable every mod you have on to see if that will fix the problem?
It appears that he had a classic Calamity world gen issue. The abyss vines hit a rusty chest and tried to destroy it when it can't be destroyed cause it has items in it. Ergo the crash
5ive6se7en Apr 23, 2023 @ 2:13pm 
Originally posted by 5ive6se7en:
Originally posted by dracobeans🦒:
Have you ever tried to disable every mod you have on to see if that will fix the problem?
It appears that he had a classic Calamity world gen issue. The abyss vines hit a rusty chest and tried to destroy it when it can't be destroyed cause it has items in it. Ergo the crash
Also looks like net framework played a part in the issue too
Aslute Apr 23, 2023 @ 11:33pm 
Originally posted by 5ive6se7en:
Originally posted by 5ive6se7en:
It appears that he had a classic Calamity world gen issue. The abyss vines hit a rusty chest and tried to destroy it when it can't be destroyed cause it has items in it. Ergo the crash
Also looks like net framework played a part in the issue too
Thanks for the help! How can I fix this issue?
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Apr 23, 2023 @ 12:15pm
Posts: 4