Issues with MidiBuffer in JUCE 7 on macOS in RELEASE build

It seems to be very much related to this: Bugs in M1 Logic Pro Itself. Is it an acknowledged Apple issue then? I did run the standalone app with all possible ASAN settings enabled in Xcode, but couldn’t find anything (so far). I am neither using Logic Pro for testing, so it is not a Logic Pro issue I would think.