Skip to content

Instantly share code, notes, and snippets.

@darrenkopp
Created July 27, 2013 19:06
Show Gist options
  • Save darrenkopp/6095923 to your computer and use it in GitHub Desktop.
Save darrenkopp/6095923 to your computer and use it in GitHub Desktop.
MetroTwit crash
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Net.UnsafeNclNativeMethods.NativePKI.CertSelectCertificateChains(IntPtr pSelectionContext, CertificateSelect flags, IntPtr pChainParameters, Int32 cCriteria, SafeCertSelectCritera rgpCriteria, IntPtr hStore, Int32& pcSelection, SafeFreeCertChainList& pprgpSelection)
at System.Net.UnsafeNclNativeMethods.NativePKI.FindClientCertificates()
at System.Net.Http.HttpClientHandler.SetDefaultOptions(HttpWebRequest webRequest)
at System.Net.Http.HttpClientHandler.CreateAndPrepareWebRequest(HttpRequestMessage request)
at System.Net.Http.HttpClientHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at Twitterizer.WebRequestBuilder.<ExecuteRequestAsync>d__0.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Twitterizer.WebRequestBuilder.ExecuteRequestAsync()
at Twitterizer.Core.TwitterCommand`1.<ExecuteCommand>d__1.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Twitterizer.Core.TwitterCommand`1.ExecuteCommand()
at Twitterizer.Core.CommandPerformer.<PerformAction>d__0`1.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Twitterizer.Core.CommandPerformer.PerformAction[T](ICommand`1 command)
at Twitterizer.Account.<VerifyCredentialsAsync>d__3.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Twitterizer.Account.VerifyCredentialsAsync(OAuthTokens tokens, VerifyCredentialsOptions options)
at MetroTwit.ViewModel.UserAccountViewModel.UpdateProfile(Boolean manualSignIn)
at MetroTwit.App.StartupStage(StartStage StagetoRun)
at MetroTwit.App.StartupStage(StartStage StagetoRun)
at MetroTwit.App.StartupStage(StartStage StagetoRun)
at MetroTwit.MainWindow.MainWindow_ContentRendered(Object sender, EventArgs e)
at System.Windows.Window.<PostContentRendered>b__4(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
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.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run()
at MetroTwit.App.Main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment