question

OmerOmer-4667 avatar image
0 Votes"
OmerOmer-4667 asked DylanZhu-MSFT answered

Visual Studio 2017 crashes after every run into a blue screen of death

Hello.
I've been using visual studio 2017 for a couple of years now, and occasionally from time to time I would get a Blue Screen of Death error.
Usually the error was something along the lines of "KERNEL_SECURITY_CHECK_FAILURE" or "HEAP_CORRUPTION", but there were some other messages.
In the last week, I cannot run VS 2017 without it crashing. I can open the IDE and write code (sometimes), but when I try to run it I crash.
I've tried deleting and reinstalling VS, but I am geniunely clueless, and I don't want to switch into any other IDE.
Is there something I can do about it? Maybe a way to make VS more lightweight, in case that my computer can't handle it? I just don't want to crash in the middle of a coding session.
Thank you very much

c++vs-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Castorix31 avatar image
0 Votes"
Castorix31 answered Castorix31 commented

You should download/test Visual Studio 2019 Community (free)
I had many problems with VS 2015 (on Windows 10), which are gone with VS 2019


· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I've tried that already but with no success, I keep crashing (a little less frequently). Anything else to try? Maybe to make VS more lightweight?

0 Votes 0 ·

I don't think the cause is VS
KERNEL_SECURITY_CHECK_FAILURE is often a Driver problem (there are some threads from Google like Kernel security check failure)



0 Votes 0 ·

Is there anything to do from the standpoint of visual studio? What else do you recommend doing?

0 Votes 0 ·
Show more comments
OmerOmer-4667 avatar image
0 Votes"
OmerOmer-4667 answered vb2ae commented

Hey, can anyone please take a look at this?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

What kind of solution is this? Does it happen with a new project of the same type? Did you try deleting the hidden .vs folder in your solutions directory?

0 Votes 0 ·
DylanZhu-MSFT avatar image
0 Votes"
DylanZhu-MSFT answered

Hi OmerOmer,

You can try to run visual studio and close other processes in your machine. And you can try to re-install the installed sdks or frameworks in your system.

Best Regards,
Dylan


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.