Closed MrExpen closed 3 years ago
I've seen this exception twice before. The server was being run through screen
.
this zip payload has:
{
"os": {
"x64": "no",
"x64Process": "no",
"Platform": "Unix",
"Version": "Unix 5.10.17.7"
},
"hardware": {
"CPUs": 4,
"CPUID": null
},
"server": {
"Players": 2,
"MaxPlayers": 255,
"WorldName": "server2",
"WorldFile": "/home/pi/.local/share/Terraria/Worlds/server2.wld",
"Time": 7198.0
},
"process": {
"curRelease": 238,
"TSAPIVersion": "1.4.2.3",
"Uptime": "18:42:36.1764600",
"WorkingDirectory": "",
"Arguments": ""
},
"memory": [],
"plugins": [
{
"Name": "TShock",
"Author": "The TShock Team",
"Version": "4.5.3.0"
}
],
"exception": {
"message": "Value must be positive and below the buffer height.\nParameter name: top",
"type": "ArgumentOutOfRangeException",
"trace": " at System.TermInfoDriver.SetCursorPosition (System.Int32 left, System.Int32 top) [0x0003e] in <533173d24dae460899d2b10975534bb0>:0 \n at System.TermInfoDriver.WriteSpecialKey (System.ConsoleKeyInfo key) [0x00062] in <533173d24dae460899d2b10975534bb0>:0 \n at System.TermInfoDriver.Echo (System.ConsoleKeyInfo key) [0x0001d] in <533173d24dae460899d2b10975534bb0>:0 \n at System.TermInfoDriver.ReadUntilConditionInternal (System.Boolean haltOnNewLine) [0x000ac] in <533173d24dae460899d2b10975534bb0>:0 \n at System.TermInfoDriver.ReadLine () [0x00000] in <533173d24dae460899d2b10975534bb0>:0 \n at System.ConsoleDriver.ReadLine () [0x00000] in <533173d24dae460899d2b10975534bb0>:0 \n at System.Console.ReadLine () [0x00013] in <533173d24dae460899d2b10975534bb0>:0 \n at Terraria.Main.startDedInputCallBack () [0x0000f] in <74dd05663348492ebcad4953c4415da2>:0 \n at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <533173d24dae460899d2b10975534bb0>:0 \n at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <533173d24dae460899d2b10975534bb0>:0 \n at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <533173d24dae460899d2b10975534bb0>:0 \n at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <533173d24dae460899d2b10975534bb0>:0 \n at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <533173d24dae460899d2b10975534bb0>:0 ",
"inner": null
}
}
It doesn't look like this stack trace originates in TShock -- likely it's something like screen or tmux not playing nicely with C#, but without additional context we really can't diagnose much.
@hakusaro correct, I beleive this issue also exists in vanilla Terraria Server. I may look into it and patching.
Reproduction steps (if applicable)?
Any stack traces or error messages (if known)?
Any screenshots?
Any log messages from files that end in
.log
or.txt
? What are the last 100 log messages from the server console?What plugins and what versions of those plugins are you running?
If I didn't provide any logs this issue, please close my issue immediately. I'm sorry for the inconvenience. crash_132664153611094130.zip