TorchAPI / Torch

An extensible modding framework and improved client/DS for Space Engineers. Still a work in progress!
Apache License 2.0
146 stars 76 forks source link

The ability to crash a torch server by loading a blueprint into a projector or pasting it into the world. #589

Open daddydante88 opened 2 weeks ago

daddydante88 commented 2 weeks ago

Torch Version: 1.3.1.302 master SE Version: 1.204

It's easier to explain by demonstrating so I took a video. Shorthand something contained in se toolbox blueprints bug a server bringing it down. Video and copy of the log follows.

https://youtu.be/odeqKEqsroI

23:46:54.6425 [FATAL] Initializer: System.NullReferenceException: Object reference not set to an instance of an object. at Sandbox.Game.Entities.MyCubeGrid.PasteGridData.Callback() at ParallelTasks.Parallel.RunCallbacks() at Patched_Sandbox.Game.World.MySessionUpdate_0(Object , MyTimeSpan ) at Sandbox.MySandboxGame.Update() at Patched_Sandbox.Engine.Platform.GameUpdateInternal_0(Object ) at Patched_Sandbox.Engine.Platform.GameRunSingleFrame_0(Object ) at Patched_Sandbox.Engine.Platform.FixedLoop+<>cDisplayClass11_0b0_0(Object ) at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback) at Sandbox.Engine.Platform.Game.RunLoop() at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen) at Torch.VRageGame.DoStart() in C:\ProgramData\Jenkins.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 326 at Torch.VRageGame.Run() in C:\ProgramData\Jenkins.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 133 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.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() System.NullReferenceException: Object reference not set to an instance of an object. at Sandbox.Game.Entities.MyCubeGrid.PasteGridData.Callback() at ParallelTasks.Parallel.RunCallbacks() at Patched_Sandbox.Game.World.MySessionUpdate_0(Object , MyTimeSpan ) at Sandbox.MySandboxGame.Update() at Patched_Sandbox.Engine.Platform.GameUpdateInternal_0(Object ) at Patched_Sandbox.Engine.Platform.GameRunSingleFrame_0(Object ) at Patched_Sandbox.Engine.Platform.FixedLoop+<>cDisplayClass11_0b0_0(Object ) at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback) at Sandbox.Engine.Platform.Game.RunLoop() at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen) at Torch.VRageGame.DoStart() in C:\ProgramData\Jenkins.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 326 at Torch.VRageGame.Run() in C:\ProgramData\Jenkins.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 133 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.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() 23:46:54.6425 [INFO] Initializer: Generating minidump at Logs\MiniDumpT39-2024-09-23 23-46-54.dmp