PDA

View Full Version : Fault tolerant heap on Windows 7



FinderCheng
24th July 2010, 01:44
Hi! I have recompiled my code on Windows 7 which woks well on Windows XP. When I run the exe file, there is a system error message:

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

But my application seems works well and nothing wrong happens.

I found this URL, http://msdn.microsoft.com/en-us/library/dd744764(VS.85).aspx.
It says that "in some cases, developers needs override the default behavior of this system",
but how? And in what cases? Now I don't know how to solve this problem or is it just OK?

Thanks!

Zlatomir
24th July 2010, 04:20
Look in your code for: buffer overflow, double deletion or using a pointer that was deleted.

"Fault tolerant heap" basically means that you have some heap corruption, and windows will try not to crash your application (but i wouldn't rely on it to keep my application running or my data not corrupted)

FinderCheng
24th July 2010, 11:58
Thanks, I'll check my code.

squidge
24th July 2010, 16:16
Typically, once your applications stop doing things that would normally cause it to crash (like double deleting), the FTH will gradually disappear.