StackOverflowException on dedicated server

Mr Gareth Edwards shared this bug 9 months ago
Won't Fix

Recently our dedicated server has been crashing with a StackOverflowException message. This is often when a user joins the server but not exclusivley. Can you help troubleshoot?

Users both connect using xbox

Replies (5)

photo
1

Hello, Engineer!


Could you please tell us more about the server? Are you running it on a local machine? Are you able to provide logs?


Kind Regards

Keen Software House: QA Department

photo
1

The server is hosted with a service provider. I have access to the server via sftp. Which logs can I get to help?

photo
1

Latest Crash info:


2024-02-06 13:50:03.485 - Thread: 1 -> Exception occurred: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

at SpaceEngineers.Game.Entities.Blocks.MyLandingGear.get_CanAutoLock()

at SpaceEngineers.Game.Entities.Blocks.MyLandingGear.UpdateAfterSimulation10()

at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.UpdateAfterSimulation10()

at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.DispatchAfterSimulation()

at Sandbox.Game.Entities.MyEntities.UpdateAfterSimulation()

at Sandbox.Game.World.MySector.UpdateAfterSimulation()

at Sandbox.Game.World.MySession.UpdateComponents()

at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)

at Sandbox.MySandboxGame.Update()

at Sandbox.Engine.Platform.Game.UpdateInternal()

at Sandbox.Engine.Platform.Game.RunSingleFrame()

at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass11_0.<Run>b__0()

at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)

at Sandbox.Engine.Platform.Game.RunLoop()

at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)

at VRage.Dedicated.DedicatedServer.RunInternal(String instanceName)

at VRage.Dedicated.DedicatedServer.RunMain(String instanceName, String customPath, Boolean isService, Boolean showConsole, Boolean checkAlive)

at VRage.Dedicated.DedicatedServer.ProcessArgs(String[] args)

at VRage.Dedicated.DedicatedServer.Run(String[] args, Action`1 initializeServices)

at SpaceEngineersDedicated.MyProgram.Main(String[] args)

2024-02-06 13:50:03.486 - Thread: 1 -> Showing message

2024-02-06 13:50:04.003 - Thread: 1 ->

================================== CRASH INFO ==================================

AppVersion: 01_203_630

GameName: Space Engineers

IsOutOfMemory: False

IsGPU: False

IsNative: False

IsTask: False

IsExperimental: True

ProcessRunTime: 807

PCUCount: 148986

IsHang: False

GCMemory: 654

GCMemoryAllocated: 654

HWAvailableMemory: 0

ProcessPrivateMemory: 2279

AnalyticId: SEXDS

================================== OFNI HSARC ==================================


2024-02-06 13:50:04.003 - Thread: 1 -> Log Closed

photo
1

Found further info in a log file. Attached for your reference

photo
1

Hello, Engineer!


Is it crashing with one particular save or with any save/custom world? If former, could you share that world?


Kind Regards

Keen Software House: QA Department

photo
1

I don't appear to be able to attach the file here. How is best to get it to you?

photo
1

Hello Engineer,


You should be able to attach a .zip archive with a save. If the save size is over the limit, could you please use a google drive instead? When sharing a google drive link please make sure it is set to be downloadable by anyone with the link.


Kind regards,

Keen Software House: QA Department

photo
1

Hello Engineer,


Your logs indicate that you're using a Torch server and unfortunately we do not provide support for Torch. Please refer to Torch support instead.


Kind regards,

Keen Software House: QA Department

photo
1

I moved to Torch to see if it would help the issue

photo
Leave a Comment
 
Attach a file