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

Visual Studio 2013 does not open after upgrade to 2.48.03 #2587

Closed
szyb opened this issue Dec 29, 2014 · 10 comments

Comments

Projects
None yet
7 participants
@szyb
Copy link

commented Dec 29, 2014

I've just installed Git extensions 2.48.03 with VS plugin integration. After installation I tried to open VS 2013 and just after that, VS has stopped to respond. I had to change installation and remove VS plugin integration to make it work again. What could be the problem?
EDIT: I changed installation again and installed only plugin integration. VS works as expected now. There was something wrong on first update.

@Radrik5

This comment has been minimized.

Copy link
Contributor

commented Dec 31, 2014

I also have faced this problem. VS2013 and the plugin work fine after installation, but when I restart VS2013, it crashes. The same happens with VS2012.

@Radrik5

This comment has been minimized.

Copy link
Contributor

commented Dec 31, 2014

An unhandled exception of type 'System.StackOverflowException' occurred in GitPlugin.dll

@Radrik5

This comment has been minimized.

Copy link
Contributor

commented Dec 31, 2014

GitPlugin.dll!GitPlugin.Commands.Plugin.ChangeCommandCaption + 0x3a bytes   
GitPlugin.dll!GitPlugin.Commands.Commit.IsEnabled + 0x17d bytes 
GitPlugin.dll!GitPlugin.Commands.ToolbarCommand<GitPlugin.Commands.Commit>.IsEnabled + 0x3e bytes   
GitPlugin.dll!GitPlugin.Commands.Plugin.IsCommandEnabled + 0x1e bytes   
GitPlugin.dll!GitPlugin.Connect.QueryStatus + 0x33 bytes    
[Native to Managed Transition]  
[Managed to Native Transition]  
Microsoft.VisualStudio.Shell.12.0.dll!Microsoft.Internal.VisualStudio.PlatformUI.Utilities.SetValue + 0x35 bytes    
Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.CommandBars.CommandBarRootDataSource.AutomationObject.set + 0x2e bytes   
Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.Automation.CommandBar.CreateInstance + 0x61 bytes    
Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.Automation.CommandBars.Fetch + 0x50 bytes    
Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.Automation.CommandBars.GetEnumerator.AnonymousMethod__4 + 0xd bytes  
Microsoft.VisualStudio.Shell.12.0.dll!Microsoft.VisualStudio.Shell.ThreadHelper.Invoke<Microsoft.VisualStudio.CommandBars.CommandBar> + 0x42 bytes  
Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.Automation.CommandBars.GetEnumerator.MoveNext + 0xff bytes   
System.Core.dll!System.Linq.Enumerable.FirstOrDefault<object> + 0xa2 bytes  
Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.Automation.CommandBars.TryFindByName + 0x91 bytes    
Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.Automation.CommandBars.FindByName + 0x13 bytes   
Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.Automation.CommandBars.this[object].get + 0x51 bytes 
Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.Automation.CommandBars._Marshaler.get_Item.AnonymousMethod__50 + 0x1f bytes  
Microsoft.VisualStudio.Shell.12.0.dll!Microsoft.VisualStudio.Shell.ThreadHelper.Invoke<Microsoft.VisualStudio.CommandBars.CommandBar> + 0x42 bytes  
Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.Automation.CommandBars._Marshaler.this[object].get + 0x57 bytes  
GitPlugin.dll!GitPlugin.Commands.Plugin.ChangeCommandCaption + 0x3a bytes   
GitPlugin.dll!GitPlugin.Commands.Commit.IsEnabled + 0x17d bytes 
GitPlugin.dll!GitPlugin.Commands.ToolbarCommand<GitPlugin.Commands.Commit>.IsEnabled + 0x3e bytes   
GitPlugin.dll!GitPlugin.Commands.Plugin.IsCommandEnabled + 0x1e bytes   
GitPlugin.dll!GitPlugin.Connect.QueryStatus + 0x33 bytes    
@Radrik5

This comment has been minimized.

Copy link
Contributor

commented Dec 31, 2014

Note that "Show current branch in Visual Studio" should be enabled in Git Extensions settings.
Otherwise GitPlugin.Commands.Commit.IsEnabled doesn't call Plugin.ChangeCommandCaption which calls IsEnabled in "foreach (CommandBarControl control in commandBar.Controls)".
I don't know how to fix this.

@shinywong

This comment has been minimized.

Copy link

commented Jan 2, 2015

I have the same problem. I may have found the cause of the problem. That is if you disable GitExtensions toolbar, VS 2013 will crash at next startup.

Steps to fix this:

  1. Uninstall GitExtensions.
  2. Open Visual Studio 2013, then close it.
  3. Install GitExtensions.
  4. Of course, do not disable GitExtensions toolbar afterwards.

I don't know whether your causes are same as mine, but you guys can give it a try.

azarkevich added a commit to azarkevich/gitextensions that referenced this issue Jan 9, 2015

Fixed StackOverflowException.
IDE.QueryStatus -> Commit.IsEnabled -> Plugin.UpdateCaption -> IDE.QueryStatus ...

Fix gitextensions#2587
Fix gitextensions#2601

KindDragon added a commit that referenced this issue Jan 22, 2015

Fixed StackOverflowException.
IDE.QueryStatus -> Commit.IsEnabled -> Plugin.UpdateCaption -> IDE.QueryStatus ...

Fix #2587
Fix #2601
@allsorts46

This comment has been minimized.

Copy link

commented Apr 22, 2015

This was closed as fixed in January, but I can't see any update newer than 2.48.03... is there a release with the fix? Thanks

@asgerhallas

This comment has been minimized.

Copy link

commented Apr 27, 2015

@shinywong great find. At least I now know what hit me :)

@klmallory

This comment has been minimized.

Copy link

commented Apr 28, 2015

As another fix for this, if you don't want to uninstall git extensions: is to delete all git plugin files from the Visual Studio 2013/Addins Folder.

@KindDragon

This comment has been minimized.

Copy link
Collaborator

commented May 12, 2015

Try GitExt 2.48.04

@allsorts46

This comment has been minimized.

Copy link

commented May 16, 2015

Perfect, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.