QT遇到 Fault tolerant heap shim applied to current process. This is usually due to

实际问题为内存泄露。造成程序崩溃,还是要多查看程序本身问题,以下为解决问题之前所测试方法;



开注册表,设置HKLM\Software\Microsoft\FTH\Enabled 为0
打开CMD,运行Rundll32.exe fthsvc.dll,FthSysprepSpecialize

QT遇到 Fault tolerant heap shim applied to current process. This is usually due to


或者

在注册表中删除 Software\Microsoft\Windows  NT\CurrentVersion\AppCompatFlags\Layers\your_application.exe,再次运行程序就不会报这个错误了。


https://stackoverflow.com/questions/5020418/how-do-i-turn-off-the-fault-tolerant-heap

以上两种方法测试后发现还是出现问题,然后查找程序问题,在程序中找到了内存泄露的地方,修改后程序就能正常运行了。

在注册表中删除 Software\Microsoft\Windows  NT\CurrentVersion\AppCompatFlags\Layers\your_application.exe,再次运行程序就不会报这个错误了。