We have developed the Panner and Return plug-ins based on VST3.7.3. The plug-ins are signed by Apple’s enterprise certificate and use the x86_64-bit architecture. However, the plug-in manager of Nuendo 11 often identifies our plug-ins as blocklisted and prompts “32-bit plug-ins are not supported.”
This can only happen if your plug-in crashes when we scan it or if the bundle can not be loaded due to unresolved external dependencies. In case of a crash there should be crashlogs on the systems where this happens which may give you a clue why it crashes.
Nuendo always crashes once upon the first startup after install my vst3 plugins. After the Nuendo is restarted, the Nuendo does not crash again. The attachment is the crash file. Thanks a lot.
nuendo-7.crash (148 KB)
hi,Arne_Scheffler can you tell us more something about “plug-in crashes when we scan it or if the bundle can not be loaded due to unresolved external dependencies”?
We step into this bug, InitModule()-BEGIN_FACTORY_DEF-DeinitModule(), in BEGIN_FACTORY_DEF, our project’s VST plugins VstProcessor and VstController are added, Nuendo crashes after executing DeinitModule(), but but VstProcessor ::createInstance and VstController::createInstance are not step in;
How should we do to fix this bug?
BEGIN_FACTORY_DEF (“xxx”,
“yyy”,
“zzz”)
//---First Plug-in included in this factory-------
// its kVstAudioEffectClass component
DEF_CLASS2 (INLINE_UID_FROM_FUID(kVstProcessorUID),
PClassInfo::kManyInstances, // cardinality
kVstAudioEffectClass, // the component category (do not changed this)
stringPluginName, // here the Plug-in name (to be changed)
Vst::kDistributable, // means that component and controller could be distributed on different computers
PlugType::kSpatialFx, // Subcategory for this Plug-in (to be changed)
FULL_VERSION_STR, // Plug-in version (to be changed)
kVstVersionString, // the VST 3 SDK version (do not changed this, use always this define)
VstProcessor::createInstance) // function pointer called when this component should be instantiated
// its kVstComponentControllerClass component
DEF_CLASS2 (INLINE_UID_FROM_FUID (kVstControllerUID),
PClassInfo::kManyInstances, // cardinality
kVstComponentControllerClass,// the Controller category (do not changed this)
stringPluginName "Controller", // controller name (could be the same than component name)
0, // not used here
"", // not used here
FULL_VERSION_STR, // Plug-in version (to be changed)
kVstVersionString, // the VST 3 SDK version (do not changed this, use always this define)
VstController::createInstance)// function pointer called when this component should be instantiated
//----for others Plug-ins contained in this factory, put like for the first Plug-in different DEF_CLASS2---
END_FACTORY
bool InitModule () {
return true;
}
bool DeinitModule () {
return true;
}
crash log:
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000014578d2b8
Exception Codes: 0x0000000000000001, 0x000000014578d2b8
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [7465]
VM Region Info: 0x14578d2b8 is not in any region. Bytes after previous region: 1159865 Bytes before following region: 6577480
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
mapped file 1455c0000-145672000 [ 712K] r–/rwx SM=COW …t_id=a0c98ce9
—> GAP OF 0x761000 BYTES
__TEXT 145dd3000-146227000 [ 4432K] r-x/rwx SM=COW …nts/MacOS/gac
Kernel Triage:
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x7ff819ee36bd getMethodNoSuper_nolock(objc_class*, objc_selector*) + 165
1 libobjc.A.dylib 0x7ff819ee59da lookUpImpOrForward + 390
Thread 1:: com.apple.rosetta.exceptionserver
0 runtime 0x7ff7ffbc8944 0x7ff7ffbc4000 + 18756
1 runtime 0x7ff7ffbd63e0 0x7ff7ffbc4000 + 74720
2 runtime 0x7ff7ffbd7e58 0x7ff7ffbc4000 + 81496
Thread 2:: WatchdogThread
0 ??? 0x7ff8aa4e6940 ???
1 libsystem_kernel.dylib 0x7ff81a0149ce semaphore_timedwait_trap + 10
2 Nuendo 12 0x107c82752 0x104ce1000 + 49944402
3 Nuendo 12 0x10827d728 0x104ce1000 + 56215336
4 Nuendo 12 0x1083ec892 0x104ce1000 + 57718930
5 libsystem_pthread.dylib 0x7ff81a0514e1 _pthread_start + 125
6 libsystem_pthread.dylib 0x7ff81a04cf6b thread_start + 15
As the crash is in libobjc.A.dylib, it’s most likely that your plug-in somehow corrupts the Objective-C cache. Do you use custom Objective-C Protocols, or any other Objective-C runtime type mangling?