Simhub freeze when ...
 
Notifications
Clear all

Simhub freeze when activating other game or at exit from Simhub

1 Posts
1 Users
0 Reactions
32 Views
(@jules)
New Member
Joined: 4 days ago
Posts: 1
Topic starter  

When I switch to an other game, or exit from Simhub, the Simhub freeze for a few minutes. I can break the freeze by disconnecting the arduinos. I think the problem is with the serial display, but I don't use Vocore anymore.

I have 3 arduino uno (5x 7segments, a 20x4 LCD, an 8x8 matrix, 128x Led, 2x wind, a tacho) and a pro micro (64x Led, 4x rotary, 20x button).

See my dashboard at my website...

12:10:02.201 INFO  Stopping plugin SimHub.Plugins.OutputPlugins.GraphicalDash.GraphicalDashPlugin
12:10:02.201 INFO  Plugin end SimHub.Plugins.OutputPlugins.GraphicalDash.GraphicalDashPlugin took 0.000s
12:10:02.201 INFO  Stopping plugin SimHub.Plugins.Web.WebPlugin
12:10:02.201 INFO  Plugin end SimHub.Plugins.Web.WebPlugin took 0.000s
12:10:17.068 INFO  [WatchDog] Abnormal Inactivity detected
12:10:18.076 INFO  [WatchDog] Stacks dump : 
	ManagedThreadId: 1, Name: N/A, OSThreadId: 10524, Thread: IsAlive: True, IsBackground: False
		System.Threading.SynchronizationContext.WaitHelper(IntPtr[], Boolean, Int32)
		System.Windows.Threading.DispatcherSynchronizationContext.Wait(IntPtr[], Boolean, Int32)
		System.Threading.SynchronizationContext.InvokeWaitMethodHelper(System.Threading.SynchronizationContext, IntPtr[], Boolean, Int32)
		System.Threading.Thread.JoinInternal(Int32)
		SimHub.Plugins.PluginManager.End(Boolean)
		SimHubWPF.MainWindow+<ChangeGame>d__37.MoveNext()
		System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[SimHubWPF.MainWindow+<ChangeGame>d__37, SimHubWPF]](<ChangeGame>d__37 ByRef)
		SimHubWPF.MainWindow.ChangeGame(SimHub.Plugins.SupportedGameManager, System.Action`1<System.String>)
		SimHubWPF.MainWindow+<>c__DisplayClass36_0+<<ChangeGame>b__0>d.MoveNext()
		System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[SimHubWPF.MainWindow+<>c__DisplayClass36_0+<<ChangeGame>b__0>d, SimHubWPF]](<<ChangeGame>b__0>d ByRef)
		SimHubWPF.MainWindow+<>c__DisplayClass36_0.<ChangeGame>b__0()
		SimHub.Plugins.UI.SHMetroWindow+<WithLayer>d__16.MoveNext()
		System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object)
		System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run()
		System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation+<>c.<.cctor>b__8_0(System.Object)
		System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
		System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
		System.Windows.Threading.DispatcherOperation.InvokeImpl()
		System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
		MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
		System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
		MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
		System.Windows.Threading.DispatcherOperation.Invoke()
		System.Windows.Threading.Dispatcher.ProcessQueue()
		System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
		MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
		MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
		System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
		System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
		System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
		MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
		DomainBoundILStubClass.IL_STUB_PInvoke(System.Windows.Interop.MSG ByRef)
		System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
		System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
		System.Windows.Application.RunDispatcher(System.Object)
		System.Windows.Application.RunInternal(System.Windows.Window)
		System.Windows.Application.Run(System.Windows.Window)
		꺲.꺲.Main()
	ManagedThreadId: 8, Name: N/A, OSThreadId: 10052, Thread: IsAlive: True, IsBackground: True
		DomainBoundILStubClass.IL_STUB_PInvoke(System.Runtime.Remoting.Channels.Ipc.PipeHandle, System.Threading.Overlapped)
		System.Runtime.Remoting.Channels.Ipc.IpcPort.WaitForConnect()
		System.Runtime.Remoting.Channels.Ipc.IpcServerChannel.Listen()
		System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
		System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
		System.Threading.ThreadHelper.ThreadStart()
	ManagedThreadId: 12, Name: SerialScanThread, OSThreadId: 5940, Thread: IsAlive: True, IsBackground: False
		System.Threading.Thread.SleepInternal(Int32)
		System.Threading.Thread.Sleep(Int32)
		SerialDash.ComportScanner.<DetectComPortCore>b__31_0()
		System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
		System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
		System.Threading.ThreadHelper.ThreadStart()
	ManagedThreadId: 14, Name: N/A, OSThreadId: 4484, Thread: IsAlive: True, IsBackground: True
		DomainNeutralILStubClass.IL_STUB_PInvoke(IntPtr)
		Microsoft.Win32.SafeHandles.SafeFileHandle.ReleaseHandle()
		System.Runtime.InteropServices.SafeHandle.InternalDispose()
		System.Runtime.InteropServices.SafeHandle.Dispose(Boolean)
		System.IO.Ports.SerialStream.Dispose(Boolean)
		System.IO.Stream.Close()
		System.IO.Ports.SerialPort.Dispose(Boolean)
		System.IO.Ports.SHSerialPort.Dispose(Boolean)
		System.IO.Ports.SHSerialPort.Close()
		SerialDash.SerialDashController.End()
		SerialDash.MultipleSerialDashController+<>c__DisplayClass89_0.<End>b__1()
		System.Threading.Tasks.Task.InnerInvoke()
		System.Threading.Tasks.Task.Execute()
		System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)
		System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
		System.Threading.Tasks.Task.ExecuteEntry(Boolean)
		System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
		System.Threading.ThreadPoolWorkQueue.Dispatch()
		System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
	ManagedThreadId: 21, Name: N/A, OSThreadId: 9044, Thread: IsAlive: True, IsBackground: True
		System.Threading.WaitHandle.WaitOneNative(System.Runtime.InteropServices.SafeHandle, UInt32, Boolean, Boolean)
		System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle, Int64, Boolean, Boolean)
		System.Threading.WaitHandle.WaitOne(Int32, Boolean)
		System.Threading.WaitHandle.WaitOne()
		System.Management.MTAHelper.WorkerThread()
		System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
		System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
		System.Threading.ThreadHelper.ThreadStart()
	ManagedThreadId: 28, Name: KestrelThread, OSThreadId: 22348, Thread: IsAlive: True, IsBackground: False
		System.Threading.Monitor.ObjWait(Boolean, Int32, System.Object)
		System.Threading.Monitor.Wait(System.Object, Int32, Boolean)
		System.Threading.Monitor.Wait(System.Object, Int32)
		System.Threading.ManualResetEventSlim.Wait(Int32, System.Threading.CancellationToken)
		System.Threading.Tasks.Task.SpinThenBlockingWait(Int32, System.Threading.CancellationToken)
		System.Threading.Tasks.Task.InternalWait(Int32, System.Threading.CancellationToken)
		System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
		Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(Microsoft.AspNetCore.Hosting.IWebHost)
		SimHub.Plugins.Web.KestrelStartup.RunWebHost(Int32)
		SimHub.Plugins.Web.KestrelStartup+<>c__DisplayClass5_0.<Start>b__0()
		System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
		System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
		System.Threading.ThreadHelper.ThreadStart()
	ManagedThreadId: 31, Name: N/A, OSThreadId: 4576, Thread: IsAlive: True, IsBackground: True
		System.Threading.WaitHandle.WaitOneNative(System.Runtime.InteropServices.SafeHandle, UInt32, Boolean, Boolean)
		System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle, Int64, Boolean, Boolean)
		System.Threading.WaitHandle.WaitOne(Int32, Boolean)
		System.Threading.WaitHandle.WaitOne()
		SerialDash.MultipleArduinoWorker.WorkerLoop()
		System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
		System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
		System.Threading.ThreadHelper.ThreadStart()
	ManagedThreadId: 32, Name: N/A, OSThreadId: 21760, Thread: IsAlive: True, IsBackground: True
		System.Threading.WaitHandle.WaitOneNative(System.Runtime.InteropServices.SafeHandle, UInt32, Boolean, Boolean)
		System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle, Int64, Boolean, Boolean)
		System.Threading.WaitHandle.WaitOne(Int32, Boolean)
		System.Threading.WaitHandle.WaitOne()
		SerialDash.MultipleArduinoWorker.WorkerLoop()
		System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
		System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
		System.Threading.ThreadHelper.ThreadStart()
	ManagedThreadId: 33, Name: N/A, OSThreadId: 16772, Thread: IsAlive: True, IsBackground: True
		System.Threading.WaitHandle.WaitOneNative(System.Runtime.InteropServices.SafeHandle, UInt32, Boolean, Boolean)
		System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle, Int64, Boolean, Boolean)
		System.Threading.WaitHandle.WaitOne(Int32, Boolean)
		System.Threading.WaitHandle.WaitOne()
		SerialDash.MultipleArduinoWorker.WorkerLoop()
		System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
		System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
		System.Threading.ThreadHelper.ThreadStart()
	ManagedThreadId: 34, Name: N/A, OSThreadId: 7736, Thread: IsAlive: True, IsBackground: True
		System.Threading.WaitHandle.WaitOneNative(System.Runtime.InteropServices.SafeHandle, UInt32, Boolean, Boolean)
		System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle, Int64, Boolean, Boolean)
		System.Threading.WaitHandle.WaitOne(Int32, Boolean)
		System.Threading.WaitHandle.WaitOne()
		SerialDash.MultipleArduinoWorker.WorkerLoop()
		System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
		System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
		System.Threading.ThreadHelper.ThreadStart()
	ManagedThreadId: 35, Name: N/A, OSThreadId: 21408, Thread: IsAlive: True, IsBackground: True
		DomainBoundILStubClass.IL_STUB_PInvoke(Microsoft.Win32.SafeHandles.SafeFileHandle, DCB ByRef)
		System.IO.Ports.SerialStream.set_DtrEnable(Boolean)
		System.IO.Ports.SerialPort.set_DtrEnable(Boolean)
		SerialDash.SerialDashController.End()
		SerialDash.MultipleSerialDashController+<>c__DisplayClass89_0.<End>b__1()
		System.Threading.Tasks.Task.InnerInvoke()
		System.Threading.Tasks.Task.Execute()
		System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)
		System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
		System.Threading.Tasks.Task.ExecuteEntry(Boolean)
		System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
		System.Threading.ThreadPoolWorkQueue.Dispatch()
		System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
	ManagedThreadId: 51, Name: N/A, OSThreadId: 8384, Thread: IsAlive: True, IsBackground: True
		System.Threading.WaitHandle.WaitOneNative(System.Runtime.InteropServices.SafeHandle, UInt32, Boolean, Boolean)
		System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle, Int64, Boolean, Boolean)
		System.Threading.WaitHandle.WaitOne(Int32, Boolean)
		System.Threading.WaitHandle.WaitOne()
		System.IO.Ports.SerialStream+EventLoopRunner.WaitForCommEvent()
		System.IO.Ports.SerialStream+EventLoopRunner.SafelyWaitForCommEvent()
		System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
		System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
		System.Threading.ThreadHelper.ThreadStart()
	ManagedThreadId: 52, Name: N/A, OSThreadId: 1132, Thread: IsAlive: True, IsBackground: False
		System.Threading.WaitHandle.WaitOneNative(System.Runtime.InteropServices.SafeHandle, UInt32, Boolean, Boolean)
		System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle, Int64, Boolean, Boolean)
		System.Threading.WaitHandle.WaitOne(Int32, Boolean)
		System.Threading.WaitHandle.WaitOne()
		System.IO.Ports.SerialStream.EndRead(System.IAsyncResult)
		System.IO.Ports.SerialStream.ReadByte(Int32)
		System.IO.Ports.SerialStream.ReadByte()
		System.IO.Ports.SerialPort.ReadByte()
		ArqSerialLib.ArqSerial.ReadIncomingData()
		ArqSerialLib.ArqSerial.<Open>b__100_0()
		System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
		System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
		System.Threading.ThreadHelper.ThreadStart()
	ManagedThreadId: 45, Name: N/A, OSThreadId: 21344, Thread: IsAlive: True, IsBackground: True
		System.Threading.WaitHandle.WaitMultiple(System.Threading.WaitHandle[], Int32, Boolean, Boolean)
		System.Threading.WaitHandle.WaitAny(System.Threading.WaitHandle[], Int32, Boolean)
		System.Net.TimerThread.ThreadProc()
		System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
		System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
		System.Threading.ThreadHelper.ThreadStart()
	ManagedThreadId: 13, Name: N/A, OSThreadId: 20584, Thread: IsAlive: True, IsBackground: False
		System.Threading.Monitor.ObjWait(Boolean, Int32, System.Object)
		System.Threading.Monitor.Wait(System.Object, Int32, Boolean)
		System.Threading.Monitor.Wait(System.Object, Int32)
		System.Threading.ManualResetEventSlim.Wait(Int32, System.Threading.CancellationToken)
		System.Threading.Tasks.Task.WaitAllBlockingCore(System.Collections.Generic.List`1<System.Threading.Tasks.Task>, Int32, System.Threading.CancellationToken)
		System.Threading.Tasks.Task.WaitAll(System.Threading.Tasks.Task[], Int32, System.Threading.CancellationToken)
		SerialDash.MultipleSerialDashController.End()
		SimHub.Plugins.OutputPlugins.Dash.SerialDashPlugin.End(SimHub.Plugins.PluginManager)
		SimHub.Plugins.PluginManager.EndPlugin(Boolean, SimHub.Plugins.IPlugin)
		SimHub.Plugins.PluginManager+<>c__DisplayClass218_1.<End>b__4()
		System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
		System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
		System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
		System.Threading.ThreadHelper.ThreadStart()

12:13:02.487 INFO  Plugin end SimHub.Plugins.OutputPlugins.Dash.SerialDashPlugin took 180.453s
12:13:02.488 INFO  Stopped all plugins
This topic was modified 4 days ago 3 times by Jules

   
Quote
Share: