Global Modulator + global_mod node crashes Hise when quitting
-
@Christoph-Hart Straight crash when quitting Hise:
HiseSnippet 1426.3oc2W80aiTCD2aSbt1vgfSbOABo7XO3nJauzPq3AZSZyQDMsQ2FJmDOT4tqShU8Zurq21FP7NuwWI9HvGE9F.iWuI6tsos4xcTchDon3YFOyOO+wy39gRWZTjLDYUcvj.Jx5wXmIB031iILAp69HqOC+Rt7LBumzKlSTLoncHIZ7.ZjB0ZR.IJh5grrJ8R8FrVqLJ4ye+ssHbhvklQBgNQxboGx7YpLp8286YbdGhGc.yOmzM1sqKXJIWFCfqDtNJf3dNYD8HhVrUvnuCPAx5KvMoasc8Wrccpm21zMa1XX8lM2rwVCsaP25rM2oAo9Na5sCE1TkC7XJYnihnnQHqxsjdSbFKuTXLvIrH1YbpdgMxArrgbGI2SeD0TQsGy3d8m50hPHKb+LeXIiO7o3dLO1L5Y9xONgQsrcj2AZsRQ3Up.7ryCu54f2bfjUNHU1.omfcbCYApLNZ77A3tBEMbHAhS4ghQVj0ehaKAADpM7ImS6DBKlsg0aVu9yqA+7ruYXrvUmXTSJNRpnGKV+YU+0pqU82pV65rFNbt7zlITx4zv4xVmZDdWabcQr+YzvmW6BBOlNSP33WzmhuceZ9Ptq4TmSPonqfoNNfJtsDATpqB92OzcehhnCDoz.4BngJlFBV6Su.JCLgk0v6SiNWICfBgaDyfrESMWwTHcgVVwXg3lN3HhXpI4KDemkWsnP7I39Lk634iwUlCFAO0+EXLsZ7CwGLbH0UkAvx3Nu9AnzCare0zROvlZi+3zk057Z6Bf3nX+8YQAbxjVw.fC0oqVVvQZZ03uiyx7CBoAjP5.YeP90iH9Ab5q.v+7Zmwktm6v9E5MKWBLXqkVh0cGSDBJOZYppprvtK66NZ8JYrhIF0inBYWAmWvG3.W36RamhNsOXEcwkYcc8ZcBiCU3kr3efOoLsm4v.l1SYlqt7Hp5RY34Iwoz+irV0DThRbxmN7J.9fuWm0Z8Hb8Mfun83b4ksk9Arz7YHZkPqujOIXrTvb0jLRLE564KiAqlh+rhgVSiOSOJPerADFWWa3DGA2v3crvAzSRySct4QRO3eOpCwE74S5STi00X56nfDZZ3FtyRrKbLxxszNeSayBBniX8Ig.CUR1VhXfsl1z0.O3T4qce5VtPRJv23+R.UEsUqh8kdFPT.iOMGFmIw7PUNErL1+w3QISnbJnEzM7RgzMxwd9NkbBbO.nrNHyoWM8B9qUwdcJv5tBO5U56b9JnqQN2sdxgoqfCROl3DcUFPVm0g5QtJccErcSffihFjl1fsg05S9ivFsWXm6SGRh4pBzP4LE91MUdMaHUfw00r80zbk6Syy6L7QSGfxgMRP3uYmk6zhadKVrhtoEcocZUfH4s30LySY5ts.dtroBxeAw.R3HpJoWVtrkBRmzlQuBZhthoDnazIZttYdP3dm2ZEzRJO2mjbk4a8TMqZX9oEeOAL3vzKIRbgedJ6Zy3Wal.12wCN9qE8AGAK7CNt9vikWr1b2y6EJ+d26EVz459jaDZhd.m9rvnUOw.SL9vNGm5of+kAL66GXsXARNQeCcoNgzeNF52li+p6pyP5lkfs6er6ORtfNTF5mljOSSGRGA1LOkAT+.I7NZ27IiN9RoZLLsSw7tmt6gRYvABB3E7xqj9iIQ5GLEQUETCn1AxdjHnrtsdVh7L6NR.M7LOBKO81wQJo+zCPRqL8MiIEzV+DtYiMfOC+R8u6zF94EG+tY8axf828nhVqrvYo5LgYgbcNw6guQxfxYIdumhx67kbk9e8K4dPdZhQ4l1pOHFzm3FJO0077NcU0pIT.mfHYT30v8zqqYitvLCPVf0G5DcpqaQUciMt4xtwWrrarwxtwsV1M1bY23Wurab66ei5AE1KFtj2TmBCT1+.y06Vy5sXUB8u.N0u7A.
Stack trace
#0 0x000000010302b3f4 in scriptnode::OpaqueNode::getObjectPtr() const at Hise/hi_dsp_library/node_api/nodes/OpaqueNode.h:250 #1 0x000000010302b5ec in scriptnode::OpaqueNode::connectToRuntimeTarget(bool, hise::runtime_target::connection const&) at Hise/hi_dsp_library/node_api/nodes/OpaqueNode.cpp:100 #2 0x0000000102c53510 in hise::GlobalModulatorContainer::RuntimeSource::clear() at Hise/hi_core/hi_modules/synthesisers/synths/GlobalModulatorContainer.cpp:422 #3 0x0000000102c53290 in hise::GlobalModulatorContainer::~GlobalModulatorContainer() at Hise/hi_core/hi_modules/synthesisers/synths/GlobalModulatorContainer.cpp:152 #4 0x0000000102c535dc in hise::GlobalModulatorContainer::~GlobalModulatorContainer() at Hise/hi_core/hi_modules/synthesisers/synths/GlobalModulatorContainer.cpp:147 #5 0x0000000102c536d0 in hise::GlobalModulatorContainer::~GlobalModulatorContainer() at Hise/hi_core/hi_modules/synthesisers/synths/GlobalModulatorContainer.cpp:147 #6 0x00000001026bed3c in hise::MainController::GlobalAsyncModuleHandler::addPendingUIJob(hise::Processor*, hise::MainController::GlobalAsyncModuleHandler::What)::$_36::operator()(hise::Dispatchable*) const at Hise/hi_core/hi_core/GlobalAsyncModuleHandler.cpp:135 #7 0x00000001026be7cc in hise::MainController::GlobalAsyncModuleHandler::addPendingUIJob(hise::Processor*, hise::MainController::GlobalAsyncModuleHandler::What) at Hise/hi_core/hi_core/GlobalAsyncModuleHandler.cpp:141 #8 0x00000001026be4f0 in hise::MainController::GlobalAsyncModuleHandler::removeAsync(hise::Processor*, std::__1::function<hise::SafeFunctionCall::Status (hise::Processor*)> const&) at Hise/hi_core/hi_core/GlobalAsyncModuleHandler.cpp:60 #9 0x0000000102841bd4 in hise::Chain::Handler::clearAsync(hise::Processor*) at Hise/hi_core/hi_dsp/ProcessorInterfaces.cpp:885 #10 0x00000001028b5fdc in hise::ModulatorSynthChain::reset() at Hise/hi_core/hi_dsp/modules/ModulatorSynthChain.cpp:446 #11 0x0000000102690b90 in hise::MainController::clearPreset(juce::NotificationType)::$_14::operator()(hise::Processor*) const at Hise/hi_core/hi_core/MainController.cpp:430 #12 0x0000000102690890 in hise::MainController::clearPreset(juce::NotificationType) at Hise/hi_core/hi_core/MainController.cpp:454 #13 0x000000010228a698 in hise::BackendProcessor::~BackendProcessor() at Hise/hi_backend/backend/BackendProcessor.cpp:426 #14 0x000000010228ab6c in hise::BackendProcessor::~BackendProcessor() at Hise/hi_backend/backend/BackendProcessor.cpp:392 #15 0x000000010228acd0 in hise::BackendProcessor::~BackendProcessor() at Hise/hi_backend/backend/BackendProcessor.cpp:392 #16 0x000000010282d088 in juce::ContainerDeletePolicy<juce::AudioProcessor>::destroy(juce::AudioProcessor*) at Hise/JUCE/modules/juce_core/memory/juce_ContainerDeletePolicy.h:54 #17 0x000000010282d490 in juce::ScopedPointer<juce::AudioProcessor>::reset(juce::AudioProcessor*) at Hise/JUCE/modules/juce_core/memory/juce_ScopedPointer.h:105 #18 0x00000001026ffe70 in juce::ScopedPointer<juce::AudioProcessor>::operator=(juce::AudioProcessor*) at Hise/JUCE/modules/juce_core/memory/juce_ScopedPointer.h:71 #19 0x00000001027000d4 in hise::StandaloneProcessor::~StandaloneProcessor() at Hise/hi_core/hi_core/StandaloneProcessor.cpp:269 #20 0x0000000102700160 in hise::StandaloneProcessor::~StandaloneProcessor() at Hise/hi_core/hi_core/StandaloneProcessor.cpp:262 #21 0x0000000102230c48 in juce::ContainerDeletePolicy<hise::StandaloneProcessor>::destroy(hise::StandaloneProcessor*) at Hise/JUCE/modules/juce_core/memory/juce_ContainerDeletePolicy.h:54 #22 0x0000000102230cb0 in juce::ScopedPointer<hise::StandaloneProcessor>::reset(hise::StandaloneProcessor*) at Hise/JUCE/modules/juce_core/memory/juce_ScopedPointer.h:105 #23 0x0000000102213ea8 in juce::ScopedPointer<hise::StandaloneProcessor>::operator=(hise::StandaloneProcessor*) at Hise/JUCE/modules/juce_core/memory/juce_ScopedPointer.h:71 #24 0x0000000102214d5c in MainContentComponent::~MainContentComponent() at Hise/projects/standalone/Source/Main.cpp:1059 #25 0x0000000102214e14 in MainContentComponent::~MainContentComponent() at Hise/projects/standalone/Source/Main.cpp:1054 #26 0x0000000102214e78 in MainContentComponent::~MainContentComponent() at Hise/projects/standalone/Source/Main.cpp:1054 #27 0x0000000104c99658 in juce::Component::SafePointer<juce::Component>::deleteAndZero() at Hise/JUCE/modules/juce_gui_basics/components/juce_Component.h:2305 #28 0x0000000105351180 in juce::ResizableWindow::clearContentComponent() at Hise/JUCE/modules/juce_gui_basics/windows/juce_ResizableWindow.cpp:107 #29 0x000000010533e2e4 in juce::ResizableWindow::~ResizableWindow() at Hise/JUCE/modules/juce_gui_basics/windows/juce_ResizableWindow.cpp:54 #30 0x000000010534dfb0 in juce::DocumentWindow::~DocumentWindow() at Hise/JUCE/modules/juce_gui_basics/windows/juce_DocumentWindow.cpp:79 #31 0x000000010222b748 in HISEStandaloneApplication::MainWindow::~MainWindow() at Hise/projects/standalone/Source/Main.cpp:878 #32 0x000000010222b304 in HISEStandaloneApplication::MainWindow::~MainWindow() at Hise/projects/standalone/Source/Main.cpp:878 #33 0x000000010222b330 in HISEStandaloneApplication::MainWindow::~MainWindow() at Hise/projects/standalone/Source/Main.cpp:878
Crash report
Thread 0 Crashed:: JUCE Message Thread Dispatch queue: com.apple.main-thread 0 HISE Faust 0x100c6b908 hise::runtime_target::indexable_target<hise::runtime_target::indexers::fix_hash<1>, (hise::runtime_target::RuntimeTarget)4, scriptnode::modulation::SignalSource>::connectToRuntimeTarget(bool, hise::runtime_target::connection const&) + 96 1 HISE Faust 0x100d0eaa0 hise::GlobalModulatorContainer::~GlobalModulatorContainer() + 504 2 HISE Faust 0x100d0c6f8 non-virtual thunk to hise::GlobalModulatorContainer::~GlobalModulatorContainer() + 16 3 HISE Faust 0x10093ed18 hise::MainController::GlobalAsyncModuleHandler::addPendingUIJob(hise::Processor*, hise::MainController::GlobalAsyncModuleHandler::What)::$_36::operator()(hise::Dispatchable*) const + 828 4 HISE Faust 0x10091c9b8 hise::MainController::clearPreset(juce::NotificationType)::$_14::operator()(hise::Processor*) const + 1636 5 HISE Faust 0x10091bc30 hise::MainController::clearPreset(juce::NotificationType) + 448 6 HISE Faust 0x1006cc9b0 hise::BackendProcessor::~BackendProcessor() + 736 7 HISE Faust 0x1006cbf60 non-virtual thunk to hise::BackendProcessor::~BackendProcessor() + 16 8 HISE Faust 0x10094fbb4 hise::StandaloneProcessor::~StandaloneProcessor() + 452 9 HISE Faust 0x10066448c MainContentComponent::~MainContentComponent() + 108 10 HISE Faust 0x1006641b0 MainContentComponent::~MainContentComponent() + 12 11 HISE Faust 0x101fc36fc juce::ResizableWindow::~ResizableWindow() + 248 12 HISE Faust 0x100672f74 HISEStandaloneApplication::MainWindow::~MainWindow() + 12 13 HISE Faust 0x101edea6c juce::AppDelegateClass::applicationWillTerminate(objc_object*, objc_selector*, NSNotification*) + 80 14 CoreFoundation 0x186ba8500 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148 15 CoreFoundation 0x186c3c62c ___CFXRegistrationPost_block_invoke + 88 16 CoreFoundation 0x186c3c574 _CFXRegistrationPost + 440 17 CoreFoundation 0x186b7716c _CFXNotificationPost + 764 18 Foundation 0x187c6bf50 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88 19 AppKit 0x18a59d7b0 -[NSApplication terminate:] + 1644 20 AppKit 0x18a535f44 -[NSApplication(NSResponder) sendAction:to:from:] + 460 21 AppKit 0x18a5ff6c8 -[NSMenuItem _corePerformAction] + 372 22 AppKit 0x18aba60e4 _NSMenuPerformActionWithHighlighting + 152 23 AppKit 0x18aa22250 -[NSMenu _performActionForItem:atIndex:fromEvent:] + 212 24 AppKit 0x18a5fe8e0 -[NSMenu performKeyEquivalent:] + 356 25 AppKit 0x18ab7cad8 routeKeyEquivalent + 444 26 AppKit 0x18ab7abd8 -[NSApplication(NSEventRouting) sendEvent:] + 700 27 AppKit 0x18a7cb5bc -[NSApplication _handleEvent:] + 60 28 AppKit 0x18a3843a0 -[NSApplication run] + 512 29 HISE Faust 0x100675058 main + 296 30 dyld 0x1867550e0 start + 2360
-
@ustk think I've been having the same, will check in the morning