Update 5.2.1 + .vst crashes


after the latest update 5.2.1 my plugin .VST crashes in reaper, cubase and Ableton live. I have not changed anything except the JUCE version…
I did not have this problem with 5.2 and i just opened the project on new juce without any changes, then I build it in Xcode, everything fine,
the .AU is opening fine everywhere, and the VST3, just the .VST crashes everything and the DAW is shutting down … any ideas?


Try running your plug-in in debug mode and find out why it is crashing (at what point in your code). Only then we can help you :slight_smile:
On Xcode: Product -> Scheme -> Edit Scheme (or just CMD+<), Executable: your DAW, or the JUCE plug-in host, or the standalone, wherever you experience that behavior.


can you get anything out of this ? :

Process: REAPER [2152]
Path: /Applications/REAPER64.app/Contents/MacOS/REAPER
Identifier: com.cockos.reaper
Version: 5.70.0 (5.70.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: REAPER [2152]
User ID: 501

Date/Time: 2018-02-10 15:43:33.524 +0200
OS Version: Mac OS X 10.13.2 (17C88)
Report Version: 12
Anonymous UUID: 23F0F7CE-AACA-6D95-DEF0-3839B2720E00

Sleep/Wake UUID: 50285768-A239-4E3F-9AA6-244C7D4FCAA2

Time Awake Since Boot: 12000 seconds
Time Since Wake: 630 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000030

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]


There’s only one universal piece of advice that anyone can give you when your code crashes: GO AND DEBUG IT!! Nobody else can do that for you. It’s why we have debuggers!