ARA plugins crash in Reaper. This is how to reproduce the crash:
Open Reaper (v6.70)
Create a track and load an audio file
Load the JUCE’s ARAPluginDemo
In the plugin window, select “ARA: Align media to detect grid” (see the screenshot)
Crash
I tested it with JUCE 7.0.2 (master) and ARA 2.1.0 (for compatibility). The crash also occurs with my own ARA plugins made with JUCE. You can also encounter a crash if you select “ARA: Import into project: Tempo”. I don’t know if the problem lies in Reaper, ARA, or JUCE but I think it is good to keep a record here. I will notify the ARA dev team and the Reaper team about it.
The crash happens when REAPER calls ARA::PlugIn::DocumentController::createAudioSourceContentReader(), but no prior call is made to isAudioSourceContentAvailable(), which is mandatory according to the ARA docs.
The demo uses the default implementation of ARADocumentControllerSpecialisation::doIsAudioSourceContentAvailable(), which returns false for all content types, hence the DAW should not make a call to createAudioSourceContentReader().