views:

574

answers:

1

On one of our development machines with Visual Studio 2008 SP1, whenever the developer closes Visual Studio, the machine goes to Blue Screen of Death.

Has anyone experienced this problem or know of a solution.

Thanks

Shiraz

+2  A: 

First of all, Visual Studio cannot cause a BSOD. It's purely user mode code, and only Kernel mode code can cause a BSOD.

Still, I once saw a piece of VPN software crash the system because it had a bug that was triggered by Visual Studio. The VPN software had the ability to monitor what programs you were running, and what DLLs they loaded, and could decide on that basis whether or not to allow you to use the VPN. It did that with a Kernel-mode filter of some sort.

The filter had a bug, which was triggered by the fact that Visual Studio loads as a number of separate components, and often loads components at runtime. This meant the VPN software was being called frequently, which triggered its bug.

John Saunders
Thanks for your reply. We found that some files were missing in the SDK directory, we copied over the 6.0A directory from another machine and the problem went away (after being there for months). Not logical but it works now.
Shiraz Bhaiji
It's logical if you've got the same problem I had - some program watching file system operations around .dll files; said program having a bug and not having a good time watching all the .dll loads Visual Studio does. In your case, it finally crashes on a file not found result.
John Saunders