anegostudios / VintageStory-Issues

Vintage Story's public issue tracker for reporting bugs, crashes and the like
46 stars 16 forks source link

WeatherSimulationSnowAccum crash to "Vintage Story Crash Reporter" #3891

Closed IBWare closed 1 month ago

IBWare commented 5 months ago

Game Version

v1.19.8

Platform

Windows

Modded

Modded

SP/MP

Singleplayer

Description

When traveling in game to a prior traveled position I crash to Vintage Story Crash Report which notes an error relating to WeatherSimulationSnowAccum.

How to reproduce

No response

Screenshots

No response

Logs

Running on 64 bit Windows 10.0.22631.0 with 16319 MB RAM Game Version: v1.19.8 (Stable) 5/27/2024 3:28:18 PM: Critical error occurred Loaded Mods: game@1.19.8, carryon@1.7.4, creative@1.19.8, survival@1.19.8 System.IndexOutOfRangeException: Index was outside the bounds of the array. at Vintagestory.GameContent.WeatherSimulationSnowAccum.UpdateSnowLayer(SnowAccumSnapshot sumsnapshot, Boolean ignoreOldAccum, IServerMapChunk mc, Vec2i chunkPos, IWorldChunk[] chunksCol) in VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 502 at Vintagestory.GameContent.WeatherSimulationSnowAccum.GetSnowUpdate(WeatherSimulationRegion simregion, IServerMapChunk mc, Vec2i chunkPos, IWorldChunk[] chunksCol) in VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 496 at Vintagestory.GameContent.WeatherSimulationSnowAccum.UpdateSnowLayerOffThread(WeatherSimulationRegion simregion, IServerMapChunk mc, Vec2i chunkPos) in VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 439 at Vintagestory.GameContent.WeatherSimulationSnowAccum.onThreadStart() in VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 287

Event Log entries for Vintagestory.exe, the latest 3

{ TimeGenerated = 5/27/2024 2:48:07 PM, Site = , Source = Application Error, Message = Faulting application name: Vintagestory.exe, version: 1.19.8.0, time stamp: 0x661e0000 Faulting module name: KERNELBASE.dll, version: 10.0.22621.3527, time stamp: 0x83efbeab Exception code: 0xe0434352 Fault offset: 0x000000000006543c Faulting process id: 0x0x2b28 Faulting application start time: 0x0x1dab065cd84bf05 Faulting application path: E:\Vintagestory\Vintagestory.exe Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll Report Id: a2f256f6-48d0-444c-941f-5f73f4611f7f Faulting package full name: Faulting package-relative application ID: }

{ TimeGenerated = 5/27/2024 2:42:02 PM, Site = , Source = Application Error, Message = Faulting application name: Vintagestory.exe, version: 1.19.8.0, time stamp: 0x661e0000 Faulting module name: KERNELBASE.dll, version: 10.0.22621.3527, time stamp: 0x83efbeab Exception code: 0xe0434352 Fault offset: 0x000000000006543c Faulting process id: 0x0x3430 Faulting application start time: 0x0x1dab0656f5f82a3 Faulting application path: E:\Vintagestory\Vintagestory.exe Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll Report Id: d09271bb-8f89-4a84-b785-cccf1ff85bdc Faulting package full name: Faulting package-relative application ID: }

{ TimeGenerated = 5/27/2024 2:33:15 PM, Site = , Source = Application Error, Message = Faulting application name: Vintagestory.exe, version: 1.19.8.0, time stamp: 0x661e0000 Faulting module name: KERNELBASE.dll, version: 10.0.22621.3527, time stamp: 0x83efbeab Exception code: 0xe0434352 Fault offset: 0x000000000006543c Faulting process id: 0x0x2f30 Faulting application start time: 0x0x1dab0641223db9a Faulting application path: E:\Vintagestory\Vintagestory.exe Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll Report Id: 687a01d4-f199-4380-8b04-a0f6bf216e47 Faulting package full name: Faulting package-relative application ID: }

IBWare commented 5 months ago

I just tried with no mods loaded and the same issue occurred.

IBWare commented 5 months ago

Accidently closed and had to reopen the issue.

noelle-lavenza commented 5 months ago

Do you use any unusual/nonstandard world generation settings? Do you have a small world file you can upload somewhere that reliably causes the crash?

IBWare commented 5 months ago

My world gen settings are out of the box. I created the world fresh from 1.19.5 and performed the option to update as they were presented via game load. dark adventure lands.vcdbs https://drive.google.com/file/d/1bO8tk4JiPoW5c3l7gT9zs04m5vajtEH7/view?usp=drive_web Provided is a link to the world file as well as the json file used in creation of the world. As a note I truly enjoy the game.

On Wed, May 29, 2024 at 2:57 AM Noelle Lavenza @.***> wrote:

Do you use any unusual/nonstandard world generation settings? Do you have a small world file you can upload somewhere that reliably causes the crash?

— Reply to this email directly, view it on GitHub https://github.com/anegostudios/VintageStory-Issues/issues/3891#issuecomment-2136673717, or unsubscribe https://github.com/notifications/unsubscribe-auth/AETW36BZBPCHHZGRCUNUAELZEV347AVCNFSM6AAAAABILVHPJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZWGY3TGNZRG4 . You are receiving this because you modified the open/close state.Message ID: @.***>

San9uineDG commented 2 months ago

Hello, I have encountered the same Issue as IBWare. I'm using a quite modded server with approx 50 mods enabled. With a reduced amount of mods, I didn't have this issue, so it possibly could be related to mods. Since the more modded server, I've also more frequently encountered game crashes.

I'll keep you updated, if I find a solution or the root cause of the issue.

Due to the log not mentioning any mods, I assumed it could be the game itself having an issue with the snow-engine?

See below part of the Server-Eventlog: 12.8.2024 19:01:27 [Error] Exception throwing during chunk Unpack() at chunkpos xz 16003/15993. Likely corrupted. Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array. at Vintagestory.GameContent.WeatherSimulationSnowAccum.UpdateSnowLayer(SnowAccumSnapshot sumsnapshot, Boolean ignoreOldAccum, IServerMapChunk mc, Vec2i chunkPos, IWorldChunk[] chunksCol) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 502 at Vintagestory.GameContent.WeatherSimulationSnowAccum.GetSnowUpdate(WeatherSimulationRegion simregion, IServerMapChunk mc, Vec2i chunkPos, IWorldChunk[] chunksCol) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 496 at Vintagestory.GameContent.WeatherSimulationSnowAccum.TryImmediateSnowUpdate(WeatherSimulationRegion simregion, IServerMapChunk mc, Vec2i chunkCoord, IWorldChunk[] chunksCol) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 227 at Vintagestory.GameContent.WeatherSimulationSnowAccum.Event_BeginChunkColLoadChunkThread(IServerMapChunk mc, Int32 chunkX, Int32 chunkZ, IWorldChunk[] chunks) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 206 at Vintagestory.Server.ServerEventAPI.TriggerBeginChunkColumnLoadChunkThread(IServerMapChunk mapChunk, Int32 chunkX, Int32 chunkZ, IWorldChunk[] chunks) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\API\ServerEventAPI.cs:line 169 at Vintagestory.Server.ServerSystemSupplyChunks.loadOrGenerateChunkColumn_OnChunkThread(ChunkColumnLoadRequest chunkRequest, Int32 stage) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\Systems\World\LoadThread\SupplyChunks.cs:line 679 12.8.2024 19:01:29 [Error] Exception throwing during chunk Unpack() at chunkpos xz 16010/15994. Likely corrupted. Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array. at Vintagestory.GameContent.WeatherSimulationSnowAccum.UpdateSnowLayer(SnowAccumSnapshot sumsnapshot, Boolean ignoreOldAccum, IServerMapChunk mc, Vec2i chunkPos, IWorldChunk[] chunksCol) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 502 at Vintagestory.GameContent.WeatherSimulationSnowAccum.GetSnowUpdate(WeatherSimulationRegion simregion, IServerMapChunk mc, Vec2i chunkPos, IWorldChunk[] chunksCol) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 496 at Vintagestory.GameContent.WeatherSimulationSnowAccum.TryImmediateSnowUpdate(WeatherSimulationRegion simregion, IServerMapChunk mc, Vec2i chunkCoord, IWorldChunk[] chunksCol) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 241 at Vintagestory.GameContent.WeatherSimulationSnowAccum.Event_BeginChunkColLoadChunkThread(IServerMapChunk mc, Int32 chunkX, Int32 chunkZ, IWorldChunk[] chunks) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 208 at Vintagestory.Server.ServerSystemSupplyChunks.loadOrGenerateChunkColumn_OnChunkThread(ChunkColumnLoadRequest chunkRequest, Int32 stage) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\Systems\World\LoadThread\SupplyChunks.cs:line 717 12.8.2024 19:01:32 [Error] Exception throwing during chunk Unpack() at chunkpos xz 15999/16008. Likely corrupted. Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array. at Vintagestory.GameContent.WeatherSimulationSnowAccum.UpdateSnowLayer(SnowAccumSnapshot sumsnapshot, Boolean ignoreOldAccum, IServerMapChunk mc, Vec2i chunkPos, IWorldChunk[] chunksCol) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 502 at Vintagestory.GameContent.WeatherSimulationSnowAccum.GetSnowUpdate(WeatherSimulationRegion simregion, IServerMapChunk mc, Vec2i chunkPos, IWorldChunk[] chunksCol) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 496 at Vintagestory.GameContent.WeatherSimulationSnowAccum.TryImmediateSnowUpdate(WeatherSimulationRegion simregion, IServerMapChunk mc, Vec2i chunkCoord, IWorldChunk[] chunksCol) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 241 at Vintagestory.GameContent.WeatherSimulationSnowAccum.Event_BeginChunkColLoadChunkThread(IServerMapChunk mc, Int32 chunkX, Int32 chunkZ, IWorldChunk[] chunks) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 208 at Vintagestory.Server.ServerSystemSupplyChunks.loadOrGenerateChunkColumn_OnChunkThread(ChunkColumnLoadRequest chunkRequest, Int32 stage) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\Systems\World\LoadThread\SupplyChunks.cs:line 717 12.8.2024 19:01:33 [Error] Exception throwing during chunk Unpack() at chunkpos xz 16014/16001. Likely corrupted. Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array. at Vintagestory.GameContent.WeatherSimulationSnowAccum.UpdateSnowLayer(SnowAccumSnapshot sumsnapshot, Boolean ignoreOldAccum, IServerMapChunk mc, Vec2i chunkPos, IWorldChunk[] chunksCol) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 502 at Vintagestory.GameContent.WeatherSimulationSnowAccum.GetSnowUpdate(WeatherSimulationRegion simregion, IServerMapChunk mc, Vec2i chunkPos, IWorldChunk[] chunksCol) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 496 at Vintagestory.GameContent.WeatherSimulationSnowAccum.TryImmediateSnowUpdate(WeatherSimulationRegion simregion, IServerMapChunk mc, Vec2i chunkCoord, IWorldChunk[] chunksCol) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 241 at Vintagestory.GameContent.WeatherSimulationSnowAccum.Event_BeginChunkColLoadChunkThread(IServerMapChunk mc, Int32 chunkX, Int32 chunkZ, IWorldChunk[] chunks) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 208 at Vintagestory.Server.ServerSystemSupplyChunks.loadOrGenerateChunkColumn_OnChunkThread(ChunkColumnLoadRequest chunkRequest, Int32 stage) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\Systems\World\LoadThread\SupplyChunks.cs:line 717 12.8.2024 19:01:34 [Error] Exception throwing during chunk Unpack() at chunkpos xz 15995/15983. Likely corrupted. Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array. at Vintagestory.GameContent.WeatherSimulationSnowAccum.UpdateSnowLayer(SnowAccumSnapshot sumsnapshot, Boolean ignoreOldAccum, IServerMapChunk mc, Vec2i chunkPos, IWorldChunk[] chunksCol) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 502 at Vintagestory.GameContent.WeatherSimulationSnowAccum.GetSnowUpdate(WeatherSimulationRegion simregion, IServerMapChunk mc, Vec2i chunkPos, IWorldChunk[] chunksCol) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 496 at Vintagestory.GameContent.WeatherSimulationSnowAccum.TryImmediateSnowUpdate(WeatherSimulationRegion simregion, IServerMapChunk mc, Vec2i chunkCoord, IWorldChunk[] chunksCol) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 241 at Vintagestory.GameContent.WeatherSimulationSnowAccum.Event_BeginChunkColLoadChunkThread(IServerMapChunk mc, Int32 chunkX, Int32 chunkZ, IWorldChunk[] chunks) in C:\Users\Tyron\Documents\vintagestory\game\VSEssentials\Systems\Weather\WeatherSimulationSnowAccum.cs:line 208 at Vintagestory.Server.ServerSystemSupplyChunks.loadOrGenerateChunkColumn_OnChunkThread(ChunkColumnLoadRequest chunkRequest, Int32 stage) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\Systems\World\LoadThread\SupplyChunks.cs:line 717 12.8.2024 19:01:34 [Error] Exception throwing during chunk Unpack() at chunkpos xz 16015/16001. Likely corrupted. Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.

Craluminum2413 commented 1 month ago

Closing due to inactivity