View Issue Details

IDProjectCategoryLast Update
0025785AI War 2Crash/ExceptionNov 8, 2021 4:55 pm
ReporterChris_McElligottPark Assigned ToChris_McElligottPark  
Severityminor 
Status resolvedResolutionfixed 
Product VersionBeta 3.746 Phantom Ship Syndrome 
Fixed in VersionBeta 3.750 Smooth Simulator 
Summary0025785: Parameter name: chunkLength at System.Text.StringBuilder.ToString
DescriptionThis smacks of some sort of text-based memory leak to me. It happens after: load one savegame twice. Start a new game. Quit to main menu. Load savegame again. Boom.

For me to look into on Monday.

SINGLEP DELAYED9: ArcenShortTermPlanningContext.ParallelRunAllContext error for context StrengthCounting: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: chunkLength
  at System.Text.StringBuilder.ToString () [0x000a6] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDoubleCharacterBuffer.GetStringAndResetForNextUpdate () [0x0008a] in <128d00e2b0aa4f22bcf99aa212fde6d0>:0
  at Arcen.AIW2.External.StrengthCounting.RunStrengthCounting (System.Boolean StopAfterTimeGetsTooHigh) [0x007df] in <6fa792ab6ae948f5aef6d31c2c2786a4>:0
  at Arcen.AIW2.External.StrengthCounting.Execute () [0x00028] in <6fa792ab6ae948f5aef6d31c2c2786a4>:0
  at Arcen.AIW2.External.ArcenShortTermPlanningContext+<>c__DisplayClass8_0.<ParallelRunAllContext>b__0 (Arcen.AIW2.External.ArcenShortTermPlanningContext context) [0x0001f] in <6fa792ab6ae948f5aef6d31c2c2786a4>:0
TagsNo tags attached.

Activities

Chris_McElligottPark

Nov 8, 2021 4:55 pm

administrator   ~0063259

Got that earlier today.

* Fixed a persistent recent bug, which may have been a memory leak and also caused crashes, where essentially some debugging processes for "sub thread information" in strength counting were being run from multiple threads at once (bad), and also were running even when we were not showing the monitoring window (mostly pointless, but hey let's save a bit of CPU).
** Thanks to UFO and others for the crash reports that included these.

Issue History

Date Modified Username Field Change
Nov 5, 2021 8:59 pm Chris_McElligottPark New Issue
Nov 5, 2021 8:59 pm Chris_McElligottPark Status new => assigned
Nov 5, 2021 8:59 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Nov 8, 2021 4:55 pm Chris_McElligottPark Status assigned => resolved
Nov 8, 2021 4:55 pm Chris_McElligottPark Resolution open => fixed
Nov 8, 2021 4:55 pm Chris_McElligottPark Fixed in Version => Beta 3.750 Smooth Simulator
Nov 8, 2021 4:55 pm Chris_McElligottPark Note Added: 0063259