Visual Studio 2010 crashes repeatedly

前端 未结 14 1713
迷失自我
迷失自我 2021-01-31 17:35

I\'ve been running Visual Studio 2010 (the official release) for some time now. Lately, VS will crash 10+ times during my 8 hour work day. In VS2008, crashes were common when wo

相关标签:
14条回答
  • 2021-01-31 18:24

    I know why it could be crashing. Code it self. Have you tried to debug the failed instance of VS2010 with Vs2010? If the xaml designer crashed anywhere in your code you should be able to see the stack trace. Also, try to load the same xaml into Blend 4 and then run the vs2010 on Blend when that crashes. I've had some good results debugging Vs2010 crashes like that.

    0 讨论(0)
  • 2021-01-31 18:24

    I think I just solved a similar issue on my computer, but probably not the same cause. It was related to TortoiseSVN (I think visual loads the tortoise DLL because it is integrated with the explorer, even if I don't have a specific visual studio plug-in). I upgraded TortoiseSVN (from 1.7.8 to 1.7.11) and it didn't crash for a few hours (I also had a 100% repro case when closing visual studio which does not happen anymore). Maybe there is some way to check what DLLs are loaded by visual studio to troubleshoot what are the candidates for upgrading/uninstalling, but I didn't go this far.

    Hope it can help someone else.

    0 讨论(0)
  • 2021-01-31 18:25

    Today I had this error, in my case it was because Microsoft released the update (KB2858725) the FrameWork 4.5.1, which the download and installed,

    However this is definitely addressed by performing the following steps:

    1. FrameWork 4.5.1 download (KB2858728) => NDP451-KB2858728-x86-x64-ENU.exe-Allos http://www.microsoft.com/en-us/download/details.aspx?id=40779

    2. Install the downloaded software (KB2858728)

    3. Try Vs, but give the same error.

    4. Uninstall the downloaded software (KB2858728) (this task fully cleaned upgrade giving problems (KB2858725)

    5. Install the downloaded software (KB2858728) again

    6. Try Vs, this time if it will work

    NOTE: NEVER! install update (KB2858725)

    0 讨论(0)
  • 2021-01-31 18:32

    There are so many things that can cause studio to crash.

    I'd look at everything from video card drivers to whether the RAM is stable.

    Note, there is a microsoft connect but on this exact issue at: http://connect.microsoft.com/VisualStudio/feedback/details/634162/devenv-exe-frequent-intermittent-crashes-fault-module-name-ntdll-dll

    You might vote on it or add your own information to the report but the very first thing I'd do is update my video drivers. One place I was at had a lot of issues with 2005; it would randomly crash just displaying the design surface or when opening a few too many code files; but once we got decent video cards and the appropriate drivers installed it worked flawlessly.

    0 讨论(0)
  • 2021-01-31 18:33

    i was having a similar problem. visual studio 2010 was crashing. when i attached, it said it had a read access violation in ntdll.dll

    closed all my open instances (there were 5) and it stopped happening.

    0 讨论(0)
  • 2021-01-31 18:38

    I had similar issues with Visual Studio. The problem was the service pack which for some reason was not installed properly.

    I had to reapply the SP1 using the Repair / reapply option. This kind of fixed my issue.

    Also make sure to reboot the system.

    0 讨论(0)
提交回复
热议问题