Hocus Focus analysis triggering crash

Issue #1190 closed
Zara Downs created an issue

I recently needed to replace my hard drive and reinstall NINA. I kept my original settings. Now, when I try to run a Hocus Focus aberration inspection, NINA immediately quits. This happens any time the analysis step would be expected to occur (i.e. after running or loading an autofocus routine, or after the picture is taken during a simple analysis).

LOGS-

Application: NINA.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.AccessViolationException

at ILNumerics.Core.Segments.OpenCL.CL.clGetDeviceIDs(IntPtr, ILNumerics.DeviceTypes, UInt32, IntPtr, UInt32 ByRef)

at ILNumerics.Core.Segments.OpenCL.CLDevice.GetDeviceIds(IntPtr, ILNumerics.DeviceTypes)

at ILNumerics.Core.Segments.OpenCL.Platform.GetDevices(ILNumerics.DeviceTypes)

at ILNumerics.Core.Segments.OpenCL.Context.GetMultiDeviceContexts(Int32 ByRef, System.Func`2<ILNumerics.Core.Segments.OpenCL.CLDevice,Boolean>)

at ILNumerics.Core.DeviceManagement.DeviceManager..cctor()

Exception Info: System.TypeInitializationException

at ILNumerics.Core.DeviceManagement.DeviceManager.GetDevice(UInt32)

at ILNumerics.Core.Misc.ThreadingContext`6[[System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]..ctor()

at ILNumerics.Core.Misc.ThreadingContext`6[[System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Context()

at ILNumerics.Core.StorageLayer.BaseStorage`6[[System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Create(ILNumerics.Core.CountableArray)

at ILNumerics.Core.Functions.Builtin.MathInternal.localMember[[System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]()

at ILNumerics.Drawing.Buffer`1[[System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]..ctor(Int32)

at ILNumerics.Drawing.BufferSet..ctor()

at ILNumerics.Drawing.Shape..ctor(System.Object)

at ILNumerics.Drawing.ScreenObject..ctor(System.Object, Single, Single)

at ILNumerics.Drawing.Scene..ctor(Boolean)

at NINA.Joko.Plugins.HocusFocus.Controls.TiltModelControl.GetScene()

at NINA.Joko.Plugins.HocusFocus.Controls.ILNSceneControlBase.UpdateScene()

at System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)

at System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)

at System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)

at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean, System.Windows.OperationType)

at System.Windows.DependencyObject.InvalidateProperty(System.Windows.DependencyProperty, Boolean)

at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean)

at System.Windows.Data.BindingExpression.TransferValue(System.Object, Boolean)

at MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32, System.ComponentModel.ICollectionView, System.Object, Boolean)

at MS.Internal.Data.PropertyPathWorker.RefreshValue()

at MS.Internal.Data.ClrBindingWorker.ScheduleTransferOperation(System.Object)

at MS.Internal.Data.DataBindEngine.ProcessCrossThreadRequests()

at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)

at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)

at System.Windows.Threading.DispatcherOperation.InvokeImpl()

at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)

at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)

at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)

at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)

at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)

at System.Windows.Threading.DispatcherOperation.Invoke()

at System.Windows.Threading.Dispatcher.ProcessQueue()

at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)

at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)

at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)

at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)

at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)

at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)

at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)

at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)

at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)

at System.Windows.Application.RunDispatcher(System.Object)

at System.Windows.Application.RunInternal(System.Windows.Window)

at NINA.App.Main()

Comments (1)

  1. Log in to comment