| 添加到收藏夹 | 返回目录页 | 上一篇:聊天室技术 - 密谈的实现 |
Application Access Violation or Hang After Applying SP4(从微软站点找来的,E文,看看对你的情况是...
Application Access Violation or Hang After Applying SP4This article discusses a Beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.
No formal product support is available from Microsoft for this Beta product. For information about obtaining support for a Beta release, please see the documentation included with the Beta product files, or check the Web location from which you downloaded the release.
--------------------------------------------------------------------------------
The information in this article applies to:
Microsoft Windows NT Server version 4.0
Microsoft Windows NT Workstation version 4.0
Microsoft Windows NT Server, Enterprise Edition version 4.0
Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Datacenter Server
Microsoft Windows 2000 Professional
Microsoft Windows 2000 Server
--------------------------------------------------------------------------------
IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.
SYMPTOMS
After applying Windows NT 4.0 Service Pack 4 (SP4) or Windows 2000, you encounter lockups or access violation (Dr. Watson) errors in an application that appeared to be working fine previously.
NOTE: You might encounter other symptoms or errors in an application that relate to the below-mentioned cause.
CAUSE
The application in question is errantly trying to access a block of memory that it had previously freed or deallocated. With Windows NT 4.0 Service Pack 3 (SP3) and earlier, such a reallocation is more likely to succeed, since the same memory location is more likely to still be available for reallocation. SP4 and later, however, introduces a change in the heap manager allocation patterns that can result in a failure of such a reallocation request. For more information on this change, please see the following article in the Microsoft Knowledge Base:
Q195008 Heap Manager Change in Service Pack 4
RESOLUTION
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT or Windows 2000, you should also update your Emergency Repair Disk (ERD).
To determine if the above-mentioned change is exposing a problem in the application in question, proceed with the following steps. If these steps result in the application generating fewer or no more such errors, contact the vendor of the application to inquire about an updated version of the application that resolves this problem.
NOTE: There are other conditions that can cause such errors or hangs that are not related to this change introduced in SP4 and Windows 2000. If the following workaround does not correct the problem, query on the error or condition you are encountering and the application name in the Microsoft Knowledge Base and/or check with your application vendor for more information on any other known problems.
Start Registry Editor (regedt32.exe) and navigate to the following registry path:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options
With the Image File Execution Options key selected, click Add Key from the Edit menu to create a new key using the name of the executable file that starts the process that is encountering the above-noted problem. An example Key Name entry is "Application.exe". You can leave the Class field blank. This Key Name entry should not include a path, only the name of the executable file itself. Refer to the already-existing Game.exe entry in this location of the registry as an example.
Select the new key you created in step 2 above and click Add Value from the Edit menu to create the Value Name: DisableHeapLookaside and Data Type: REG_SZ. Click OK and then enter 1 in the String field.
Summary for the above entries:
Key Name: application.exe
Class:
Value Name: DisableHeapLookaside
Data Type: REG_SZ
String: 1
It is not usually necessary to restart the system to see the results. You can usually simply restart the application because this registry value is inspected during each process initialization. If the executable is a service, however, restarting the computer may be necessary to cause the executable to be properly restarted.
NOTE: This registry setting only affects the process or processes that you specify.
Additional query words: 4.00 AV stack hang error bug compatguidestability Heap LookAside HeapLookAside Disable Look Aside
Keywords :
Issue type : kbprb
Technology : kbWinNTsearch kbWinNTWsearch kbWinNTW400 kbWinNTW400search kbWinNT400search kbwin2kAdvSer kbwin2kAdvSerSearch kbwin2kDataSer kbwin2kDataSerSearch kbwin2kS kbWinNTSsearch kbWinNTSEntSearch kbWinNTS400search kbWinNTS400 kbwin2kSSearch kbwin2kSearch kbwin2kProSearch kbwin2kPro
下一篇:规范1
↓相关文章:
- · 规范1
- · phpMyAdmin又出了新版本phpMyAdmin-2.2.3-rc1
- · PHP 4.1.0 出版公告(中英对照版)补 1
- · PHP的面向对象编程
- · php重大发现!:)
- · PHP函数索引(4)
- · php函数索引(1)
- · 是你期待的吗? 从Zend Engine 2.0的设计蓝图(草稿)看PHP的将来
- · Mysql权限系统工作原理
- · 加固PHP环境(转)
- · 先做点好事,转点东东来,用PHP和MySQL构建一个数据库驱动的网站(-)
- · 用PHP和MySQL构建一个数据库驱动的网站(三)
- · 用PHP和MySQL构建一个数据库驱动的网站(四)
- · 用PHP和MySQL构建一个数据库驱动的网站(7)
- · 用PHP和MySQL构建一个数据库驱动的网站(十)
- · php中echo <<< 的应用
- · 正则表达式语法(转)
- · PHP的面向对象编程:开发大型PHP项目的方法(三)(转载)
- · PHP的面向对象编程:开发大型PHP项目的方法(五)(转载)
- · 规范3
- · 认知Web服务器
- · PHP脚本数据库功能详解(1)
- · PHP脚本数据库功能详解(3)
- · 第1次亲密接触PHP5(2)
- · 第1次亲密接触PHP5(1)
- · Oracle 常见问题解答
- · Oracle Faq(Oracle TAF的配置)
- · Oracle Faq(Oracle的版本)
- · PHP概述.
- · 数据库相关问题
- · 编译问题
- · 如何获得PHP相关资料
- · 提问的智慧
- · 用PHP实现banner轮换的程序代码
- · PHP取得客户端信息
- · PHP开发中接收复选框信息的方法
- · PHP技术:回帖脱衣服的图片实现
- · PHP程序加速探索之压缩输出gzip
- · 正确理解PHP程序编译时的错误信息
- · PHP和XSS跨站攻击
- · PHP调用java类常见配置错误
- · PHP中的MD5加密
- · PHP能得到你是从什么页面过来的,referer的用处
- · AJAX技术在PHP开发中的简单应用
- · PHP中路径问题的解决方案

