Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS freeze during opening project #521

Closed
kant2002 opened this issue Oct 9, 2015 · 4 comments
Closed

VS freeze during opening project #521

kant2002 opened this issue Oct 9, 2015 · 4 comments

Comments

@kant2002
Copy link
Contributor

kant2002 commented Oct 9, 2015

During opening project my VS instance freeze

005ee918 76f38d09 *** ERROR: Symbol file could not be found.  Defaulted to export symbols for KERNELBASE.dll - 
KERNELBASE!WaitForSingleObjectEx+0x99, calling ntdll!NtWaitForSingleObject
005ee970 685b174c clr!StrongNameFreeBuffer+0x1729c, calling clr+0x1000
005ee98c 684fce04 clr!DllUnregisterServerInternal+0xf70
005ee9bc 684fce4b clr!DllUnregisterServerInternal+0xfb7, calling clr!DllUnregisterServerInternal+0xf42
005ee9f4 685b174c clr!StrongNameFreeBuffer+0x1729c, calling clr+0x1000
005eea0c 684fcdce clr!DllUnregisterServerInternal+0xf3a, calling clr!DllUnregisterServerInternal+0xf8d
005eea30 6859fc52 clr!StrongNameFreeBuffer+0x57a2, calling clr!StrongNameFreeBuffer+0x56b2
005eea44 68681fab clr!CreateApplicationContext+0x332ad, calling clr!DllUnregisterServerInternal+0xef3
005eea68 68685dba clr!LogHelp_TerminateOnAssert+0x2162, calling clr!CreateApplicationContext+0x33279
005eea84 6867c603 clr!CreateApplicationContext+0x2d905, calling clr!CreateApplicationContext+0x2d838
005eea9c 6867c66a clr!CreateApplicationContext+0x2d96c, calling clr!CreateApplicationContext+0x2d8ed
005eeab4 684f983e clr+0x983e
005eead4 684f98c8 clr+0x98c8, calling clr+0x97f1
005eeae8 522c344f (MethodDesc 521f68c8 +0x1af Microsoft.VisualStudio.Shell.Package.GetService(System.Type)), calling clr+0x219c
005eeb08 685aee24 clr!StrongNameFreeBuffer+0x14974, calling clr+0x25e0
005eeb0c 684f25c6 clr+0x25c6, calling clr+0x22b8
005eeb14 684f995c clr+0x995c, calling clr+0x986d
005eeb74 684f992c clr+0x992c, calling clr+0x25e0
005eeb9c 66d2d6ca (MethodDesc 66cbba2c +0x2a Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.FindFrame(System.String, UInt32, UInt32, UInt32, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ByRef)), calling  (JitHelp: CORINFO_HELP_NEWSFAST)
005eebb4 2c439149 (MethodDesc 29cc25b0 +0x59 DomainNeutralILStubClass.IL_STUB_COMtoCLR(IntPtr, Int32, Int32, Int32, IntPtr))
005eebf0 6868517d clr!LogHelp_TerminateOnAssert+0x1525, calling clr+0x1701
005eec00 684f176c clr+0x176c
005eec28 0607e850 0607e850, calling 03acd0a4
005eec30 6868517d clr!LogHelp_TerminateOnAssert+0x1525, calling clr+0x1701
005eec5c 0607e850 0607e850, calling 03acd0a4
005eec74 6859fc52 clr!StrongNameFreeBuffer+0x57a2, calling clr!StrongNameFreeBuffer+0x56b2
005eec88 03acd0e8 03acd0e8, calling clr!LogHelp_TerminateOnAssert+0x138b
005eeca0 0607e850 0607e850, calling 03acd0a4
005eecb4 6359962a *** ERROR: Symbol file could not be found.  Defaulted to export symbols for msenv.dll - 
msenv!IsSystemFontAvailable+0x31fe0
005eed58 635995b8 msenv!IsSystemFontAvailable+0x31f6e
005eed74 6fba61ab (MethodDesc 6fb21838 +0x83 DomainNeutralILStubClass.IL_STUB_CLRtoCOM(UInt32, System.Guid ByRef, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ByRef))
005eed9c 6fba61ab (MethodDesc 6fb21838 +0x83 DomainNeutralILStubClass.IL_STUB_CLRtoCOM(UInt32, System.Guid ByRef, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ByRef))
005eedf0 2dc3605b (MethodDesc 3291d5e4 +0x4b Microsoft.VisualStudioTools.Project.UIHierarchyUtilities.GetUIHierarchyWindow(System.IServiceProvider, System.Guid)), calling 03ae9056
================================================================================================================================
005eee0c 2df7117b (MethodDesc 3291d290 +0x63 Microsoft.VisualStudioTools.Project.HierarchyNode.ExpandItem(Microsoft.VisualStudio.Shell.Interop.EXPANDFLAGS)), calling (MethodDesc 3291d5e4 +0 Microsoft.VisualStudioTools.Project.UIHierarchyUtilities.GetUIHierarchyWindow(System.IServiceProvider, System.Guid))
005eee40 2dbcc0eb (MethodDesc 2df0bc80 +0x2b3 Microsoft.NodejsTools.Project.AbstractNpmNode.ReloadHierarchy(Microsoft.VisualStudioTools.Project.HierarchyNode, System.Collections.Generic.IEnumerable`1<Microsoft.NodejsTools.Npm.IPackage>)), calling (MethodDesc 3291d290 +0 Microsoft.VisualStudioTools.Project.HierarchyNode.ExpandItem(Microsoft.VisualStudio.Shell.Interop.EXPANDFLAGS))
005eeea4 2dbcc0cf (MethodDesc 2df0bc80 +0x297 Microsoft.NodejsTools.Project.AbstractNpmNode.ReloadHierarchy(Microsoft.VisualStudioTools.Project.HierarchyNode, System.Collections.Generic.IEnumerable`1<Microsoft.NodejsTools.Npm.IPackage>)), calling (MethodDesc 2df0bc80 +0 Microsoft.NodejsTools.Project.AbstractNpmNode.ReloadHierarchy(Microsoft.VisualStudioTools.Project.HierarchyNode, System.Collections.Generic.IEnumerable`1<Microsoft.NodejsTools.Npm.IPackage>))
005eef0c 2dbcc0cf (MethodDesc 2df0bc80 +0x297 Microsoft.NodejsTools.Project.AbstractNpmNode.ReloadHierarchy(Microsoft.VisualStudioTools.Project.HierarchyNode, System.Collections.Generic.IEnumerable`1<Microsoft.NodejsTools.Npm.IPackage>)), calling (MethodDesc 2df0bc80 +0 Microsoft.NodejsTools.Project.AbstractNpmNode.ReloadHierarchy(Microsoft.VisualStudioTools.Project.HierarchyNode, System.Collections.Generic.IEnumerable`1<Microsoft.NodejsTools.Npm.IPackage>))
005eef74 2dbcc0cf (MethodDesc 2df0bc80 +0x297 Microsoft.NodejsTools.Project.AbstractNpmNode.ReloadHierarchy(Microsoft.VisualStudioTools.Project.HierarchyNode, System.Collections.Generic.IEnumerable`1<Microsoft.NodejsTools.Npm.IPackage>)), calling (MethodDesc 2df0bc80 +0 Microsoft.NodejsTools.Project.AbstractNpmNode.ReloadHierarchy(Microsoft.VisualStudioTools.Project.HierarchyNode, System.Collections.Generic.IEnumerable`1<Microsoft.NodejsTools.Npm.IPackage>))
005eefdc 2dbcc0cf (MethodDesc 2df0bc80 +0x297 Microsoft.NodejsTools.Project.AbstractNpmNode.ReloadHierarchy(Microsoft.VisualStudioTools.Project.HierarchyNode, System.Collections.Generic.IEnumerable`1<Microsoft.NodejsTools.Npm.IPackage>)), calling (MethodDesc 2df0bc80 +0 Microsoft.NodejsTools.Project.AbstractNpmNode.ReloadHierarchy(Microsoft.VisualStudioTools.Project.HierarchyNode, System.Collections.Generic.IEnumerable`1<Microsoft.NodejsTools.Npm.IPackage>))
005ef044 2dbcb881 (MethodDesc 2df0bf58 +0xd9 Microsoft.NodejsTools.Project.NodeModulesNode.ReloadHierarchy()), calling (MethodDesc 2df0bc80 +0 Microsoft.NodejsTools.Project.AbstractNpmNode.ReloadHierarchy(Microsoft.VisualStudioTools.Project.HierarchyNode, System.Collections.Generic.IEnumerable`1<Microsoft.NodejsTools.Npm.IPackage>))
================================================================================================================================
005ef04c 68507964 clr!DllUnregisterServerInternal+0xbad0, calling clr+0x1000
005ef050 684f17f5 clr+0x17f5, calling clr!DllUnregisterServerInternal+0xb9ca
005ef074 2dbcb33f (MethodDesc 32917d9c +0x1f Microsoft.VisualStudioTools.UIThread.InvokeAsyncHelper(System.Action, System.Threading.Tasks.TaskCompletionSource`1<System.Object>))
005ef090 2e451bd0 (MethodDesc 32917d38 +0x8 Microsoft.VisualStudioTools.UIThread.get_InvokeRequired()), calling clr+0x881d
005ef098 2dbcb308 (MethodDesc 32917d64 +0x58 Microsoft.VisualStudioTools.UIThread.InvokeAsync(System.Action)), calling (MethodDesc 32917d9c +0 Microsoft.VisualStudioTools.UIThread.InvokeAsyncHelper(System.Action, System.Threading.Tasks.TaskCompletionSource`1<System.Object>))
================================================================================================================================
005ef0ac 2dbcb270 (MethodDesc 2df0bf4c +0x48 Microsoft.NodejsTools.Project.NodeModulesNode.ReloadHierarchySafe())
005ef0c0 2df70b55 (MethodDesc 2df0be5c +0x5 Microsoft.NodejsTools.Project.NodeModulesNode.NpmController_FinishedRefresh(System.Object, System.EventArgs)), calling (MethodDesc 2df0bf4c +0 Microsoft.NodejsTools.Project.NodeModulesNode.ReloadHierarchySafe())
005ef0c4 2e45fb01 (MethodDesc 2e447390 +0x19 Microsoft.NodejsTools.Npm.SPI.NpmController.Fire(System.EventHandler))
005ef0d0 2e45fa65 (MethodDesc 2e31f768 +0x39d Microsoft.NodejsTools.Npm.SPI.NpmController+<RefreshAsync>d__32.MoveNext()), calling (MethodDesc 2e447390 +0 Microsoft.NodejsTools.Npm.SPI.NpmController.Fire(System.EventHandler))
005ef118 50bc70c9 (MethodDesc 5095f4ec +0x19 System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object)), calling 0d975c4a
================================================================================================================================
005ef120 50b3a404 (MethodDesc 5088d328 +0xb4 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean))
005ef184 50b3a346 (MethodDesc 5088d31c +0x16 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)), calling (MethodDesc 5088d328 +0 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean))
005ef198 50bc702b (MethodDesc 508706ac +0x5b System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run()), calling (MethodDesc 5088d31c +0 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean))
005ef1d0 50ba7179 (MethodDesc 50955d04 +0x29 System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation+<>c__DisplayClass2.<_cctor>b__3(System.Object))
005ef1d4 526b7964 (MethodDesc 5261c7c8 +0x84 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32))
005ef1ec 526b7874 (MethodDesc 526435a0 +0x34 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)), calling (MethodDesc 5261c7c8 +0 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32))
005ef228 526b9e42 (MethodDesc 5261f920 +0xd2 System.Windows.Threading.DispatcherOperation.InvokeImpl()), calling (MethodDesc 526435a0 +0 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate))
005ef270 526b9d6c (MethodDesc 5261f914 +0x3c System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)), calling (MethodDesc 5261f920 +0 System.Windows.Threading.DispatcherOperation.InvokeImpl())
005ef278 50b3a404 (MethodDesc 5088d328 +0xb4 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean))
005ef2dc 50b3a346 (MethodDesc 5088d31c +0x16 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)), calling (MethodDesc 5088d328 +0 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean))
005ef2f0 50b3a301 (MethodDesc 5088d310 +0x41 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)), calling (MethodDesc 5088d31c +0 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean))
005ef30c 526b9c5b (MethodDesc 5261f8f4 +0x5b System.Windows.Threading.DispatcherOperation.Invoke()), calling (MethodDesc 5088d310 +0 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object))
005ef348 526b6325 (MethodDesc 5261e474 +0x165 System.Windows.Threading.Dispatcher.ProcessQueue()), calling (MethodDesc 5261f8f4 +0 System.Windows.Threading.DispatcherOperation.Invoke())
005ef378 76aa4923 *** ERROR: Symbol file could not be found.  Defaulted to export symbols for user32.dll - 
user32!CharNextW+0x73
005ef388 526b651a (MethodDesc 5261e4d0 +0x5a System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)), calling (MethodDesc 5261e474 +0 System.Windows.Threading.Dispatcher.ProcessQueue())
005ef3c4 526b7b5b (MethodDesc 5264854c +0x9b MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef))
005ef400 526b7aab (MethodDesc 52648630 +0x6b MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object))
005ef420 526b7932 (MethodDesc 5261c7c8 +0x52 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32))
005ef438 526b7874 (MethodDesc 526435a0 +0x34 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)), calling (MethodDesc 5261c7c8 +0 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32))
005ef474 526b5f11 (MethodDesc 5261e2c8 +0x131 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)), calling (MethodDesc 526435a0 +0 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate))
005ef4c8 526b73fe (MethodDesc 52648624 +0xee MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)), calling (MethodDesc 5261e2c8 +0 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32))
005ef50c 005ef544 005ef544, calling 005ef544
005ef510 03acd37e 03acd37e
005ef534 76a8cd35 user32!RealGetWindowClassW+0x75, calling user32!CharNextW+0xee
005ef544 76aa4923 user32!CharNextW+0x73
005ef570 76a84790 user32!CallWindowProcW+0x300, calling user32!CharNextW+0x48
005ef5b4 76a84668 user32!CallWindowProcW+0x1d8, calling ntdll!RtlActivateActivationContextUnsafeFast
005ef618 76a84091 user32!DispatchMessageW+0x251, calling user32!CallWindowProcW+0x110
005ef660 635b2abf msenv!DllGetClassObject+0xd7ab
005ef684 76a83e50 user32!DispatchMessageW+0x10, calling user32!DispatchMessageW+0x20
005ef690 635b288e msenv!DllGetClassObject+0xd57a, calling user32!DispatchMessageW
005ef6a8 635b27ef msenv!DllGetClassObject+0xd4db, calling msenv!DllGetClassObject+0xd50d
005ef6e0 6353b2c7 msenv!DllMain+0x668f1, calling msenv!DllGetClassObject+0xd451
005ef708 6353b21d msenv!DllMain+0x66847
005ef748 6353b161 msenv!DllMain+0x6678b, calling msenv!DllMain+0x6679f
005ef768 6353b128 msenv!DllMain+0x66752
005ef794 6353b08e msenv!DllMain+0x666b8, calling msenv!DllMain+0x66724
005ef7b0 74de9255 *** ERROR: Symbol file could not be found.  Defaulted to export symbols for oleaut32.dll - 
oleaut32!SysFreeString+0x25, calling oleaut32!VarI2FromStr+0x720
005ef7c0 63632496 msenv!VStudioMain+0x1d606, calling oleaut32!SysFreeString
005ef7c4 636324a7 msenv!VStudioMain+0x1d617, calling msenv+0x1000
005ef7e8 636324a7 msenv!VStudioMain+0x1d617, calling msenv+0x1000
005ef7ec 63630029 msenv!VStudioMain+0x1b199, calling msenv!VStudioMain+0x1d584
005ef7f4 63630041 msenv!VStudioMain+0x1b1b1, calling msenv+0x1000
005ef800 2f7110c3 *** ERROR: Symbol file could not be found.  Defaulted to export symbols for devenv.exe - 
devenv+0x10c3, calling devenv+0x1034
005ef828 63614f0b msenv!VStudioMain+0x7b, calling msenv!DllMain+0x6646e
005ef850 2f71c732 devenv!IsAssertEtwEnabled+0x4ec2
005ef890 2f71c30b devenv!IsAssertEtwEnabled+0x4a9b, calling devenv!IsAssertEtwEnabled+0x4de4
005ef90c 2f72ea31 devenv!IsAssertEtwEnabled+0x171c1, calling devenv+0x10d6
005ef9c8 7737d2d9 ntdll!RtlFreeHeap+0xbd9, calling ntdll!RtlFreeHeap+0x11fb
005efa34 773aa64c ntdll!ZwTraceControl+0xc
005efad0 773bc650 ntdll!wcstok_s+0x5c80, calling ntdll!RtlFreeHeap+0x4f0
005efb04 7737c72c ntdll!RtlFreeHeap+0x2c, calling ntdll!wcstok_s+0x5a02
005efb14 7739e652 ntdll!LdrSetDllDirectory+0xe2, calling ntdll!RtlFreeHeap
005efb68 2f729f0f devenv!IsAssertEtwEnabled+0x1269f, calling devenv!IsAssertEtwEnabled+0x42eb
005efb94 2f72a02f devenv!IsAssertEtwEnabled+0x127bf, calling devenv!IsAssertEtwEnabled+0x125fb
005efbe0 74493744 *** ERROR: Symbol file could not be found.  Defaulted to export symbols for kernel32.dll - 
kernel32!BaseThreadInitThunk+0x24
005efbf4 7739a064 ntdll!RtlSetCurrentTransaction+0xd4
005efc3c 7739a02f ntdll!RtlSetCurrentTransaction+0x9f, calling ntdll!RtlSetCurrentTransaction+0xa5

I highlight the NTVS related stack traces using ===. Please note that I am using VS2015, (NTVS 9-17-2015 Dev Build)

Not sure if this is related, but I have 3 NTVS project in the solution. Maybe this is related to #427

@mousetraps
Copy link
Contributor

I think i ran into a similar issue when I was testing #512, where it was hanging at ReloadHierarchy (I don't think there's anything wrong with that PR specifically, but it certainly exacerbated whatever project system issue was lingering there.) Investigating now.

mousetraps added a commit to mousetraps/nodejstools that referenced this issue Oct 12, 2015
- We were not handling optional dependencies properly
@mousetraps mousetraps self-assigned this Oct 12, 2015
@mousetraps
Copy link
Contributor

@kant2002 I believe this'll solve the project load issue:
https://github.com/mousetraps/nodejstools/tree/i521

I still need to clean it up, etc., but I gtg now. Mind trying it out on your machine to verify that this was indeed the root cause?

@mousetraps mousetraps added this to the October milestone Oct 12, 2015
@kant2002
Copy link
Contributor Author

Ok. I will try to build latest bits and try. Hopefully it was not reintroduced, but this issue is not happens very often, so it will take time to test. Thanks @mousetraps

mousetraps added a commit to mousetraps/nodejstools that referenced this issue Oct 12, 2015
- We were not handling optional dependencies properly
mousetraps added a commit to mousetraps/nodejstools that referenced this issue Oct 12, 2015
microsoft#511 npm tree incomplete when there are duplicate entries
- Always add top-level dependencies even if they've already been added
  before.

microsoft#521 VS freeze during opening project
- Only handle optional dependencies, dev dependencies, etc. when they are
  top-level modules.
mousetraps added a commit that referenced this issue Oct 14, 2015
@mousetraps
Copy link
Contributor

The fix is now available in our latest dev build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants