This object is in archive! 

Server crash on Weather Create lighting.

Yuri shared this bug 3 years ago
Won't Fix

2020/09/02 06:36:43.466 [FATAL]  Initializer: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: index
   at System.Linq.Enumerable.ElementAt[TSource](IEnumerable`1 source, Int32 index)
   at Sandbox.Game.SessionComponents.MySectorWeatherComponent.CreateRandomLightning(MyObjectBuilder_WeatherEffect weatherEffect, MyObjectBuilder_WeatherLightning lightningBuilder, Boolean doHitGrid, Boolean doHitPlayer)
   at Sandbox.Game.SessionComponents.MySectorWeatherComponent.UpdatePlanetDataServer()
   at Sandbox.Game.SessionComponents.MySectorWeatherComponent.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)
Not sure how to reproduce, and this is first time i see this in our servers.

Random, but bug is there... hidding!

Replies (2)

photo
1

Hello,

can you send us the whole log from the session where it happened?

The world where it happened would also be great to have.


Thanks for your cooperation and have a nice day,


Keen QA

photo
1

Hi,

In Keen LOG, there is not much shown: Server is Running on torch, i hope you will not ignore me, as issue is pure code in game.

World is very large and modded. but we have no weather mods. all vanilla for this aspect. i have no idea where this event happen, server just restarted.

2020/09/02 06:32:42.090 [DEBUG]  Keen: GC Memory: 4408.137 / 4408.137 MB
2020/09/02 06:33:01.010 [DEBUG]  Keen: Autosave initiated
2020/09/02 06:33:01.010 [DEBUG]  Keen: Character state: True
2020/09/02 06:33:01.010 [DEBUG]  Keen: IsServer: True
2020/09/02 06:33:01.010 [DEBUG]  Keen: MyAsyncSaving.InProgress: False
2020/09/02 06:33:01.010 [INFO]   Keen: Autosave
2020/09/02 06:33:01.010 [DEBUG]  Keen: Saving world - START
2020/09/02 06:33:01.010 [DEBUG]  Keen:    Making world state snapshot.
2020/09/02 06:33:01.010 [DEBUG]  Keen:    Before snapshot.: GC Memory: 4,402 B
2020/09/02 06:33:01.780 [DEBUG]  Keen:    After snapshot.: GC Memory: 4,506 B
2020/09/02 06:33:01.790 [DEBUG]  Keen:    Directory cleanup: GC Memory: 4,506 B
2020/09/02 06:33:01.790 [DEBUG]  Keen: Saving world - END
2020/09/02 06:33:01.790 [DEBUG]  Keen: Session snapshot save - START
2020/09/02 06:33:01.790 [DEBUG]  Keen:    Checking file access for files in target dir.
2020/09/02 06:33:12.110 [DEBUG]  Keen: GC Memory: 4499.975 / 4499.975 MB
2020/09/02 06:33:24.671 [INFO]   Keen:    Saving Sandbox world configuration file D:\1SERVER_PVE_RUS\Instance\Saves\PVE_RUS\.new\Sandbox_config.sbc
2020/09/02 06:33:25.734 [DEBUG]  Keen: Session snapshot save - END
2020/09/02 06:33:37.717 [DEBUG]  Keen: STATISTICS LEGEND,time,ReceivedPerSecond,SentPerSecond,PeakReceivedPerSecond,PeakSentPerSecond,OverallReceived,OverallSent,CPULoadSmooth,ThreadLoadSmooth,GetOnlinePlayerCount,Ping,GCMemoryUsed,ProcessMemory,PCUBuilt,PCU,GridsCount,RenderCPULoadSmooth,RenderGPULoadSmooth,HardwareCPULoad,HardwareAvailableMemory,FrameTime,LowSimQuality,FrameTimeLimit,FrameTimeCPU,FrameTimeGPU,CPULoadLimit,TrackedMemory,GCMemoryAllocated
2020/09/02 06:33:37.717 [DEBUG]  Keen: STATISTICS,8702.4166667,0.02359772,0.03930187,0.3790321,22.43874,205.4734,616.5573,22.8565,3.877988,4,0,4767.227,12428.52,1406770,993230,508,0,0,0.068843,19474,0,0,16.66667,0,0,100,6385431513,4767.227
2020/09/02 06:33:37.717 [DEBUG]  Keen: MEMORY LEGEND,Srv,Uav,Read,Debug,Index,Audio,SrvUav,Vertex,Buffers,Physics,Planets,Systems,Textures,Indirect,Constant,RwTextures,Dx11Render,MeshBuffers,FileTextures,DepthStencil,TileTextures,Voxels-Native,CustomTextures,HeightmapFaces,Mesh GPU Buffers,BitStreamBuffers,GeneratedTextures,FileArrayTextures,NativeDictionaries,CubemapDataBuffers,HeightDetailTexture,MyDeviceWriteBuffers,ShadowCascadesStatsBuffers
2020/09/02 06:33:37.717 [DEBUG]  Keen: MEMORY VALUES,0,0,0,0,0,0,0,0,0,514,1188,6089,0,0,0,0,0,0,0,0,0,0,0,529,0,408,0,0,3978,649,10,0,0
2020/09/02 06:33:42.123 [DEBUG]  Keen: GC Memory: 4763.027 / 4763.027 MB
2020/09/02 06:34:12.136 [DEBUG]  Keen: GC Memory: 4770.802 / 4770.802 MB
2020/09/02 06:34:19.651 [INFO]   Keen: Trash collector removed character '212029851086570965' with entity id '85895672072046659'
2020/09/02 06:34:19.651 [INFO]   Keen: Trash collector removed character '212029851086570965' with entity id '85895672072046659'
2020/09/02 06:34:37.727 [DEBUG]  Keen: STATISTICS LEGEND,time,ReceivedPerSecond,SentPerSecond,PeakReceivedPerSecond,PeakSentPerSecond,OverallReceived,OverallSent,CPULoadSmooth,ThreadLoadSmooth,GetOnlinePlayerCount,Ping,GCMemoryUsed,ProcessMemory,PCUBuilt,PCU,GridsCount,RenderCPULoadSmooth,RenderGPULoadSmooth,HardwareCPULoad,HardwareAvailableMemory,FrameTime,LowSimQuality,FrameTimeLimit,FrameTimeCPU,FrameTimeGPU,CPULoadLimit,TrackedMemory,GCMemoryAllocated
2020/09/02 06:34:37.727 [DEBUG]  Keen: STATISTICS,8762.4333334,0.02408028,0.03509045,0.3790321,22.43874,206.8945,618.9316,23.40083,3.856275,4,0,4777.167,12428.52,1407045,992955,508,0,0,0.038818,19830,0,0,16.66667,0,0,100,6385431513,4777.167
2020/09/02 06:34:37.727 [DEBUG]  Keen: MEMORY LEGEND,Srv,Uav,Read,Debug,Index,Audio,SrvUav,Vertex,Buffers,Physics,Planets,Systems,Textures,Indirect,Constant,RwTextures,Dx11Render,MeshBuffers,FileTextures,DepthStencil,TileTextures,Voxels-Native,CustomTextures,HeightmapFaces,Mesh GPU Buffers,BitStreamBuffers,GeneratedTextures,FileArrayTextures,NativeDictionaries,CubemapDataBuffers,HeightDetailTexture,MyDeviceWriteBuffers,ShadowCascadesStatsBuffers
2020/09/02 06:34:37.727 [DEBUG]  Keen: MEMORY VALUES,0,0,0,0,0,0,0,0,0,514,1188,6089,0,0,0,0,0,0,0,0,0,0,0,529,0,408,0,0,3978,649,10,0,0
2020/09/02 06:34:42.149 [DEBUG]  Keen: GC Memory: 4773.345 / 4773.345 MB
2020/09/02 06:35:12.161 [DEBUG]  Keen: GC Memory: 4402.66 / 4402.66 MB
2020/09/02 06:35:37.737 [DEBUG]  Keen: STATISTICS LEGEND,time,ReceivedPerSecond,SentPerSecond,PeakReceivedPerSecond,PeakSentPerSecond,OverallReceived,OverallSent,CPULoadSmooth,ThreadLoadSmooth,GetOnlinePlayerCount,Ping,GCMemoryUsed,ProcessMemory,PCUBuilt,PCU,GridsCount,RenderCPULoadSmooth,RenderGPULoadSmooth,HardwareCPULoad,HardwareAvailableMemory,FrameTime,LowSimQuality,FrameTimeLimit,FrameTimeCPU,FrameTimeGPU,CPULoadLimit,TrackedMemory,GCMemoryAllocated
2020/09/02 06:35:37.737 [DEBUG]  Keen: STATISTICS,8822.45,0.02359867,0.03510857,0.3790321,22.43874,208.3094,621.111,23.02783,3.956249,4,0,4398.251,12236.17,1407045,992955,508,0,0,0.03862353,19980,0,0,16.66667,0,0,100,6385431513,4398.251
2020/09/02 06:35:37.737 [DEBUG]  Keen: MEMORY LEGEND,Srv,Uav,Read,Debug,Index,Audio,SrvUav,Vertex,Buffers,Physics,Planets,Systems,Textures,Indirect,Constant,RwTextures,Dx11Render,MeshBuffers,FileTextures,DepthStencil,TileTextures,Voxels-Native,CustomTextures,HeightmapFaces,Mesh GPU Buffers,BitStreamBuffers,GeneratedTextures,FileArrayTextures,NativeDictionaries,CubemapDataBuffers,HeightDetailTexture,MyDeviceWriteBuffers,ShadowCascadesStatsBuffers
2020/09/02 06:35:37.737 [DEBUG]  Keen: MEMORY VALUES,0,0,0,0,0,0,0,0,0,514,1188,6089,0,0,0,0,0,0,0,0,0,0,0,529,0,408,0,0,3978,649,10,0,0
2020/09/02 06:35:42.174 [DEBUG]  Keen: GC Memory: 4400.301 / 4400.301 MB
2020/09/02 06:36:12.172 [DEBUG]  Keen: MyGlobalEvent.RecalculateActivationTime:
2020/09/02 06:36:12.172 [DEBUG]  Keen: Next activation in -00:35:40.1580755
2020/09/02 06:36:12.172 [DEBUG]  Keen: MyGlobalEvent.RecalculateActivationTime:
2020/09/02 06:36:12.172 [DEBUG]  Keen: Next activation in 00:04:32.9227473
2020/09/02 06:36:12.187 [DEBUG]  Keen: GC Memory: 4400.84 / 4400.84 MB
2020/09/02 06:36:37.763 [DEBUG]  Keen: STATISTICS LEGEND,time,ReceivedPerSecond,SentPerSecond,PeakReceivedPerSecond,PeakSentPerSecond,OverallReceived,OverallSent,CPULoadSmooth,ThreadLoadSmooth,GetOnlinePlayerCount,Ping,GCMemoryUsed,ProcessMemory,PCUBuilt,PCU,GridsCount,RenderCPULoadSmooth,RenderGPULoadSmooth,HardwareCPULoad,HardwareAvailableMemory,FrameTime,LowSimQuality,FrameTimeLimit,FrameTimeCPU,FrameTimeGPU,CPULoadLimit,TrackedMemory,GCMemoryAllocated
2020/09/02 06:36:37.763 [DEBUG]  Keen: STATISTICS,8882.4666667,0.02181149,0.03433228,0.3790321,22.43874,209.65,623.4101,31.09055,6.03337,4,0,4400.682,12236.16,1407066,992934,508,0,0,0.04746448,19870,0,0,16.66667,0,0,100,6385431513,4400.682
2020/09/02 06:36:37.763 [DEBUG]  Keen: MEMORY LEGEND,Srv,Uav,Read,Debug,Index,Audio,SrvUav,Vertex,Buffers,Physics,Planets,Systems,Textures,Indirect,Constant,RwTextures,Dx11Render,MeshBuffers,FileTextures,DepthStencil,TileTextures,Voxels-Native,CustomTextures,HeightmapFaces,Mesh GPU Buffers,BitStreamBuffers,GeneratedTextures,FileArrayTextures,NativeDictionaries,CubemapDataBuffers,HeightDetailTexture,MyDeviceWriteBuffers,ShadowCascadesStatsBuffers
2020/09/02 06:36:37.763 [DEBUG]  Keen: MEMORY VALUES,0,0,0,0,0,0,0,0,0,514,1188,6089,0,0,0,0,0,0,0,0,0,0,0,529,0,408,0,0,3978,649,10,0,0
2020/09/02 06:36:42.200 [DEBUG]  Keen: GC Memory: 4403.064 / 4403.064 MB
2020/09/02 06:37:06.292 [DEBUG]  Keen: Log Started
2020/09/02 06:37:06.292 [DEBUG]  Keen: Timezone (local - UTC): 3h
2020/09/02 06:37:06.292 [INFO]   Keen: App Version: 01_196_016
2020/09/02 06:37:06.292 [DEBUG]  Keen: Steam build: Always true
2020/09/02 06:37:06.292 [INFO]   Keen: Is official: True [NO][NIS][NAMP]
2020/09/02 06:37:06.292 [INFO]   Keen: Environment.ProcessorCount: 16
2020/09/02 06:37:06.307 [INFO]   Keen: Environment.OSVersion: Майкрософт Windows Server 2019 Standard (Microsoft Windows NT 6.2.9200.0)
2020/09/02 06:37:06.307 [INFO]   Keen: Environment.CommandLine: "D:\1SERVER_PVE_RUS\Torch.Server.exe" -instancename "PvE_RUS" -instancepath "D:\1SERVER_PVE_RUS\Instance" -restartoncrash -waitforpid "6652" -localplugins
2020/09/02 06:37:06.307 [INFO]   Keen: Environment.Is64BitProcess: True
2020/09/02 06:37:06.307 [INFO]   Keen: Environment.Is64BitOperatingSystem: True
2020/09/02 06:37:06.307 [INFO]   Keen: Environment.Version: .NET Framework 4.8.4200.0
2020/09/02 06:37:06.307 [INFO]   Keen: Environment.CurrentDirectory: D:\1SERVER_PVE_RUS
2020/09/02 06:37:06.307 [INFO]   Keen: CPU Info: Intel(R) Xeon(R) CPU E5-2689 0 @ 2.60GHz
2020/09/02 06:37:06.307 [DEBUG]  Keen: IntPtr.Size: 8
2020/09/02 06:37:06.307 [DEBUG]  Keen: Default Culture: 
2020/09/02 06:37:06.307 [DEBUG]  Keen: Default UI Culture: 
2020/09/02 06:37:06.323 [DEBUG]  Keen: Found processor count: 8
2020/09/02 06:37:06.323 [DEBUG]  Keen: Using processor count: 8
2020/09/02 06:37:29.352 [DEBUG]  Keen: MyScreenManager()
2020/09/02 06:37:29.352 [DEBUG]  Keen: MySandboxGame.Constructor() - START
2020/09/02 06:37:29.352 [DEBUG]  Keen:    Game dir: d:\1server_pve_rus\dedicatedserver64

photo
1

Hello Yuri!


Thank you for your additional information however unless it can be

reproduced on a clean, un-modded server (not a torch), it is usually caused by a certain mod or by

combination of mods which we have no control over. We apologize for any inconvenience.


Kind Regards

Keen Software House: QA Department

Replies have been locked on this page!