Pryaxis / TShock

☕️⚡️TShock provides Terraria servers with server-side characters, anti-cheat, and community management tools.
GNU General Public License v3.0
2.43k stars 382 forks source link

System.OverflowException also Crash Reporter didn't create crash dump... #1089

Closed ghost closed 9 years ago

ghost commented 9 years ago

TShock: ERROR: System.OverflowException: Arithmetic operation resulted in an overflow. at TerrariaApi.Server.HookManager.InvokeNetGetData(Byte& msgId, MessageBuffer buffer, Int32& index, Int32& length) at Terraria.MessageBuffer.GetData(Int32 start, Int32 length) at Terraria.NetMessage.CheckBytes(Int32 bufferIndex) at Terraria.Netplay.ServerLoop(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()


[08.17.15 19:22:07] [Server API] Error: An unhandled exception has occured in TSAPI, and a crash report will be generated [08.17.15 19:22:07] [Server API] Error: Generating a crash report, please wait... [08.17.15 19:22:09] [Server API] Error: Could not generate a crash report. [08.17.15 19:22:09] [Server API] Error: Please upload the crash file and report it at http://tshock.co/ [08.17.15 19:22:09] [Server API] Error: The process will terminate.

ghost commented 9 years ago

well... i did setup an automated standalone dump generation process aside of tshock's one (since tshock's didn't worked for me several times with 4.3.9's reporter).

i will post DUMP file and also PID logs of tshock/terrariaserver.exe at the next crash procedure (in around 12-24h)

TeeriaLLC commented 9 years ago

Same happened to me, as shown in the images below the server crashed and did not create a log.

https://i.gyazo.com/459aed346034b61448b1e7d7b2c74364.png https://i.gyazo.com/742bda957ac930a69b17a607c9f14cb4.png

TeeriaLLC commented 9 years ago

Was during a celestial event, so that could be the cause.

TeeriaLLC commented 9 years ago

@tylerjwatson

tylerjwatson commented 9 years ago

The crash reporter isn't going to be able to create a crash dump if it can't (eg. not enough memory, common on large worlds)

ghost commented 9 years ago

ok there we go it has finally crashed again and the dump file was generated automated with my external tools including pid

https://www.dropbox.com/s/wqt1pdpgtxdjj5y/TerrariaServer__PID__3080__Date__08_18_2015__Time_04_27_20PM__594__Log.txt?dl=0

https://www.dropbox.com/s/lthwf6yy994120o/TerrariaServer__PID__3080__Date__08_18_2015__Time_07_02_00PM__937__Second_Chance_Exception_E0434352.dmp?dl=0

ghost commented 9 years ago

well... it seems it was another crash reason at this point...? i'll upload the system.overflowexception crash dump soon!

tylerjwatson commented 9 years ago

This crash dump contains literally hundreds of exceptions from TSReward. I am going to start closing issues that people create where they haven't removed all plugins apart from TShock before submitting. This is a serious waste of time and my bandwidth.

image