我对此感到有些失落,但每当我开始在智能感知中开始输入视觉工作室时,应用程序就会崩溃。我正在做什么项目并不重要。我尝试过重新安装和更新。我安装了其他版本的VS,但删除了所有这些版本。我已经使用VS2012一段时间了,这个问题昨天刚刚出现。
这是堆栈跟踪:
System.AccessViolationException未处理HResult = -2147467261
Message =尝试读取或写入受保护的内存。这通常是一个 指示其他内存已损坏。
Source = Microsoft.VisualStudio.OLE.Interop StackTrace: 在Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid&amp; pguidCmdGroup,UInt32 nCmdID,UInt32 nCmdexecopt,IntPtr pvaIn,IntPtr pvaOut) 在Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid&amp; pguidCmdGroup,UInt32 nCmdID,UInt32 nCmdexecopt,IntPtr pvaIn,IntPtr pvaOut) 在Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid&amp; pguidCmdGroup,UInt32 nCmdID,UInt32 nCmdexecopt,IntPtr pvaIn,IntPtr pvaOut) 在Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(Guid&amp; pguidCmdGroup,UInt32 nCmdID,UInt32 nCmdexecopt,IntPtr pvaIn,IntPtr pvaOut) 在Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid&amp; pguidCmdGroup,UInt32 nCmdID,UInt32 nCmdexecopt,IntPtr pvaIn,IntPtr pvaOut) 在Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.Exec(Guid&amp; 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) 参数) 在Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.b__0(KeyProcessor) p,TextCompositionEventArgs args) 在Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher。&lt;&gt; 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](Action
2 行动,T args) 在Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher。&lt;&gt; c__DisplayClass18.b__17(对象) sender,TextCompositionEventArgs args) 在System.Windows.Input.TextCompositionEventArgs.InvokeEventHandler(Delegate) genericHandler,Object genericTarget) 在System.Windows.RoutedEventArgs.InvokeHandler(委托处理程序,对象目标) 在System.Windows.RoutedEventHandlerInfo.InvokeHandler(对象目标,RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source,RoutedEventArgs args,Boolean reRaised) 在System.Windows.UIElement.RaiseEventImpl(DependencyObject sender,RoutedEventArgs args) 在System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) 在System.Windows.UIElement.RaiseEvent(RoutedEventArgs args,布尔值信任) 在System.Windows.Input.InputManager.ProcessStagingArea() 在System.Windows.Input.InputManager.ProcessInput(InputEventArgs输入) 在System.Windows.Input.TextCompositionManager.UnsafeCompleteComposition(TextComposition 组成) 在System.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.InputManager.ProcessInput(InputEventArgs输入) 在System.Windows.Input.TextCompositionManager.UnsafeStartComposition(TextComposition 组成) 在System.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.InputManager.ProcessInput(InputEventArgs输入) 在System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) 在System.Windows.Interop.HwndKeyboardInputProvider.ProcessTextInputAction(IntPtr) hwnd,WindowMessage msg,IntPtr wParam,IntPtr lParam,Boolean&amp; 处理) 在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方法,Object args,Int32 numArgs,Delegate catchHandler) 在System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority) 优先级,TimeSpan超时,委托方法,对象args,Int32 numArgs) 在System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority 优先级,委托方法,对象arg) 在System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(MSG&amp; msg, 布尔和放大器;处理) 在System.Windows.Interop.HwndSource.WeakEventPreprocessMessage.OnPreprocessMessage(MSG&amp; msg,布尔&amp;处理) 在System.Windows.Interop.ThreadMessageEventHandler.Invoke(MSG&amp; msg,布尔和处理) 在System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(MSG&amp; MSG) 在System.Windows.Interop.ComponentDispatcher.RaiseThreadMessage(MSG&amp; MSG) 在Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.PreTranslateInput(MSG [] lpmsg,布尔处理)InnerException: