2

我对此有点迷茫,但是每当我在智能感知通常启动之前开始在 Visual Studio 中输入时,应用程序就会崩溃。我正在从事什么项目并不重要。我试过重新安装和更新。我安装了其他版本的 VS,但删除了所有这些。我已经使用VS2012一段时间了,这个问题昨天才出现。

在此处输入图像描述

这是堆栈跟踪:

System.AccessViolationException 未处理 HResult=-2147467261
消息=尝试读取或写入受保护的内存。这通常表明其他内存已损坏。
Source=Microsoft.VisualStudio.OLE.Interop StackTrace:在 Microsoft.VisualStudio.Editor.Implementation.CommandChainNode 上的 Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroup,UInt32 nCmdID,UInt32 nCmdexecopt,IntPtr pvaIn,IntPtr pvaOut)。 Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio. Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup,UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.VsKeyboard .SendCommand(Guid cmdGroup, UInt32 cmdID, Object inParam) 在 Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.TextInput(TextCompositionEventArgs args) 在 Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.b__0(KeyProcessor p, TextCompositionEventArgs args) 在Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c__DisplayClass1eVsTextViewAdapter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) 在 Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.SendCommand(Guid cmdGroup, UInt32 cmdID, Object inParam) 在 Microsoft.VisualStudio.Editor.Implementation。 VsKeyboardFilter.TextInput(TextCompositionEventArgs args) 在 Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.b__0(KeyProcessor p, TextCompositionEventArgs args) 在 Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c__DisplayClass1eVsTextViewAdapter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) 在 Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.SendCommand(Guid cmdGroup, UInt32 cmdID, Object inParam) 在 Microsoft.VisualStudio.Editor.Implementation。 VsKeyboardFilter.TextInput(TextCompositionEventArgs args) 在 Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.b__0(KeyProcessor p, TextCompositionEventArgs args) 在 Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c__DisplayClass1eObject inParam) 在 Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.TextInput(TextCompositionEventArgs args) 在 Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.b__0(KeyProcessor p, TextCompositionEventArgs args) 在 Microsoft.VisualStudio.Text.Editor.Implementation .KeyProcessorDispatcher.<>c__DisplayClass1eObject inParam) 在 Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.TextInput(TextCompositionEventArgs args) 在 Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.b__0(KeyProcessor p, TextCompositionEventArgs args) 在 Microsoft.VisualStudio.Text.Editor.Implementation .KeyProcessorDispatcher.<>c__DisplayClass1e1.<Dispatch>b__1a() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call) at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.Dispatch[T](Action2 动作,T args) 在 Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c__DisplayClass18.b__17(Object sender, TextCompositionEventArgs args) 在 System.Windows.Input.TextCompositionEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) 在 System .Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows .UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) 在 System.Windows.UIElement。在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs 输入) 在 System.Windows.Input.TextCompositionManager.UnsafeComposition(TextComposition composition) 在 System.Windows.Input.InputManager.ProcessStagingArea() 的 RaiseEvent(RoutedEventArgs args, Boolean trust) .Windows.Input.TextCompositionManager.PostProcessInput(Object sender, ProcessInputEventArgs e) 在 System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs) 在 System.Windows.Input.InputManager.ProcessStagingArea() 在 System.Windows.Input System.Windows.Input.TextCompositionManager 中的 .InputManager.ProcessInput(InputEventArgs 输入)。UnsafeStartComposition(TextComposition composition) at System.Windows.Input.TextCompositionManager.PostProcessInput(Object sender, ProcessInputEventArgs e) at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs) at System.Windows.Input.InputManager.ProcessStagingArea( ) 在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs 输入) 在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) 在 System.Windows.Interop.HwndKeyboardInputProvider.ProcessTextInputAction(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam,布尔值&处理)在 System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param) 在 System.Windows。Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) 在 System.Windows.Threading.Dispatcher。 LegacyInvokeImpl(DispatcherPriority 优先级,TimeSpan 超时,Delegate 方法,Object args,Int32 numArgs)在 System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority 优先级,Delegate 方法,Object arg)在 System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(MSG 和 msg , Boolean&handled) at System.Windows.Interop.HwndSource.WeakEventPreprocessMessage.OnPreprocessMessage(MSG& msg, Boolean&handled) at System.Windows.Interop.ThreadMessageEventHandler.Invoke(MSG& msg, Boolean&处理)在 System.Windows.Interop.ComponentDispatcher.RaiseThreadMessage(MSG& msg) 在 Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.PreTranslateInput(MSG[] lpmsg 的 System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(MSG& msg),布尔处理) 内部异常:

4

0 回答 0