[Interest] qt and Windows tolerance heap

maitai maitai at virtual-winds.org
Tue Sep 7 16:36:02 CEST 2021

Thank you very much that is the way. Do you know if elevated privileges 
are needed to do that?


Le 07-09-2021 15:22, Jérôme Godbout a écrit :

> You can put your aplicaiton into the exclude list, sorry though it was 
> mentionned into the microowft page, but here is the registry key:
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FTH\ExclusionList\myapp.exe
> Change myapp.exe for your actual application.
> From: Jérôme Godbout <jgodbout at dimonoff.com>
> Date: Tuesday, September 7, 2021 at 9:07 AM
> To: maitai <maitai at virtual-winds.org>, Interest at qt-project.org 
> <Interest at qt-project.org>
> Subject: Re: [Interest] qt and Windows tolerance heap
> The tolerant heap only make workaround for actual bug. Disable the 
> tolerant heap for your developers (this should be a system options when 
> developer mode is enabled directly into Windows but sadly you have to 
> do it manually). This will show where your bug is and will appear on 
> dev workstation before they appear on the clients.
> The "myth" of try to launch it again on windows is not really a myth, 
> it come from this feature, the OS try to fix the heap allocation, but 
> the application is still broken. You can also disable your application 
> from using it during the installer.
> To disable:
> https://docs.microsoft.com/en-us/windows/win32/win7appqual/fault-tolerant-heap?redirectedfrom=MSDN
> From: Interest <interest-bounces at qt-project.org> on behalf of maitai 
> <maitai at virtual-winds.org>
> Date: Tuesday, September 7, 2021 at 5:32 AM
> To: Interest at qt-project.org <Interest at qt-project.org>
> Subject: [Interest] qt and Windows tolerance heap
> Hi,
> I have some users (mainly beta testers) that are suffering from 
> "Windows Tolerant Heap" 
> (https://docs.microsoft.com/en-us/windows/win32/win7appqual/fault-tolerant-heap). 
> The consequence of this being activated after some crashes is that the 
> application becomes very slow, plus some mysterious crashes occur 
> randomly deep inside qt event queue manager.
> I know how to remove the app from Tolerant Heap with an elevated 
> command prompt.
> My question is: is there a way from inside the application to detect 
> the app is running in this mode, so I can prompt the user to contact us 
> for instance?
> Thanks for any insight
> Philippe Lelong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20210907/5e11efe3/attachment.html>

More information about the Interest mailing list