-
Notifications
You must be signed in to change notification settings - Fork 6
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
Visual Studio crashes in most cases when opening Team Explorer #21
Comments
Ah, never ran into that one...
Yep, could be... since most VS Package logic should be async, I guess I'm trying to access non-ready UI stuff at this point (even I am properly awaiting the UI thread with ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync() 😩) I'll have a look |
You can give a try to this version |
Do you have other extensions, beside this one, in common with your teammate that impacts "Team Explorer" view ? |
This version seems promising. It did not make VS crash after first startup. I will continue to do some startup tests today. In regards to your question: yes we have multiple other extensions installed which we have in common:
Whether they are impacting the Team Explorer view I don't know at this time. |
Strange. First 2 tests where OK. Now it constantly crashes again. |
Ok, new one : it should prevent any crashing and will instead log the error in output panes |
If this one doesn't prevent the crash, I'll probably need a crash dump to have more insights about it |
I have a crash dump for you unfortunately. |
I'm getting the same crashes. (Love this extension otherwise!) |
Same crash after commited the code using VS 2019 16.5.4. The stack trace is a little bit different : Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
at vs_commitizen.vs2015.VsCommitizenNavigationItem.UpdateIsVisibleAsync()
at vs_commitizen.vs2015.VsCommitizenNavigationItem+<GitService_PropertyChanged>d__3.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1(System.Object)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() |
The "System.IO.FileNotFoundException" bug is fixed in the new release (but I don't think it will address the original issue) |
Describe the bug
Visual Studio crashes sometimes when opening Team Explorer after just starting up Visual Studio.
My fellow team mates have the same behavior on their machines from time to time. Could it be performance related? When repeating the steps from the reproduction it will not crash after a few retries.
Eventlog shows .NET Runtime error:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No crash.
Screenshots
If applicable, add screenshots to help explain your problem.
Visual Studio (please complete the following information):
The text was updated successfully, but these errors were encountered: