Results 1 to 4 of 4

Thread: Fault tolerant heap on Windows 7

  1. #1
    Join Date
    Sep 2009
    Location
    Nanjing, China
    Posts
    46
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Fault tolerant heap on Windows 7

    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/libr...64(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!

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Fault tolerant heap on Windows 7

    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)

  3. #3
    Join Date
    Sep 2009
    Location
    Nanjing, China
    Posts
    46
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Fault tolerant heap on Windows 7

    Thanks, I'll check my code.

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Fault tolerant heap on Windows 7

    Typically, once your applications stop doing things that would normally cause it to crash (like double deleting), the FTH will gradually disappear.

  5. The following user says thank you to squidge for this useful post:

    Phlucious (31st January 2012)

Similar Threads

  1. heap corrupted
    By dognzhe in forum Qt Programming
    Replies: 1
    Last Post: 12th June 2009, 02:54
  2. Replies: 2
    Last Post: 20th February 2008, 20:48
  3. stack, heap and C#
    By mickey in forum General Programming
    Replies: 8
    Last Post: 20th August 2007, 18:40
  4. Heap Error
    By avis_phoenix in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2006, 03:15
  5. QThread and heap
    By paranoid_android in forum Qt Programming
    Replies: 2
    Last Post: 9th March 2006, 10:13

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.