Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Visual Studio SEH Exception
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jay.carlton
Ketchup Master

USA
65 Posts

Posted - Oct 18 2013 :  11:40:26 AM  Show Profile  Reply with Quote
Hi,

I'm getting a message that an external component has thrown an exception, and I'm not sure if it's VA X or not. It was thrown during debugging when I stepped into Does this look familiar (from my C:\\Users\\<me>\\AppData\\Roaming\\Microsoft\\VisualStudio\\11.0)?

It says "An exception has been encountered. This may be caused by an extension."


  <entry>
    <record>595</record>
    <time>2013/10/18 16:32:14.263</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.#x000D;#x000A;
   at Microsoft.VisualStudio.Editor.Implementation.IVsTextViewEvents_Private.OnSetFocus(IVsTextView pView)#x000D;#x000A;
   at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.SetFocusEventHandler.Invoke(IVsTextView pView)#x000D;#x000A;
   at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.OnEditorOrMenuGotFocus(Object sender, EventArgs e)#x000D;#x000A;
   at Microsoft.VisualStudio.Editor.Implementation.EditorAndMenuFocusTracker.RaiseGotFocus()#x000D;#x000A;
   at Microsoft.VisualStudio.Editor.Implementation.EditorAndMenuFocusTracker.OnGotAggregateFocus(Object sender, EventArgs e)#x000D;#x000A;
   at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent(Object sender, EventHandler eventHandlers)</description>
  </entry>


It might actually be a problem with the Visual Studio XML Editor Package, since it's the last thing loaded before the error.

Thanks,
Jay

*edited by feline to add line breaks*

Edited by - feline on Oct 18 2013 4:09:17 PM

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Oct 18 2013 :  4:13:47 PM  Show Profile  Reply with Quote
I don't recognise this, and I am not seeing any obvious signs of this in our bug database. Normally VA is fairly inactive while debugging. The only thing we should be doing is applying syntax highlighting to code files as you open them. Did this exception appear to be associated with opening a new code file? Stepping through an open file should be relatively safe.

If you look at:

IDE Tools menu -> Extensions and Updates...

what extensions are listed on you system? On a full install of VS2012 with VA I have the following extensions listed:

Microsoft Web Developer Tools
NuGet Package Manager
Visual Assist X
Visual Studio Extensions for Windows Library for JavaScript

if you have a different list this might offer a clue.

zen is the art of being at one with the two'ness
Go to Top of Page

jay.carlton
Ketchup Master

USA
65 Posts

Posted - Oct 21 2013 :  10:20:29 AM  Show Profile  Reply with Quote
Sorry for the late response. I wrote up a reply last week, but must not have submitted it.

This error showed up in both debug and during edit, but there are several other entries in the list. I've pruned those that I'm either not using or that don't work in VS 2012.

From the timing I suspect it's one of the TFS power tool extensions, but I can't prove it. (I recently upgraded the powertoys from 2010 to 2012).

Thanks,
Jay

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Oct 21 2013 :  1:54:21 PM  Show Profile  Reply with Quote
If you keep on seeing this problem can you please try disabling either VA or the TFS power tools extension in the dialog:

IDE tools menu -> Extensions and Updates...

and restarting your IDE. If disabling VA does not help, but disabling TFS power tools does this would strongly suggest the problem is related to this extension.

Another test would be to try turning off:

VA Options -> Advanced -> Fonts and Colors -> Enable Enhanced Syntax Coloring

since the syntax highlighting is going to be active during both editing and debugging.

zen is the art of being at one with the two'ness

Edited by - feline on Oct 21 2013 1:54:41 PM
Go to Top of Page

jay.carlton
Ketchup Master

USA
65 Posts

Posted - Oct 30 2013 :  5:17:43 PM  Show Profile  Reply with Quote
I've just crashed again, but with a slightly different message:

"Unhandled exception at 0x755F4F0D in devenv.exe: 0xC000041D: An unhandled exception was encountered during a user callback."

The call stack for devenv.exe looks like this, for what it's worth:

user32.dll!_NtUserShowWindow@8 Unknown
user32.dll!_NtUserShowWindow@8 Unknown
WindowsBase.ni.dll!71aee93c Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for WindowsBase.ni.dll]
PresentationFramework.ni.dll!55c58868 Unknown
PresentationFramework.ni.dll!55c602a8 Unknown
WindowsBase.ni.dll!71ad880d Unknown
PresentationFramework.ni.dll!55caede0 Unknown
WindowsBase.ni.dll!71ad85cb Unknown
WindowsBase.ni.dll!71ad68d7 Unknown
WindowsBase.ni.dll!71ad5a5a Unknown
WindowsBase.ni.dll!71ad8c25 Unknown
PresentationFramework.ni.dll!55ceac42 Unknown
PresentationFramework.ni.dll!55c5ff83 Unknown
PresentationFramework.ni.dll!56491a9c Unknown
PresentationFramework.ni.dll!56491b99 Unknown
WindowsBase.ni.dll!71ad880d Unknown
PresentationFramework.ni.dll!55caede0 Unknown
Microsoft.VisualStudio.Shell.UI.Internal.ni.dll!72ab6a0b Unknown
WindowsBase.ni.dll!71ad85cb Unknown
clr.dll!SafeVariantClearHelper Unknown
0e852bd6 Unknown
1108c916 Unknown
1108c59c Unknown
1108c4a6 Unknown
clr.dll!@COMToCLRDispatchHelper@32 Unknown
021aa076 Unknown
> msenv.dll!CVSShellMenu::ShowContextMenu Unknown
msenv.dll!CVsUIShell::ShowContextMenu Unknown
0e85170c Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77f10017 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77da9962 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77da1538 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77db3c2d Unknown
mscorlib.ni.dll!6df19c3c Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77ef9ff8 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77da1538 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77f1e86f Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77ef9ff8 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77da1538 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77db1869 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77ef9ff8 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77da1538 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77da0ffb Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77ef9ff8 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77da1538 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77da0ffb Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77ef9ff8 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77da1538 Unknown
02bf1562 Unknown
clr.dll!@COMToCLRDispatchHelper@32 Unknown
clr.dll!_COMToCLRWorker@8 Unknown
021aa076 Unknown
vcpkg.dll!CVsCppLangCodeWinMgr::Exec Unknown
vcpkg.dll!CVsCppLangFilter::Exec Unknown
0fee6367 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77ef9ff8 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77da1538 Unknown
02bf1562 Unknown
clr.dll!@COMToCLRDispatchHelper@32 Unknown
clr.dll!_COMToCLRWorker@8 Unknown
021aa076 Unknown
vcpkg.dll!CViewNode::Exec Unknown
0fee6367 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77ef9ff8 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77da1538 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77da0ffb Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77ef9ff8 Unknown
Microsoft.VisualStudio.Editor.Implementation.ni.dll!77da1538 Unknown
02bf1562 Unknown
rpcrt4.dll!_rc4_safe@16 Unknown

I was debugging, and hovered over a symbol in the editor. I may have right-clicked. The only thing that seems like it could be VA X related are the lines
> msenv.dll!CVSShellMenu::ShowContextMenu Unknown
msenv.dll!CVsUIShell::ShowContextMenu Unknown

I don't believe my other extensions are adding anything to the context menu. Does that process involve stuffing Variants into SafeArrays?

Thanks again,
Jay
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Oct 31 2013 :  9:42:55 PM  Show Profile  Reply with Quote
Thank you for the call stack. Normally VA should actually be listed if it was a factor, but I have asked our developers about this anyway, just in case it seems familiar.

Are you able to try disabling either VA or TFS power tools in:

IDE tools menu -> Extensions and Updates...

and see if this makes any difference? Hopefully you will know fairly soon, since this seems to be a fairly common problem.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000