QT项目出现FTH: (3216): *** Fault tolerant heap shim applied to current process. This

261 阅读1分钟

图文转载自网络,笔者记录以供后续参考。

问题描述

windows端运行QT项目出现FTH: (3216): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***,同时程序可以正常运行。

解决办法

1.键盘输入win + R,接着输入regedit打开注册表,按照HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers路径,选中Layers键值,从右侧列表中删除自己的那个程序路径即可。

2085020-20200710210636769-1009091388.png

2.如果还没有解决,将HKEY_LOCAL_MACHINE\Software\Microsoft\FTH\Enabled 设置为0.

3.如果还不行,可以参考windows 7 - How do I turn off the fault tolerant heap? - Stack Overflow