• Labor of Love is here! Visit our Labor of Love thread for a special message from the team, a look at brand new Labor of Love merch, and the changelog (minus a few surprises 😉)

Game constantly crashing either randomly or on Save and Exit.

anmiac

Terrarian
Steam or GOG
Steam
Single Player/Multiplayer
Both
Operating System
Windows 10
Terraria Version
1.4.3.6
Controls Used
Keyboard/Mouse
I've been playing Terraria for years and this is the first time I have seen these types of crashes happen. To add context, I have edited my players and worlds using TEdit and Yal.cc, but to my knowledge these should not be breaking the game. I have also used these in the past and my game has not crashed this much. I am on Windows 11 and my game will frequently crash when I Save and Exit or when I die. Sometimes it will crash when I am just playing normally as well. I have reinstalled multiple times, whitelisted in Windows Security and verified game files and nothing is fixing the issue. I have checked Event Viewer and these are the errors I see:

Faulting application name: Terraria.exe, version: 1.4.3.6, time stamp: 0x622fb422
Faulting module name: KERNELBASE.dll, version: 10.0.22610.1, time stamp: 0xc071ba20
Exception code: 0xe0434352
Fault offset: 0x00147092
Faulting process id: 0x0x48F8
Faulting application start time: 0x0x1D860D656E5C9F6
Faulting application path: D:\Programs\SteamLibrary\steamapps\common\Terraria\Terraria.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: e100d05f-e704-43e8-b673-5fd7b7c4ddd8
Faulting package full name:
Faulting package-relative application ID:

Application: Terraria.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException
at System.IO.__Error.WinIOError(Int32, System.String)
at System.IO.File.InternalCopy(System.String, System.String, Boolean, Boolean)
at System.IO.File.Copy(System.String, System.String, Boolean)
at Terraria.Utilities.FileUtilities.Copy(System.String, System.String, Boolean, Boolean)
at Terraria.Player.InternalSavePlayerFile(Terraria.IO.PlayerFileData)
at Terraria.Player+<>c__DisplayClass1706_0.<SavePlayer>b__0()
at Terraria.Utilities.FileUtilities.ProtectedInvoke(System.Action)
at Terraria.Player.SavePlayer(Terraria.IO.PlayerFileData, Boolean)
at Terraria.WorldGen.saveToonWhilePlayingCallBack(System.Object)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

To add onto the verification of Steam files, when I verify the files it will usually say 1 file failed to validate and then the game will work for a short period of time. However it will crash after a while and it will continue this loop of validating a single file. I have also tried sfc /scannow and it says there are no issues with my Windows files. What other options do I have?
 
Last edited:

punchready

Terrarian
Game file verification for Terraria usually results in 1 file failing, that has been a thing since 1.3 afaik.
The stack trace suggests that the game failed to copy the intermediate file (which is created first to avoid corrupting saves) to the real location. Did you make sure the player/world files are writable and the drive has enough free space? Terrarias own crash log file could also be helpful.
 

anmiac

Terrarian
Game file verification for Terraria usually results in 1 file failing, that has been a thing since 1.3 afaik.
The stack trace suggests that the game failed to copy the intermediate file (which is created first to avoid corrupting saves) to the real location. Did you make sure the player/world files are writable and the drive has enough free space? Terrarias own crash log file could also be helpful.
Appreciate the reply. I disabled Read Only for the entire Terraria folder in my Documents which is also something I considered. Here is what it says in the Terraria crash log that I just generated:

Error Logging Enabled.
Resolution changed to: 2560x1440.
================
5/6/2022 7:50:18 PM: First-Chance Exception
Thread: 1 [Main Thread]
Culture: en-US
Exception: System.DllNotFoundException: Unable to load DLL 'RzChromaSDK.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at ReLogic.Peripherals.RGB.Razer.NativeMethods.Init()
at ReLogic.Peripherals.RGB.Razer.RazerDeviceGroup.Initialize()
================

Razer Chroma not supported: System.DllNotFoundException: Unable to load DLL 'RzChromaSDK.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at ReLogic.Peripherals.RGB.Razer.NativeMethods.Init()
at ReLogic.Peripherals.RGB.Razer.RazerDeviceGroup.Initialize()
================
5/6/2022 7:50:18 PM: First-Chance Exception
Thread: 1 [Main Thread]
Culture: en-US
Exception: ReLogic.Peripherals.RGB.DeviceInitializationException: Corsair initialization failed with: CE_ServerNotFound
at ReLogic.Peripherals.RGB.Corsair.CorsairDeviceGroup.Initialize()
================

Corsair RGB not supported. (Can be disabled via Config.json)
Logitech RGB initialized.
WaveMaskData texture recreated. 1x1
WaveMaskData texture recreated. 96x145
WaveMaskData texture recreated. 96x145
WaveMaskData texture recreated. 96x145
================
5/6/2022 7:51:21 PM: First-Chance Exception
Thread: 15 []
Culture: en-US
Exception: System.IO.IOException: The system cannot find message text for message number 0x%1 in the message file for %2.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
================

================
5/6/2022 7:51:21 PM: First-Chance Exception
Thread: 15 []
Culture: en-US
Exception: System.IO.IOException: The system cannot find message text for message number 0x%1 in the message file for %2.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at Terraria.Utilities.FileUtilities.Copy(String source, String destination, Boolean cloud, Boolean overwrite)
at Terraria.IO.WorldFile.DoRollingBackups(String backupWorldWritePath)
at Terraria.IO.WorldFile.InternalSaveWorld(Boolean useCloudSaving, Boolean resetTime)
at Terraria.IO.WorldFile.<>c__DisplayClass57_0.<SaveWorld>b__0()
at Terraria.Utilities.FileUtilities.ProtectedInvoke(Action action)
at Terraria.IO.WorldFile.SaveWorld(Boolean useCloudSaving, Boolean resetTime)
at Terraria.IO.WorldFile.SaveWorld()
================

================
5/6/2022 7:51:21 PM: Unhandled Exception
Thread: 15 []
Culture: en-US
Exception: System.IO.IOException: The system cannot find message text for message number 0x%1 in the message file for %2.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at Terraria.Utilities.FileUtilities.Copy(String source, String destination, Boolean cloud, Boolean overwrite)
at Terraria.IO.WorldFile.DoRollingBackups(String backupWorldWritePath)
at Terraria.IO.WorldFile.InternalSaveWorld(Boolean useCloudSaving, Boolean resetTime)
at Terraria.IO.WorldFile.<>c__DisplayClass57_0.<SaveWorld>b__0()
at Terraria.Utilities.FileUtilities.ProtectedInvoke(Action action)
at Terraria.IO.WorldFile.SaveWorld(Boolean useCloudSaving, Boolean resetTime)
at Terraria.IO.WorldFile.SaveWorld()
at Terraria.WorldGen.SaveAndQuitCallBack(Object threadContext)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
================
 

anmiac

Terrarian
EDIT: I disabled RGB in my config.json file now this is the error that is in my log file:

Error Logging Enabled.
Resolution changed to: 2560x1440.
Logitech RGB initialized.
WaveMaskData texture recreated. 1x1
WaveMaskData texture recreated. 96x145
WaveMaskData texture recreated. 96x145
WaveMaskData texture recreated. 96x145
================
5/6/2022 8:02:16 PM: First-Chance Exception
Thread: 29 []
Culture: en-US
Exception: System.IO.IOException: Unknown error "-1512940624".
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
================

================
5/6/2022 8:02:16 PM: First-Chance Exception
Thread: 29 []
Culture: en-US
Exception: System.IO.IOException: Unknown error "-1512940624".
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at Terraria.Utilities.FileUtilities.Copy(String source, String destination, Boolean cloud, Boolean overwrite)
at Terraria.Player.InternalSavePlayerFile(PlayerFileData playerFile)
at Terraria.Player.<>c__DisplayClass1706_0.<SavePlayer>b__0()
at Terraria.Utilities.FileUtilities.ProtectedInvoke(Action action)
at Terraria.Player.SavePlayer(PlayerFileData playerFile, Boolean skipMapSave)
================

================
5/6/2022 8:02:16 PM: Unhandled Exception
Thread: 29 []
Culture: en-US
Exception: System.IO.IOException: Unknown error "-1512940624".
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at Terraria.Utilities.FileUtilities.Copy(String source, String destination, Boolean cloud, Boolean overwrite)
at Terraria.Player.InternalSavePlayerFile(PlayerFileData playerFile)
at Terraria.Player.<>c__DisplayClass1706_0.<SavePlayer>b__0()
at Terraria.Utilities.FileUtilities.ProtectedInvoke(Action action)
at Terraria.Player.SavePlayer(PlayerFileData playerFile, Boolean skipMapSave)
at Terraria.WorldGen.saveToonWhilePlayingCallBack(Object threadContext)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
================
 

punchready

Terrarian
The error code in that exception seems to be broken as well (which is why the upper log says something like "no message found"), there is no real way to figure out whats wrong specifically as far as i know at this point. Maybe someone else can help...
 
Last edited:

anmiac

Terrarian
Thanks for the help anyway! Hopefully someone else is going through the same experience. A temporary fix I have found for now is running the game in Fullscreen instead of Borderless Window.
 

anmiac

Terrarian
bump here is the crash log I am seeing now:
Error Logging Enabled.
Resolution changed to: 2560x1440.
WaveMaskData texture recreated. 1x1
WaveMaskData texture recreated. 96x145
WaveMaskData texture recreated. 96x145
WaveMaskData texture recreated. 96x145
================
5/8/2022 10:35:16 PM: First-Chance Exception
Thread: 16 []
Culture: en-US
Exception: System.IO.IOException: The system cannot find message text for message number 0x%1 in the message file for %2.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
================

================
5/8/2022 10:35:16 PM: First-Chance Exception
Thread: 16 []
Culture: en-US
Exception: System.IO.IOException: The system cannot find message text for message number 0x%1 in the message file for %2.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at Terraria.Utilities.FileUtilities.Copy(String source, String destination, Boolean cloud, Boolean overwrite)
at Terraria.Player.InternalSavePlayerFile(PlayerFileData playerFile)
at Terraria.Player.<>c__DisplayClass1706_0.<SavePlayer>b__0()
at Terraria.Utilities.FileUtilities.ProtectedInvoke(Action action)
at Terraria.Player.SavePlayer(PlayerFileData playerFile, Boolean skipMapSave)
================

================
5/8/2022 10:35:16 PM: Unhandled Exception
Thread: 16 []
Culture: en-US
Exception: System.IO.IOException: The system cannot find message text for message number 0x%1 in the message file for %2.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at Terraria.Utilities.FileUtilities.Copy(String source, String destination, Boolean cloud, Boolean overwrite)
at Terraria.Player.InternalSavePlayerFile(PlayerFileData playerFile)
at Terraria.Player.<>c__DisplayClass1706_0.<SavePlayer>b__0()
at Terraria.Utilities.FileUtilities.ProtectedInvoke(Action action)
at Terraria.Player.SavePlayer(PlayerFileData playerFile, Boolean skipMapSave)
at Terraria.WorldGen.SaveAndQuitCallBack(Object threadContext)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
================
 
I'm also experiencing the random crashes and that weird error log for cannot find message text, I have been running windows 11 since it started doing this so i'm wondering if this might be a problem with windows 11.
 

VVV101

Duke Fishron
Almost the exact problem here. Random crashes on player's death or seemingly at random.
Tried reinstalling the game to different location, giving different permissions, both game's and save's directory owners, run as admin, reinstalling both NET Framework and XNA.
Vanilla STEAM version 1.4.3.6.
Windows 11 Insider 22H2 (22616.100)
CPU i5-11600KF
SSD-M2 Samsung EVO Plus 970 500 Gb
GPU 1060 3gb
RAM 16 Gb DDR4 3200
Event logs in spoilers.
Приложение: Terraria.exe
Версия платформы: v4.0.30319
Описание. Процесс был завершен из-за необработанного исключения.
Сведения об исключении: System.IO.IOException
в System.IO.__Error.WinIOError(Int32, System.String)
в System.IO.File.InternalCopy(System.String, System.String, Boolean, Boolean)
в System.IO.File.Copy(System.String, System.String, Boolean)
в Terraria.Utilities.FileUtilities.Copy(System.String, System.String, Boolean, Boolean)
в Terraria.Player.InternalSavePlayerFile(Terraria.IO.PlayerFileData)
в Terraria.Player+<>c__DisplayClass1706_0.<SavePlayer>b__0()
в Terraria.Utilities.FileUtilities.ProtectedInvoke(System.Action)
в Terraria.Player.SavePlayer(Terraria.IO.PlayerFileData, Boolean)
в Terraria.WorldGen.saveToonWhilePlayingCallBack(System.Object)
в System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
в System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
в System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
в System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
в System.Threading.ThreadPoolWorkQueue.Dispatch()
в System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Приложение: Terraria.exe
Версия платформы: v4.0.30319
Описание. Процесс был завершен из-за необработанного исключения.
Сведения об исключении: System.IO.IOException
в System.IO.__Error.WinIOError(Int32, System.String)
в System.IO.File.InternalCopy(System.String, System.String, Boolean, Boolean)
в System.IO.File.Copy(System.String, System.String, Boolean)
в Terraria.Utilities.FileUtilities.Copy(System.String, System.String, Boolean, Boolean)
в Terraria.IO.WorldFile.DoRollingBackups(System.String)
в Terraria.IO.WorldFile.InternalSaveWorld(Boolean, Boolean)
в Terraria.IO.WorldFile+<>c__DisplayClass57_0.<SaveWorld>b__0()
в Terraria.Utilities.FileUtilities.ProtectedInvoke(System.Action)
в Terraria.IO.WorldFile.SaveWorld(Boolean, Boolean)
в Terraria.IO.WorldFile.SaveWorld()
в Terraria.WorldGen.saveAndPlayCallBack(System.Object)
в System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
в System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
в System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
в System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
в System.Threading.ThreadPoolWorkQueue.Dispatch()
в System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Имя сбойного приложения: Terraria.exe, версия: 1.4.3.6, метка времени: 0x622fb422
Имя сбойного модуля: KERNELBASE.dll, версия: 10.0.22616.1, метка времени: 0x62294caf
Код исключения: 0xc00000fd
Смещение ошибки: 0x001431fb
Идентификатор сбойного процесса: 0x0x680
Время запуска сбойного приложения: 0x0x1D8653A08B70802
Путь сбойного приложения: C:\Program Files (x86)\Steam\steamapps\common\Terraria\Terraria.exe
Путь сбойного модуля: C:\WINDOWS\System32\KERNELBASE.dll
Идентификатор отчета: 84256727-d016-4ba1-b341-3ca34754be22
Полное имя сбойного пакета:
Код приложения, связанного со сбойным пакетом:


- <Event xmlns=" ">

- <System>

<Provider Name="Application Error" Guid="{a0e9b465-b939-57d7-b27d-95d8e925ff57}" />

<EventID>1000</EventID>

<Version>0</Version>

<Level>2</Level>

<Task>100</Task>

<Opcode>0</Opcode>

<Keywords>0x8000000000000000</Keywords>

<TimeCreated SystemTime="2022-05-11T13:21:35.1316539Z" />

<EventRecordID>679</EventRecordID>

<Correlation />

<Execution ProcessID="14540" ThreadID="9308" />

<Channel>Application</Channel>

<Computer>GreggTechLab</Computer>

<Security UserID="S-1-5-21-965294458-2402879366-3772528490-1001" />

</System>

- <EventData>

<Data Name="AppName">Terraria.exe</Data>

<Data Name="AppVersion">1.4.3.6</Data>

<Data Name="AppTimeStamp">622fb422</Data>

<Data Name="ModuleName">KERNELBASE.dll</Data>

<Data Name="ModuleVersion">10.0.22616.1</Data>

<Data Name="ModuleTimeStamp">62294caf</Data>

<Data Name="ExceptionCode">c00000fd</Data>

<Data Name="FaultingOffset">001431fb</Data>

<Data Name="ProcessId">0x680</Data>

<Data Name="ProcessCreationTime">0x1d8653a08b70802</Data>

<Data Name="AppPath">C:\Program Files (x86)\Steam\steamapps\common\Terraria\Terraria.exe</Data>

<Data Name="ModulePath">C:\WINDOWS\System32\KERNELBASE.dll</Data>

<Data Name="IntegratorReportId">84256727-d016-4ba1-b341-3ca34754be22</Data>

<Data Name="PackageFullName" />

<Data Name="PackageRelativeAppId" />

</EventData>

</Event>
 

anmiac

Terrarian
This is super frustrating, starting to think it might be a Windows 11 thing. I'm hoping a dev sees this and can chime in maybe because I have sent my player and world to someone else to test and they reported that their game was not crashing at all with extensive testing.

Almost the exact problem here. Random crashes on player's death or seemingly at random.
Tried reinstalling the game to different location, giving different permissions, both game's and save's directory owners, run as admin, reinstalling both NET Framework and XNA.
Vanilla STEAM version 1.4.3.6.
Windows 11 Insider 22H2 (22616.100)
CPU i5-11600KF
SSD-M2 Samsung EVO Plus 970 500 Gb
GPU 1060 3gb
RAM 16 Gb DDR4 3200
Event logs in spoilers.
Приложение: Terraria.exe
Версия платформы: v4.0.30319
Описание. Процесс был завершен из-за необработанного исключения.
Сведения об исключении: System.IO.IOException
в System.IO.__Error.WinIOError(Int32, System.String)
в System.IO.File.InternalCopy(System.String, System.String, Boolean, Boolean)
в System.IO.File.Copy(System.String, System.String, Boolean)
в Terraria.Utilities.FileUtilities.Copy(System.String, System.String, Boolean, Boolean)
в Terraria.Player.InternalSavePlayerFile(Terraria.IO.PlayerFileData)
в Terraria.Player+<>c__DisplayClass1706_0.<SavePlayer>b__0()
в Terraria.Utilities.FileUtilities.ProtectedInvoke(System.Action)
в Terraria.Player.SavePlayer(Terraria.IO.PlayerFileData, Boolean)
в Terraria.WorldGen.saveToonWhilePlayingCallBack(System.Object)
в System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
в System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
в System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
в System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
в System.Threading.ThreadPoolWorkQueue.Dispatch()
в System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Приложение: Terraria.exe
Версия платформы: v4.0.30319
Описание. Процесс был завершен из-за необработанного исключения.
Сведения об исключении: System.IO.IOException
в System.IO.__Error.WinIOError(Int32, System.String)
в System.IO.File.InternalCopy(System.String, System.String, Boolean, Boolean)
в System.IO.File.Copy(System.String, System.String, Boolean)
в Terraria.Utilities.FileUtilities.Copy(System.String, System.String, Boolean, Boolean)
в Terraria.IO.WorldFile.DoRollingBackups(System.String)
в Terraria.IO.WorldFile.InternalSaveWorld(Boolean, Boolean)
в Terraria.IO.WorldFile+<>c__DisplayClass57_0.<SaveWorld>b__0()
в Terraria.Utilities.FileUtilities.ProtectedInvoke(System.Action)
в Terraria.IO.WorldFile.SaveWorld(Boolean, Boolean)
в Terraria.IO.WorldFile.SaveWorld()
в Terraria.WorldGen.saveAndPlayCallBack(System.Object)
в System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
в System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
в System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
в System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
в System.Threading.ThreadPoolWorkQueue.Dispatch()
в System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Имя сбойного приложения: Terraria.exe, версия: 1.4.3.6, метка времени: 0x622fb422
Имя сбойного модуля: KERNELBASE.dll, версия: 10.0.22616.1, метка времени: 0x62294caf
Код исключения: 0xc00000fd
Смещение ошибки: 0x001431fb
Идентификатор сбойного процесса: 0x0x680
Время запуска сбойного приложения: 0x0x1D8653A08B70802
Путь сбойного приложения: C:\Program Files (x86)\Steam\steamapps\common\Terraria\Terraria.exe
Путь сбойного модуля: C:\WINDOWS\System32\KERNELBASE.dll
Идентификатор отчета: 84256727-d016-4ba1-b341-3ca34754be22
Полное имя сбойного пакета:
Код приложения, связанного со сбойным пакетом:


- <Event xmlns=" ">

- <System>

<Provider Name="Application Error" Guid="{a0e9b465-b939-57d7-b27d-95d8e925ff57}" />

<EventID>1000</EventID>

<Version>0</Version>

<Level>2</Level>

<Task>100</Task>

<Opcode>0</Opcode>

<Keywords>0x8000000000000000</Keywords>

<TimeCreated SystemTime="2022-05-11T13:21:35.1316539Z" />

<EventRecordID>679</EventRecordID>

<Correlation />

<Execution ProcessID="14540" ThreadID="9308" />

<Channel>Application</Channel>

<Computer>GreggTechLab</Computer>

<Security UserID="S-1-5-21-965294458-2402879366-3772528490-1001" />

</System>

- <EventData>

<Data Name="AppName">Terraria.exe</Data>

<Data Name="AppVersion">1.4.3.6</Data>

<Data Name="AppTimeStamp">622fb422</Data>

<Data Name="ModuleName">KERNELBASE.dll</Data>

<Data Name="ModuleVersion">10.0.22616.1</Data>

<Data Name="ModuleTimeStamp">62294caf</Data>

<Data Name="ExceptionCode">c00000fd</Data>

<Data Name="FaultingOffset">001431fb</Data>

<Data Name="ProcessId">0x680</Data>

<Data Name="ProcessCreationTime">0x1d8653a08b70802</Data>

<Data Name="AppPath">C:\Program Files (x86)\Steam\steamapps\common\Terraria\Terraria.exe</Data>

<Data Name="ModulePath">C:\WINDOWS\System32\KERNELBASE.dll</Data>

<Data Name="IntegratorReportId">84256727-d016-4ba1-b341-3ca34754be22</Data>

<Data Name="PackageFullName" />

<Data Name="PackageRelativeAppId" />

</EventData>

</Event>
 

SolarAweTM

Terrarian
I'm actually having the same issue, but only on singleplayer. It happens on tModLoader too.
Also running Windows 11, but on an Insider Beta build, but the error is the same.
Event Viewer Logs for Vanilla
Code:
Level    Date and Time    Source    Event ID    Task Category
Error    5/12/2022 5:45:59 PM    Application Error    1000    Application Crashing Events    "Faulting application name: Terraria.exe, version: 1.4.3.6, time stamp: 0x622fb422
Faulting module name: KERNELBASE.dll, version: 10.0.22616.1, time stamp: 0x62294caf
Exception code: 0xe0434352
Fault offset: 0x00147132
Faulting process id: 0x0x15BC
Faulting application start time: 0x0x1D8665164F62646
Faulting application path: C:\Program Files (x86)\Steam\steamapps\common\Terraria\Terraria.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 275c5af4-6530-49d5-a7f4-04ea1ec45b7d
Faulting package full name:
Faulting package-relative application ID: "
Error    5/12/2022 5:45:59 PM    .NET Runtime    1026    None    Application: Terraria.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException
   at System.IO.__Error.WinIOError(Int32, System.String)
   at System.IO.File.InternalCopy(System.String, System.String, Boolean, Boolean)
   at System.IO.File.Copy(System.String, System.String, Boolean)
   at Terraria.Utilities.FileUtilities.Copy(System.String, System.String, Boolean, Boolean)
   at Terraria.Player.InternalSavePlayerFile(Terraria.IO.PlayerFileData)
   at Terraria.Player+<>c__DisplayClass1706_0.<SavePlayer>b__0()
   at Terraria.Utilities.FileUtilities.ProtectedInvoke(System.Action)
   at Terraria.Player.SavePlayer(Terraria.IO.PlayerFileData, Boolean)
   at Terraria.WorldGen.SaveAndQuitCallBack(System.Object)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Event Viewer Logs for tModLoader
Code:
Level    Date and Time    Source    Event ID    Task Category
Error    5/11/2022 7:32:04 PM    Application Error    1000    Application Crashing Events    "Faulting application name: tModLoader.exe, version: 1.3.5.3, time stamp: 0xdcbd1f25
Faulting module name: KERNELBASE.dll, version: 10.0.22616.1, time stamp: 0x62294caf
Exception code: 0xe0434352
Fault offset: 0x00147132
Faulting process id: 0x0x350
Faulting application start time: 0x0x1D86593D2DF61E1
Faulting application path: C:\Program Files (x86)\Steam\steamapps\common\tModLoader\tModLoader.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: fa1ad950-ad83-4333-ac61-a4a2257da066
Faulting package full name:
Faulting package-relative application ID: "
Error    5/11/2022 7:32:03 PM    .NET Runtime    1026    None    Application: tModLoader.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException
   at System.IO.__Error.WinIOError(Int32, System.String)
   at System.IO.File.InternalCopy(System.String, System.String, Boolean, Boolean)
   at System.IO.File.Copy(System.String, System.String, Boolean)
   at Terraria.Utilities.FileUtilities.Copy(System.String, System.String, Boolean, Boolean)
   at Terraria.Player.SavePlayer(Terraria.IO.PlayerFileData, Boolean)
   at Terraria.WorldGen.saveToonWhilePlayingCallBack(System.Object)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
 

Dragonwolf73

Eater of Worlds
Now, although I don't have the technical experience to be able to help that much, considering how the common theme here seems to be Windows 11, then perhaps the problem could be due to Terraria being a 32 bit program, and Windows 11 mostly dropping 32 bit support. However, I thought Steam is supposed to handle that issue somehow, so I'm not sure that would be it, but it could be something for someone to look into.

EDIT: A few checks online also seem to possibly suggest it may be a user account control issue, so perhaps something was updated with Windows 11 there as well, or just in general some problem may exist around that.
 
Last edited:

SolarAweTM

Terrarian
I tried downgrading my Windows 11 build, and that didn't work, so then I tried testing on a 64-bit build of Terraria (in this case, the stable tModLoader 1.4 alpha), and so far, I haven't crashed once, so you may be right.

EDIT: I died and I still haven't crashed.
1653252825820.png
 

anmiac

Terrarian
I tried downgrading my Windows 11 build, and that didn't work, so then I tried testing on a 64-bit build of Terraria (in this case, the stable tModLoader 1.4 alpha), and so far, I haven't crashed once, so you may be right.

EDIT: I died and I still haven't crashed.
View attachment 370446
Interesting... I do have tModLoader but I wanted to finish a run in vanilla first. Might be a stupid question, but is it possible to run the 64 bit version natively in Steam (without using tModLoader)? I ask because there are some achievements that I want tracked and finished. Thanks for all the help guys!
 

punchready

Terrarian
terraria is built for 32 bit and it doesn't look like relogic is planning to release a 64 bit build
for the most part, the target architecture can only be picked when compiling, so you can't just flick a switch to make vanilla x64
 

anmiac

Terrarian
terraria is built for 32 bit and it doesn't look like relogic is planning to release a 64 bit build
for the most part, the target architecture can only be picked when compiling, so you can't just flick a switch to make vanilla x64
Yep assumed it would be impossible. Going to assume that it's a 32/64 bit issue with Windows 11 (even though Windows 11 should still support 32 bit apps...?) Hopefully someone finds a fix soon!
 

adamj454545

Terrarian
Well I found a basic (temporary) fix which works well for me. If I ENABLE cloud saving for the player/world, it doesn't crash on save anymore.
 
Top Bottom