Started validating: VST-convolutiondemo-1f32aa39-49743779 Attempting to load VST: /Users/lucacapozzi/Library/Audio/Plug-Ins/VST/convolutiondemo.vst Creating VST instance: convolutiondemo Initialising VST: convolutiondemo (0.0.1.0) Random seed: 0x79af647 Validation started: 10 Jul 2020 7:41:04pm Strictness level: 10 Testing plugin: VST-convolutiondemo-1f32aa39-49743779 yourcompany: convolutiondemo v0.0.1.0 ----------------------------------------------------------------- ----------------------------------------------------------------- Starting test: pluginval / Background thread state... ================================================================= ==2349==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60f000038400 at pc 0x000103788911 bp 0x700004487dd0 sp 0x700004487580 WRITE of size 256 at 0x60f000038400 thread T21 2020-07-10 19:41:07.073091+0200 atos[2363:23279] examining /Users/USER/Documents/*/pluginval.app/Contents/MacOS/pluginval [2349] Time taken to run test: 2 secs All tests completed successfully ----------------------------------------------------------------- Starting test: pluginval / Allocations during process... Testing with sample rate [44100] and block size [64] #0 0x103788910 in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x56910) #1 0x1134bd265 in juce::FloatVectorOperations::copy(float*, float const*, int) juce_FloatVectorOperations.cpp:542 #2 0x113d032c7 in juce::dsp::ConvolutionEngine::processSamplesWithAddedLatency(float const*, float*, unsigned long) juce_Convolution.cpp:301 #3 0x113d02aef in juce::dsp::MultichannelEngine::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&) juce_Convolution.cpp:489 #4 0x113d026db in juce::dsp::Convolution::Impl::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&)::'lambda0'(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&)::operator()(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&) const juce_Convolution.cpp:1039 #5 0x113d023db in void juce::dsp::CrossoverMixer::processSamples const&, juce::dsp::AudioBlock&)::'lambda'(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&), juce::dsp::Convolution::Impl::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&)::'lambda0'(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&), juce::dsp::Convolution::Impl::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&)::'lambda'()>(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&, juce::dsp::Convolution::Impl::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&)::'lambda'(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&)&&, juce::dsp::Convolution::Impl::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&)::'lambda0'(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&)&&, juce::dsp::Convolution::Impl::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&)::'lambda'()&&) juce_Convolution.cpp:946 #6 0x113d020d8 in juce::dsp::Convolution::Impl::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&) juce_Convolution.cpp:1030 #7 0x113d01c2f in auto juce::dsp::Convolution::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&, bool)::$_1::operator(), juce::dsp::AudioBlock >(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&) const juce_Convolution.cpp:1263 #8 0x113c4cea7 in void juce::dsp::Convolution::Mixer::processSamples const&, juce::dsp::AudioBlock&, bool)::$_1>(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&, bool, juce::dsp::Convolution::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&, bool)::$_1&&) juce_Convolution.cpp:1151 #9 0x113c4c81b in juce::dsp::Convolution::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&, bool) juce_Convolution.cpp:1261 #10 0x1134b643b in void juce::dsp::Convolution::process, 0>(juce::dsp::ProcessContextReplacing const&) juce_Convolution.h:182 #11 0x1134b4cbc in MyPlugin::processBlock(juce::AudioBuffer&, juce::MidiBuffer&) ConvolutionBugTest_J6.h:65 #12 0x1134a67e4 in void JuceVSTWrapper::internalProcessReplacing(float**, float**, int, JuceVSTWrapper::VstTempBuffers&) juce_VST_Wrapper.cpp:508 #13 0x1134a5684 in JuceVSTWrapper::processReplacing(float**, float**, int) juce_VST_Wrapper.cpp:562 #14 0x11346fa02 in JuceVSTWrapper::processReplacingCB(Vst2::AEffect*, float**, float**, int) juce_VST_Wrapper.cpp:567 #15 0x1006f32d4 in juce::VSTPluginInstance::invokeProcessFunction(juce::AudioBuffer&, int) juce_VSTPluginFormat.cpp:2443 #16 0x1006f19c8 in void juce::VSTPluginInstance::processAudio(juce::AudioBuffer&, juce::MidiBuffer&, juce::AudioBuffer&, juce::HeapBlock&, bool) juce_VSTPluginFormat.cpp:2419 #17 0x1005a2580 in juce::VSTPluginInstance::processBlock(juce::AudioBuffer&, juce::MidiBuffer&) juce_VSTPluginFormat.cpp:1433 #18 0x1000e5ecd in AllocationsInRealTimeThreadTest::runTest(PluginTests&, juce::AudioPluginInstance&) ExtremeTests.cpp:65 #19 0x10009197a in PluginTests::testType(juce::PluginDescription const&) PluginTests.cpp:192 #20 0x10008f9b0 in PluginTests::runTest() PluginTests.cpp:107 #21 0x10093d733 in juce::UnitTest::performTest(juce::UnitTestRunner*) juce_UnitTest.cpp:77 #22 0x10093fb39 in juce::UnitTestRunner::runTests(juce::Array const&, long long) juce_UnitTest.cpp:165 #23 0x1001169fc in runTests(PluginTests&, std::__1::function) Validator.cpp:205 #24 0x100116079 in validate(juce::PluginDescription const&, PluginTests::Options, std::__1::function) Validator.cpp:218 #25 0x100113e8e in ValidatorSlaveProcess::processRequest(juce::MemoryBlock) Validator.cpp:511 #26 0x10011132c in ValidatorSlaveProcess::processRequests() Validator.cpp:457 #27 0x10010d0bb in ValidatorSlaveProcess::run() Validator.cpp:424 #28 0x1009276a5 in juce::Thread::threadEntryPoint() juce_Thread.cpp:96 #29 0x100928134 in juce::juce_threadEntryPoint(void*) juce_Thread.cpp:118 #30 0x1009aaa75 in juce::threadEntryProc(void*) juce_posix_SharedCode.h:838 #31 0x1046ecdc2 in _pthread_body (libsystem_pthread.dylib:x86_64+0x3dc2) #32 0x1046efe8c in _pthread_start (libsystem_pthread.dylib:x86_64+0x6e8c) #33 0x1046ebe10 in thread_start (libsystem_pthread.dylib:x86_64+0x2e10) 0x60f000038400 is located 0 bytes to the right of 176-byte region [0x60f000038350,0x60f000038400) allocated by thread T30 here: #0 0x10378b143 in wrap_malloc (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x59143) #1 0x1134b7630 in void juce::HeapBlock::malloc(unsigned long, unsigned long) juce_HeapBlock.h:255 #2 0x1134b6cd6 in juce::AudioBuffer::allocateData() juce_AudioSampleBuffer.h:1139 #3 0x1134b69f9 in juce::AudioBuffer::AudioBuffer(int, int) juce_AudioSampleBuffer.h:106 #4 0x1134b62e0 in juce::AudioBuffer::AudioBuffer(int, int) juce_AudioSampleBuffer.h:104 #5 0x113c94179 in juce::dsp::MultichannelEngine::MultichannelEngine(juce::AudioBuffer const&, int, int, juce::dsp::Convolution::NonUniform, bool) juce_Convolution.cpp:432 #6 0x113c93e52 in juce::dsp::MultichannelEngine::MultichannelEngine(juce::AudioBuffer const&, int, int, juce::dsp::Convolution::NonUniform, bool) juce_Convolution.cpp:437 #7 0x113c930b0 in std::__1::__unique_if::__unique_single std::__1::make_unique&, unsigned int&, int const&, juce::dsp::Convolution::NonUniform const&, bool const&>(juce::AudioBuffer&&&, unsigned int&&&, int const&&&, juce::dsp::Convolution::NonUniform const&&&, bool const&&&) memory:3128 #8 0x113c8ccc5 in juce::dsp::ConvolutionEngineFactory::makeEngine() juce_Convolution.cpp:770 #9 0x113c8af2f in juce::dsp::ConvolutionEngineFactory::setImpulseResponse(juce::dsp::BufferWithSampleRate&&, juce::dsp::Convolution::Stereo, juce::dsp::Convolution::Trim, juce::dsp::Convolution::Normalise) juce_Convolution.cpp:748 #10 0x113ca3391 in juce::dsp::ConvolutionEngineQueue::loadImpulseResponse(juce::AudioBuffer&&, double, juce::dsp::Convolution::Stereo, juce::dsp::Convolution::Trim, juce::dsp::Convolution::Normalise)::'lambda'(juce::dsp::ConvolutionEngineFactory&)::operator()(juce::dsp::ConvolutionEngineFactory&) juce_Convolution.cpp:843 #11 0x113ca2f80 in void juce::dsp::ConvolutionEngineQueue::callLater&&, double, juce::dsp::Convolution::Stereo, juce::dsp::Convolution::Trim, juce::dsp::Convolution::Normalise)::'lambda'(juce::dsp::ConvolutionEngineFactory&)>(juce::dsp::ConvolutionEngineQueue::loadImpulseResponse(juce::AudioBuffer&&, double, juce::dsp::Convolution::Stereo, juce::dsp::Convolution::Trim, juce::dsp::Convolution::Normalise)::'lambda'(juce::dsp::ConvolutionEngineFactory&)&&)::'lambda'()::operator()() juce_Convolution.cpp:901 #12 0x113ca2dc4 in std::__1::enable_if::value, void>::type juce::dsp::detail::call&&, double, juce::dsp::Convolution::Stereo, juce::dsp::Convolution::Trim, juce::dsp::Convolution::Normalise)::'lambda'(juce::dsp::ConvolutionEngineFactory&)>(juce::dsp::ConvolutionEngineQueue::loadImpulseResponse(juce::AudioBuffer&&, double, juce::dsp::Convolution::Stereo, juce::dsp::Convolution::Trim, juce::dsp::Convolution::Normalise)::'lambda'(juce::dsp::ConvolutionEngineFactory&)&&)::'lambda'(), void>(void*) juce_FixedSizeFunction.h:61 #13 0x113cf9e5d in juce::dsp::FixedSizeFunction<400ul, void ()>::operator()() const juce_FixedSizeFunction.h:200 #14 0x113cf9d88 in juce::dsp::BackgroundMessageQueue::run()::'lambda'(juce::dsp::FixedSizeFunction<400ul, void ()>&)::operator()(juce::dsp::FixedSizeFunction<400ul, void ()>&) const juce_Convolution.cpp:102 #15 0x113cf9d64 in void juce::dsp::Queue >::popN&)>(int, juce::dsp::BackgroundMessageQueue::run()::'lambda'(juce::dsp::FixedSizeFunction<400ul, void ()>&)&&)::'lambda'(int)::operator()(int) const juce_Convolution.cpp:67 #16 0x113cf9b5f in void juce::AbstractFifo::ScopedReadWrite<(juce::AbstractFifo::ReadOrWrite)0>::forEach >::popN&)>(int, juce::dsp::BackgroundMessageQueue::run()::'lambda'(juce::dsp::FixedSizeFunction<400ul, void ()>&)&&)::'lambda'(int)>(juce::dsp::BackgroundMessageQueue::run()::'lambda'(juce::dsp::FixedSizeFunction<400ul, void ()>&)&&) const juce_AbstractFifo.h:248 #17 0x113cf98e0 in void juce::dsp::Queue >::popN&)>(int, juce::dsp::BackgroundMessageQueue::run()::'lambda'(juce::dsp::FixedSizeFunction<400ul, void ()>&)&&) juce_Convolution.cpp:65 #18 0x113cf9704 in void juce::dsp::Queue >::pop&)>(juce::dsp::BackgroundMessageQueue::run()::'lambda'(juce::dsp::FixedSizeFunction<400ul, void ()>&)&&) juce_Convolution.cpp:54 #19 0x113cf7cb8 in juce::dsp::BackgroundMessageQueue::run() juce_Convolution.cpp:102 #20 0x113a02745 in juce::Thread::threadEntryPoint() juce_Thread.cpp:96 #21 0x113a031d4 in juce::juce_threadEntryPoint(void*) juce_Thread.cpp:118 #22 0x113a85ef5 in juce::threadEntryProc(void*) juce_posix_SharedCode.h:838 #23 0x1046ecdc2 in _pthread_body (libsystem_pthread.dylib:x86_64+0x3dc2) #24 0x1046efe8c in _pthread_start (libsystem_pthread.dylib:x86_64+0x6e8c) #25 0x1046ebe10 in thread_start (libsystem_pthread.dylib:x86_64+0x2e10) Thread T21 created by T0 here: #0 0x1037831cd in wrap_pthread_create (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x511cd) #1 0x10092862f in juce::Thread::launchThread() juce_posix_SharedCode.h:895 #2 0x10092827d in juce::Thread::startThread() juce_Thread.cpp:130 #3 0x100928d91 in juce::Thread::startThread(int) juce_Thread.cpp:152 #4 0x10010ccbe in ValidatorSlaveProcess::ValidatorSlaveProcess() Validator.cpp:306 #5 0x10010c984 in ValidatorSlaveProcess::ValidatorSlaveProcess() Validator.cpp:301 #6 0x100107307 in std::__1::__unique_if::__unique_single std::__1::make_unique() memory:3128 #7 0x10010684b in ValidatorMasterProcess::launchInProcess() Validator.cpp:570 #8 0x10010389d in Validator::ensureConnection() Validator.cpp:753 #9 0x10010479d in Validator::validate(juce::Array const&, PluginTests::Options) Validator.cpp:714 #10 0x10006ed0c in MainComponent::MainComponent(Validator&)::$_5::operator()() const MainComponent.cpp:227 #11 0x10006eadc in decltype(std::__1::forward(fp)()) std::__1::__invoke(MainComponent::MainComponent(Validator&)::$_5&&&) type_traits:4339 #12 0x10006ea8c in void std::__1::__invoke_void_return_wrapper::__call(MainComponent::MainComponent(Validator&)::$_5&&&) __functional_base:349 #13 0x10006b8e0 in std::__1::__function::__func, void ()>::operator()() functional:1562 #14 0x100126b2d in std::__1::function::operator()() const functional:1913 #15 0x100fda247 in juce::Button::sendClickMessage(juce::ModifierKeys const&) juce_Button.cpp:407 #16 0x100fdb64a in juce::Button::internalClickCallback(juce::ModifierKeys const&) juce_Button.cpp:350 #17 0x100fdca0a in juce::Button::mouseUp(juce::MouseEvent const&) juce_Button.cpp:470 #18 0x100f8d29b in juce::Component::internalMouseUp(juce::MouseInputSource, juce::Point, juce::Time, juce::ModifierKeys, float, float, float, float, float) juce_Component.cpp:2434 #19 0x1012b59cc in juce::MouseInputSourceInternal::sendMouseUp(juce::Component&, juce::Point, juce::Time, juce::ModifierKeys) juce_MouseInputSource.cpp:154 #20 0x1012abc3b in juce::MouseInputSourceInternal::setButtons(juce::Point, juce::Time, juce::ModifierKeys) juce_MouseInputSource.cpp:196 #21 0x100fa111d in juce::MouseInputSourceInternal::handleEvent(juce::ComponentPeer&, juce::Point, juce::Time, juce::ModifierKeys, float, float, juce::PenDetails) juce_MouseInputSource.cpp:333 #22 0x100f9f97e in juce::MouseInputSource::handleEvent(juce::ComponentPeer&, juce::Point, long long, juce::ModifierKeys, float, float, juce::PenDetails const&) juce_MouseInputSource.cpp:633 #23 0x10123e922 in juce::ComponentPeer::handleMouseEvent(juce::MouseInputSource::InputSourceType, juce::Point, juce::ModifierKeys, float, float, long long, juce::PenDetails, int) juce_ComponentPeer.cpp:87 #24 0x10142f324 in juce::NSViewComponentPeer::sendMouseEvent(NSEvent*) juce_mac_NSViewComponentPeer.mm:724 #25 0x10143031c in juce::NSViewComponentPeer::redirectMouseUp(NSEvent*) juce_mac_NSViewComponentPeer.mm:606 #26 0x101423b38 in juce::JuceNSViewClass::asyncMouseUp(objc_object*, objc_selector*, NSEvent*) juce_mac_NSViewComponentPeer.mm:1704 #27 0x101423a56 in juce::JuceNSViewClass::mouseUp(objc_object*, objc_selector*, NSEvent*) juce_mac_NSViewComponentPeer.mm:1693 #28 0x7fff357a0019 in -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] (AppKit:x86_64+0x186019) #29 0x7fff3579f666 in -[NSWindow(NSEventRouting) sendEvent:] (AppKit:x86_64+0x185666) #30 0x7fff3563ee6a in -[NSApplication(NSEvent) sendEvent:] (AppKit:x86_64+0x24e6a) #31 0x7fff3562d5df in -[NSApplication run] (AppKit:x86_64+0x135df) #32 0x100b0abf7 in juce::MessageManager::runDispatchLoop() juce_mac_MessageManager.mm:343 #33 0x100b0a9da in juce::JUCEApplicationBase::main() juce_ApplicationBase.cpp:262 #34 0x100b0a688 in juce::JUCEApplicationBase::main(int, char const**) juce_ApplicationBase.cpp:240 #35 0x10002bce1 in main Main.cpp:185 #36 0x7fff6403e3d4 in start (libdyld.dylib:x86_64+0x163d4) Thread T30 created by T0 here: #0 0x1037831cd in wrap_pthread_create (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x511cd) #1 0x113a036cf in juce::Thread::launchThread() juce_posix_SharedCode.h:895 #2 0x113a0331d in juce::Thread::startThread() juce_Thread.cpp:130 #3 0x113cf79f9 in juce::dsp::BackgroundMessageQueue::BackgroundMessageQueue(int) juce_Convolution.cpp:81 #4 0x113cf7814 in juce::dsp::ConvolutionMessageQueue::Impl::Impl(int) juce_Convolution.cpp:113 #5 0x113cf77aa in juce::dsp::ConvolutionMessageQueue::Impl::Impl(int) juce_Convolution.cpp:113 #6 0x113c497e5 in std::__1::__unique_if::__unique_single std::__1::make_unique(int&&&) memory:3128 #7 0x113c4968f in juce::dsp::ConvolutionMessageQueue::ConvolutionMessageQueue(int) juce_Convolution.cpp:121 #8 0x113c4973a in juce::dsp::ConvolutionMessageQueue::ConvolutionMessageQueue(int) juce_Convolution.cpp:122 #9 0x113c49719 in juce::dsp::ConvolutionMessageQueue::ConvolutionMessageQueue() juce_Convolution.cpp:117 #10 0x113c4b077 in std::__1::__unique_if::__unique_single std::__1::make_unique() memory:3128 #11 0x113c4b617 in juce::dsp::Convolution::Convolution(juce::dsp::Convolution::NonUniform const&) juce_Convolution.cpp:1191 #12 0x1134b42b8 in MyPlugin::MyPlugin() ConvolutionBugTest_J6.h:97 #13 0x1134b3e64 in MyPlugin::MyPlugin() ConvolutionBugTest_J6.h:31 #14 0x1134b3e19 in createPluginFilter() Main.cpp:15 #15 0x11346bdd7 in juce::createPluginFilterOfType(juce::AudioProcessor::WrapperType) juce_CreatePluginFilter.h:41 #16 0x11346b54e in (anonymous namespace)::pluginEntryPoint(long long (*)(Vst2::AEffect*, int, int, long long, void*, float)) juce_VST_Wrapper.cpp:2146 #17 0x11346bb06 in main_macho juce_VST_Wrapper.cpp:2192 #18 0x1005fc6f1 in juce::VSTPluginInstance::constructEffect(juce::ReferenceCountedObjectPtr const&) juce_VSTPluginFormat.cpp:2150 #19 0x1004cfcc2 in juce::VSTPluginInstance::create(juce::ReferenceCountedObjectPtr const&, double, int) juce_VSTPluginFormat.cpp:1141 #20 0x1004cef53 in juce::VSTPluginFormat::createPluginInstance(juce::PluginDescription const&, double, int, std::__1::function >, juce::String const&)>) juce_VSTPluginFormat.cpp:3546 #21 0x10049775b in juce::AudioPluginFormat::handleMessage(juce::Message const&) juce_AudioPluginFormat.cpp:95 #22 0x100b0c7ed in juce::Message::messageCallback() juce_MessageListener.cpp:32 #23 0x100b388df in juce::MessageQueue::deliverNextMessage() juce_osx_MessageQueue.h:82 #24 0x100b386a1 in juce::MessageQueue::runLoopCallback() juce_osx_MessageQueue.h:93 #25 0x100b38494 in juce::MessageQueue::runLoopSourceCallback(void*) juce_osx_MessageQueue.h:101 #26 0x7fff380683ba in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ (CoreFoundation:x86_64+0x573ba) #27 0x7fff38068360 in __CFRunLoopDoSource0 (CoreFoundation:x86_64+0x57360) #28 0x7fff3804c26a in __CFRunLoopDoSources0 (CoreFoundation:x86_64+0x3b26a) #29 0x7fff3804b832 in __CFRunLoopRun (CoreFoundation:x86_64+0x3a832) #30 0x7fff3804b134 in CFRunLoopRunSpecific (CoreFoundation:x86_64+0x3a134) #31 0x7fff3729c1aa in RunCurrentEventLoopInMode (HIToolbox:x86_64+0xb1aa) #32 0x7fff3729bee4 in ReceiveNextEventCommon (HIToolbox:x86_64+0xaee4) #33 0x7fff3729bc75 in _BlockUntilNextEventMatchingListInModeWithFilter (HIToolbox:x86_64+0xac75) #34 0x7fff3563479c in _DPSNextEvent (AppKit:x86_64+0x1a79c) #35 0x7fff3563348a in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (AppKit:x86_64+0x1948a) #36 0x7fff3562d5a7 in -[NSApplication run] (AppKit:x86_64+0x135a7) #37 0x100b0abf7 in juce::MessageManager::runDispatchLoop() juce_mac_MessageManager.mm:343 #38 0x100b0a9da in juce::JUCEApplicationBase::main() juce_ApplicationBase.cpp:262 #39 0x100b0a688 in juce::JUCEApplicationBase::main(int, char const**) juce_ApplicationBase.cpp:240 #40 0x10002bce1 in main Main.cpp:185 #41 0x7fff6403e3d4 in start (libdyld.dylib:x86_64+0x163d4) SUMMARY: AddressSanitizer: heap-buffer-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x56910) in __asan_memcpy Shadow bytes around the buggy address: 0x1c1e00007030: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c1e00007040: fd fd fd fd fa fa fa fa fa fa fa fa fd fd fd fd 0x1c1e00007050: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c1e00007060: fd fd fa fa fa fa fa fa fa fa 00 00 00 00 00 00 0x1c1e00007070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x1c1e00007080:[fa]fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x1c1e00007090: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa fa 0x1c1e000070a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x1c1e000070b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x1c1e000070c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x1c1e000070d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc 2020-07-10 19:41:08.142014+0200 pluginval[2349:23137] ================================================================= 2020-07-10 19:41:08.142064+0200 pluginval[2349:23137] ==2349==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60f000038400 at pc 0x000103788911 bp 0x700004487dd0 sp 0x700004487580 2020-07-10 19:41:08.142080+0200 pluginval[2349:23137] WRITE of size 256 at 0x60f000038400 thread T21 2020-07-10 19:41:08.142092+0200 pluginval[2349:23137] #0 0x103788910 in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x56910) 2020-07-10 19:41:08.142106+0200 pluginval[2349:23137] #1 0x1134bd265 in juce::FloatVectorOperations::copy(float*, float const*, int) juce_FloatVectorOperations.cpp:542 2020-07-10 19:41:08.142119+0200 pluginval[2349:23137] #2 0x113d032c7 in juce::dsp::ConvolutionEngine::processSamplesWithAddedLatency(float const*, float*, unsigned long) juce_Convolution.cpp:301 2020-07-10 19:41:08.142135+0200 pluginval[2349:23137] #3 0x113d02aef in juce::dsp::MultichannelEngine::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&) juce_Convolution.cpp:489 2020-07-10 19:41:08.142148+0200 pluginval[2349:23137] #4 0x113d026db in juce::dsp::Convolution::Impl::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&)::'lambda0'(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&)::operator()(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&) const juce_Convolution.cpp:1039 2020-07-10 19:41:08.142172+0200 pluginval[2349:23137] #5 0x113d023db in void juce::dsp::CrossoverMixer::processSamples const&, juce::dsp::AudioBlock&)::'lambda'(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&), juce::dsp::Convolution::Impl::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&)::'lambda0'(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&), juce::dsp::Convolution::Impl::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&)::'lambda'()>(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&, juce::dsp::Convolution::Impl::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&)::'lambda'(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&)&&, juce::dsp::Convolution::Impl::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&)::'lambda0'(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&)&&, juce::dsp::Convolution::Impl::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&)::'lambda'()&&) juce_Convolution.cpp:946 2020-07-10 19:41:08.142575+0200 pluginval[2349:23137] #6 0x113d020d8 in juce::dsp::Convolution::Impl::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&) juce_Convolution.cpp:1030 2020-07-10 19:41:08.142601+0200 pluginval[2349:23137] #7 0x113d01c2f in auto juce::dsp::Convolution::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&, bool)::$_1::operator(), juce::dsp::AudioBlock >(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&) const juce_Convolution.cpp:1263 2020-07-10 19:41:08.142616+0200 pluginval[2349:23137] #8 0x113c4cea7 in void juce::dsp::Convolution::Mixer::processSamples const&, juce::dsp::AudioBlock&, bool)::$_1>(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&, bool, juce::dsp::Convolution::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&, bool)::$_1&&) juce_Convolution.cpp:1151 2020-07-10 19:41:08.142725+0200 pluginval[2349:23137] #9 0x113c4c81b in juce::dsp::Convolution::processSamples(juce::dsp::AudioBlock const&, juce::dsp::AudioBlock&, bool) juce_Convolution.cpp:1261 2020-07-10 19:41:08.142741+0200 pluginval[2349:23137] #10 0x1134b643b in void juce::dsp::Convolution::process, 0>(juce::dsp::ProcessContextReplacing const&) juce_Convolution.h:182 2020-07-10 19:41:08.142753+0200 pluginval[2349:23137] #11 0x1134b4cbc in MyPlugin::processBlock(juce::AudioBuffer&, juce::MidiBuffer&) ConvolutionBugTest_J6.h:65 2020-07-10 19:41:08.142764+0200 pluginval[2349:23137] #12 0x1134a67e4 in void JuceVSTWrapper::internalProcessReplacing(float**, float**, int, JuceVSTWrapper::VstTempBuffers&) juce_VST_Wrapper.cpp:508 2020-07-10 19:41:08.142775+0200 pluginval[2349:23137] #13 0x1134a5684 in JuceVSTWrapper::processReplacing(float**, float**, int) juce_VST_Wrapper.cpp:562 2020-07-10 19:41:08.142918+0200 pluginval[2349:23137] #14 0x11346fa02 in JuceVSTWrapper::processReplacingCB(Vst2::AEffect*, float**, float**, int) juce_VST_Wrapper.cpp:567 2020-07-10 19:41:08.142935+0200 pluginval[2349:23137] #15 0x1006f32d4 in juce::VSTPluginInstance::invokeProcessFunction(juce::AudioBuffer&, int) juce_VSTPluginFormat.cpp:2443 2020-07-10 19:41:08.142946+0200 pluginval[2349:23137] #16 0x1006f19c8 in void juce::VSTPluginInstance::processAudio(juce::AudioBuffer&, juce::MidiBuffer&, juce::AudioBuffer&, juce::HeapBlock&, bool) juce_VSTPluginFormat.cpp:2419 2020-07-10 19:41:08.142958+0200 pluginval[2349:23137] #17 0x1005a2580 in juce::VSTPluginInstance::processBlock(juce::AudioBuffer&, juce::MidiBuffer&) juce_VSTPluginFormat.cpp:1433 2020-07-10 19:41:08.142968+0200 pluginval[2349:23137] #18 0x1000e5ecd in AllocationsInRealTimeThreadTest::runTest(PluginTests&, juce::AudioPluginInstance&) ExtremeTests.cpp:65 2020-07-10 19:41:08.143093+0200 pluginval[2349:23137] #19 0x10009197a in PluginTests::testType(juce::PluginDescription const&) PluginTests.cpp:192 2020-07-10 19:41:08.143107+0200 pluginval[2349:23137] #20 0x10008f9b0 in PluginTests::runTest() PluginTests.cpp:107 2020-07-10 19:41:08.143118+0200 pluginval[2349:23137] #21 0x10093d733 in juce::UnitTest::performTest(juce::UnitTestRunner*) juce_UnitTest.cpp:77 2020-07-10 19:41:08.143129+0200 pluginval[2349:23137] #22 0x10093fb39 in juce::UnitTestRunner::runTests(juce::Array const&, long long) juce_UnitTest.cpp:165 2020-07-10 19:41:08.143140+0200 pluginval[2349:23137] #23 0x1001169fc in runTests(PluginTests&, std::__1::function) Validator.cpp:205 2020-07-10 19:41:08.143150+0200 pluginval[2349:23137] #24 0x100116079 in validate(juce::PluginDescription const&, PluginTests::Options, std::__1::function) Validator.cpp:218 2020-07-10 19:41:08.143299+0200 pluginval[2349:23137] #25 0x100113e8e in ValidatorSlaveProcess::processRequest(juce::MemoryBlock) Validator.cpp:511 2020-07-10 19:41:08.143315+0200 pluginval[2349:23137] #26 0x10011132c in ValidatorSlaveProcess::processRequests() Validator.cpp:457 2020-07-10 19:41:08.143326+0200 pluginval[2349:23137] #27 0x10010d0bb in ValidatorSlaveProcess::run() Validator.cpp:424 2020-07-10 19:41:08.143338+0200 pluginval[2349:23137] #28 0x1009276a5 in juce::Thread::threadEntryPoint() juce_Thread.cpp:96 2020-07-10 19:41:08.143349+0200 pluginval[2349:23137] #29 0x100928134 in juce::juce_threadEntryPoint(void*) juce_Thread.cpp:118 2020-07-10 19:41:08.143359+0200 pluginval[2349:23137] #30 0x1009aaa75 in juce::threadEntryProc(void*) juce_posix_SharedCode.h:838 2020-07-10 19:41:08.143370+0200 pluginval[2349:23137] #31 0x1046ecdc2 in _pthread_body (libsystem_pthread.dylib:x86_64+0x3dc2) 2020-07-10 19:41:08.143380+0200 pluginval[2349:23137] #32 0x1046efe8c in _pthread_start (libsystem_pthread.dylib:x86_64+0x6e8c) 2020-07-10 19:41:08.143468+0200 pluginval[2349:23137] #33 0x1046ebe10 in thread_start (libsystem_pthread.dylib:x86_64+0x2e10) 2020-07-10 19:41:08.143482+0200 pluginval[2349:23137] 2020-07-10 19:41:08.143491+0200 pluginval[2349:23137] 0x60f000038400 is located 0 bytes to the right of 176-byte region [0x60f000038350,0x60f000038400) 2020-07-10 19:41:08.143502+0200 pluginval[2349:23137] allocated by thread T30 here: 2020-07-10 19:41:08.143513+0200 pluginval[2349:23137] #0 0x10378b143 in wrap_malloc (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x59143) 2020-07-10 19:41:08.143524+0200 pluginval[2349:23137] #1 0x1134b7630 in void juce::HeapBlock::malloc(unsigned long, unsigned long) juce_HeapBlock.h:255 2020-07-10 19:41:08.143534+0200 pluginval[2349:23137] #2 0x1134b6cd6 in juce::AudioBuffer::allocateData() juce_AudioSampleBuffer.h:1139 2020-07-10 19:41:08.143545+0200 pluginval[2349:23137] #3 0x1134b69f9 in juce::AudioBuffer::AudioBuffer(int, int) juce_AudioSampleBuffer.h:106 2020-07-10 19:41:08.143642+0200 pluginval[2349:23137] #4 0x1134b62e0 in juce::AudioBuffer::AudioBuffer(int, int) juce_AudioSampleBuffer.h:104 2020-07-10 19:41:08.143661+0200 pluginval[2349:23137] #5 0x113c94179 in juce::dsp::MultichannelEngine::MultichannelEngine(juce::AudioBuffer const&, int, int, juce::dsp::Convolution::NonUniform, bool) juce_Convolution.cpp:432 2020-07-10 19:41:08.143674+0200 pluginval[2349:23137] #6 0x113c93e52 in juce::dsp::MultichannelEngine::MultichannelEngine(juce::AudioBuffer const&, int, int, juce::dsp::Convolution::NonUniform, bool) juce_Convolution.cpp:437 2020-07-10 19:41:08.143687+0200 pluginval[2349:23137] #7 0x113c930b0 in std::__1::__unique_if::__unique_single std::__1::make_unique&, unsigned int&, int const&, juce::dsp::Convolution::NonUniform const&, bool const&>(juce::AudioBuffer&&&, unsigned int&&&, int const&&&, juce::dsp::Convolution::NonUniform const&&&, bool const&&&) memory:3128 2020-07-10 19:41:08.143796+0200 pluginval[2349:23137] #8 0x113c8ccc5 in juce::dsp::ConvolutionEngineFactory::makeEngine() juce_Convolution.cpp:770 2020-07-10 19:41:08.143811+0200 pluginval[2349:23137] #9 0x113c8af2f in juce::dsp::ConvolutionEngineFactory::setImpulseResponse(juce::dsp::BufferWithSampleRate&&, juce::dsp::Convolution::Stereo, juce::dsp::Convolution::Trim, juce::dsp::Convolution::Normalise) juce_Convolution.cpp:748 2020-07-10 19:41:08.143823+0200 pluginval[2349:23137] #10 0x113ca3391 in juce::dsp::ConvolutionEngineQueue::loadImpulseResponse(juce::AudioBuffer&&, double, juce::dsp::Convolution::Stereo, juce::dsp::Convolution::Trim, juce::dsp::Convolution::Normalise)::'lambda'(juce::dsp::ConvolutionEngineFactory&)::operator()(juce::dsp::ConvolutionEngineFactory&) juce_Convolution.cpp:843 2020-07-10 19:41:08.143845+0200 pluginval[2349:23137] #11 0x113ca2f80 in void juce::dsp::ConvolutionEngineQueue::callLater&&, double, juce::dsp::Convolution::Stereo, juce::dsp::Convolution::Trim, juce::dsp::Convolution::Normalise)::'lambda'(juce::dsp::ConvolutionEngineFactory&)>(juce::dsp::ConvolutionEngineQueue::loadImpulseResponse(juce::AudioBuffer&&, double, juce::dsp::Convolution::Stereo, juce::dsp::Convolution::Trim, juce::dsp::Convolution::Normalise)::'lambda'(juce::dsp::ConvolutionEngineFactory&)&&)::'lambda'()::operator()() juce_Convolution.cpp:901 2020-07-10 19:41:08.143960+0200 pluginval[2349:23137] #12 0x113ca2dc4 in std::__1::enable_if::value, void>::type juce::dsp::detail::call&&, double, juce::dsp::Convolution::Stereo, juce::dsp::Convolution::Trim, juce::dsp::Convolution::Normalise)::'lambda'(juce::dsp::ConvolutionEngineFactory&)>(juce::dsp::ConvolutionEngineQueue::loadImpulseResponse(juce::AudioBuffer&&, double, juce::dsp::Convolution::Stereo, juce::dsp::Convolution::Trim, juce::dsp::Convolution::Normalise)::'lambda'(juce::dsp::ConvolutionEngineFactory&)&&)::'lambda'(), void>(void*) juce_FixedSizeFunction.h:61 2020-07-10 19:41:08.144123+0200 pluginval[2349:23137] #13 0x113cf9e5d in juce::dsp::FixedSizeFunction<400ul, void ()>::operator()() const juce_FixedSizeFunction.h:200 2020-07-10 19:41:08.144137+0200 pluginval[2349:23137] #14 0x113cf9d88 in juce::dsp::BackgroundMessageQueue::run()::'lambda'(juce::dsp::FixedSizeFunction<400ul, void ()>&)::operator()(juce::dsp::FixedSizeFunction<400ul, void ()>&) const juce_Convolution.cpp:102 2020-07-10 19:41:08.144149+0200 pluginval[2349:23137] #15 0x113cf9d64 in void juce::dsp::Queue >::popN&)>(int, juce::dsp::BackgroundMessageQueue::run()::'lambda'(juce::dsp::FixedSizeFunction<400ul, void ()>&)&&)::'lambda'(int)::operator()(int) const juce_Convolution.cpp:67 2020-07-10 19:41:08.144257+0200 pluginval[2349:23137] #16 0x113cf9b5f in void juce::AbstractFifo::ScopedReadWrite<(juce::AbstractFifo::ReadOrWrite)0>::forEach >::popN&)>(int, juce::dsp::BackgroundMessageQueue::run()::'lambda'(juce::dsp::FixedSizeFunction<400ul, void ()>&)&&)::'lambda'(int)>(juce::dsp::BackgroundMessageQueue::run()::'lambda'(juce::dsp::FixedSizeFunction<400ul, void ()>&)&&) const juce_AbstractFifo.h:248 2020-07-10 19:41:08.144274+0200 pluginval[2349:23137] #17 0x113cf98e0 in void juce::dsp::Queue >::popN&)>(int, juce::dsp::BackgroundMessageQueue::run()::'lambda'(juce::dsp::FixedSizeFunction<400ul, void ()>&)&&) juce_Convolution.cpp:65 2020-07-10 19:41:08.144421+0200 pluginval[2349:23137] #18 0x113cf9704 in void juce::dsp::Queue >::pop&)>(juce::dsp::BackgroundMessageQueue::run()::'lambda'(juce::dsp::FixedSizeFunction<400ul, void ()>&)&&) juce_Convolution.cpp:54 2020-07-10 19:41:08.144436+0200 pluginval[2349:23137] #19 0x113cf7cb8 in juce::dsp::BackgroundMessageQueue::run() juce_Convolution.cpp:102 2020-07-10 19:41:08.144457+0200 pluginval[2349:23137] #20 0x113a02745 in juce::Thread::threadEntryPoint() juce_Thread.cpp:96 2020-07-10 19:41:08.144469+0200 pluginval[2349:23137] #21 0x113a031d4 in juce::juce_threadEntryPoint(void*) juce_Thread.cpp:118 2020-07-10 19:41:08.144480+0200 pluginval[2349:23137] #22 0x113a85ef5 in juce::threadEntryProc(void*) juce_posix_SharedCode.h:838 2020-07-10 19:41:08.144490+0200 pluginval[2349:23137] #23 0x1046ecdc2 in _pthread_body (libsystem_pthread.dylib:x86_64+0x3dc2) 2020-07-10 19:41:08.144609+0200 pluginval[2349:23137] #24 0x1046efe8c in _pthread_start (libsystem_pthread.dylib:x86_64+0x6e8c) 2020-07-10 19:41:08.144626+0200 pluginval[2349:23137] #25 0x1046ebe10 in thread_start (libsystem_pthread.dylib:x86_64+0x2e10) 2020-07-10 19:41:08.144637+0200 pluginval[2349:23137] 2020-07-10 19:41:08.144646+0200 pluginval[2349:23137] Thread T21 created by T0 here: 2020-07-10 19:41:08.144656+0200 pluginval[2349:23137] #0 0x1037831cd in wrap_pthread_create (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x511cd) 2020-07-10 19:41:08.144667+0200 pluginval[2349:23137] #1 0x10092862f in juce::Thread::launchThread() juce_posix_SharedCode.h:895 2020-07-10 19:41:08.144677+0200 pluginval[2349:23137] #2 0x10092827d in juce::Thread::startThread() juce_Thread.cpp:130 2020-07-10 19:41:08.144688+0200 pluginval[2349:23137] #3 0x100928d91 in juce::Thread::startThread(int) juce_Thread.cpp:152 2020-07-10 19:41:08.144767+0200 pluginval[2349:23137] #4 0x10010ccbe in ValidatorSlaveProcess::ValidatorSlaveProcess() Validator.cpp:306 2020-07-10 19:41:08.144782+0200 pluginval[2349:23137] #5 0x10010c984 in ValidatorSlaveProcess::ValidatorSlaveProcess() Validator.cpp:301 2020-07-10 19:41:08.144793+0200 pluginval[2349:23137] #6 0x100107307 in std::__1::__unique_if::__unique_single std::__1::make_unique() memory:3128 2020-07-10 19:41:08.144804+0200 pluginval[2349:23137] #7 0x10010684b in ValidatorMasterProcess::launchInProcess() Validator.cpp:570 2020-07-10 19:41:08.144815+0200 pluginval[2349:23137] #8 0x10010389d in Validator::ensureConnection() Validator.cpp:753 2020-07-10 19:41:08.144826+0200 pluginval[2349:23137] #9 0x10010479d in Validator::validate(juce::Array const&, PluginTests::Options) Validator.cpp:714 2020-07-10 19:41:08.144837+0200 pluginval[2349:23137] #10 0x10006ed0c in MainComponent::MainComponent(Validator&)::$_5::operator()() const MainComponent.cpp:227 2020-07-10 19:41:08.144932+0200 pluginval[2349:23137] #11 0x10006eadc in decltype(std::__1::forward(fp)()) std::__1::__invoke(MainComponent::MainComponent(Validator&)::$_5&&&) type_traits:4339 2020-07-10 19:41:08.144947+0200 pluginval[2349:23137] #12 0x10006ea8c in void std::__1::__invoke_void_return_wrapper::__call(MainComponent::MainComponent(Validator&)::$_5&&&) __functional_base:349 2020-07-10 19:41:08.144959+0200 pluginval[2349:23137] #13 0x10006b8e0 in std::__1::__function::__func, void ()>::operator()() functional:1562 2020-07-10 19:41:08.144969+0200 pluginval[2349:23137] #14 0x100126b2d in std::__1::function::operator()() const functional:1913 2020-07-10 19:41:08.145092+0200 pluginval[2349:23137] #15 0x100fda247 in juce::Button::sendClickMessage(juce::ModifierKeys const&) juce_Button.cpp:407 2020-07-10 19:41:08.145106+0200 pluginval[2349:23137] #16 0x100fdb64a in juce::Button::internalClickCallback(juce::ModifierKeys const&) juce_Button.cpp:350 2020-07-10 19:41:08.145117+0200 pluginval[2349:23137] #17 0x100fdca0a in juce::Button::mouseUp(juce::MouseEvent const&) juce_Button.cpp:470 2020-07-10 19:41:08.145136+0200 pluginval[2349:23137] #18 0x100f8d29b in juce::Component::internalMouseUp(juce::MouseInputSource, juce::Point, juce::Time, juce::ModifierKeys, float, float, float, float, float) juce_Component.cpp:2434 2020-07-10 19:41:08.145149+0200 pluginval[2349:23137] #19 0x1012b59cc in juce::MouseInputSourceInternal::sendMouseUp(juce::Component&, juce::Point, juce::Time, juce::ModifierKeys) juce_MouseInputSource.cpp:154 2020-07-10 19:41:08.145160+0200 pluginval[2349:23137] #20 0x1012abc3b in juce::MouseInputSourceInternal::setButtons(juce::Point, juce::Time, juce::ModifierKeys) juce_MouseInputSource.cpp:196 2020-07-10 19:41:08.145258+0200 pluginval[2349:23137] #21 0x100fa111d in juce::MouseInputSourceInternal::handleEvent(juce::ComponentPeer&, juce::Point, juce::Time, juce::ModifierKeys, float, float, juce::PenDetails) juce_MouseInputSource.cpp:333 2020-07-10 19:41:08.145273+0200 pluginval[2349:23137] #22 0x100f9f97e in juce::MouseInputSource::handleEvent(juce::ComponentPeer&, juce::Point, long long, juce::ModifierKeys, float, float, juce::PenDetails const&) juce_MouseInputSource.cpp:633 2020-07-10 19:41:08.145285+0200 pluginval[2349:23137] #23 0x10123e922 in juce::ComponentPeer::handleMouseEvent(juce::MouseInputSource::InputSourceType, juce::Point, juce::ModifierKeys, float, float, long long, juce::PenDetails, int) juce_ComponentPeer.cpp:87 2020-07-10 19:41:08.145296+0200 pluginval[2349:23137] #24 0x10142f324 in juce::NSViewComponentPeer::sendMouseEvent(NSEvent*) juce_mac_NSViewComponentPeer.mm:724 2020-07-10 19:41:08.145423+0200 pluginval[2349:23137] #25 0x10143031c in juce::NSViewComponentPeer::redirectMouseUp(NSEvent*) juce_mac_NSViewComponentPeer.mm:606 2020-07-10 19:41:08.145438+0200 pluginval[2349:23137] #26 0x101423b38 in juce::JuceNSViewClass::asyncMouseUp(objc_object*, objc_selector*, NSEvent*) juce_mac_NSViewComponentPeer.mm:1704 2020-07-10 19:41:08.145449+0200 pluginval[2349:23137] #27 0x101423a56 in juce::JuceNSViewClass::mouseUp(objc_object*, objc_selector*, NSEvent*) juce_mac_NSViewComponentPeer.mm:1693 2020-07-10 19:41:08.145459+0200 pluginval[2349:23137] #28 0x7fff357a0019 in -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] (AppKit:x86_64+0x186019) 2020-07-10 19:41:08.145470+0200 pluginval[2349:23137] #29 0x7fff3579f666 in -[NSWindow(NSEventRouting) sendEvent:] (AppKit:x86_64+0x185666) 2020-07-10 19:41:08.145481+0200 pluginval[2349:23137] #30 0x7fff3563ee6a in -[NSApplication(NSEvent) sendEvent:] (AppKit:x86_64+0x24e6a) 2020-07-10 19:41:08.145576+0200 pluginval[2349:23137] #31 0x7fff3562d5df in -[NSApplication run] (AppKit:x86_64+0x135df) 2020-07-10 19:41:08.145590+0200 pluginval[2349:23137] #32 0x100b0abf7 in juce::MessageManager::runDispatchLoop() juce_mac_MessageManager.mm:343 2020-07-10 19:41:08.145601+0200 pluginval[2349:23137] #33 0x100b0a9da in juce::JUCEApplicationBase::main() juce_ApplicationBase.cpp:262 2020-07-10 19:41:08.145611+0200 pluginval[2349:23137] #34 0x100b0a688 in juce::JUCEApplicationBase::main(int, char const**) juce_ApplicationBase.cpp:240 2020-07-10 19:41:08.145622+0200 pluginval[2349:23137] #35 0x10002bce1 in main Main.cpp:185 2020-07-10 19:41:08.145632+0200 pluginval[2349:23137] #36 0x7fff6403e3d4 in start (libdyld.dylib:x86_64+0x163d4) 2020-07-10 19:41:08.145642+0200 pluginval[2349:23137] 2020-07-10 19:41:08.145650+0200 pluginval[2349:23137] Thread T30 created by T0 here: 2020-07-10 19:41:08.145660+0200 pluginval[2349:23137] #0 0x1037831cd in wrap_pthread_create (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x511cd) 2020-07-10 19:41:08.145711+0200 pluginval[2349:23137] #1 0x113a036cf in juce::Thread::launchThread() juce_posix_SharedCode.h:895 2020-07-10 19:41:08.145725+0200 pluginval[2349:23137] #2 0x113a0331d in juce::Thread::startThread() juce_Thread.cpp:130 2020-07-10 19:41:08.145745+0200 pluginval[2349:23137] #3 0x113cf79f9 in juce::dsp::BackgroundMessageQueue::BackgroundMessageQueue(int) juce_Convolution.cpp:81 2020-07-10 19:41:08.145757+0200 pluginval[2349:23137] #4 0x113cf7814 in juce::dsp::ConvolutionMessageQueue::Impl::Impl(int) juce_Convolution.cpp:113 2020-07-10 19:41:08.145767+0200 pluginval[2349:23137] #5 0x113cf77aa in juce::dsp::ConvolutionMessageQueue::Impl::Impl(int) juce_Convolution.cpp:113 2020-07-10 19:41:08.145778+0200 pluginval[2349:23137] #6 0x113c497e5 in std::__1::__unique_if::__unique_single std::__1::make_unique(int&&&) memory:3128 2020-07-10 19:41:08.145880+0200 pluginval[2349:23137] #7 0x113c4968f in juce::dsp::ConvolutionMessageQueue::ConvolutionMessageQueue(int) juce_Convolution.cpp:121 2020-07-10 19:41:08.145895+0200 pluginval[2349:23137] #8 0x113c4973a in juce::dsp::ConvolutionMessageQueue::ConvolutionMessageQueue(int) juce_Convolution.cpp:122 2020-07-10 19:41:08.145905+0200 pluginval[2349:23137] #9 0x113c49719 in juce::dsp::ConvolutionMessageQueue::ConvolutionMessageQueue() juce_Convolution.cpp:117 2020-07-10 19:41:08.145916+0200 pluginval[2349:23137] #10 0x113c4b077 in std::__1::__unique_if::__unique_single std::__1::make_unique() memory:3128 2020-07-10 19:41:08.145927+0200 pluginval[2349:23137] #11 0x113c4b617 in juce::dsp::Convolution::Convolution(juce::dsp::Convolution::NonUniform const&) juce_Convolution.cpp:1191 2020-07-10 19:41:08.145938+0200 pluginval[2349:23137] #12 0x1134b42b8 in MyPlugin::MyPlugin() ConvolutionBugTest_J6.h:97 2020-07-10 19:41:08.146037+0200 pluginval[2349:23137] #13 0x1134b3e64 in MyPlugin::MyPlugin() ConvolutionBugTest_J6.h:31 2020-07-10 19:41:08.146052+0200 pluginval[2349:23137] #14 0x1134b3e19 in createPluginFilter() Main.cpp:15 2020-07-10 19:41:08.146063+0200 pluginval[2349:23137] #15 0x11346bdd7 in juce::createPluginFilterOfType(juce::AudioProcessor::WrapperType) juce_CreatePluginFilter.h:41 2020-07-10 19:41:08.146074+0200 pluginval[2349:23137] #16 0x11346b54e in (anonymous namespace)::pluginEntryPoint(long long (*)(Vst2::AEffect*, int, int, long long, void*, float)) juce_VST_Wrapper.cpp:2146 2020-07-10 19:41:08.146085+0200 pluginval[2349:23137] #17 0x11346bb06 in main_macho juce_VST_Wrapper.cpp:2192 2020-07-10 19:41:08.146095+0200 pluginval[2349:23137] #18 0x1005fc6f1 in juce::VSTPluginInstance::constructEffect(juce::ReferenceCountedObjectPtr const&) juce_VSTPluginFormat.cpp:2150 2020-07-10 19:41:08.146106+0200 pluginval[2349:23137] #19 0x1004cfcc2 in juce::VSTPluginInstance::create(juce::ReferenceCountedObjectPtr const&, double, int) juce_VSTPluginFormat.cpp:1141 2020-07-10 19:41:08.146184+0200 pluginval[2349:23137] #20 0x1004cef53 in juce::VSTPluginFormat::createPluginInstance(juce::PluginDescription const&, double, int, std::__1::function >, juce::String const&)>) juce_VSTPluginFormat.cpp:3546 2020-07-10 19:41:08.146200+0200 pluginval[2349:23137] #21 0x10049775b in juce::AudioPluginFormat::handleMessage(juce::Message const&) juce_AudioPluginFormat.cpp:95 2020-07-10 19:41:08.146211+0200 pluginval[2349:23137] #22 0x100b0c7ed in juce::Message::messageCallback() juce_MessageListener.cpp:32 2020-07-10 19:41:08.146222+0200 pluginval[2349:23137] #23 0x100b388df in juce::MessageQueue::deliverNextMessage() juce_osx_MessageQueue.h:82 2020-07-10 19:41:08.146232+0200 pluginval[2349:23137] #24 0x100b386a1 in juce::MessageQueue::runLoopCallback() juce_osx_MessageQueue.h:93 2020-07-10 19:41:08.146339+0200 pluginval[2349:23137] #25 0x100b38494 in juce::MessageQueue::runLoopSourceCallback(void*) juce_osx_MessageQueue.h:101 2020-07-10 19:41:08.146374+0200 pluginval[2349:23137] #26 0x7fff380683ba in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ (CoreFoundation:x86_64+0x573ba) 2020-07-10 19:41:08.146388+0200 pluginval[2349:23137] #27 0x7fff38068360 in __CFRunLoopDoSource0 (CoreFoundation:x86_64+0x57360) 2020-07-10 19:41:08.146399+0200 pluginval[2349:23137] #28 0x7fff3804c26a in __CFRunLoopDoSources0 (CoreFoundation:x86_64+0x3b26a) 2020-07-10 19:41:08.146410+0200 pluginval[2349:23137] #29 0x7fff3804b832 in __CFRunLoopRun (CoreFoundation:x86_64+0x3a832) 2020-07-10 19:41:08.146420+0200 pluginval[2349:23137] #30 0x7fff3804b134 in CFRunLoopRunSpecific (CoreFoundation:x86_64+0x3a134) 2020-07-10 19:41:08.146431+0200 pluginval[2349:23137] #31 0x7fff3729c1aa in RunCurrentEventLoopInMode (HIToolbox:x86_64+0xb1aa) 2020-07-10 19:41:08.146509+0200 pluginval[2349:23137] #32 0x7fff3729bee4 in ReceiveNextEventCommon (HIToolbox:x86_64+0xaee4) 2020-07-10 19:41:08.146524+0200 pluginval[2349:23137] #33 0x7fff3729bc75 in _BlockUntilNextEventMatchingListInModeWithFilter (HIToolbox:x86_64+0xac75) 2020-07-10 19:41:08.146535+0200 pluginval[2349:23137] #34 0x7fff3563479c in _DPSNextEvent (AppKit:x86_64+0x1a79c) 2020-07-10 19:41:08.146546+0200 pluginval[2349:23137] #35 0x7fff3563348a in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (AppKit:x86_64+0x1948a) 2020-07-10 19:41:08.146558+0200 pluginval[2349:23137] #36 0x7fff3562d5a7 in -[NSApplication run] (AppKit:x86_64+0x135a7) 2020-07-10 19:41:08.146568+0200 pluginval[2349:23137] #37 0x100b0abf7 in juce::MessageManager::runDispatchLoop() juce_mac_MessageManager.mm:343 2020-07-10 19:41:08.146579+0200 pluginval[2349:23137] #38 0x100b0a9da in juce::JUCEApplicationBase::main() juce_ApplicationBase.cpp:262 2020-07-10 19:41:08.146590+0200 pluginval[2349:23137] #39 0x100b0a688 in juce::JUCEApplicationBase::main(int, char const**) juce_ApplicationBase.cpp:240 2020-07-10 19:41:08.146642+0200 pluginval[2349:23137] #40 0x10002bce1 in main Main.cpp:185 2020-07-10 19:41:08.146655+0200 pluginval[2349:23137] #41 0x7fff6403e3d4 in start (libdyld.dylib:x86_64+0x163d4) 2020-07-10 19:41:08.146666+0200 pluginval[2349:23137] 2020-07-10 19:41:08.146675+0200 pluginval[2349:23137] SUMMARY: AddressSanitizer: heap-buffer-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x56910) in __asan_memcpy 2020-07-10 19:41:08.146698+0200 pluginval[2349:23137] Shadow bytes around the buggy address: 2020-07-10 19:41:08.146708+0200 pluginval[2349:23137] 0x1c1e00007030: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 2020-07-10 19:41:08.146719+0200 pluginval[2349:23137] 0x1c1e00007040: fd fd fd fd fa fa fa fa fa fa fa fa fd fd fd fd 2020-07-10 19:41:08.146729+0200 pluginval[2349:23137] 0x1c1e00007050: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 2020-07-10 19:41:08.146810+0200 pluginval[2349:23137] 0x1c1e00007060: fd fd fa fa fa fa fa fa fa fa 00 00 00 00 00 00 2020-07-10 19:41:08.146825+0200 pluginval[2349:23137] 0x1c1e00007070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2020-07-10 19:41:08.146835+0200 pluginval[2349:23137] =>0x1c1e00007080:[fa]fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 2020-07-10 19:41:08.146846+0200 pluginval[2349:23137] 0x1c1e00007090: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa fa 2020-07-10 19:41:08.146856+0200 pluginval[2349:23137] 0x1c1e000070a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 2020-07-10 19:41:08.146866+0200 pluginval[2349:23137] 0x1c1e000070b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 2020-07-10 19:41:08.146876+0200 pluginval[2349:23137] 0x1c1e000070c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 2020-07-10 19:41:08.146886+0200 pluginval[2349:23137] 0x1c1e000070d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 2020-07-10 19:41:08.146902+0200 pluginval[2349:23137] Shadow byte legend (one shadow byte represents 8 application bytes): 2020-07-10 19:41:08.146962+0200 pluginval[2349:23137] Addressable: 00 2020-07-10 19:41:08.146975+0200 pluginval[2349:23137] Partially addressable: 01 02 03 04 05 06 07 2020-07-10 19:41:08.146985+0200 pluginval[2349:23137] Heap left redzone: fa 2020-07-10 19:41:08.146995+0200 pluginval[2349:23137] Freed heap region: fd 2020-07-10 19:41:08.147004+0200 pluginval[2349:23137] Stack left redzone: f1 2020-07-10 19:41:08.147014+0200 pluginval[2349:23137] Stack mid redzone: f2 2020-07-10 19:41:08.147024+0200 pluginval[2349:23137] Stack right redzone: f3 2020-07-10 19:41:08.147033+0200 pluginval[2349:23137] Stack after return: f5 2020-07-10 19:41:08.147042+0200 pluginval[2349:23137] Stack use after scope: f8 2020-07-10 19:41:08.147052+0200 pluginval[2349:23137] Global redzone: f9 2020-07-10 19:41:08.147061+0200 pluginval[2349:23137] Global init order: f6 2020-07-10 19:41:08.147071+0200 pluginval[2349:23137] Poisoned by user: f7 2020-07-10 19:41:08.147108+0200 pluginval[2349:23137] Container overflow: fc 2020-07-10 19:41:08.147119+0200 pluginval[2349:23137] Array cookie: ac 2020-07-10 19:41:08.147129+0200 pluginval[2349:23137] Intra object redzone: bb 2020-07-10 19:41:08.147138+0200 pluginval[2349:23137] ASan internal: fe 2020-07-10 19:41:08.147148+0200 pluginval[2349:23137] Left alloca redzone: ca 2020-07-10 19:41:08.147157+0200 pluginval[2349:23137] Right alloca redzone: cb 2020-07-10 19:41:08.147166+0200 pluginval[2349:23137] Shadow gap: cc 2020-07-10 19:41:08.147176+0200 pluginval[2349:23137] ==2349==ABORTING Warning: hit breakpoint while running function, skipping commands and conditions to prevent recursion. AddressSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.