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?
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-threadException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYApplication Specific Information:abort() calledterminating with uncaught exception of type std::out_of_range: vectorThread 0 Crashed:: Dispatch queue: com.apple.main-thread0 libsystem_kernel.dylib 0x00007fff6e69fe3e __pthread_kill + 101 libsystem_pthread.dylib 0x00007fff6e7de150 pthread_kill + 3332 libsystem_c.dylib 0x00007fff6e5fc312 abort + 1273 libc++abi.dylib 0x00007fff6c5d7f8f abort_message + 2454 libc++abi.dylib 0x00007fff6c5d8113 default_terminate_handler() + 2415 libobjc.A.dylib 0x00007fff6d962eab _objc_terminate() + 1056 libc++abi.dylib 0x00007fff6c5f37c9 std::__terminate(void (*)()) + 87 libc++abi.dylib 0x00007fff6c5f326d __cxa_throw + 1218 libc++.1.dylib 0x00007fff6c5ab7f1 std::__1::__vector_base_common::__throw_out_of_range() const + 719 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
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?
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).
Most Users Ever Online: 85
Currently Browsing this Page:
Guest Posters: 1
Newest Members:haslo, tomr, Noah, Dave, acv, Vasil992, Vasil92, dowsed, Simple, Chris_1
Moderators: W Pirkle: 362
Administrators: Tom: 73, JD Young: 80, Will Pirkle: 0, W Pirkle: 362