VS2010 SP1 crashes with COM Exception every exit - by Program.X

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 636464 Comments
Status Closed Workarounds
Type Bug Repros 1
Opened 1/17/2011 8:33:51 AM
Access Restriction Public


System.Runtime.InteropServices.InvalidComObjectException was unhandled
  Message=COM object that has been separated from its underlying RCW cannot be used.
       at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, Boolean& pfNeedsRelease)
       at Microsoft.VisualStudio.Shell.Interop.IVsUIObject.get_Data(Object& pVar)
       at Microsoft.Internal.VisualStudio.PlatformUI.Utilities.GetObjectData(IVsUIObject obj)
       at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Dispose(Boolean disposing)
       at Microsoft.VisualStudio.PlatformUI.CommandBars.CommandBarRootDataSource.Dispose(Boolean disposing)
       at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Dispose()
       at Microsoft.VisualStudio.PlatformUI.Automation.ControlCustomizer.Dispose(Boolean disposing)
       at Microsoft.VisualStudio.PlatformUI.Automation.CommandBarControl.DisposeManagedResources()
       at Microsoft.VisualStudio.PlatformUI.Automation.CommandBarControl.Disconnect(IVsUISimpleDataSource pSource)
       at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.<DisconnectEventSubscribers>b__6(UInt32 cookie, IVsUIDataSourcePropertyChangeEvents subscriber)
       at Microsoft.Internal.VisualStudio.PlatformUI.CookieTable`3.ForEach(CookieTableCallback`2 callback, Boolean skipRemoved)
       at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.DisconnectEventSubscribers()
       at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Dispose(Boolean disposing)
       at Microsoft.VisualStudio.PlatformUI.CommandBars.CommandBarRootDataSource.Dispose(Boolean disposing)
       at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Finalize()

Sign in to post a comment.
Posted by Microsoft on 1/28/2011 at 12:23 PM
Hi Program.X,

Thanks for reporting this problem. We have fixed this problem for the RTM release of VS2010 SP1.

Sasha Siddhartha
Lead Software Developer
Visual Studio Platform
Posted by Program.X on 1/18/2011 at 4:50 AM
Have done this, with this output:

The file, FeedbackID-636464, was uploaded successfully.

Send Files - Standard File Name : FeedbackID-636464
Start Time : Tue, 18 Jan 2011 09:12:49 GMT
End Time : Tue,18 Jan 2011 12:45:11 UTC
Time Taken : 12742 seconds

Posted by Microsoft on 1/17/2011 at 6:23 PM
Thanks for reporting the issue.
Could you please provide us with a mini dump file? You can get detailed steps about how to get the dump file at :


It would be greatly appreciated if you could provide us with that information as quickly as possible.

You can upload your dump to the workspace:

Please use "FeedbackID-636464" as the file name.

Posted by Microsoft on 1/17/2011 at 9:14 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)