积极答复者
基于当文档的应用程序,出现程序崩溃, 故障模块名称:_StackHash_c866

问题
-
问题描述如下:
基于单文档的应用程序,直接采用代用执行(Release 模式),不会报错,程序可以很好的完成相应的功能;
但是运行程序生成的exe文件(Release文件夹),进不去任何界面就直接崩溃了,见下:
问题签名:
问题事件名称: APPCRASH
应用程序名: test.exe
应用程序版本: 1.0.0.1
应用程序时间戳: 560515f5
故障模块名称: StackHash_c866
故障模块版本: 6.1.7601.18933
故障模块时间戳: 55a69e20
异常代码: c0000374
异常偏移: 000ced0b
OS 版本: 6.1.7601.2.1.0.256.1
区域设置 ID: 2052
其他信息 1: c866
其他信息 2: c86673713c8c2ad1f2d71bf36ceb8be4
其他信息 3: 5f52
其他信息 4: 5f52fa344edd1a96133684a5158cfddf
答案
-
你好,
根据你的描述,首先你确认程序是在release 模式下编译生成的可执行文件。如果release模式下,编译运行都没有问题,只有在直接运行生成的exe文件是出现这样的问题,首先考虑是系统原因。你是什么操作系统?建议你在不同的操作系统上测试,看是否针对某一个操作系统而存在的问题。其次你可以参考以下这个相似问题的帖子,看是否对您有帮助。
StackHash and Application Crashes on Windows
http://tdistler.com/2009/04/10/stackhash-and-application-crashes-on-windows
May
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- 已建议为答案 May Wang - MSFT 2015年10月8日 2:22
- 已标记为答案 May Wang - MSFT 2015年10月8日 2:22
全部回复
-
你好,
根据你的描述,首先你确认程序是在release 模式下编译生成的可执行文件。如果release模式下,编译运行都没有问题,只有在直接运行生成的exe文件是出现这样的问题,首先考虑是系统原因。你是什么操作系统?建议你在不同的操作系统上测试,看是否针对某一个操作系统而存在的问题。其次你可以参考以下这个相似问题的帖子,看是否对您有帮助。
StackHash and Application Crashes on Windows
http://tdistler.com/2009/04/10/stackhash-and-application-crashes-on-windows
May
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- 已建议为答案 May Wang - MSFT 2015年10月8日 2:22
- 已标记为答案 May Wang - MSFT 2015年10月8日 2:22