Skip to content

IMUViewModel/PlotViewModel Crashing GUI after running for some time #1

Description

@niemiaszek

While testing new jetson with upgraded simulation to 2.3 we hit an error crashing whole GUI. It takes around 30min of "swimming" to crash. It crashes repeatedly. Not sure if it's a Jetson or GUI problem at this point. It seems to not crash when we just sit still in Jetson. It needs some testing on both sides.

log output:

Parameter name: value
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.set_Capacity(Int32 value)
   at System.Collections.Generic.List`1.EnsureCapacity(Int32 min)
   at GUI_v2.ViewModel.IMUViewModels.PlotViewModel.__UpdatePlotData(Single[] data) in C:\Users\Kajetan\source\repos\knr-auv\GUI-v2\GUI_v2.ViewModel\IMUViewModel\PlotViewModel.cs:line 151
   at GUI_v2.ViewModel.IMUViewModels.PlotViewModel.<>c__DisplayClass13_0.<UpdatePlotData>b__0(Object s) in C:\Users\Kajetan\source\repos\knr-auv\GUI-v2\GUI_v2.ViewModel\IMUViewModel\PlotViewModel.cs:line 132
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions