C++ std::vector in a array of classes

There are values in that are instantiated in the UI thread and called from in the audio thread but it only crashes on start up. Once it’s running I have a memory block.
see Locks, RAII best practice

The problem is here. When I instantiate the processor class I’m expecting the vectors to be instantiated aswell but say 1 in 7 times the audio engine calls back for some data and it isn’t.

processor = std::make_shared<ProcessorTypeI>(); // this has classes with vector
audioEngine = std::make_shared<AudioEngine>(processor); // this calls them in the loop

The relevant structure of the processor class is detailed above.