View Issue Details

IDProjectCategoryLast Update
0026872AI War 2Crash/ExceptionApr 19, 2022 9:59 am
ReporterCyborg Assigned ToChris_McElligottPark  
Severityminor 
Status resolvedResolutionfixed 
Product Version4.014 The Intimidating Architrave 
Fixed in Version4.024 Graveyard Digger 
Summary0026872: multiplayer exception dump
DescriptionThe original purpose was to find notifier flags not appearing for each other. We were not able to reproduce that issue. But I do see a lot of exceptions.
TagsNo tags attached.

Relationships

related to 0026849 resolvedChris_McElligottPark MP client issues 4.013 

Activities

Cyborg

Apr 7, 2022 8:34 pm

reporter  

ArcenDebugLog.txt (3,642,734 bytes)

Dismiss

Apr 7, 2022 8:36 pm

developer   ~0065857

ArcenDebugLog_host.txt (3,767,359 bytes)

Dismiss

Apr 7, 2022 8:39 pm

developer   ~0065858

This is the entire save folder. Save '2.sav' is the most recent, made right before we had to close do to stalled 'background worker thread' issue which also happens in single player.

The main purpose of this post though is to check out the thousands of exceptions which should appear in the client-side log (cyborgs).
mp test 2.7z (574,636 bytes)

Cyborg

Apr 7, 2022 8:40 pm

reporter   ~0065859

Last edited: Apr 7, 2022 8:41 pm

There are 2 issues here then. stalled 'background worker thread' and these numerous exceptions.

Dismiss

Apr 7, 2022 8:43 pm

developer   ~0065860

On the topic of missing notifications/alerts for the client side player, we found this time, with me hosting and the connection seeming more stable in general that we always both saw them. However, there was a noticeable delay in the 5 second or so range between it appearing for me and him and i assume what happened before is with a worse connection they were getting lost or timing out entirely before they appeared.

Cyborg

Apr 7, 2022 9:21 pm

reporter   ~0065862

4/7/2022 9:05:10 PM 4.014 CLIENT DELAYED11944 TID15 Error! Called FromActualInputEventOfPlayerID on game command 18585, which was already back in the pool!
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <4384e505222f4699bade4a0ab6ffe4ff>:0
  at Arcen.AIW2.Core.GameCommand.get_FromActualInputEventOfPlayerID () [0x00000] in <71252d42b88d4a6181b670e17cee4da8>:0
  at

Cyborg

Apr 7, 2022 9:21 pm

reporter   ~0065864

ArcenDebugLog-2.txt (3,786,874 bytes)

Cyborg

Apr 7, 2022 9:24 pm

reporter   ~0065865

notifier bug found again. I don't see Iego. Some of the numbers even look different.
notifier.JPG (39,341 bytes)   
notifier.JPG (39,341 bytes)   

Dismiss

Apr 7, 2022 9:26 pm

developer   ~0065866

Here is my side and the save at that point.
4.save (354,838 bytes)
ArcenDebugLog-3.txt (3,792,267 bytes)

Cyborg

Apr 7, 2022 9:27 pm

reporter   ~0065867

ArcenDebugLog-4.txt (3,787,529 bytes)

Chris_McElligottPark

Apr 13, 2022 9:25 pm

administrator   ~0066005

The error message part is fixed!

* Fixed a one-line error that was causing multiplayer clients to eventually get a flood of errors relating to GameCommands already being back in the pool.
** What was happening was that it was being executed twice on the client if the command was a frame late, rather than only executing once. Mostly this would only show up after about 45 minutes of play, evidently.

Chris_McElligottPark

Apr 19, 2022 9:59 am

administrator   ~0066132

To my knowledge, all of the versions of these are now fixed. The stalled background thread thing may or may not be fixed by the next version, but there's a new protocol for finding those, which you can see here:

* In the internal debug menu (the one from the escape menu), there are now "Log All Threads" and "Abort All Threads" buttons.
** If the game is getting stuck in a background deadlock, this will give us some information on it. The tooltips have more information on it.
** If you press the Abort All Threads button, it may crash the game (in theory -- so far it has not in testing), but it gives us exact stack traces (within reason) for all the threads it is aborting. Assuming that there is a stuck thread, and not a stuck Interlocked value, this will identify any deadlock for us to within the method that it exists in, at least.
** If we wind up with still having deadlocks and no interesting thread outputs here, then I'll instrument the Interlocked values to keep an eye on those.

If the game gets stuck again, I'd appreciate a followup on a ticket like 0026729, since that's all related now, I think.

Issue History

Date Modified Username Field Change
Apr 7, 2022 8:34 pm Cyborg New Issue
Apr 7, 2022 8:34 pm Cyborg File Added: ArcenDebugLog.txt
Apr 7, 2022 8:36 pm Dismiss Note Added: 0065857
Apr 7, 2022 8:36 pm Dismiss File Added: ArcenDebugLog_host.txt
Apr 7, 2022 8:39 pm Dismiss Note Added: 0065858
Apr 7, 2022 8:39 pm Dismiss File Added: mp test 2.7z
Apr 7, 2022 8:40 pm Cyborg Note Added: 0065859
Apr 7, 2022 8:41 pm Cyborg Note Edited: 0065859
Apr 7, 2022 8:43 pm Dismiss Note Added: 0065860
Apr 7, 2022 9:21 pm Cyborg Note Added: 0065862
Apr 7, 2022 9:21 pm Cyborg Note Added: 0065864
Apr 7, 2022 9:21 pm Cyborg File Added: ArcenDebugLog-2.txt
Apr 7, 2022 9:24 pm BadgerBadger Relationship added related to 0026849
Apr 7, 2022 9:24 pm Cyborg Note Added: 0065865
Apr 7, 2022 9:24 pm Cyborg File Added: notifier.JPG
Apr 7, 2022 9:26 pm Dismiss Note Added: 0065866
Apr 7, 2022 9:26 pm Dismiss File Added: 4.save
Apr 7, 2022 9:26 pm Dismiss File Added: ArcenDebugLog-3.txt
Apr 7, 2022 9:27 pm Cyborg Note Added: 0065867
Apr 7, 2022 9:27 pm Cyborg File Added: ArcenDebugLog-4.txt
Apr 13, 2022 9:25 pm Chris_McElligottPark Note Added: 0066005
Apr 13, 2022 9:26 pm Chris_McElligottPark Sticky Issue No => Yes
Apr 19, 2022 9:59 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Apr 19, 2022 9:59 am Chris_McElligottPark Status new => resolved
Apr 19, 2022 9:59 am Chris_McElligottPark Resolution open => fixed
Apr 19, 2022 9:59 am Chris_McElligottPark Fixed in Version => 4.024 Graveyard Digger
Apr 19, 2022 9:59 am Chris_McElligottPark Note Added: 0066132
Apr 19, 2022 9:59 am Chris_McElligottPark Sticky Issue Yes => No