Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
VST3 crashes Ableton Live (Mac) - SIGABRT and so
September 2, 2019 - 2:01 am
Member Since: June 25, 2018
Forum Posts: 43
sp_UserOfflineSmall Offline

me again ūüėÄ
I startet a project with RackAFX6.x, switched it to RackAFX7 and was close to release, when a tester had crashes with Ableton Live (Mac). (plugin runs fine with Reaper or Tracktion).
Crash always happens while loading a new sample to a sampler slot using TinyFileDialogs for filepath handling.
After days of (succesless) debugging I decided to remake it from scratch. After adding the first 8 buttons or so I run a test with Ableton and it worked like a charm so i added all the other controls (buttons, knobs, leds) - in total 387 ūüėÄ
The controls are added in the prototype designer only.
Before starting to implement the GUI I ran another test with only one (load) button in the GUI. Reaper, Tracktion fine - Ableton Live crashing all the time.
After other 7 days of (succesless) debugging (i tried other libs for file handling and so) I reduced the number of controls to 255 and voila - it worked with Live as well :-/
Now - is there a control Limit or so?
I'm really stuck and 255 or 256 controls are not enough for this plugin.
@Will: i can send you the two projects - they are identical differing only by the number of controls in pluginCore.cpp, pluginCore.h and PluginGUI.uidesc.


edit: I installed Cubase today and it works fine here. And Cubase should define the standard - right?

September 3, 2019 - 2:58 pm
Member Since: June 25, 2018
Forum Posts: 43
sp_UserOfflineSmall Offline

After installing and testing with more DAWs my plugin doesnt pass the verification @ FL Studio.
I made a new, empty synth project in RackAFX7 - exported it to VST, then Cmake , then Xcode ... - with the same result.
In FL Studio you can edit the plugin - it has an unknown type.Setting this to Synth, it get's recognized (without the vendor) and as plugin without any control it shows up. 
Adding 2 buttons (GUI) with two controls -crashes with SIGABRT.

Crashed Thread:        0  Dispatch queue: com.apple.main-thread
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Application Specific Information:
abort() called
terminating with uncaught exception of type std::out_of_range: vector
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib         0x00007fff6e69fe3e __pthread_kill + 10
1   libsystem_pthread.dylib       0x00007fff6e7de150 pthread_kill + 333
2   libsystem_c.dylib             0x00007fff6e5fc312 abort + 127
3   libc++abi.dylib               0x00007fff6c5d7f8f abort_message + 245
4   libc++abi.dylib               0x00007fff6c5d8113 default_terminate_handler() + 241
5   libobjc.A.dylib               0x00007fff6d962eab _objc_terminate() + 105
6   libc++abi.dylib               0x00007fff6c5f37c9 std::__terminate(void (*)()) + 8
7   libc++abi.dylib               0x00007fff6c5f326d __cxa_throw + 121
8   libc++.1.dylib                 0x00007fff6c5ab7f1 std::__1::__vector_base_common::__throw_out_of_range() const + 71
9   developer.vst3.synthtest.bundleID 0x000000011a942007 std::__1::vector<Steinberg::IPtr, std::__1::allocator >::at(unsigned long) + 71 (vector:1514)
10  developer.vst3.synthtest.bundleID 0x000000011a941f67 Steinberg::Vst::EditControllerEx1::getUnitInfo(int, Steinberg::Vst::UnitInfo&) + 39 (vsteditcontroller.cpp:375)
11  developer.vst3.synthtest.bundleID 0x000000011a9420a2 non-virtual thunk to Steinberg::Vst::EditControllerEx1::getUnitInfo(int, Steinberg::Vst::UnitInfo&) + 50


Here's a link to the XCode project: http://klirrfactory.com/tmp/Sy.....thTest.zip

W Pirkle
September 4, 2019 - 3:40 pm
Member Since: January 29, 2017
Forum Posts: 470
sp_UserOfflineSmall Offline

Hey man! 

I will take a look at this. There is no ASPiK limit to the number of controls being 255 or 256 and (that I know of) there is nothing in the VSTGUI Library that would affect this, but I have been wrong in the past. 

We just had the hurricane pass by so I will have some more time to look at this later this week. Thanks for attaching your code. For the record, which VST3 SDK are you using, and which XCode?


September 4, 2019 - 4:21 pm
Member Since: June 25, 2018
Forum Posts: 43
sp_UserOfflineSmall Offline

VST SDK 3.6.13 (i think it's 12 build xyz or so:D)
XCode 9.2

Good Luck with the hurricane stuff!

W Pirkle
October 9, 2019 - 2:52 pm
Member Since: January 29, 2017
Forum Posts: 470
sp_UserOfflineSmall Offline

Hey man - sorry I've had a death in my family that has interrupted a lot of stuff. 

I'm in synth class this semester and I'm getting ready to add a feature to ASPiK to save chunk data with presets. I will check the VST3 Synth plugin at that time and let you know. It should be fairly soon because my class is depending on this capability (we are writing IAP types of synth oscillators).



Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

clau_ste: 39

Chaes: 37

JimmyM: 33

Gwen: 32

jim: 27

Member Stats:

Guest Posters: 1

Members: 649

Moderators: 1

Admins: 4

Forum Stats:

Groups: 13

Forums: 40

Topics: 696

Posts: 2675

Newest Members:

Alex, oneday, Phelan Kane, audiocoder, agel, Makai, Abyz, Nonlinear, IgorVish, Arjuna

Moderators: W Pirkle: 470

Administrators: Tom: 74, JD Young: 80, Will Pirkle: 0, W Pirkle: 470