Intolerant

Sep. 23rd, 2011 11:16 pm
billroper: (Default)
[personal profile] billroper
Well, I think I've tracked down what the problem with debugging my application is. Microsoft has decided to help me out.

See, if an application does bad things in Windows 7 or Windows Server 2008 R2, it gets put into the penalty box of using the Fault Tolerant Heap. Well, I've been running my applications under the Visual Studio 2005 debugger on Windows Server 2008 R2. The reason I'm doing this is -- surprise! -- they have bugs. They have crashed, which is what I expected would happen, which is why I'm trying to debug them.

But now, Microsoft has thoughtfully put my applications into the penalty box. This means that they run about 20 to 30 times slower than they normally would. This makes them essentially impossible to debug.

There are numerous methods for disabling the Fault Tolerant Heap either in toto or for particular applications on Windows 7. These methods don't appear to work on Windows Server 2008 R2.

I am not happy.

Date: 2011-09-24 02:01 pm (UTC)
From: [identity profile] phillip2637.livejournal.com
When I see a phrase that begins with the capitalized word 'Fault', my mind tries to expand it as "Faulty Towers". From what you say, this may not be an inappropriate connection.

Date: 2011-09-24 02:24 pm (UTC)
From: [identity profile] kevinnickerson.livejournal.com
One of our developers hit the same thing last year. So far as I know, the instructions for disabling the FTH don't work in W7 either.

Date: 2011-09-24 06:48 pm (UTC)
From: [identity profile] kizoku42.livejournal.com
C**p! And this being a work application you can't even reward them by switching to Linux.

Date: 2011-09-24 08:11 pm (UTC)
ext_12246: (Default)
From: [identity profile] thnidu.livejournal.com
I don't think we're in Kansas any more.

To disable Fault Tolerant Heap

Date: 2011-09-26 03:49 am (UTC)
From: (Anonymous)
You might try this:

To disable FTH completely.
To disable Fault Tolerant Heap entirely on a system, set the REG_DWORD value [HKLM\Software\Microsoft\FTH\Enabled] to 0.

After changing this value, restart the system. FTH will no longer activate for new applications.

Or you can reset the FTH tracking list via a command for temporary debugging. (Must be running cmd with elevated privileges):
C:\Rundll32.exe fthsvc.dll,FthSysprepSpecialize

MSDN reference: http://msdn.microsoft.com/en-us/library/dd744764%28VS.85%29.aspx

Profile

billroper: (Default)
billroper

January 2026

S M T W T F S
     1 2 3
4 5 6 7 8910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 11th, 2026 08:42 pm
Powered by Dreamwidth Studios