Reply To: parameter changes in SIR does podium crash

#3456
Zynewave
Keymaster

A plug-in is able to bring down a host like that?

Yes. To optimize latency and CPU usage, the plugin code is called directly from the audio processing thread in Podium. The plugin thus acts as an extension to the host code, and has access to the same memory and system resources as the host. Podium wraps all calls to the plugin in protective code that will catch basic illegal operations, but it is still possible for the plugin to corrupt the host memory without the host knowing about it.

Calling plugin code directly from the audio thread is the way it is done in all major sequencers to the best of my knowledge. Access to a plugin could theoretically be encapsulated in separate processes, which then would make the host secure, but this would be at the cost of added latency and extra CPU usage.

Edit: You’re fast Duncan 😉 I started this before I saw your response.