Author Topic: Crashing issues with 1.8.6  (Read 2646 times)

alterNERDtive

  • Jr. Member
  • **
  • Posts: 52
Crashing issues with 1.8.6
« on: July 20, 2020, 01:30:30 PM »
Since updating to 1.8.6, VoiceAttack will sometimes just silently crash. Haven’t been able to properly narrow it down yet, but maybe you can extract something from this log. Looks basically the same every crash.

Code: [Select]
7/20/2020 3:24:02 PM***************************************************************************************
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
   at VoiceAttack.frmMain.(Command2 , Command2 , Boolean )
   at VoiceAttack.frmMain.(Command2 , Process , Boolean , Boolean , Int32 , Boolean , Nullable`1 , Guid , Guid , List`1 , Command2 )
   at VoiceAttack.frmMain.•.()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
***VoiceAttack v1.8.6.1 - Windows 10.0.18362.0
Plugin assemblies:
bindED Plugin v1.0 [bindEDplugin.dll] (enabled) - Last call: 20 Jul 2020 10:32:08:03 VA_Init1
EDDI 3.7.0 [EddiVoiceAttackResponder.dll] (enabled) - Last call: 20 Jul 2020 03:01:59:95 VA_Invoke1
Neutron Router - v0.1.0+ [EDNeutronRouter.dll] (enabled) - Last call: 20 Jul 2020 10:32:08:03 VA_Init1
VA Extensions 2.0 [VAExtensions.dll] (enabled) - Last call: 20 Jul 2020 10:32:08:03 VA_Init1

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: Crashing issues with 1.8.6
« Reply #1 on: July 20, 2020, 05:24:12 PM »
Actually - I think I see what might be going on.  Give me just a bit and I'll have another build for you.

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: Crashing issues with 1.8.6
« Reply #2 on: July 20, 2020, 06:26:05 PM »
@alterNERDtive if you would, try getting the latest unofficial build and see if the problem persists after using it:
http://voiceattack.com/u  v1.8.6.2

Hoping that does the trick.

alterNERDtive

  • Jr. Member
  • **
  • Posts: 52
Re: Crashing issues with 1.8.6
« Reply #3 on: July 21, 2020, 01:45:33 PM »
Downloaded, will test. It’s a little harder to confirm it works though than it is in case it does not ;)

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: Crashing issues with 1.8.6
« Reply #4 on: July 21, 2020, 01:52:45 PM »
I hear ya ;)  Thanks for taking it on.

I found a place in the new code where I was simply adding a value to a collection and not synchronizing it (happens from time to time - BAD PROGRAMMER).

alterNERDtive

  • Jr. Member
  • **
  • Posts: 52
Re: Crashing issues with 1.8.6
« Reply #5 on: July 25, 2020, 10:15:02 AM »
Status update: so far, so good.

alterNERDtive

  • Jr. Member
  • **
  • Posts: 52
Re: Crashing issues with 1.8.6
« Reply #6 on: July 31, 2020, 12:39:14 PM »
I guess by now we can safely say “issue resolved”. Haven’t had any crashes.