Compiling with Address Sanitizer stuck in endless loop

Hello,
I am currently trying to compile my project with address sanitizer to do some bugfixing and find memory leaks. I tried enabling the address sanitizer by adding the “true” flag to my BuildConfiguration.xml file. But when I try to compile the project with this settings, the build tool spits out the messgae
Creating makefile for UnrealHeaderTool (no existing makefile)
forever.
Does someone have the address sanitizer working? I tried this on linux.

I just ran into this same issue on Linux using UE 4.27.2.

My BuildConfiguration.xml looks like this:

<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
    <BuildConfiguration>
        <bEnableAddressSanitizer>true</bEnableAddressSanitizer>
        <bEnableUndefinedBehaviorSanitizer>true</bEnableUndefinedBehaviorSanitizer>
    </BuildConfiguration>
</Configuration>

Trying to build either the engine or a project with either of those flags set to true results in an infinite loop of

Creating makefile for UnrealHeaderTool (BuildConfiguration.xml is newer)
Creating makefile for UnrealHeaderTool (BuildConfiguration.xml is newer)
Creating makefile for UnrealHeaderTool (BuildConfiguration.xml is newer)

until I kill it.