Visual Studio 2010调试器经常崩溃,使计算机挂起 [英] Visual Studio 2010 debugger crashes frequently, hangs computer

查看:112
本文介绍了Visual Studio 2010调试器经常崩溃,使计算机挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用功能齐全的Windows Server 2003上的VS2010 RTM. VS2010每天大约有4次会锁定我的计算机.屏幕上的所有输出都会冻结,包括系统托盘中动画图标的更新(例如任务管理器中的CPU表). 我可以按Alt-TAB键并获取正在运行的应用程序的菜单,但是如果选择一个应用程序,则屏幕不会改变.鼠标会移动,但屏幕上绝对没有任何响应.如果按Ctl-Alt-Del,屏幕会变蓝,但是 "Windows安全性"不会出现的对话框.屏幕只是保持蓝色.光标仍在移动.

I am using the VS2010 RTM on a fully-patched Windows Server 2003.  About 4 times per day VS2010 will lock up my computer.  All output to the screen freezes, including updates of animated icons in the system tray (like the CPU meter from task manager).  I can press Alt-TAB and get the menu of running applications, but if I choose an application the screen does not change.  The mouse will move, but absolutely nothing on the screen is responsive.  If I press Ctl-Alt-Del, the screen goes blue but the "Windows Security" dialog that should appear does not show up.  The screen just remains blue.  The cursor still moves.

我已将机器保持此挂起状态一个小时,而机器无法恢复.我唯一的办法就是关闭机器电源.这是一个很大的问题,因为此计算机上的磁盘已通过RAID(镜像)软件RAID(镜像),这意味着每当 机器崩溃,必须进行完全重新同步,这大约需要5个小时.每天发生4次崩溃,意味着磁盘一直在旋转,并且计算机的响应能力下降.

I have left the machine in this hung state for an hour without it recovering.  My only recourse is to power down the machine.  That is a big problem because the disks on this machine are software RAIDed (mirrored), which means that whenever the machine crashes it has to go through a full resynchronization, which takes about 5 hours.  4 crashes per day means that the disks are constantly spinning and the machine responsiveness is degraded.

我正在处理的应用程序是混合模式的C ++/CLR应用程序,它可以对C#DLL进行调用.

The application I'm working on is a mixed mode C++/CLR application that makes calls into C# DLLs.

当我第一次打开解决方案时,Intellisense总是崩溃.我已经让它向Microsoft发送了两次错误报告,但是在事件日志中找不到这些报告的存储区编号.

When I first open the solution, Intellisense always crashes.  I have let it send a bug report to Microsoft a couple of times, but I cannot find a bucket number for those reports in the event log.

有一次,Visual Studio在没有挂机的情况下死了,让我向Microsoft发送错误报告.桶事件是:

On one occasion, Visual Studio died without hanging the machine and let me send a bug report to Microsoft.  The bucket event is:

存储桶1810455959,存储桶表1,错误的应用程序devenv.exe,版本10.0.30319.1,戳记4ba1fab3,错误的模块cpde.dll,版本10.0.30319.1,戳记4ba1fac8,调试吗? 0,故障地址0x00030093.

Bucket 1810455959, bucket table 1, faulting application devenv.exe, version 10.0.30319.1, stamp 4ba1fab3, faulting module cpde.dll, version 10.0.30319.1, stamp 4ba1fac8, debug? 0, fault address 0x00030093.

相关的崩溃事件为:

事件类型:错误
事件源:  Microsoft Visual Studio
活动类别:无
事件ID:  1000
日期:   2010年5月13日
时间:   6:35:29 PM
用户:N/A
电脑:ANDREW64
说明:
错误的应用程序devenv.exe,版本10.0.30319.1,戳4ba1fab3,错误的模块cpde.dll,版本10.0.30319.1,戳4ba1fac8,调试吗? 0,故障地址0x00030093.

Event Type: Error
Event Source: Microsoft Visual Studio
Event Category: None
Event ID: 1000
Date:  13/05/2010
Time:  6:35:29 PM
User:  N/A
Computer: ANDREW64
Description:
Faulting application devenv.exe, version 10.0.30319.1, stamp 4ba1fab3, faulting module cpde.dll, version 10.0.30319.1, stamp 4ba1fac8, debug? 0, fault address 0x00030093.

有关详细信息,请参阅帮助和支持中心,网址为 http://go.microsoft.com/fwlink/events.asp .
数据:
0000:41 00 70 00 70 00 6c 00  A.p.p.l.
0008:69 00 63 00 61 00 74 00  i.c.a.t.
0010:69 00 6f 00 6e 00 20 00 离子. .
0018:46 00 61 00 69 00 6c 00  F.a.i.l.
0020:75 00 72 00 65 00 20 00 你.
0028:20 00 64 00 65 00 76 00  .d.e.v.
0030:65 00 6e 00 76 00 2e 00  e.n.v ...
0038:65 00 78 00 65 00 20 00  EXE文件. .
0040:31 00 30 00 2e 00 30 00& 1.0 ... 0.
0048:2e 00 33 00 30 00 33 00  ..3.0.3.
0050:31 00 39 00 2e 00 31 00  1.9 ... 1.
0058:20 00 34 00 62 00 61 00  .4.b.a.
0060:31 00 66 00 61 00 62 00  1.f.a.b.
0068:33 00 20 00 69 00 6e 00  3. .i.n.
0070:20 00 63 00 70 00 64 00& .c.p.d.
0078:65 00 2e 00 64 00 6c 00  e ... d.l.
0080:6c 00 20 00 31 00 30 00  l. .1.0.
0088:2e 00 30 00 2e 00 33 00  ..0 ... 3.
0090:30 00 33 00 31 00 39 00  0.3.1.9.
0098:2e 00 31 00 20 00 34 00  ..1. .4.
00a0:62 00 61 00 31 00 66 00  b.a.1.f.
00a8:61 00 63 00 38 00 20 00 交流8. .
00b0:66 00 44 00 65 00 62 00  f.D.e.b.
00b8:75 00 67 00 20 00 30 00 例如.0.
00c0:20 00 61 00 74 00 20 00& .在. .
00c8:6f 00 66 00 66 00 73 00  o.f.f.s.
00d0:65 00 74 00 20 00 30 00  e.t. .0.
00d8:30 00 30 00 33 00 30 00  0.0.3.0.
00e0:30 00 39 00 33 00 0d 00  0.9.3 ...
00e8:0a 00  ..    

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 41 00 70 00 70 00 6c 00   A.p.p.l.
0008: 69 00 63 00 61 00 74 00   i.c.a.t.
0010: 69 00 6f 00 6e 00 20 00   i.o.n. .
0018: 46 00 61 00 69 00 6c 00   F.a.i.l.
0020: 75 00 72 00 65 00 20 00   u.r.e. .
0028: 20 00 64 00 65 00 76 00    .d.e.v.
0030: 65 00 6e 00 76 00 2e 00   e.n.v...
0038: 65 00 78 00 65 00 20 00   e.x.e. .
0040: 31 00 30 00 2e 00 30 00   1.0...0.
0048: 2e 00 33 00 30 00 33 00   ..3.0.3.
0050: 31 00 39 00 2e 00 31 00   1.9...1.
0058: 20 00 34 00 62 00 61 00    .4.b.a.
0060: 31 00 66 00 61 00 62 00   1.f.a.b.
0068: 33 00 20 00 69 00 6e 00   3. .i.n.
0070: 20 00 63 00 70 00 64 00    .c.p.d.
0078: 65 00 2e 00 64 00 6c 00   e...d.l.
0080: 6c 00 20 00 31 00 30 00   l. .1.0.
0088: 2e 00 30 00 2e 00 33 00   ..0...3.
0090: 30 00 33 00 31 00 39 00   0.3.1.9.
0098: 2e 00 31 00 20 00 34 00   ..1. .4.
00a0: 62 00 61 00 31 00 66 00   b.a.1.f.
00a8: 61 00 63 00 38 00 20 00   a.c.8. .
00b0: 66 00 44 00 65 00 62 00   f.D.e.b.
00b8: 75 00 67 00 20 00 30 00   u.g. .0.
00c0: 20 00 61 00 74 00 20 00    .a.t. .
00c8: 6f 00 66 00 66 00 73 00   o.f.f.s.
00d0: 65 00 74 00 20 00 30 00   e.t. .0.
00d8: 30 00 30 00 33 00 30 00   0.0.3.0.
00e0: 30 00 39 00 33 00 0d 00   0.9.3...
00e8: 0a 00                     ..     

智能感知崩溃总是在加载解决方案之后不久发生,甚至在我尝试编辑文件之前. Visual Studio系统挂起似乎总是与调试有关.当遇到断点或当我遇到断点时,可能会发生 按F5继续操作,或单步执行.在调试模式下启动应用程序时,挂起的情况很少.编辑或编译时没有崩溃或挂起.

The intellisense crash always happens shortly after the solution is loaded, before I have even attempted to edit a file.  The Visual Studio system hang always seems to be related to debugging.  It can happen when a breakpoint is hit, or when I hit F5 to continue, or when single-stepping.  Infrequently the hang occurs when launching the app in debug mode.  I have had no crashes or hangs when editing or compiling.

请让我知道我可以做些什么来帮助追踪.这花了我很多时间.

Please let me know what I can do to help track this.  It's costing me a lot of time.

推荐答案

感谢您描述此行为.  这正是我所看到的Visual Studio发行版.问题似乎是在调试(而非编辑)过程中发生的-最终结果如您所描述.  几乎完全 无法运行的计算机,可以按CTRL-ALT-DEL,但不会获得安全屏幕.整个用户界面已锁定.我很想知道您是否能够以某种方式解决此问题-新的视频驱动程序,修补程序或任何其他更改...
Thank you for describing this behavior.  This is exactly what I'm seeing, with the released version of Visual Studio.  Problem appears to happen during debugging (not editing) - and the end result is as you've described.  Almost completely inoperable computer, can CTRL-ALT-DEL, but don't get the security screen.  Whole UI is locked up.  I'd be interested to know if you were able to get past this issue somehow - new video drivers, hotfixes, or any other changes...


这篇关于Visual Studio 2010调试器经常崩溃,使计算机挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆