VST 3.7.3 SDK and older OS X crashes

Hi All,
we have developed some plugins using SDK 3.7.1 and released them as Universal 2 Binary with OS X target >= 10.10. All worked properly both VST3 and AU (using AUWrapper).
Now we have updated SDK to 3.7.3. This fixes some issues on HiDPI monitors under Windows.
But, unfortunately, users are now reporting crashes (using different DAWs) under OS X 10.10 and 10.11 when UI opens. Don’t know about OS X 10.12.
Any ideas?
Thanks in advance!
Andrea

Do you use the same Xcode version for the old and the new release?

Hi Arne, thank you for your quick reply!

Yes, the same build machine with Xcode 12.4 (12D4e) on Catalina 10.15.7.
I can personally confirm and reproduce crashes on Yosemite 10.10.5.

We are also using the VSTGUI 4.10.1.

Below an extract of a crash dump:

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

Date/Time:             2021-09-14 14:33:59.222 +0200
OS Version:            Mac OS X 10.10.5 (14F27)
Report Version:        11
Anonymous UUID:        A4EC280D-9412-182A-D36C-77A1483E7045


Time Awake Since Boot: 160 seconds

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

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
--> 
    __TEXT                 0000000101b24000-00000001026b2000 [ 11.6M] r-x/rwx SM=COW  /Applications/REAPER64.app/Contents/MacOS/REAPER

Application Specific Information:
Performing @selector(swellOnControlDoubleClick:) from sender REAPERSwell_listview 0x7f8deb42ce80

Thread 0 Crashed:: reaper  Dispatch queue: com.apple.main-thread
0   com.anwida.vst3.spatioroom    	0x000000010dc1ef7a bundleExit + 1429498
1   com.apple.AppKit              	0x00007fff908fef73 -[NSView viewWillDraw] + 1138
2   com.apple.AppKit              	0x00007fff908fef73 -[NSView viewWillDraw] + 1138
3   com.apple.AppKit              	0x00007fff908fef73 -[NSView viewWillDraw] + 1138
4   com.apple.AppKit              	0x00007fff908fef73 -[NSView viewWillDraw] + 1138
5   com.apple.AppKit              	0x00007fff908fef73 -[NSView viewWillDraw] + 1138
6   com.apple.AppKit              	0x00007fff908fe2b0 -[NSView _sendViewWillDrawInRect:clipRootView:] + 1417
7   com.apple.AppKit              	0x00007fff908b7f1a -[NSView displayIfNeeded] + 1216
8   com.apple.AppKit              	0x00007fff9096d705 -[NSWindow display] + 105
9   com.cockos.reaper             	0x00000001020acd52 SetWindowPos(HWND__*, HWND__*, int, int, int, int, int) + 1138
10  com.cockos.reaper             	0x0000000101f0fb6a FxDsp::showConfig(HWND__*, RECT*, int) + 2042
11  com.cockos.reaper             	0x0000000101f2d1fd FxChain::onDspAdded(HWND__*, int, char const*, int, bool) + 973
12  com.cockos.reaper             	0x0000000101f52dd3 fxadd_add_recs_to_chain(FxAddDef**, int, FxChain*, int, int, int, bool) + 627
13  com.cockos.reaper             	0x0000000101f5280e add_to_chain(HWND__*, FxChain*, int, int, int, bool, int) + 878
14  com.cockos.reaper             	0x0000000101f4be2e addDialogProc(HWND__*, unsigned int, unsigned long, long) + 10686
15  com.cockos.reaper             	0x0000000102089486 SwellDialogDefaultWindowProc(HWND__*, unsigned int, unsigned long, long) + 438
16  com.cockos.reaper             	0x0000000101f4e959 addDialogProc(HWND__*, unsigned int, unsigned long, long) + 21737
17  com.cockos.reaper             	0x0000000102089486 SwellDialogDefaultWindowProc(HWND__*, unsigned int, unsigned long, long) + 438
18  com.cockos.reaper             	0x000000010208768f -[REAPERSwell_hwnd swellOnControlDoubleClick:] + 527
19  libsystem_trace.dylib         	0x00007fff9700acd7 _os_activity_initiate + 75
20  com.apple.AppKit              	0x00007fff90a77eb1 -[NSApplication sendAction:to:from:] + 452
21  com.apple.AppKit              	0x00007fff90a8d946 -[NSControl sendAction:to:] + 86
22  com.apple.AppKit              	0x00007fff90b3def3 -[NSTableView _sendAction:to:row:column:] + 90
23  com.apple.AppKit              	0x00007fff90b3c527 -[NSTableView mouseDown:] + 6502
24  com.cockos.reaper             	0x00000001020a6609 -[REAPERSwell_listview mouseUp:] + 249
25  com.apple.AppKit              	0x00007fff90ff0e37 -[NSWindow _reallySendEvent:isDelayedEvent:] + 648
26  com.apple.AppKit              	0x00007fff90983c86 -[NSWindow sendEvent:] + 470
27  com.apple.AppKit              	0x00007fff90980212 -[NSApplication sendEvent:] + 2504
28  com.cockos.reaper             	0x0000000101eafea0 -[REAPERapp sendEvent:] + 5296
29  com.apple.AppKit              	0x00007fff908a9b68 -[NSApplication run] + 711
30  com.apple.AppKit              	0x00007fff90826244 NSApplicationMain + 1832
31  com.cockos.reaper             	0x0000000101b25934 start + 52

Hi,
please checkout the latest master version on GitHub of VSTGUI which should contain a fix for this: https://github.com/steinbergmedia/vstgui/tree/master

Hi Arne,
the fix works. Confirmed both from our internal tests (OS X 10.10) both from users (OS X 10.11).

Many thanks for your quick and decisive intervention!

1 Like