SIGABRT in DSPBase::addCreateFunction
jumbopilot opened this issue · comments
macOS Version(s) Used to Build
macOS 13 Ventura
Xcode Version(s)
Xcode Version 15.0 beta 4 (15A5195m)
Description
Pre-Condition: Use AudioKit 5.6.0
Action: Compile, Build and Run the project using a DryMixer
Observed: Target instantiation ends with signal SIGABRT in DSPBase:327: assert(factoryMap->count(name) == 0 && "redundant DSP kernel registration");
0x10107fd00 <+0>: pushq %rbp
0x10107fd01 <+1>: movq %rsp, %rbp
0x10107fd04 <+4>: leaq 0x1e564a(%rip), %rdi ; __registerDryWetDualMixerDSP
0x10107fd0b <+11>: leaq 0xc4cfe(%rip), %rsi ; "dwm2"
0x10107fd12 <+18>: callq 0x101068630 ; DSPRegistration::DSPRegistration at DSPBase.h:246
-> 0x10107fd17 <+23>: popq %rbp
0x10107fd18 <+24>: retq
0x10107fd19 <+25>: nopl (%rax)
Expected: No assertion "redundant DSP kernel registration" in DSPBase
There was a similar issue in DunneAudioKit (AudioKit/DunneAudioKit@5718ef0). The same probably needs to be applied to the other AudioKit packages. DryWetDualMixer is in AudioKitEX. #include <cassert>