Visual Studio Crashes opening tool box

SyntaxEditor for WPF Forum

Posted 11 years ago by Matt Adamson
Avatar
Guys

I'm not sure if this is a bug in Visual Studio or the WPF editor controls however by doing the following

1) Creating a new WPF project
2) Adding project references to all assemblies in SyntaxEditorWPFBeta\Source\bin\Obfuscated
3) Selecting the "Choose Items" in the vsnet tool box

Visual Studio crashes and if I attach windbg and stop on clr exceptions this is the call stack


9ef875b4af

0:000> !clrstack
PDB symbol for mscorwks.dll not loaded
OS Thread Id: 0xdf4 (0)
ESP EIP
0035c118 7634f35f [HelperMethodFrame_PROTECTOBJ: 0035c118] System.Reflection.Assembly._nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.Assembly, System.Threading.StackCrawlMark ByRef, Boolean, Boolean)
0035c1b0 6a5110bc System.Reflection.Assembly.nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.Assembly, System.Threading.StackCrawlMark ByRef, Boolean, Boolean)
0035c1d8 6a50fad0 System.Reflection.Assembly.InternalLoad(System.Reflection.AssemblyName, System.Security.Policy.Evidence, System.Threading.StackCrawlMark ByRef, Boolean)
0035c200 6a4b938d System.Reflection.Assembly.Load(System.Reflection.AssemblyName)
0035c20c 72cd9a54 System.Drawing.Design.ToolboxItem.GetNonRetargetedAssemblyName(System.Type, System.Reflection.AssemblyName)
0035c248 72cd9b90 System.Drawing.Design.ToolboxItem.Initialize(System.Type)
0035c2b0 72cda788 System.Drawing.Design.ToolboxItem..ctor(System.Type)
0035c2b8 6fde5e24 System.Drawing.Design.ToolboxService.GetToolboxItem(System.Type, Boolean)
0035c2d4 6fde5fbb System.Drawing.Design.ToolboxService.GetToolboxItems(System.Reflection.Assembly, System.String, Boolean)
0035c310 6fde72e7 System.Drawing.Design.ToolboxService+DomainProxyObject.GetToolboxItems(System.Reflection.AssemblyName, Boolean)
0035c564 6bfc1b4c [GCFrame: 0035c564]
0035c580 6bfc1b4c [GCFrame: 0035c580]
0035c6f4 6bfc1b4c [ContextTransitionFrame: 0035c6f4]
0035c804 6bfc1b4c [GCFrame: 0035c804]
0035c7e8 6bfc1b4c [GCFrame: 0035c7e8]
0035da68 6bfc1b4c [CustomGCFrame: 0035da68]
0035da7c 6bfc1b4c [CustomGCFrame: 0035da7c]
0035da90 6bfc1b4c [CustomGCFrame: 0035da90]
0035daa4 6bfc1b4c [CustomGCFrame: 0035daa4]
0035dab8 6bfc1b4c [CustomGCFrame: 0035dab8]
0035dacc 6bfc1b4c [CustomGCFrame: 0035dacc]
0035dae0 6bfc1b4c [CustomGCFrame: 0035dae0]
0035deac 6bfc1b4c [TPMethodFrame: 0035deac] System.Drawing.Design.ToolboxService+DomainProxyObject.GetToolboxItems(System.Reflection.AssemblyName, Boolean)
0035dec0 6fde614a System.Drawing.Design.ToolboxService.GetToolboxItems(System.Reflection.AssemblyName, Boolean)
0035dee4 6f7ed761 Microsoft.VisualStudio.Toolbox.VsToolboxPage.UpdateEntries()
0035df6c 6f7ed396 Microsoft.VisualStudio.Toolbox.VsToolboxPage.OnActivate(System.ComponentModel.CancelEventArgs)
0035dfa0 0c3eaaa6 Microsoft.VisualStudio.Shell.DialogPage+DialogSubclass.WndProc(System.Windows.Forms.Message ByRef)
0035dfb4 6717a047 System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)

Comments (1)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Matt,

That's doesn't happen for me when I try. Perhaps your VS Toolbox settings have been corrupted? The SE alpha doesn't touch the VS toolbox at all.

Maybe try the items listed here:
http://forums.asp.net/t/1030861.aspx

Although before you'd do that it might be good to export your settings from the Options dialog so that you can try and import them after resetting.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.