I'm trying to play Earthbound with the RAM Watch open, and every so often BizHawk 2.5 will just crash randomly. I can't give specifics on how to replicate it because there's no rhyme or reason to the crashes, but here's the error it gives me:
System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: Operation is not valid due to the current state of the object.
at BizHawk.Emulation.Cores.Waterbox.WaterboxHost.Exit()
at BizHawk.Common.MonitorExtensions.EnterExitWrapper.Dispose()
at BizHawk.Emulation.Cores.Waterbox.WaterboxMemoryDomainPointer.PeekByte(Int64 addr)
at BizHawk.Emulation.Common.MemoryDomain.PeekUint(Int64 addr, Boolean bigEndian)
at BizHawk.Client.Common.DWordWatch.Update(PreviousType previousType)
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)
at BizHawk.Client.Common.WatchList.UpdateValues(PreviousType previousType)
at BizHawk.Client.EmuHawk.RamWatch.FrameUpdate()
at BizHawk.Client.EmuHawk.ToolManager.UpdateToolsAfter()
at BizHawk.Client.EmuHawk.MainForm.UpdateToolsAfter()
at BizHawk.Client.EmuHawk.MainForm.StepRunLoop_Core(Boolean force)
at BizHawk.Client.EmuHawk.MainForm.ProgramRunLoop()
at BizHawk.Client.EmuHawk.Program.SubMain(String[] args)
---> (Inner Exception #0) System.InvalidOperationException: Operation is not valid due to the current state of the object.
at BizHawk.Emulation.Cores.Waterbox.WaterboxHost.Exit()
at BizHawk.Common.MonitorExtensions.EnterExitWrapper.Dispose()
at BizHawk.Emulation.Cores.Waterbox.WaterboxMemoryDomainPointer.PeekByte(Int64 addr)
at BizHawk.Emulation.Common.MemoryDomain.PeekUint(Int64 addr, Boolean bigEndian)
at BizHawk.Client.Common.DWordWatch.Update(PreviousType previousType)
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)<---