IE挂,使用100%的CPU [英] IE hanging, using 100% of the CPU

查看:102
本文介绍了IE挂,使用100%的CPU的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Web应用程序,这在一个正常交往的过程中,挂IE浏览器。通过IE被挂,我的意思是,IE浏览器不再响应,并使用100%的CPU。只有摆脱这种状态是杀IE进程。关于应用程序:

I have a web application, which in the course of a normal interaction, hangs IE. By "IE being hung", I mean that IE doesn't respond anymore and using 100% of the CPU. The only to get out of this state is to kill the IE process. About the app:

  • 在它加载只有一个网页浏览器,与阿贾克斯的查询服务器进行通信,并更新DOM。
  • 我可以与IE6和IE7,而不是Firefox或Safari浏览器重现此。

我想知道是否有人看到了这个已经,如果有使用的CPU状态的100%,一些已知的情况下,可以让IE浏览器进入这个挂/。

I am wondering if anyone has seen this already, and if there are a few known cases that can get IE into this hung / using 100% of the CPU state.

推荐答案

,使用WinDbg, HTTP: //www.microsoft.com/whdc/devtools/debugging/

Use WinDbg, http://www.microsoft.com/whdc/devtools/debugging/

它装到IE进程有问题。

Attach it to the IE process that has the problem.

该.symfix +命令将设置你的符号路径指向Microsoft符号服务器,并在本地缓存调试符号。

The .symfix+ command will set your symbol path to point to the Microsoft symbol server and cache the debug symbols locally.

的!失控命令将枚举所有堆栈的过程中,告诉你哪一个是抓狂。

The !runaway command will enumerate all the stacks in the process and tell you which one is going berserk.

如果你幸运的话,你可能会看到一些可识别的,比如一个正则表达式替换堆栈的顶部。或许布局引擎已经进入了一个无限循环。这两个发生在我身上了过去。

If you're lucky, you may see something recognizable, such as a regex replacement at the top of the stack. Or perhaps the layout engine has gone into an infinite loop. Both of these have happened to me in the past.

如果调用堆栈没有什么意义,用G,使这一进程走,等待几秒钟,然后按Ctrl + Break,然后尝试!再次暴走。

If the callstack doesn't make sense, use 'g' to make the process go, wait a few seconds, hit Ctrl+Break, then try !runaway again.

一旦你在本地得到了符号,还可以使用Sysinternals的进程资源管理器来查看进程的堆栈。在配置进程资源管理器的符号选项指向本地符号高速缓存,类似于C:\ Program Files文件\ Windows调试工具\符号

Once you've got the symbols locally, you can also use SysInternals' Process Explorer to look at a process's stacks. Configure the Symbols option in Process Explorer to point to your local symbol cache, something like c:\Program Files\Debugging Tools for Windows\sym.

这篇关于IE挂,使用100%的CPU的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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