1Password 7 crashes on Windows 10

I recently switched to 1 Password 7.
A number of times the app has exited unexpectedly, mostly after I locked/unlocked my PC.

In the system application log I see the following entry:

Application: 1Password.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException
at MS.Internal.AppModel.ResourcePart.GetStreamCore(System.IO.FileMode, System.IO.FileAccess)
at System.IO.Packaging.PackagePart.GetStream(System.IO.FileMode, System.IO.FileAccess)
at System.IO.Packaging.PackagePart.GetStream()
at System.Windows.Application.LoadComponent(System.Object, System.Uri)
at AgileBits.OnePassword.MiniWindow.InitializeComponent()
at AgileBits.OnePassword.MiniWindow..ctor()
at AgileBits.OnePassword.MiniWindow.ShowAndFocus()
at AgileBits.OnePassword.WorkspaceMini+<>c.b__14_1()
at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
at System.Windows.Threading.DispatcherOperation.InvokeImpl()

Exception Info: System.AggregateException
at AgileBits.OnePassword.App.b__11_1(System.Object, System.Threading.Tasks.UnobservedTaskExceptionEventArgs)
at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon)
at System.Threading.Tasks.TaskScheduler.PublishUnobservedTaskException(System.Object, System.Threading.Tasks.UnobservedTaskExceptionEventArgs)
at System.Threading.Tasks.TaskExceptionHolder.Finalize()

I hope this information helps you in fixing this issue.

Thanks and regards,
wayfarer


1Password Version: 7.0.588
Extension Version: Not Provided
OS Version: Windows 10 1803
Sync Type: Not Provided

Comments

  • wayfarer
    wayfarer
    Community Member

    Today the app crashed on unlocking:

    Application: 1Password.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.BadImageFormatException
    at AgileBits.OnePassword.AppLock+<>c__DisplayClass40_0+<b__0>d.MoveNext()
    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon ByRef)
    at AgileBits.OnePassword.AppLock+<>c__DisplayClass40_0.b__0()
    at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke()
    at System.Threading.Tasks.Task.Execute()

    Exception Info: System.AggregateException
    at AgileBits.OnePassword.App.b__11_1(System.Object, System.Threading.Tasks.UnobservedTaskExceptionEventArgs)
    at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon)
    at System.Threading.Tasks.TaskScheduler.PublishUnobservedTaskException(System.Object, System.Threading.Tasks.UnobservedTaskExceptionEventArgs)
    at System.Threading.Tasks.TaskExceptionHolder.Finalize()

  • @wayfarer: We discovered today that pending Windows updates can cause this sort of crash. Could you check Windows update, see if any are pending and, if yes, reboot and see if the crashes persists. Let me know what you find out! :chuffed:

  • wayfarer
    wayfarer
    Community Member

    @bundtkate Thank you for your answer. I checked Windows update: The only thing that got installed today where Windows Defender updates and there are no pending updates. Today afternoon the app crashed again while I was using the search function... Here is the log entry from the system log:

    Application: 1Password.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.IO.IOException
    at MS.Internal.AppModel.ResourcePart.GetStreamCore(System.IO.FileMode, System.IO.FileAccess)
    at System.IO.Packaging.PackagePart.GetStream(System.IO.FileMode, System.IO.FileAccess)
    at System.IO.Packaging.PackagePart.GetStream()
    at System.Windows.Application.LoadComponent(System.Object, System.Uri)
    at AgileBits.OnePassword.TagsPartView.InitializeComponent()
    at AgileBits.OnePassword.TagsPartView..ctor()

    Exception Info: System.Windows.Markup.XamlParseException
    at System.Windows.FrameworkTemplate.LoadTemplateXaml(System.Xaml.XamlReader, System.Xaml.XamlObjectWriter)
    at System.Windows.FrameworkTemplate.LoadTemplateXaml(System.Xaml.XamlObjectWriter)
    at System.Windows.FrameworkTemplate.LoadOptimizedTemplateContent(System.Windows.DependencyObject, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector, System.Collections.Generic.List1<System.Windows.DependencyObject>, System.Windows.UncommonField1<System.Collections.Hashtable>)
    at System.Windows.FrameworkTemplate.LoadContent(System.Windows.DependencyObject, System.Collections.Generic.List1<System.Windows.DependencyObject>) at System.Windows.StyleHelper.ApplyTemplateContent(System.Windows.UncommonField1<System.Collections.Specialized.HybridDictionary[]>, System.Windows.DependencyObject, System.Windows.FrameworkElementFactory, Int32, System.Collections.Specialized.HybridDictionary, System.Windows.FrameworkTemplate)
    at System.Windows.FrameworkTemplate.ApplyTemplateContent(System.Windows.UncommonField`1<System.Collections.Specialized.HybridDictionary[]>, System.Windows.FrameworkElement)
    at System.Windows.FrameworkElement.ApplyTemplate()
    at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
    at System.Windows.UIElement.Measure(System.Windows.Size)
    at System.Windows.Controls.StackPanel.StackMeasureHelper(System.Windows.Controls.IStackMeasure, System.Windows.Controls.IStackMeasureScrollData, System.Windows.Size)
    at System.Windows.Controls.StackPanel.MeasureOverride(System.Windows.Size)
    at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
    at System.Windows.UIElement.Measure(System.Windows.Size)
    at System.Windows.ContextLayoutManager.UpdateLayout()
    at System.Windows.ContextLayoutManager.UpdateLayoutCallback(System.Object)
    at System.Windows.Media.MediaContext+InvokeOnRenderCallback.DoWork()
    at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
    at System.Windows.Media.MediaContext.RenderMessageHandlerCore(System.Object)
    at System.Windows.Media.MediaContext.RenderMessageHandler(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.DispatcherOperation.InvokeImpl()
    at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
    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.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
    at System.Windows.Application.RunDispatcher(System.Object)
    at System.Windows.Application.RunInternal(System.Windows.Window)
    at System.Windows.Application.Run(System.Windows.Window)
    at System.Windows.Application.Run()
    at AgileBits.OnePassword.Program.RunMainApp(System.String[])
    at AgileBits.OnePassword.Program.Main(System.String[])

    Out of curiosity: How do pending Windows updates relate to crashes of the 1Password app?

  • wayfarer
    wayfarer
    Community Member

    @bundtkate With version 7.1 I got the following crash today (2x):

    Application: 1Password.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.BadImageFormatException
    at System.Signature.GetSignature(Void*, Int32, System.RuntimeFieldHandleInternal, System.IRuntimeMethodInfo, System.RuntimeType)
    at System.Reflection.RuntimeMethodInfo.FetchNonReturnParameters()
    at System.Reflection.RuntimeMethodInfo.GetParameters()
    at System.Diagnostics.StackTrace.ToString(TraceFormat)
    at System.Environment.GetStackTrace(System.Exception, Boolean)
    at System.Exception.GetStackTrace(Boolean)
    at System.Exception.ToString(Boolean, Boolean)
    at System.Exception.ToString()

  • Hi guys,

    @muttmutt your crash is not related to the above crashes. That is a common .NET issue related with the graphics drivers, please try to uninstall and reinstall the graphics drivers and reboot your computer, it should help.

    @wayfarer

    Out of curiosity: How do pending Windows updates relate to crashes of the 1Password app?

    1Password uses .NET framework, and as of Windows 10, the Windows updates can include .NET updates and fixes; as it replace its files during the update, this can sometimes causes 1Password to crash. This isn't limited to 1Password but for many customers, there aren't many .NET apps to notice that it is not just 1Password. That isn't to say that we don't have bugs, it's just hard to narrow it down specifically.

    BadImageFormatException crashes are generally .NET threading issues but we haven't been able to reproduce it.

    Please use this guide to generate the 1Password diagnostic report and email it to us at support+windows@1Password.com. Also, in the email, include the link to this thread along with your forum username, so that we can connect the email to this thread.

    Let us know here when you've sent it, so we can confirm we got the email.

This discussion has been closed.