2012-04-03 6 views
9

Chi è Noah Richards, e perché il suo nome è nello stack track di crash di Visual Studio? Mi riferisco a questa traccia di stack specifica .. (su un tack meno importante, perché dovrebbe succedere? È riproducibile al 100% dopo l'aggiunta di una parentesi di apertura su un membro protetto di una classe in una soluzione di progetto 50 ...Chi è Noah Richards e qual è il suo rapporto con l'arresto anomalo VS2010?

l'errore in questione è:

AlignAssignments.dll!NoahRichards.AlignAssignments.CommandFilter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0xb2 bytes 


(Attempted to read or write protected memory. This is often an indication that other memory is corrupt.) 

Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes 
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x71 bytes 
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes 
CodeAlignment.dll!CMcG.CodeAlignment.CommandFilter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0xa7 bytes 
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes 
***AlignAssignments.dll!NoahRichards.AlignAssignments.CommandFilter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut)*** + 0xb2 bytes 
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes 
CopyAsHtml.dll!Microsoft.VisualStudio.Text.Formatting.Implementation.CommandFilter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x16b bytes 
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes 
Microsoft.VisualStudio.AutoBraceComplete.dll!Microsoft.VisualStudio.AutoBraceComplete.AutoBraceCommandFilter.GetTypingAction.AnonymousMethod__0() + 0x28 bytes 
Microsoft.VisualStudio.AutoBraceComplete.Impl.Basic.dll!Microsoft.VisualStudio.AutoBraceComplete.Impl.Basic.Pairs.StringBasedPairCreator.OnTypingOpeningCharacter(Microsoft.VisualStudio.AutoBraceComplete.Context.IContext context, char typedChar, System.Func<Microsoft.VisualStudio.AutoBraceComplete.Pair.PairResult> typingAction) + 0x222 bytes 
Microsoft.VisualStudio.AutoBraceComplete.dll!Microsoft.VisualStudio.AutoBraceComplete.Pairs.PairManager.HandleTypeChar(char typedChar, System.Func<Microsoft.VisualStudio.AutoBraceComplete.Pair.PairResult> action) + 0xe5 bytes 
Microsoft.VisualStudio.AutoBraceComplete.dll!Microsoft.VisualStudio.AutoBraceComplete.AutoBraceCommandFilter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0xc8 bytes 
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes 
OrganizeVBImports.dll!Microsoft.VisualStudio.OrganizeVBImports.CommandFilter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x314 bytes  
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes 
QuickFind.dll!Microsoft.QuickFind.CommandBlocker.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x45 bytes 
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes 
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x71 bytes 
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes 
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x71 bytes 
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes 
SolutionNavigator.dll!Microsoft.VisualStudio.Labs.CommandFilter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0xd3 bytes 
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x163 bytes 
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.SendCommand(System.Guid cmdGroup, uint cmdID, object inParam) + 0x6f bytes 
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.TextInput(System.Windows.Input.TextCompositionEventArgs args) + 0x77 bytes 
Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.DispatchTextInputEvents.AnonymousMethod__0(Microsoft.VisualStudio.Text.Editor.KeyProcessor p, System.Windows.Input.TextCompositionEventArgs args) + 0xb bytes 
Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.Dispatch<System.__Canon>.AnonymousMethod__1a() + 0x18 bytes 
Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(object errorSource, System.Action call) + 0x2d bytes  
Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.Dispatch<System.Windows.Input.TextCompositionEventArgs>(System.Action<Microsoft.VisualStudio.Text.Editor.KeyProcessor,System.Windows.Input.TextCompositionEventArgs> action, System.Windows.Input.TextCompositionEventArgs args) + 0x150 bytes  
Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.MakeHandler.AnonymousMethod__17(object sender, System.Windows.Input.TextCompositionEventArgs args) + 0x1c bytes 
PresentationCore.dll!System.Windows.Input.TextCompositionEventArgs.InvokeEventHandler(System.Delegate genericHandler, object genericTarget) + 0x31 bytes  
PresentationCore.dll!System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, object target) + 0x29 bytes 
PresentationCore.dll!System.Windows.RoutedEventHandlerInfo.InvokeHandler(object target, System.Windows.RoutedEventArgs routedEventArgs) + 0x3e bytes  
PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source, System.Windows.RoutedEventArgs args, bool reRaised) + 0xbe bytes 
PresentationCore.dll!System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args) + 0x79 bytes 
PresentationCore.dll!System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs args) + 0x41 bytes 
PresentationCore.dll!System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs args, bool trusted) + 0x2c bytes  
PresentationCore.dll!System.Windows.Input.InputManager.ProcessStagingArea() + 0x1ff bytes 
PresentationCore.dll!System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs input) + 0x45 bytes 
PresentationCore.dll!System.Windows.Input.TextCompositionManager.UnsafeCompleteComposition(System.Windows.Input.TextComposition composition) + 0x7e bytes 
PresentationCore.dll!System.Windows.Input.TextCompositionManager.PostProcessInput(object sender, System.Windows.Input.ProcessInputEventArgs e) + 0x41d bytes  
PresentationCore.dll!System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(System.Windows.Input.ProcessInputEventHandler postProcessInput, System.Windows.Input.ProcessInputEventArgs processInputEventArgs) + 0x9d bytes  
PresentationCore.dll!System.Windows.Input.InputManager.ProcessStagingArea() + 0x23b bytes 
PresentationCore.dll!System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs input) + 0x45 bytes 
PresentationCore.dll!System.Windows.Input.TextCompositionManager.UnsafeStartComposition(System.Windows.Input.TextComposition composition) + 0x74 bytes 
PresentationCore.dll!System.Windows.Input.TextCompositionManager.PostProcessInput(object sender, System.Windows.Input.ProcessInputEventArgs e) + 0x6ca bytes  
PresentationCore.dll!System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(System.Windows.Input.ProcessInputEventHandler postProcessInput, System.Windows.Input.ProcessInputEventArgs processInputEventArgs) + 0x9d bytes  
PresentationCore.dll!System.Windows.Input.InputManager.ProcessStagingArea() + 0x23b bytes 
PresentationCore.dll!System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs input) + 0x45 bytes 
PresentationCore.dll!System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport inputReport) + 0x62 bytes 
PresentationCore.dll!System.Windows.Interop.HwndKeyboardInputProvider.ProcessTextInputAction(System.IntPtr hwnd, MS.Internal.Interop.WindowMessage msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x189 bytes 
PresentationCore.dll!System.Windows.Interop.HwndSource.OnPreprocessMessage(object param) + 0x2c6 bytes 
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x53 bytes 
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x42 bytes  
WindowsBase.dll!System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0xb4 bytes  
PresentationCore.dll!System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(ref System.Windows.Interop.MSG msg, ref bool handled) + 0xc6 bytes 
PresentationCore.dll!System.Windows.Interop.HwndSource.WeakEventPreprocessMessage.OnPreprocessMessage(ref System.Windows.Interop.MSG msg, ref bool handled) + 0x35 bytes  
WindowsBase.dll!System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(ref System.Windows.Interop.MSG msg) + 0x3d bytes  
Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.PreTranslateInput(Microsoft.VisualStudio.OLE.Interop.MSG[] lpmsg, bool handled) + 0xa5 bytes 
[Native to Managed Transition] 
+0

http://stackoverflow.com/users/128945/noah-richards –

+0

Ha scritto un plug-in che stai utilizzando. – jrummell

+0

Il mio Google-Fu era debole ... http://blogs.msdn.com/b/noahric/archive/2011/02/07/moving-on.aspx – Joebone

risposta

10

Noah Richards è uno degli sviluppatori che ha lavorato alla versione 2010 di Visual Studio. Ora lavora su google, ma ha diverse estensioni di Visual Studio disponibili nella galleria di Visual Studio (e ha partecipato a molte altre).

Sembra che sia stata installata l'estensione "Allinea assegnazioni" e si sta verificando un errore durante l'elaborazione di un tratto chiave.

Partecipa anche stack overflow

+0

È un mondo piccolo, dopo tutto! Sembrava divertente avere il nome di qualcuno all'interno di una traccia di stack! A quanto pare io * DO * ho installato quell'estensione, tuttavia il crash appare in modo coerente su un numero di macchine, estensioni o no. Tuttavia, grazie per aver risposto a entrambe le mie domande :) – Joebone

+4

Si noti che non si sta verificando l'errore, è solo che si trova nella catena di comando, per gentile concessione di VS è fantastico tutto-nel-mondo-è-on- Comando the-command-chain-callstack :-p –

5

Noè era uno degli sviluppatori di Visual Studio 2010. credere che ora lavora per Google E 'un user here, quindi forse lui può inviare ulteriori dettagli

+1

Essendo stato in grado di riprodurre questo crash su macchine senza Estensioni, ho capito che la causa è probabilmente altrove. Domani cercherò di prendere una traccia dello stack da una macchina con un'installazione pulita e vedere se questo aiuta a restringere la causa. – Joebone

1

assomiglia.? hai installato il suo assignment alignment plugin.

+0

Quello che ho fatto, e jolly buono lo è anche! Tuttavia, mi sono reso conto che la traccia dello stack in questo caso è fuorviante, poiché l'arresto anomalo è riproducibile su macchine prive di estensioni installate. Credo che dovrei prendere uno più utile da uno dei loro. – Joebone

1

Noah ha scritto un certo numero di extensions for Visual Studio ed è possibile che uno di loro capita di essere caricato nella propria installazione. Alcuni finirono in Power Tools e poi in Visual Studio stesso.

+0

È certamente possibile nel mio caso :) Sono un po 'un drogato di estensione che può essere come sparare a volte nel piede! Tuttavia, in questo caso particolare, questo non sembra essere la causa. O almeno non l'unica causa :) Grazie per il tempo di rispondere però! – Joebone

10

Sono famoso!

Se siete curiosi, sto cercando di indovinare il vero colpevole è l'estensione AutoBraceComplete (o forse l'estensione CodeAlignment) scompigliare le cose in qualche modo che rompe la gestione in seguito a comando. AlignAssignments inoltra solo su chiamate Exec che non sono per il comando Allinea assegnazioni. Puoi vedere come appare l'exec per AlignAssignments: https://github.com/NoahRic/AlignAssignments/blob/master/CommandFilter.cs

Side-note - Non ho idea di cosa ho fatto per ottenere il mio nome lì; forse è stato impostato come nome della mia azienda, quindi VS ha deciso che dovevo essere famoso? Oh, e "CMcG" è in realtà "Chris McGrath" che ha scritto l'estensione CodeAlignment, quindi qualcuno dovrebbe postare anche una domanda su Overflow dello stack :) Non dovrei essere l'unica persona famosa!

+1

È davvero fantastico. Ho la sensazione che molte voci nella traccia dello stack non siano affatto rilevanti per il problema. Nelle estensioni di Visual Studio, hai un metodo che controlla se il comando è quello che vuoi elaborare. Se non lo è, passa a quello successivo. Quindi questo comporterebbe l'aggiunta di molte voci allo stack trace che non ha fatto altro che chiamare il prossimo link della catena. P.S. McGrath non McGraff;) –

Problemi correlati