Possible thread performance checker bug

I'm experiencing some rare crash but only if I enable Xcode's "thread performance checker". The crash typically ends with these lines:

std::_1::hash_table<std::_1::hash_value_type<long
qosWaiterSignallerInvariantCheck
...

and sometimes with "findPrimitiveInfoNoAssert" on the second line.

I wonder if I am doing anything wrong, or is it a (hopefully known) issue in thread performance checker itself? It does look like some sort of data race bug, if to guess there's some internal dictionary that's not properly protected with a mutex or something.

I'm using Xcode 16.4 running on macOS 15.5, building and running an app on iPhone with iOS 18.5.

Cheers!

Possible thread performance checker bug
 
 
Q