View Issue Details

IDProjectCategoryLast Update
0022755AI War 2Bug - OtherFeb 10, 2020 12:40 pm
Reporterarsdor Assigned ToChris_McElligottPark  
Severitytrivial 
Status resolvedResolutionfixed 
Product Version1.321 Enjoy Your Break, Voice Lady 
Fixed in VersionBETA 1.327 Hardened Forcefields 
Summary0022755: Some sort of minor bug
DescriptionSmth just pop-uped at game and no other visible staff came later.
TagsNo tags attached.

Relationships

related to 0022740 resolvedChris_McElligottPark Exception: Called pathfinder again before it finished finding the first path 

Activities

arsdor

Feb 8, 2020 8:06 am

reporter  

ArcenDebugLog.txt (1,795,090 bytes)

BadgerBadger

Feb 8, 2020 4:23 pm

manager   ~0055930

2/8/2020 4:00:19 PM
Called Arsdor_cons_maindir_32 pathfinder again before it finished finding the first path! This probably means it's being called by two threads!

  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <e4cf846ff9954a4e9961dc7865307a79>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <e4cf846ff9954a4e9961dc7865307a79>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <e4cf846ff9954a4e9961dc7865307a79>:0
  at Arcen.AIW2.External.ArcenPathfinder`1[N].FindPathInner (N Origin, N Target, System.Int32 NeedToGetWithinXRangeOfTarget, System.Int32 RequiresNoMoreThanXRangeFromOrigin, System.Boolean DoDebugLog, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <792f8cfdd6564f12bf6d11be839db59a>:0
  at Arcen.AIW2.External.ArcenPathfinder`1[N].FindPath (N Origin, N Target, System.Int32 NeedToGetWithinXRangeOfTarget, System.Int32 RequiresNoMoreThanXRangeFromOrigin, System.Boolean DoDebugLog, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <792f8cfdd6564f12bf6d11be839db59a>:0
  at Arcen.AIW2.External.BaseSpecialFaction.InnerFindPath (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.Planet Origin, Arcen.AIW2.Core.Planet Target, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <792f8cfdd6564f12bf6d11be839db59a>:0
  at Arcen.AIW2.External.BaseSpecialFaction.FindPath (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.Planet Origin, Arcen.AIW2.Core.Planet Target, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <792f8cfdd6564f12bf6d11be839db59a>:0
  at Arcen.AIW2.Core.Faction.FindPath (Arcen.AIW2.Core.Planet origin, Arcen.AIW2.Core.Planet destination, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <1b40fc44c696462896947c577309b0de>:0
  at Arcen.AIW2.ExternalVisualization.GalaxyViewSelector.HandleMouseEvent_GalaxyView (Arcen.AIW2.Core.ArcenMouseEventType EventType, Arcen.AIW2.Core.ArcenInputFlags InputFlags, Arcen.AIW2.Core.Planet PlanetUnderCursor, Arcen.AIW2.Core.GameEntity_Base EntityUnderCursor, PlanetLinkMarker LinkUnderCursor, System.Boolean InBandBoxMode) [0x00000] in <ca20d78af509425994390a3f82809097>:0
  at Arcen.AIW2.ExternalVisualization.GalaxyViewSelector.RunUpdate () [0x00000] in <ca20d78af509425994390a3f82809097>:0
  at GalaxyMapSelectionManager.Update () [0x00000] in <32ab88ecd2054b65bbd421e650e0eed9>:0

Chris_McElligottPark

Feb 10, 2020 12:40 pm

administrator   ~0055956

Thanks!

* Fixed a bug where PerFrame_CalculateEffectiveFleetData was trying to do pathing using the main thread context and not whatever context was passed in. This was typically going to be called by the background-sim thread, and so if you had ships loading into transports during the simulation and you clicked to send ships across planets in the galaxy map or the planet view, then these could throw an exception since two threads were trying to share one pathfinder (bad juju).

Issue History

Date Modified Username Field Change
Feb 8, 2020 8:06 am arsdor New Issue
Feb 8, 2020 8:06 am arsdor File Added: ArcenDebugLog.txt
Feb 8, 2020 4:23 pm BadgerBadger Note Added: 0055930
Feb 8, 2020 4:24 pm BadgerBadger Relationship added related to 0022740
Feb 10, 2020 12:40 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Feb 10, 2020 12:40 pm Chris_McElligottPark Status new => resolved
Feb 10, 2020 12:40 pm Chris_McElligottPark Resolution open => fixed
Feb 10, 2020 12:40 pm Chris_McElligottPark Fixed in Version => BETA 1.327 Hardened Forcefields
Feb 10, 2020 12:40 pm Chris_McElligottPark Note Added: 0055956