- Build the ARAPluginDemo example on latest
develop(793df5dd3d4368bc121c960b89b922e2ccae4fe2) - Open Logic (tested on 10.7.6 and 10.7.7 in Rosetta/Intel on macOS 12.5 on M2 MBA) and open a project in it
- Add the ARAPluginDemo as ARA on a couple of tracks
- Close the plugin UI
- Hit play
- Quit while still playing. I get the following crash (repro 2/2 attempts):
It appears that adding the following to ARAPluginDemo.h:EditorRenderer fixes the above issue:
void willDestroyRegionSequence (ARARegionSequence* rs) override
{
regionSequences.erase (rs);
rs->removeListener (this);
}
However it appears that with the fix there are still more issues when enabling Thread Sanitizer with same steps to repro:
1 Like
Even easier repro with Address Sanitizer (on latest develop 8ed3618e12230):
- Debug Logic with Xcode with Address Sanitizer enabled (note that for plugin scanning to succeed it first needs to be ran without asan)
- Add ARAPluginDemo as an ARA plugin to a track
- Hit play (Logic workaround, otherwise it’s not really added…) and then stop
- Quit Logic


