I’ve compiled from source on the 4.17 branch today, when I replicate the hang and pause the Xcode debugger here is what I see in the main thread.
Also when I tell Xcode to view the memory graph hierarchy it reports over 35,000 leaks.