FTH: (7156): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***

这两天在Qtcreator上编译程序的时候莫名其妙的出现了FTH: (7156): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***的问题,清除掉所有的文件,重新qmake和构建都不能解决这个问题。

有人说修改注册表中HKEY_LOCAL_MACHINE\Software\Microsoft\FTH\Enabled的值为0,然而并没有什么用处。无意在stack overflow中找到了解决办法,原链接为http://stackoverflow.com/questions/5020418/how-do-i-turn-off-the-fault-tolerant-heap 。

NT\CurrentVersion\AppCompatFlags\Layers\your_application.exe,再次运行程序就不会报这个错误了。

转自http://blog.csdn.net/theoryll/article/details/53905531

posted @ 2017-05-25 11:19  朱小勇  阅读(5372)  评论(0编辑  收藏  举报