Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 crashes nearly every time when closing

Mostly it happens if we open a team project from tfs 2008 or tfs 2010, but crashes can happen any time.

When VS is closing down, it crashes nearly every time.

Tried trial RTM and our MSDN download - same story. Tried on three different PCs - same issue. Tried on 32 and 64-bit Windows 7 and Windows Server 2008 R2 - crashes.

Is it just our luck or does it happen to you to?

like image 894
AFD Avatar asked Apr 28 '10 20:04

AFD


People also ask

Why does Visual Studio crash all the time?

If you experience crashes of Visual Studio, typically when working with a very large solution, your IDE might be out of virtual memory. Typical indicators of the problem include a "one or more errors occurred" message, "the process appears to be deadlocked" message, and OutOfMemory exception in a crash dump.

How do I stop Visual Studio from crashing?

Please open CMD and go to C:\Program Files (x86)\Microsoft Visual Studio\2019\version name\Common7\IDE folder, run the command: devenv /safemode to run your Visual Studio in safe mode. Then, create a new project and check if the installed extensions lead to the problem or not.


2 Answers

Here are some tips that will hopefully help you identify the problem: http://blogs.msdn.com/kirillosenkov/archive/2010/02/08/how-to-investigate-and-report-visual-studio-issues.aspx

Ideally, get a call stack of the devenv.exe main thread with symbols loaded, and post it here (or even better), attach to the Connect bug. From the stack we'll likely be able to tell what kind of problem it is.

like image 187
Kirill Osenkov Avatar answered Sep 21 '22 06:09

Kirill Osenkov


I logged it as an issue on Microsoft Connect.

There is a new release of the TFS Power Tools and Visual Studio 2010 Productivity Power Tools which seem to reduce the instances of VS crashing (although it still seems to crash from time to time). It might be worth checking out if you use either add-in.

like image 20
RobS Avatar answered Sep 21 '22 06:09

RobS