I have a number of VST plugins I’ve developed and tested on Windows/Visual Studio which I’m now trying to build/use on Mac/XCode.
I’m having 2 problems:
- Intermittent Segfaults: When I build on Mac in XCode, some of the plugins fail intermittently to build due to segmentation faults.
Additional information
- If I rebuild repeatedly, eventually the build will pass without segfault
- When I comment ALL of the code from each function in the plugin (simply returning kResultOk from each), I would expect the segfault to go away, but I still get the same error - How could this make sense?
- Intermittent Host Crashing: When I do successfully build the plugins which are having segfaults, They dont seem to operate as they should, and they often crash the host DAW (Ableton)… Im guessing this is connected to the above described segfaults, and even though I got around the segfault (somehow), there are still problems.
Does anyone know of issues that would cause these segfaults/crashes in Mac but not Windows? Its particularly odd that removing the body of every function in the plugin doesnt get rid of the segfault…
The only change I made when migrating from Windows to Mac was to update the Info.plist file to have “Bundle Identifier” = com.steinberg.vst3., and “Executable File” = .
Thanks!