I’m still quite new to all of this, so forgive me if any of the following is naive.
The following is true for the following configurations:
Logic Pro X 10.5.1, macOS 10.15.5 + 10.15.6, Xcode 11.7
-> enable thread sanitiser, debug build with Logic as the executable.
-> remove the AU plugin from a track in logic during playback.
This results in up to 100+ data races. These stem from areas such as AUBase::, AUScope::, std::__1, etc.
This happens even on a fresh project in a default state.
I’m not sure where this all started, as other AU’s that were built in earlier versions of JUCE and Xcode do not exhibit these problems. I will begin reverting to earlier versions to fix things on my end, but I wanted to post this here incase someone with more knowledge than I needed the tip off. If anyone can reproduce this, I’d be interested to hear your take on things. Is this tsan alerting to false positives, or does this imply a legitimate issue?
Thanks for reading, hope everyone is doing well.