Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leaks found by LeakSanitizer #45

Open
ChunMinChang opened this issue Feb 10, 2020 · 2 comments
Open

Memory leaks found by LeakSanitizer #45

ChunMinChang opened this issue Feb 10, 2020 · 2 comments
Assignees

Comments

@ChunMinChang
Copy link
Member

There are lots of memory leaks found by LeakSanitizer

The result of running RUSTFLAGS="-Z sanitizer=leak" cargo test is SUMMARY: LeakSanitizer: 16950 byte(s) leaked in 400 allocation(s).:

==10821==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 6820 byte(s) in 155 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #3 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #4 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #5 0x7fff3b626977 in CADispatchQueue::InstallMachPortDeathNotification(unsigned int, void () block_pointer) (CoreAudio:x86_64+0x36a977)
    #6 0x7fff3b53761c in HALC_ProxyObject::HALC_ProxyObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0x27b61c)
    #7 0x7fff3b5f4cfe in HALC_ProxyObjectMap::CopyObjectByObjectID(unsigned int) (CoreAudio:x86_64+0x338cfe)
    #8 0x7fff3b319b99 in HALC_ShellDevice::RebuildControlList(bool) (CoreAudio:x86_64+0x5db99)
    #9 0x7fff3b3163de in HALC_ShellDevice::Activate() (CoreAudio:x86_64+0x5a3de)
    #10 0x7fff3b3856f9 in HALC_ShellObjectMap::CreateObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0xc96f9)
    #11 0x7fff3b3a668b in HALC_ShellPlugIn::_ReconcileDeviceList(bool, bool, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&) (CoreAudio:x86_64+0xea68b)
    #12 0x7fff3b618f5b in HALB_CommandGate::ExecuteCommand(void () block_pointer) const (CoreAudio:x86_64+0x35cf5b)
    #13 0x7fff3b3a61b7 in HALC_ShellPlugIn::ReconcileDeviceList(bool, bool) (CoreAudio:x86_64+0xea1b7)
    #14 0x7fff3b3a7107 in HALC_ShellPlugIn::ConnectToServer() (CoreAudio:x86_64+0xeb107)
    #15 0x7fff3b3a929e in HAL_HardwarePlugIn_InitializeWithObjectID(AudioHardwarePlugInInterface**, unsigned int) (CoreAudio:x86_64+0xed29e)
    #16 0x7fff3b2c09df in HALPlugInManagement::CreateHALPlugIn(HALCFPlugIn const*) (CoreAudio:x86_64+0x49df)
    #17 0x7fff3b2bf82b in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x382b)
    #18 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #19 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #20 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #21 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #22 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #23 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #24 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #25 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #26 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #27 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #28 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #29 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305

Direct leak of 308 byte(s) in 7 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #3 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #4 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #5 0x7fff3b626977 in CADispatchQueue::InstallMachPortDeathNotification(unsigned int, void () block_pointer) (CoreAudio:x86_64+0x36a977)
    #6 0x7fff3b53761c in HALC_ProxyObject::HALC_ProxyObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0x27b61c)
    #7 0x7fff3b5f4cfe in HALC_ProxyObjectMap::CopyObjectByObjectID(unsigned int) (CoreAudio:x86_64+0x338cfe)
    #8 0x7fff3b3e159f in HALC_ShellSimpleProxyList::Reconcile(bool, bool) (CoreAudio:x86_64+0x12559f)
    #9 0x7fff3b3a70d9 in HALC_ShellPlugIn::ConnectToServer() (CoreAudio:x86_64+0xeb0d9)
    #10 0x7fff3b3a929e in HAL_HardwarePlugIn_InitializeWithObjectID(AudioHardwarePlugInInterface**, unsigned int) (CoreAudio:x86_64+0xed29e)
    #11 0x7fff3b2c09df in HALPlugInManagement::CreateHALPlugIn(HALCFPlugIn const*) (CoreAudio:x86_64+0x49df)
    #12 0x7fff3b2bf82b in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x382b)
    #13 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #14 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #15 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #16 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #17 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #18 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #19 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #20 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #21 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #22 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #23 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #24 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #25 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #26 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #27 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #28 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #29 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)

Direct leak of 308 byte(s) in 7 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #3 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #4 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #5 0x7fff3b626977 in CADispatchQueue::InstallMachPortDeathNotification(unsigned int, void () block_pointer) (CoreAudio:x86_64+0x36a977)
    #6 0x7fff3b53761c in HALC_ProxyObject::HALC_ProxyObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0x27b61c)
    #7 0x7fff3b5f4cfe in HALC_ProxyObjectMap::CopyObjectByObjectID(unsigned int) (CoreAudio:x86_64+0x338cfe)
    #8 0x7fff3b31945e in HALC_ShellDevice::RebuildStreamLists(bool) (CoreAudio:x86_64+0x5d45e)
    #9 0x7fff3b3163d1 in HALC_ShellDevice::Activate() (CoreAudio:x86_64+0x5a3d1)
    #10 0x7fff3b3856f9 in HALC_ShellObjectMap::CreateObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0xc96f9)
    #11 0x7fff3b3a668b in HALC_ShellPlugIn::_ReconcileDeviceList(bool, bool, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&) (CoreAudio:x86_64+0xea68b)
    #12 0x7fff3b618f5b in HALB_CommandGate::ExecuteCommand(void () block_pointer) const (CoreAudio:x86_64+0x35cf5b)
    #13 0x7fff3b3a61b7 in HALC_ShellPlugIn::ReconcileDeviceList(bool, bool) (CoreAudio:x86_64+0xea1b7)
    #14 0x7fff3b3a7107 in HALC_ShellPlugIn::ConnectToServer() (CoreAudio:x86_64+0xeb107)
    #15 0x7fff3b3a929e in HAL_HardwarePlugIn_InitializeWithObjectID(AudioHardwarePlugInInterface**, unsigned int) (CoreAudio:x86_64+0xed29e)
    #16 0x7fff3b2c09df in HALPlugInManagement::CreateHALPlugIn(HALCFPlugIn const*) (CoreAudio:x86_64+0x49df)
    #17 0x7fff3b2bf82b in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x382b)
    #18 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #19 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #20 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #21 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #22 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #23 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #24 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #25 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #26 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #27 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #28 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #29 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305

Direct leak of 220 byte(s) in 5 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #3 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #4 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #5 0x7fff3b6b5a9b in HALB_DispatchQueue::InstallMIGServer(unsigned int, unsigned int, unsigned int (*)(mach_msg_header_t*, mach_msg_header_t*)) (CoreAudio:x86_64+0x3f9a9b)
    #6 0x7fff3b5f4c27 in HALC_ProxyObjectMap::CopyObjectByObjectID(unsigned int) (CoreAudio:x86_64+0x338c27)
    #7 0x7fff3b31c03f in HALC_ShellDevice::BuildIOContext(unsigned int) (CoreAudio:x86_64+0x6003f)
    #8 0x7fff3b3856f9 in HALC_ShellObjectMap::CreateObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0xc96f9)
    #9 0x7fff3b3a668b in HALC_ShellPlugIn::_ReconcileDeviceList(bool, bool, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&) (CoreAudio:x86_64+0xea68b)
    #10 0x7fff3b618f5b in HALB_CommandGate::ExecuteCommand(void () block_pointer) const (CoreAudio:x86_64+0x35cf5b)
    #11 0x7fff3b3a61b7 in HALC_ShellPlugIn::ReconcileDeviceList(bool, bool) (CoreAudio:x86_64+0xea1b7)
    #12 0x7fff3b3a7107 in HALC_ShellPlugIn::ConnectToServer() (CoreAudio:x86_64+0xeb107)
    #13 0x7fff3b3a929e in HAL_HardwarePlugIn_InitializeWithObjectID(AudioHardwarePlugInInterface**, unsigned int) (CoreAudio:x86_64+0xed29e)
    #14 0x7fff3b2c09df in HALPlugInManagement::CreateHALPlugIn(HALCFPlugIn const*) (CoreAudio:x86_64+0x49df)
    #15 0x7fff3b2bf82b in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x382b)
    #16 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #17 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #18 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #19 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #20 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #21 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #22 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #23 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #24 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #25 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #26 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #27 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #28 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #29 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474

Direct leak of 220 byte(s) in 5 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #3 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #4 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #5 0x7fff3b626977 in CADispatchQueue::InstallMachPortDeathNotification(unsigned int, void () block_pointer) (CoreAudio:x86_64+0x36a977)
    #6 0x7fff3b53761c in HALC_ProxyObject::HALC_ProxyObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0x27b61c)
    #7 0x7fff3b5f48c9 in HALC_ProxyObjectMap::CopyObjectByObjectID(unsigned int) (CoreAudio:x86_64+0x3388c9)
    #8 0x7fff3b31c03f in HALC_ShellDevice::BuildIOContext(unsigned int) (CoreAudio:x86_64+0x6003f)
    #9 0x7fff3b3856f9 in HALC_ShellObjectMap::CreateObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0xc96f9)
    #10 0x7fff3b3a668b in HALC_ShellPlugIn::_ReconcileDeviceList(bool, bool, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&) (CoreAudio:x86_64+0xea68b)
    #11 0x7fff3b618f5b in HALB_CommandGate::ExecuteCommand(void () block_pointer) const (CoreAudio:x86_64+0x35cf5b)
    #12 0x7fff3b3a61b7 in HALC_ShellPlugIn::ReconcileDeviceList(bool, bool) (CoreAudio:x86_64+0xea1b7)
    #13 0x7fff3b3a7107 in HALC_ShellPlugIn::ConnectToServer() (CoreAudio:x86_64+0xeb107)
    #14 0x7fff3b3a929e in HAL_HardwarePlugIn_InitializeWithObjectID(AudioHardwarePlugInInterface**, unsigned int) (CoreAudio:x86_64+0xed29e)
    #15 0x7fff3b2c09df in HALPlugInManagement::CreateHALPlugIn(HALCFPlugIn const*) (CoreAudio:x86_64+0x49df)
    #16 0x7fff3b2bf82b in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x382b)
    #17 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #18 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #19 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #20 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #21 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #22 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #23 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #24 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #25 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #26 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #27 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #28 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #29 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86

Direct leak of 220 byte(s) in 5 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #3 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #4 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #5 0x7fff3b626977 in CADispatchQueue::InstallMachPortDeathNotification(unsigned int, void () block_pointer) (CoreAudio:x86_64+0x36a977)
    #6 0x7fff3b53761c in HALC_ProxyObject::HALC_ProxyObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0x27b61c)
    #7 0x7fff3b5f4cfe in HALC_ProxyObjectMap::CopyObjectByObjectID(unsigned int) (CoreAudio:x86_64+0x338cfe)
    #8 0x7fff3b3a6638 in HALC_ShellPlugIn::_ReconcileDeviceList(bool, bool, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&) (CoreAudio:x86_64+0xea638)
    #9 0x7fff3b618f5b in HALB_CommandGate::ExecuteCommand(void () block_pointer) const (CoreAudio:x86_64+0x35cf5b)
    #10 0x7fff3b3a61b7 in HALC_ShellPlugIn::ReconcileDeviceList(bool, bool) (CoreAudio:x86_64+0xea1b7)
    #11 0x7fff3b3a7107 in HALC_ShellPlugIn::ConnectToServer() (CoreAudio:x86_64+0xeb107)
    #12 0x7fff3b3a929e in HAL_HardwarePlugIn_InitializeWithObjectID(AudioHardwarePlugInInterface**, unsigned int) (CoreAudio:x86_64+0xed29e)
    #13 0x7fff3b2c09df in HALPlugInManagement::CreateHALPlugIn(HALCFPlugIn const*) (CoreAudio:x86_64+0x49df)
    #14 0x7fff3b2bf82b in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x382b)
    #15 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #16 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #17 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #18 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #19 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #20 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #21 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #22 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #23 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #24 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #25 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #26 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #27 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #28 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #29 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015

Direct leak of 128 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45f5a in wrap_calloc (librustc_rt.lsan.dylib:x86_64+0x7f5a)
    #1 0x7fff720ade5e in class_createInstance (libobjc.A.dylib:x86_64h+0x5e5e)
    #2 0x7fff733ceeaf in _os_object_alloc_realized (libdispatch.dylib:x86_64+0x2eaf)
    #3 0x7fff733dffd6 in dispatch_source_create (libdispatch.dylib:x86_64+0x13fd6)
    #4 0x7fff733ea8d0 in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1e8d0)
    #5 0x7fff733ea461 in _dispatch_kq_drain (libdispatch.dylib:x86_64+0x1e461)
    #6 0x7fff733e99ee in _dispatch_kq_unote_update (libdispatch.dylib:x86_64+0x1d9ee)
    #7 0x7fff733e0b86 in _dispatch_source_install (libdispatch.dylib:x86_64+0x14b86)
    #8 0x7fff733e0adc in _dispatch_source_activate (libdispatch.dylib:x86_64+0x14adc)
    #9 0x7fff733d4313 in _dispatch_lane_resume_activate (libdispatch.dylib:x86_64+0x8313)
    #10 0x7fff6f61047d in caulk::alloc::details::dispatch_memory_monitor::dispatch_memory_monitor(std::__1::function<void ()> const&) (caulk:x86_64+0x247d)
    #11 0x7fff6f6102c9 in caulk::alloc::details::dispatch_resource<caulk::alloc::caching_page_allocator<16384ul> >::dispatch_resource() (caulk:x86_64+0x22c9)
    #12 0x7fff6f610237 in caulk::alloc::global_allocator<caulk::alloc::caching_page_allocator<16384ul> >::impl() (caulk:x86_64+0x2237)
    #13 0x7fff6f60ffd2 in caulk::alloc::details::dispatch_resource<caulk::alloc::dsw_allocator<true> >::dispatch_resource() (caulk:x86_64+0x1fd2)
    #14 0x7fff6f60ff87 in caulk::alloc::global_allocator<caulk::alloc::dsw_allocator<true> >::impl() (caulk:x86_64+0x1f87)
    #15 0x7fff6f60ff05 in caulk::alloc::get_realtime_safe_resource() (caulk:x86_64+0x1f05)
    #16 0x7fff3b2c7105 in caulk::concurrent::async_message_queue::async_message_queue(caulk::concurrent::messenger::thread_strategy, caulk::thread::attributes const&) (CoreAudio:x86_64+0xb105)
    #17 0x7fff3b2c668e in AMCP::Log::Scope::Scope(char const*, char const*) (CoreAudio:x86_64+0xa68e)
    #18 0x7fff3b2c6388 in AMCP::Log::Scope_Registry::create(std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > const&) (CoreAudio:x86_64+0xa388)
    #19 0x7fff3b2c6113 in AMCP::Log::Scope_Registry::fetch(char const*, char const*) (CoreAudio:x86_64+0xa113)
    #20 0x7fff3b47f679 in void std::__1::__call_once_proxy<std::__1::tuple<AMCP::run_new_hal()::$_0&&> >(void*) (CoreAudio:x86_64+0x1c3679)
    #21 0x7fff7053e81b in std::__1::__call_once(unsigned long volatile&, void*, void (*)(void*)) (libc++.1.dylib:x86_64+0x181b)
    #22 0x7fff3b47f50e in AMCP::run_new_hal() (CoreAudio:x86_64+0x1c350e)
    #23 0x7fff3b2c3318 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7318)
    #24 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #25 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #26 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #27 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #28 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #29 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015

Direct leak of 55 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45e6a in wrap_realloc (librustc_rt.lsan.dylib:x86_64+0x7e6a)
    #1 0x10b9a5992 in std::ffi::c_str::CString::from_vec_unchecked::hc073cda091e4ba8e raw_vec.rs:659
    #2 0x10b988864 in coreaudio_sys_utils::string::StringRef::to_cstring::h6195dd75e9801430 string.rs:54
    #3 0x10b988894 in coreaudio_sys_utils::string::StringRef::into_cstring::h8517f11d470dcb33 string.rs:59
    #4 0x10b926ece in cubeb_coreaudio::backend::create_cubeb_device_info::he5c80dd5ccd118a4 mod.rs:1471
    #5 0x10b8d1734 in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::test_create_device_infos_by_device::h4a511338138d223d api.rs:1388
    #6 0x10b8d0e5e in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::test_create_device_from_hwdev_in_scope::ha44f89f0f4adb3f4 api.rs:1355
    #7 0x10b8d0d49 in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::h47b43ca6ea5620ec api.rs:1349
    #8 0x10b8eee80 in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::_$u7b$$u7b$closure$u7d$$u7d$::h201b62b28ed56a6b api.rs:1345
    #9 0x10b86df50 in core::ops::function::FnOnce::call_once::h858ab7776d44cdc2 function.rs:232
    #10 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #11 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #12 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #13 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #14 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #15 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #16 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #17 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #18 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #19 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #20 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Direct leak of 44 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #3 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #4 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #5 0x7fff6fc85de8 in CASmartPreferences::CASmartPreferences() (libAudioToolboxUtility.dylib:x86_64+0x2de8)
    #6 0x7fff6fc85d0b in CASmartPreferences::instance() (libAudioToolboxUtility.dylib:x86_64+0x2d0b)
    #7 0x7fff5030742d in assertXPCServiceReachable(NSString*) (AudioToolboxCore:x86_64+0x1942d)
    #8 0x7fff50307212 in AudioComponentMgr_RegistrarService::initPhase2() (AudioToolboxCore:x86_64+0x19212)
    #9 0x7fff50306c95 in AudioComponentMgr_NSExtension::initPhase2() (AudioToolboxCore:x86_64+0x18c95)
    #10 0x7fff50306abd in GlobalComponentPluginMgr() (AudioToolboxCore:x86_64+0x18abd)
    #11 0x7fff503069dd in AudioComponentFindNext (AudioToolboxCore:x86_64+0x189dd)
    #12 0x10b92301f in cubeb_coreaudio::backend::create_audiounit_by_description::h3e4af7b27780a734 mod.rs:1155
    #13 0x10b922f37 in cubeb_coreaudio::backend::create_default_audiounit::h71dec69af7fc8e1f mod.rs:1128
    #14 0x10b8cc464 in cubeb_coreaudio::backend::tests::api::test_create_default_audiounit::h8aaa060f00d09422 api.rs:857
    #15 0x10b8eeb20 in cubeb_coreaudio::backend::tests::api::test_create_default_audiounit::_$u7b$$u7b$closure$u7d$$u7d$::head8ffc071c77119 api.rs:845
    #16 0x10b86e400 in core::ops::function::FnOnce::call_once::h9250e57df7b85fe5 function.rs:232
    #17 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #18 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #19 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #20 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #21 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #22 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #23 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #24 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #25 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #26 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #27 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Direct leak of 44 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #3 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #4 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #5 0x7fff6f610474 in caulk::alloc::details::dispatch_memory_monitor::dispatch_memory_monitor(std::__1::function<void ()> const&) (caulk:x86_64+0x2474)
    #6 0x7fff6f6102c9 in caulk::alloc::details::dispatch_resource<caulk::alloc::caching_page_allocator<16384ul> >::dispatch_resource() (caulk:x86_64+0x22c9)
    #7 0x7fff6f610237 in caulk::alloc::global_allocator<caulk::alloc::caching_page_allocator<16384ul> >::impl() (caulk:x86_64+0x2237)
    #8 0x7fff6f60ffd2 in caulk::alloc::details::dispatch_resource<caulk::alloc::dsw_allocator<true> >::dispatch_resource() (caulk:x86_64+0x1fd2)
    #9 0x7fff6f60ff87 in caulk::alloc::global_allocator<caulk::alloc::dsw_allocator<true> >::impl() (caulk:x86_64+0x1f87)
    #10 0x7fff6f60ff05 in caulk::alloc::get_realtime_safe_resource() (caulk:x86_64+0x1f05)
    #11 0x7fff3b2c7105 in caulk::concurrent::async_message_queue::async_message_queue(caulk::concurrent::messenger::thread_strategy, caulk::thread::attributes const&) (CoreAudio:x86_64+0xb105)
    #12 0x7fff3b2c668e in AMCP::Log::Scope::Scope(char const*, char const*) (CoreAudio:x86_64+0xa68e)
    #13 0x7fff3b2c6388 in AMCP::Log::Scope_Registry::create(std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > const&) (CoreAudio:x86_64+0xa388)
    #14 0x7fff3b2c6113 in AMCP::Log::Scope_Registry::fetch(char const*, char const*) (CoreAudio:x86_64+0xa113)
    #15 0x7fff3b47f679 in void std::__1::__call_once_proxy<std::__1::tuple<AMCP::run_new_hal()::$_0&&> >(void*) (CoreAudio:x86_64+0x1c3679)
    #16 0x7fff7053e81b in std::__1::__call_once(unsigned long volatile&, void*, void (*)(void*)) (libc++.1.dylib:x86_64+0x181b)
    #17 0x7fff3b47f50e in AMCP::run_new_hal() (CoreAudio:x86_64+0x1c350e)
    #18 0x7fff3b2c3318 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7318)
    #19 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #20 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #21 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #22 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #23 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #24 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #25 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #26 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #27 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #28 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #29 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86

Direct leak of 44 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #3 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #4 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #5 0x7fff3b626977 in CADispatchQueue::InstallMachPortDeathNotification(unsigned int, void () block_pointer) (CoreAudio:x86_64+0x36a977)
    #6 0x7fff3b5e523d in HALC_ProxySystem::HALC_ProxySystem() (CoreAudio:x86_64+0x32923d)
    #7 0x7fff3b5f50af in HALC_ProxyObjectMap::_CreateSystemObject() (CoreAudio:x86_64+0x3390af)
    #8 0x7fff3b5f448a in HALC_ProxyObjectMap::CopyObjectByObjectID(unsigned int) (CoreAudio:x86_64+0x33848a)
    #9 0x7fff3b2be812 in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x2812)
    #10 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #11 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #12 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #13 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #14 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #15 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #16 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #17 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #18 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #19 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #20 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #21 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #22 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #23 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #24 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #25 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #26 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #27 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Direct leak of 44 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #3 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #4 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #5 0x7fff3b626977 in CADispatchQueue::InstallMachPortDeathNotification(unsigned int, void () block_pointer) (CoreAudio:x86_64+0x36a977)
    #6 0x7fff3b53761c in HALC_ProxyObject::HALC_ProxyObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0x27b61c)
    #7 0x7fff3b5f4cfe in HALC_ProxyObjectMap::CopyObjectByObjectID(unsigned int) (CoreAudio:x86_64+0x338cfe)
    #8 0x7fff3b3e159f in HALC_ShellSimpleProxyList::Reconcile(bool, bool) (CoreAudio:x86_64+0x12559f)
    #9 0x7fff3b3a70ff in HALC_ShellPlugIn::ConnectToServer() (CoreAudio:x86_64+0xeb0ff)
    #10 0x7fff3b3a929e in HAL_HardwarePlugIn_InitializeWithObjectID(AudioHardwarePlugInInterface**, unsigned int) (CoreAudio:x86_64+0xed29e)
    #11 0x7fff3b2c09df in HALPlugInManagement::CreateHALPlugIn(HALCFPlugIn const*) (CoreAudio:x86_64+0x49df)
    #12 0x7fff3b2bf82b in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x382b)
    #13 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #14 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #15 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #16 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #17 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #18 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #19 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #20 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #21 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #22 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #23 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #24 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #25 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #26 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #27 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #28 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #29 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)

Direct leak of 44 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #3 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #4 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #5 0x7fff3d1c1894 in connectToCoreServicesD() (CarbonCore:x86_64+0x1894)
    #6 0x7fff3d1c176c in getStatus() (CarbonCore:x86_64+0x176c)
    #7 0x7fff3d1c4611 in scCreateSystemServiceVersion (CarbonCore:x86_64+0x4611)
    #8 0x7fff3d1c43a2 in FileIDTreeGetCachedPort (CarbonCore:x86_64+0x43a2)
    #9 0x7fff3d1c4224 in FSNodeStorageGetAndLockCurrentUniverse (CarbonCore:x86_64+0x4224)
    #10 0x7fff3d1c405b in FileIDTreeGetAndLockVolumeEntryForDeviceID (CarbonCore:x86_64+0x405b)
    #11 0x7fff3d1c3f34 in FSMount::FSMount(unsigned int, FSMountNumberType, int*, unsigned int const*) (CarbonCore:x86_64+0x3f34)
    #12 0x7fff3d1c3ea6 in FSMountPrepare (CarbonCore:x86_64+0x3ea6)
    #13 0x7fff5488f2e2 in MountInfoPrepare (CoreServicesInternal:x86_64+0x62e2)
    #14 0x7fff5488ebb8 in parseAttributeBuffer(__CFAllocator const*, unsigned char const*, unsigned char, attrlist const*, void const*, void**, _FileAttributes*, unsigned int*) (CoreServicesInternal:x86_64+0x5bb8)
    #15 0x7fff5488dbc7 in corePropertyProviderPrepareValues(__CFURL const*, __FileCache*, __CFString const* const*, void const**, long, void const*, __CFError**) (CoreServicesInternal:x86_64+0x4bc7)
    #16 0x7fff5488d7e3 in prepareValuesForBitmap(__CFURL const*, __FileCache*, _FilePropertyBitmap*, __CFError**) (CoreServicesInternal:x86_64+0x47e3)
    #17 0x7fff54889eb9 in _FSURLCopyResourcePropertyForKeyInternal(__CFURL const*, __CFString const*, void*, void*, __CFError**, unsigned char) (CoreServicesInternal:x86_64+0xeb9)
    #18 0x7fff3bda0957 in CFURLCopyResourcePropertyForKey (CoreFoundation:x86_64h+0x57957)
    #19 0x7fff3be54486 in _CFBundleForksCouldBeResourceFile (CoreFoundation:x86_64h+0x10b486)
    #20 0x7fff3be5420f in _CFBundleCopyInfoDictionaryInResourceForkWithAllocator (CoreFoundation:x86_64h+0x10b20f)
    #21 0x7fff3d1c1242 in GetBugsForOurBundleIDFromCoreservicesd (CarbonCore:x86_64+0x1242)
    #22 0x7fff3d1c10c1 in _CSCheckFix (CarbonCore:x86_64+0x10c1)
    #23 0x7fff6fcb14a8 in CAAppWorkArounds::CSCheckFix(__CFString const*) (libAudioToolboxUtility.dylib:x86_64+0x2e4a8)
    #24 0x7fff6fcb1370 in Prime() (libAudioToolboxUtility.dylib:x86_64+0x2e370)
    #25 0x7fff736294a5 in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x24a5)
    #26 0x7fff7361ed06 in _os_once_callout (libsystem_platform.dylib:x86_64+0x1d06)
    #27 0x7fff73629441 in pthread_once (libsystem_pthread.dylib:x86_64+0x2441)
    #28 0x7fff503be6b2 in _AudioConverterNewInternal (AudioToolboxCore:x86_64+0xd06b2)
    #29 0x1107042b8  (CoreAudio:x86_64+0x42b8)

Direct leak of 44 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #3 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #4 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #5 0x7fff6f610474 in caulk::alloc::details::dispatch_memory_monitor::dispatch_memory_monitor(std::__1::function<void ()> const&) (caulk:x86_64+0x2474)
    #6 0x7fff6f6100c0 in caulk::alloc::details::dispatch_resource<caulk::alloc::dsw_allocator<true> >::dispatch_resource() (caulk:x86_64+0x20c0)
    #7 0x7fff6f60ff87 in caulk::alloc::global_allocator<caulk::alloc::dsw_allocator<true> >::impl() (caulk:x86_64+0x1f87)
    #8 0x7fff6f60ff05 in caulk::alloc::get_realtime_safe_resource() (caulk:x86_64+0x1f05)
    #9 0x7fff3b2c7105 in caulk::concurrent::async_message_queue::async_message_queue(caulk::concurrent::messenger::thread_strategy, caulk::thread::attributes const&) (CoreAudio:x86_64+0xb105)
    #10 0x7fff3b2c668e in AMCP::Log::Scope::Scope(char const*, char const*) (CoreAudio:x86_64+0xa68e)
    #11 0x7fff3b2c6388 in AMCP::Log::Scope_Registry::create(std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > const&) (CoreAudio:x86_64+0xa388)
    #12 0x7fff3b2c6113 in AMCP::Log::Scope_Registry::fetch(char const*, char const*) (CoreAudio:x86_64+0xa113)
    #13 0x7fff3b47f679 in void std::__1::__call_once_proxy<std::__1::tuple<AMCP::run_new_hal()::$_0&&> >(void*) (CoreAudio:x86_64+0x1c3679)
    #14 0x7fff7053e81b in std::__1::__call_once(unsigned long volatile&, void*, void (*)(void*)) (libc++.1.dylib:x86_64+0x181b)
    #15 0x7fff3b47f50e in AMCP::run_new_hal() (CoreAudio:x86_64+0x1c350e)
    #16 0x7fff3b2c3318 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7318)
    #17 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #18 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #19 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #20 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #21 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #22 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #23 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #24 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #25 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #26 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #27 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #28 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #29 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015

Direct leak of 44 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #3 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #4 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #5 0x7fff3eb50e6c in IONotificationPortSetDispatchQueue (IOKit:x86_64+0x3e6c)
    #6 0x7fff3b2beda2 in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x2da2)
    #7 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #8 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #9 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #10 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #11 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #12 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #13 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #14 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #15 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #16 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #17 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #18 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #19 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #20 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #21 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #22 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #23 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #24 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Direct leak of 44 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #3 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #4 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #5 0x7fff3b6b5a9b in HALB_DispatchQueue::InstallMIGServer(unsigned int, unsigned int, unsigned int (*)(mach_msg_header_t*, mach_msg_header_t*)) (CoreAudio:x86_64+0x3f9a9b)
    #6 0x7fff3b5e526a in HALC_ProxySystem::HALC_ProxySystem() (CoreAudio:x86_64+0x32926a)
    #7 0x7fff3b5f50af in HALC_ProxyObjectMap::_CreateSystemObject() (CoreAudio:x86_64+0x3390af)
    #8 0x7fff3b5f448a in HALC_ProxyObjectMap::CopyObjectByObjectID(unsigned int) (CoreAudio:x86_64+0x33848a)
    #9 0x7fff3b2be812 in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x2812)
    #10 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #11 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #12 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #13 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #14 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #15 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #16 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #17 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #18 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #19 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #20 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #21 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #22 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #23 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #24 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #25 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #26 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #27 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Direct leak of 44 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #3 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #4 0x10bc45676 in wrap_dispatch_source_set_cancel_handler (librustc_rt.lsan.dylib:x86_64+0x7676)
    #5 0x7fff3d1c1867 in connectToCoreServicesD() (CarbonCore:x86_64+0x1867)
    #6 0x7fff3d1c176c in getStatus() (CarbonCore:x86_64+0x176c)
    #7 0x7fff3d1c4611 in scCreateSystemServiceVersion (CarbonCore:x86_64+0x4611)
    #8 0x7fff3d1c43a2 in FileIDTreeGetCachedPort (CarbonCore:x86_64+0x43a2)
    #9 0x7fff3d1c4224 in FSNodeStorageGetAndLockCurrentUniverse (CarbonCore:x86_64+0x4224)
    #10 0x7fff3d1c405b in FileIDTreeGetAndLockVolumeEntryForDeviceID (CarbonCore:x86_64+0x405b)
    #11 0x7fff3d1c3f34 in FSMount::FSMount(unsigned int, FSMountNumberType, int*, unsigned int const*) (CarbonCore:x86_64+0x3f34)
    #12 0x7fff3d1c3ea6 in FSMountPrepare (CarbonCore:x86_64+0x3ea6)
    #13 0x7fff5488f2e2 in MountInfoPrepare (CoreServicesInternal:x86_64+0x62e2)
    #14 0x7fff5488ebb8 in parseAttributeBuffer(__CFAllocator const*, unsigned char const*, unsigned char, attrlist const*, void const*, void**, _FileAttributes*, unsigned int*) (CoreServicesInternal:x86_64+0x5bb8)
    #15 0x7fff5488dbc7 in corePropertyProviderPrepareValues(__CFURL const*, __FileCache*, __CFString const* const*, void const**, long, void const*, __CFError**) (CoreServicesInternal:x86_64+0x4bc7)
    #16 0x7fff5488d7e3 in prepareValuesForBitmap(__CFURL const*, __FileCache*, _FilePropertyBitmap*, __CFError**) (CoreServicesInternal:x86_64+0x47e3)
    #17 0x7fff54889eb9 in _FSURLCopyResourcePropertyForKeyInternal(__CFURL const*, __CFString const*, void*, void*, __CFError**, unsigned char) (CoreServicesInternal:x86_64+0xeb9)
    #18 0x7fff3bda0957 in CFURLCopyResourcePropertyForKey (CoreFoundation:x86_64h+0x57957)
    #19 0x7fff3be54486 in _CFBundleForksCouldBeResourceFile (CoreFoundation:x86_64h+0x10b486)
    #20 0x7fff3be5420f in _CFBundleCopyInfoDictionaryInResourceForkWithAllocator (CoreFoundation:x86_64h+0x10b20f)
    #21 0x7fff3d1c1242 in GetBugsForOurBundleIDFromCoreservicesd (CarbonCore:x86_64+0x1242)
    #22 0x7fff3d1c10c1 in _CSCheckFix (CarbonCore:x86_64+0x10c1)
    #23 0x7fff6fcb14a8 in CAAppWorkArounds::CSCheckFix(__CFString const*) (libAudioToolboxUtility.dylib:x86_64+0x2e4a8)
    #24 0x7fff6fcb1370 in Prime() (libAudioToolboxUtility.dylib:x86_64+0x2e370)
    #25 0x7fff736294a5 in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x24a5)
    #26 0x7fff7361ed06 in _os_once_callout (libsystem_platform.dylib:x86_64+0x1d06)
    #27 0x7fff73629441 in pthread_once (libsystem_pthread.dylib:x86_64+0x2441)
    #28 0x7fff503be6b2 in _AudioConverterNewInternal (AudioToolboxCore:x86_64+0xd06b2)
    #29 0x1107042b8  (CoreAudio:x86_64+0x42b8)

Direct leak of 44 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #3 0x7fff733d2742 in dispatch_async (libdispatch.dylib:x86_64+0x6742)
    #4 0x10bc45401 in wrap_dispatch_async (librustc_rt.lsan.dylib:x86_64+0x7401)
    #5 0x7fff3b3d2a38 in invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) (CoreAudio:x86_64+0x116a38)
    #6 0x7fff3b50961b in HALB_IOThread::Entry(void*) (CoreAudio:x86_64+0x24d61b)
    #7 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #8 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Direct leak of 44 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #3 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #4 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #5 0x7fff3eb50e6c in IONotificationPortSetDispatchQueue (IOKit:x86_64+0x3e6c)
    #6 0x7fff3b2be060 in HALSystem::InitializeShell() (CoreAudio:x86_64+0x2060)
    #7 0x7fff3b2bd85c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x185c)
    #8 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #9 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #10 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #11 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #12 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #13 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #14 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #15 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #16 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #17 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #18 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #19 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #20 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #21 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #22 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #23 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #24 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Direct leak of 33 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45e6a in wrap_realloc (librustc_rt.lsan.dylib:x86_64+0x7e6a)
    #1 0x10b9a5992 in std::ffi::c_str::CString::from_vec_unchecked::hc073cda091e4ba8e raw_vec.rs:659
    #2 0x10b988864 in coreaudio_sys_utils::string::StringRef::to_cstring::h6195dd75e9801430 string.rs:54
    #3 0x10b988894 in coreaudio_sys_utils::string::StringRef::into_cstring::h8517f11d470dcb33 string.rs:59
    #4 0x10b926ece in cubeb_coreaudio::backend::create_cubeb_device_info::he5c80dd5ccd118a4 mod.rs:1471
    #5 0x10b8d1734 in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::test_create_device_infos_by_device::h4a511338138d223d api.rs:1388
    #6 0x10b8d0e5e in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::test_create_device_from_hwdev_in_scope::ha44f89f0f4adb3f4 api.rs:1355
    #7 0x10b8d0d38 in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::h47b43ca6ea5620ec api.rs:1348
    #8 0x10b8eee80 in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::_$u7b$$u7b$closure$u7d$$u7d$::h201b62b28ed56a6b api.rs:1345
    #9 0x10b86df50 in core::ops::function::FnOnce::call_once::h858ab7776d44cdc2 function.rs:232
    #10 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #11 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #12 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #13 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #14 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #15 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #16 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #17 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #18 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #19 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #20 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Direct leak of 20 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x10b9a5821 in _$LT$$RF$str$u20$as$u20$std..ffi..c_str..CString..new..SpecIntoVec$GT$::into_vec::hfaea03acdad6700c raw_vec.rs:88
    #2 0x10b98855e in std::ffi::c_str::CString::new::h18a8bea7eea4dcb5 c_str.rs:350
    #3 0x10b8d2fe5 in cubeb_coreaudio::backend::tests::api::test_device_destroy_with_different_device_id_and_group_id::h978c739d554a98fe api.rs:1520
    #4 0x10b8eef40 in cubeb_coreaudio::backend::tests::api::test_device_destroy_with_different_device_id_and_group_id::_$u7b$$u7b$closure$u7d$$u7d$::he643a991dd88c993 api.rs:1515
    #5 0x10b86f0b0 in core::ops::function::FnOnce::call_once::hdfe4d114b1697b29 function.rs:232
    #6 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #7 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #8 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #9 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #10 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #11 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #12 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #13 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #14 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #15 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #16 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Direct leak of 20 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45e6a in wrap_realloc (librustc_rt.lsan.dylib:x86_64+0x7e6a)
    #1 0x10b9a5992 in std::ffi::c_str::CString::from_vec_unchecked::hc073cda091e4ba8e raw_vec.rs:659
    #2 0x10b988864 in coreaudio_sys_utils::string::StringRef::to_cstring::h6195dd75e9801430 string.rs:54
    #3 0x10b988894 in coreaudio_sys_utils::string::StringRef::into_cstring::h8517f11d470dcb33 string.rs:59
    #4 0x10b9274a3 in cubeb_coreaudio::backend::create_cubeb_device_info::he5c80dd5ccd118a4 mod.rs:1486
    #5 0x10b8d1734 in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::test_create_device_infos_by_device::h4a511338138d223d api.rs:1388
    #6 0x10b8d0e5e in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::test_create_device_from_hwdev_in_scope::ha44f89f0f4adb3f4 api.rs:1355
    #7 0x10b8d0d38 in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::h47b43ca6ea5620ec api.rs:1348
    #8 0x10b8eee80 in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::_$u7b$$u7b$closure$u7d$$u7d$::h201b62b28ed56a6b api.rs:1345
    #9 0x10b86df50 in core::ops::function::FnOnce::call_once::h858ab7776d44cdc2 function.rs:232
    #10 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #11 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #12 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #13 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #14 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #15 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #16 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #17 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #18 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #19 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #20 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Direct leak of 18 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x10b9a5821 in _$LT$$RF$str$u20$as$u20$std..ffi..c_str..CString..new..SpecIntoVec$GT$::into_vec::hfaea03acdad6700c raw_vec.rs:88
    #2 0x10b98855e in std::ffi::c_str::CString::new::h18a8bea7eea4dcb5 c_str.rs:350
    #3 0x10b8d3039 in cubeb_coreaudio::backend::tests::api::test_device_destroy_with_different_device_id_and_group_id::h978c739d554a98fe api.rs:1521
    #4 0x10b8eef40 in cubeb_coreaudio::backend::tests::api::test_device_destroy_with_different_device_id_and_group_id::_$u7b$$u7b$closure$u7d$$u7d$::he643a991dd88c993 api.rs:1515
    #5 0x10b86f0b0 in core::ops::function::FnOnce::call_once::hdfe4d114b1697b29 function.rs:232
    #6 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #7 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #8 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #9 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #10 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #11 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #12 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #13 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #14 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #15 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #16 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Direct leak of 16 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x10b9a5821 in _$LT$$RF$str$u20$as$u20$std..ffi..c_str..CString..new..SpecIntoVec$GT$::into_vec::hfaea03acdad6700c raw_vec.rs:88
    #2 0x10b98855e in std::ffi::c_str::CString::new::h18a8bea7eea4dcb5 c_str.rs:350
    #3 0x10b8d2f4e in cubeb_coreaudio::backend::tests::api::test_device_destroy_with_different_device_id_and_group_id::h978c739d554a98fe api.rs:1518
    #4 0x10b8eef40 in cubeb_coreaudio::backend::tests::api::test_device_destroy_with_different_device_id_and_group_id::_$u7b$$u7b$closure$u7d$$u7d$::he643a991dd88c993 api.rs:1515
    #5 0x10b86f0b0 in core::ops::function::FnOnce::call_once::hdfe4d114b1697b29 function.rs:232
    #6 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #7 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #8 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #9 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #10 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #11 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #12 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #13 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #14 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #15 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #16 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Direct leak of 15 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x10b9a5821 in _$LT$$RF$str$u20$as$u20$std..ffi..c_str..CString..new..SpecIntoVec$GT$::into_vec::hfaea03acdad6700c raw_vec.rs:88
    #2 0x10b98855e in std::ffi::c_str::CString::new::h18a8bea7eea4dcb5 c_str.rs:350
    #3 0x10b8d2f8b in cubeb_coreaudio::backend::tests::api::test_device_destroy_with_different_device_id_and_group_id::h978c739d554a98fe api.rs:1519
    #4 0x10b8eef40 in cubeb_coreaudio::backend::tests::api::test_device_destroy_with_different_device_id_and_group_id::_$u7b$$u7b$closure$u7d$$u7d$::he643a991dd88c993 api.rs:1515
    #5 0x10b86f0b0 in core::ops::function::FnOnce::call_once::hdfe4d114b1697b29 function.rs:232
    #6 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #7 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #8 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #9 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #10 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #11 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #12 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #13 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #14 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #15 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #16 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Direct leak of 11 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45e6a in wrap_realloc (librustc_rt.lsan.dylib:x86_64+0x7e6a)
    #1 0x10b9a5992 in std::ffi::c_str::CString::from_vec_unchecked::hc073cda091e4ba8e raw_vec.rs:659
    #2 0x10b988864 in coreaudio_sys_utils::string::StringRef::to_cstring::h6195dd75e9801430 string.rs:54
    #3 0x10b988894 in coreaudio_sys_utils::string::StringRef::into_cstring::h8517f11d470dcb33 string.rs:59
    #4 0x10b927ac2 in cubeb_coreaudio::backend::create_cubeb_device_info::he5c80dd5ccd118a4 mod.rs:1501
    #5 0x10b8d1734 in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::test_create_device_infos_by_device::h4a511338138d223d api.rs:1388
    #6 0x10b8d0e5e in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::test_create_device_from_hwdev_in_scope::ha44f89f0f4adb3f4 api.rs:1355
    #7 0x10b8d0d38 in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::h47b43ca6ea5620ec api.rs:1348
    #8 0x10b8eee80 in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::_$u7b$$u7b$closure$u7d$$u7d$::h201b62b28ed56a6b api.rs:1345
    #9 0x10b86df50 in core::ops::function::FnOnce::call_once::h858ab7776d44cdc2 function.rs:232
    #10 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #11 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #12 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #13 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #14 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #15 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #16 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #17 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #18 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #19 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #20 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Direct leak of 11 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45e6a in wrap_realloc (librustc_rt.lsan.dylib:x86_64+0x7e6a)
    #1 0x10b9a5992 in std::ffi::c_str::CString::from_vec_unchecked::hc073cda091e4ba8e raw_vec.rs:659
    #2 0x10b988864 in coreaudio_sys_utils::string::StringRef::to_cstring::h6195dd75e9801430 string.rs:54
    #3 0x10b988894 in coreaudio_sys_utils::string::StringRef::into_cstring::h8517f11d470dcb33 string.rs:59
    #4 0x10b927ac2 in cubeb_coreaudio::backend::create_cubeb_device_info::he5c80dd5ccd118a4 mod.rs:1501
    #5 0x10b8d1734 in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::test_create_device_infos_by_device::h4a511338138d223d api.rs:1388
    #6 0x10b8d0e5e in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::test_create_device_from_hwdev_in_scope::ha44f89f0f4adb3f4 api.rs:1355
    #7 0x10b8d0d49 in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::h47b43ca6ea5620ec api.rs:1349
    #8 0x10b8eee80 in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::_$u7b$$u7b$closure$u7d$$u7d$::h201b62b28ed56a6b api.rs:1345
    #9 0x10b86df50 in core::ops::function::FnOnce::call_once::h858ab7776d44cdc2 function.rs:232
    #10 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #11 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #12 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #13 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #14 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #15 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #16 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #17 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #18 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #19 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #20 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Direct leak of 7 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45e6a in wrap_realloc (librustc_rt.lsan.dylib:x86_64+0x7e6a)
    #1 0x10b9a5992 in std::ffi::c_str::CString::from_vec_unchecked::hc073cda091e4ba8e raw_vec.rs:659
    #2 0x10b988864 in coreaudio_sys_utils::string::StringRef::to_cstring::h6195dd75e9801430 string.rs:54
    #3 0x10b988894 in coreaudio_sys_utils::string::StringRef::into_cstring::h8517f11d470dcb33 string.rs:59
    #4 0x10b9274a3 in cubeb_coreaudio::backend::create_cubeb_device_info::he5c80dd5ccd118a4 mod.rs:1486
    #5 0x10b8d1734 in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::test_create_device_infos_by_device::h4a511338138d223d api.rs:1388
    #6 0x10b8d0e5e in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::test_create_device_from_hwdev_in_scope::ha44f89f0f4adb3f4 api.rs:1355
    #7 0x10b8d0d49 in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::h47b43ca6ea5620ec api.rs:1349
    #8 0x10b8eee80 in cubeb_coreaudio::backend::tests::api::test_create_cubeb_device_info::_$u7b$$u7b$closure$u7d$$u7d$::h201b62b28ed56a6b api.rs:1345
    #9 0x10b86df50 in core::ops::function::FnOnce::call_once::h858ab7776d44cdc2 function.rs:232
    #10 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #11 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #12 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #13 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #14 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #15 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #16 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #17 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #18 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #19 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #20 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Indirect leak of 6200 byte(s) in 155 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff73476a84 in _Block_object_assign (libsystem_blocks.dylib:x86_64+0xa84)
    #3 0x7fff734769ea in _Block_copy (libsystem_blocks.dylib:x86_64+0x9ea)
    #4 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #5 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #6 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #7 0x7fff3b626977 in CADispatchQueue::InstallMachPortDeathNotification(unsigned int, void () block_pointer) (CoreAudio:x86_64+0x36a977)
    #8 0x7fff3b53761c in HALC_ProxyObject::HALC_ProxyObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0x27b61c)
    #9 0x7fff3b5f4cfe in HALC_ProxyObjectMap::CopyObjectByObjectID(unsigned int) (CoreAudio:x86_64+0x338cfe)
    #10 0x7fff3b319b99 in HALC_ShellDevice::RebuildControlList(bool) (CoreAudio:x86_64+0x5db99)
    #11 0x7fff3b3163de in HALC_ShellDevice::Activate() (CoreAudio:x86_64+0x5a3de)
    #12 0x7fff3b3856f9 in HALC_ShellObjectMap::CreateObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0xc96f9)
    #13 0x7fff3b3a668b in HALC_ShellPlugIn::_ReconcileDeviceList(bool, bool, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&) (CoreAudio:x86_64+0xea68b)
    #14 0x7fff3b618f5b in HALB_CommandGate::ExecuteCommand(void () block_pointer) const (CoreAudio:x86_64+0x35cf5b)
    #15 0x7fff3b3a61b7 in HALC_ShellPlugIn::ReconcileDeviceList(bool, bool) (CoreAudio:x86_64+0xea1b7)
    #16 0x7fff3b3a7107 in HALC_ShellPlugIn::ConnectToServer() (CoreAudio:x86_64+0xeb107)
    #17 0x7fff3b3a929e in HAL_HardwarePlugIn_InitializeWithObjectID(AudioHardwarePlugInInterface**, unsigned int) (CoreAudio:x86_64+0xed29e)
    #18 0x7fff3b2c09df in HALPlugInManagement::CreateHALPlugIn(HALCFPlugIn const*) (CoreAudio:x86_64+0x49df)
    #19 0x7fff3b2bf82b in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x382b)
    #20 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #21 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #22 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #23 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #24 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #25 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #26 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #27 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #28 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #29 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539

Indirect leak of 280 byte(s) in 7 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff73476a84 in _Block_object_assign (libsystem_blocks.dylib:x86_64+0xa84)
    #3 0x7fff734769ea in _Block_copy (libsystem_blocks.dylib:x86_64+0x9ea)
    #4 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #5 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #6 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #7 0x7fff3b626977 in CADispatchQueue::InstallMachPortDeathNotification(unsigned int, void () block_pointer) (CoreAudio:x86_64+0x36a977)
    #8 0x7fff3b53761c in HALC_ProxyObject::HALC_ProxyObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0x27b61c)
    #9 0x7fff3b5f4cfe in HALC_ProxyObjectMap::CopyObjectByObjectID(unsigned int) (CoreAudio:x86_64+0x338cfe)
    #10 0x7fff3b3e159f in HALC_ShellSimpleProxyList::Reconcile(bool, bool) (CoreAudio:x86_64+0x12559f)
    #11 0x7fff3b3a70d9 in HALC_ShellPlugIn::ConnectToServer() (CoreAudio:x86_64+0xeb0d9)
    #12 0x7fff3b3a929e in HAL_HardwarePlugIn_InitializeWithObjectID(AudioHardwarePlugInInterface**, unsigned int) (CoreAudio:x86_64+0xed29e)
    #13 0x7fff3b2c09df in HALPlugInManagement::CreateHALPlugIn(HALCFPlugIn const*) (CoreAudio:x86_64+0x49df)
    #14 0x7fff3b2bf82b in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x382b)
    #15 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #16 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #17 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #18 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #19 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #20 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #21 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #22 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #23 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #24 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #25 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #26 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #27 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #28 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #29 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015

Indirect leak of 280 byte(s) in 7 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff73476a84 in _Block_object_assign (libsystem_blocks.dylib:x86_64+0xa84)
    #3 0x7fff734769ea in _Block_copy (libsystem_blocks.dylib:x86_64+0x9ea)
    #4 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #5 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #6 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #7 0x7fff3b626977 in CADispatchQueue::InstallMachPortDeathNotification(unsigned int, void () block_pointer) (CoreAudio:x86_64+0x36a977)
    #8 0x7fff3b53761c in HALC_ProxyObject::HALC_ProxyObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0x27b61c)
    #9 0x7fff3b5f4cfe in HALC_ProxyObjectMap::CopyObjectByObjectID(unsigned int) (CoreAudio:x86_64+0x338cfe)
    #10 0x7fff3b31945e in HALC_ShellDevice::RebuildStreamLists(bool) (CoreAudio:x86_64+0x5d45e)
    #11 0x7fff3b3163d1 in HALC_ShellDevice::Activate() (CoreAudio:x86_64+0x5a3d1)
    #12 0x7fff3b3856f9 in HALC_ShellObjectMap::CreateObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0xc96f9)
    #13 0x7fff3b3a668b in HALC_ShellPlugIn::_ReconcileDeviceList(bool, bool, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&) (CoreAudio:x86_64+0xea68b)
    #14 0x7fff3b618f5b in HALB_CommandGate::ExecuteCommand(void () block_pointer) const (CoreAudio:x86_64+0x35cf5b)
    #15 0x7fff3b3a61b7 in HALC_ShellPlugIn::ReconcileDeviceList(bool, bool) (CoreAudio:x86_64+0xea1b7)
    #16 0x7fff3b3a7107 in HALC_ShellPlugIn::ConnectToServer() (CoreAudio:x86_64+0xeb107)
    #17 0x7fff3b3a929e in HAL_HardwarePlugIn_InitializeWithObjectID(AudioHardwarePlugInInterface**, unsigned int) (CoreAudio:x86_64+0xed29e)
    #18 0x7fff3b2c09df in HALPlugInManagement::CreateHALPlugIn(HALCFPlugIn const*) (CoreAudio:x86_64+0x49df)
    #19 0x7fff3b2bf82b in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x382b)
    #20 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #21 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #22 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #23 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #24 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #25 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #26 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #27 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #28 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #29 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539

Indirect leak of 200 byte(s) in 5 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff73476a84 in _Block_object_assign (libsystem_blocks.dylib:x86_64+0xa84)
    #3 0x7fff734769ea in _Block_copy (libsystem_blocks.dylib:x86_64+0x9ea)
    #4 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #5 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #6 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #7 0x7fff3b626977 in CADispatchQueue::InstallMachPortDeathNotification(unsigned int, void () block_pointer) (CoreAudio:x86_64+0x36a977)
    #8 0x7fff3b53761c in HALC_ProxyObject::HALC_ProxyObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0x27b61c)
    #9 0x7fff3b5f48c9 in HALC_ProxyObjectMap::CopyObjectByObjectID(unsigned int) (CoreAudio:x86_64+0x3388c9)
    #10 0x7fff3b31c03f in HALC_ShellDevice::BuildIOContext(unsigned int) (CoreAudio:x86_64+0x6003f)
    #11 0x7fff3b3856f9 in HALC_ShellObjectMap::CreateObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0xc96f9)
    #12 0x7fff3b3a668b in HALC_ShellPlugIn::_ReconcileDeviceList(bool, bool, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&) (CoreAudio:x86_64+0xea68b)
    #13 0x7fff3b618f5b in HALB_CommandGate::ExecuteCommand(void () block_pointer) const (CoreAudio:x86_64+0x35cf5b)
    #14 0x7fff3b3a61b7 in HALC_ShellPlugIn::ReconcileDeviceList(bool, bool) (CoreAudio:x86_64+0xea1b7)
    #15 0x7fff3b3a7107 in HALC_ShellPlugIn::ConnectToServer() (CoreAudio:x86_64+0xeb107)
    #16 0x7fff3b3a929e in HAL_HardwarePlugIn_InitializeWithObjectID(AudioHardwarePlugInInterface**, unsigned int) (CoreAudio:x86_64+0xed29e)
    #17 0x7fff3b2c09df in HALPlugInManagement::CreateHALPlugIn(HALCFPlugIn const*) (CoreAudio:x86_64+0x49df)
    #18 0x7fff3b2bf82b in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x382b)
    #19 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #20 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #21 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #22 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #23 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #24 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #25 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #26 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #27 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #28 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #29 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129

Indirect leak of 200 byte(s) in 5 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff73476a84 in _Block_object_assign (libsystem_blocks.dylib:x86_64+0xa84)
    #3 0x7fff734769ea in _Block_copy (libsystem_blocks.dylib:x86_64+0x9ea)
    #4 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #5 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #6 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #7 0x7fff3b626977 in CADispatchQueue::InstallMachPortDeathNotification(unsigned int, void () block_pointer) (CoreAudio:x86_64+0x36a977)
    #8 0x7fff3b53761c in HALC_ProxyObject::HALC_ProxyObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0x27b61c)
    #9 0x7fff3b5f4cfe in HALC_ProxyObjectMap::CopyObjectByObjectID(unsigned int) (CoreAudio:x86_64+0x338cfe)
    #10 0x7fff3b3a6638 in HALC_ShellPlugIn::_ReconcileDeviceList(bool, bool, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&) (CoreAudio:x86_64+0xea638)
    #11 0x7fff3b618f5b in HALB_CommandGate::ExecuteCommand(void () block_pointer) const (CoreAudio:x86_64+0x35cf5b)
    #12 0x7fff3b3a61b7 in HALC_ShellPlugIn::ReconcileDeviceList(bool, bool) (CoreAudio:x86_64+0xea1b7)
    #13 0x7fff3b3a7107 in HALC_ShellPlugIn::ConnectToServer() (CoreAudio:x86_64+0xeb107)
    #14 0x7fff3b3a929e in HAL_HardwarePlugIn_InitializeWithObjectID(AudioHardwarePlugInInterface**, unsigned int) (CoreAudio:x86_64+0xed29e)
    #15 0x7fff3b2c09df in HALPlugInManagement::CreateHALPlugIn(HALCFPlugIn const*) (CoreAudio:x86_64+0x49df)
    #16 0x7fff3b2bf82b in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x382b)
    #17 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #18 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #19 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #20 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #21 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #22 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #23 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #24 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #25 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #26 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #27 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #28 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #29 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86

Indirect leak of 156 byte(s) in 3 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff73476a84 in _Block_object_assign (libsystem_blocks.dylib:x86_64+0xa84)
    #3 0x7fff734769ea in _Block_copy (libsystem_blocks.dylib:x86_64+0x9ea)
    #4 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #5 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #6 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #7 0x7fff3b6b5a9b in HALB_DispatchQueue::InstallMIGServer(unsigned int, unsigned int, unsigned int (*)(mach_msg_header_t*, mach_msg_header_t*)) (CoreAudio:x86_64+0x3f9a9b)
    #8 0x7fff3b5f4c27 in HALC_ProxyObjectMap::CopyObjectByObjectID(unsigned int) (CoreAudio:x86_64+0x338c27)
    #9 0x7fff3b31c03f in HALC_ShellDevice::BuildIOContext(unsigned int) (CoreAudio:x86_64+0x6003f)
    #10 0x7fff3b3856f9 in HALC_ShellObjectMap::CreateObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0xc96f9)
    #11 0x7fff3b3a668b in HALC_ShellPlugIn::_ReconcileDeviceList(bool, bool, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&) (CoreAudio:x86_64+0xea68b)
    #12 0x7fff3b618f5b in HALB_CommandGate::ExecuteCommand(void () block_pointer) const (CoreAudio:x86_64+0x35cf5b)
    #13 0x7fff3b3a61b7 in HALC_ShellPlugIn::ReconcileDeviceList(bool, bool) (CoreAudio:x86_64+0xea1b7)
    #14 0x7fff3b3a7107 in HALC_ShellPlugIn::ConnectToServer() (CoreAudio:x86_64+0xeb107)
    #15 0x7fff3b3a929e in HAL_HardwarePlugIn_InitializeWithObjectID(AudioHardwarePlugInInterface**, unsigned int) (CoreAudio:x86_64+0xed29e)
    #16 0x7fff3b2c09df in HALPlugInManagement::CreateHALPlugIn(HALCFPlugIn const*) (CoreAudio:x86_64+0x49df)
    #17 0x7fff3b2bf82b in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x382b)
    #18 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #19 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #20 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #21 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #22 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #23 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #24 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #25 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #26 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #27 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #28 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #29 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305

Indirect leak of 128 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45f5a in wrap_calloc (librustc_rt.lsan.dylib:x86_64+0x7f5a)
    #1 0x7fff720ade5e in class_createInstance (libobjc.A.dylib:x86_64h+0x5e5e)
    #2 0x7fff733ceeaf in _os_object_alloc_realized (libdispatch.dylib:x86_64+0x2eaf)
    #3 0x7fff733dffd6 in dispatch_source_create (libdispatch.dylib:x86_64+0x13fd6)
    #4 0x7fff3d1c1824 in connectToCoreServicesD() (CarbonCore:x86_64+0x1824)
    #5 0x7fff3d1c176c in getStatus() (CarbonCore:x86_64+0x176c)
    #6 0x7fff3d1c4611 in scCreateSystemServiceVersion (CarbonCore:x86_64+0x4611)
    #7 0x7fff3d1c43a2 in FileIDTreeGetCachedPort (CarbonCore:x86_64+0x43a2)
    #8 0x7fff3d1c4224 in FSNodeStorageGetAndLockCurrentUniverse (CarbonCore:x86_64+0x4224)
    #9 0x7fff3d1c405b in FileIDTreeGetAndLockVolumeEntryForDeviceID (CarbonCore:x86_64+0x405b)
    #10 0x7fff3d1c3f34 in FSMount::FSMount(unsigned int, FSMountNumberType, int*, unsigned int const*) (CarbonCore:x86_64+0x3f34)
    #11 0x7fff3d1c3ea6 in FSMountPrepare (CarbonCore:x86_64+0x3ea6)
    #12 0x7fff5488f2e2 in MountInfoPrepare (CoreServicesInternal:x86_64+0x62e2)
    #13 0x7fff5488ebb8 in parseAttributeBuffer(__CFAllocator const*, unsigned char const*, unsigned char, attrlist const*, void const*, void**, _FileAttributes*, unsigned int*) (CoreServicesInternal:x86_64+0x5bb8)
    #14 0x7fff5488dbc7 in corePropertyProviderPrepareValues(__CFURL const*, __FileCache*, __CFString const* const*, void const**, long, void const*, __CFError**) (CoreServicesInternal:x86_64+0x4bc7)
    #15 0x7fff5488d7e3 in prepareValuesForBitmap(__CFURL const*, __FileCache*, _FilePropertyBitmap*, __CFError**) (CoreServicesInternal:x86_64+0x47e3)
    #16 0x7fff54889eb9 in _FSURLCopyResourcePropertyForKeyInternal(__CFURL const*, __CFString const*, void*, void*, __CFError**, unsigned char) (CoreServicesInternal:x86_64+0xeb9)
    #17 0x7fff3bda0957 in CFURLCopyResourcePropertyForKey (CoreFoundation:x86_64h+0x57957)
    #18 0x7fff3be54486 in _CFBundleForksCouldBeResourceFile (CoreFoundation:x86_64h+0x10b486)
    #19 0x7fff3be5420f in _CFBundleCopyInfoDictionaryInResourceForkWithAllocator (CoreFoundation:x86_64h+0x10b20f)
    #20 0x7fff3d1c1242 in GetBugsForOurBundleIDFromCoreservicesd (CarbonCore:x86_64+0x1242)
    #21 0x7fff3d1c10c1 in _CSCheckFix (CarbonCore:x86_64+0x10c1)
    #22 0x7fff6fcb14a8 in CAAppWorkArounds::CSCheckFix(__CFString const*) (libAudioToolboxUtility.dylib:x86_64+0x2e4a8)
    #23 0x7fff6fcb1370 in Prime() (libAudioToolboxUtility.dylib:x86_64+0x2e370)
    #24 0x7fff736294a5 in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x24a5)
    #25 0x7fff7361ed06 in _os_once_callout (libsystem_platform.dylib:x86_64+0x1d06)
    #26 0x7fff73629441 in pthread_once (libsystem_pthread.dylib:x86_64+0x2441)
    #27 0x7fff503be6b2 in _AudioConverterNewInternal (AudioToolboxCore:x86_64+0xd06b2)
    #28 0x1107042b8  (CoreAudio:x86_64+0x42b8)
    #29 0x1107041fd  (CoreAudio:x86_64+0x41fd)

Indirect leak of 88 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff73476a84 in _Block_object_assign (libsystem_blocks.dylib:x86_64+0xa84)
    #3 0x7fff734769ea in _Block_copy (libsystem_blocks.dylib:x86_64+0x9ea)
    #4 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #5 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #6 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #7 0x7fff6f610474 in caulk::alloc::details::dispatch_memory_monitor::dispatch_memory_monitor(std::__1::function<void ()> const&) (caulk:x86_64+0x2474)
    #8 0x7fff6f6102c9 in caulk::alloc::details::dispatch_resource<caulk::alloc::caching_page_allocator<16384ul> >::dispatch_resource() (caulk:x86_64+0x22c9)
    #9 0x7fff6f610237 in caulk::alloc::global_allocator<caulk::alloc::caching_page_allocator<16384ul> >::impl() (caulk:x86_64+0x2237)
    #10 0x7fff6f60ffd2 in caulk::alloc::details::dispatch_resource<caulk::alloc::dsw_allocator<true> >::dispatch_resource() (caulk:x86_64+0x1fd2)
    #11 0x7fff6f60ff87 in caulk::alloc::global_allocator<caulk::alloc::dsw_allocator<true> >::impl() (caulk:x86_64+0x1f87)
    #12 0x7fff6f60ff05 in caulk::alloc::get_realtime_safe_resource() (caulk:x86_64+0x1f05)
    #13 0x7fff3b2c7105 in caulk::concurrent::async_message_queue::async_message_queue(caulk::concurrent::messenger::thread_strategy, caulk::thread::attributes const&) (CoreAudio:x86_64+0xb105)
    #14 0x7fff3b2c668e in AMCP::Log::Scope::Scope(char const*, char const*) (CoreAudio:x86_64+0xa68e)
    #15 0x7fff3b2c6388 in AMCP::Log::Scope_Registry::create(std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > const&) (CoreAudio:x86_64+0xa388)
    #16 0x7fff3b2c6113 in AMCP::Log::Scope_Registry::fetch(char const*, char const*) (CoreAudio:x86_64+0xa113)
    #17 0x7fff3b47f679 in void std::__1::__call_once_proxy<std::__1::tuple<AMCP::run_new_hal()::$_0&&> >(void*) (CoreAudio:x86_64+0x1c3679)
    #18 0x7fff7053e81b in std::__1::__call_once(unsigned long volatile&, void*, void (*)(void*)) (libc++.1.dylib:x86_64+0x181b)
    #19 0x7fff3b47f50e in AMCP::run_new_hal() (CoreAudio:x86_64+0x1c350e)
    #20 0x7fff3b2c3318 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7318)
    #21 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #22 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #23 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #24 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #25 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #26 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #27 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #28 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #29 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129

Indirect leak of 88 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff73476a84 in _Block_object_assign (libsystem_blocks.dylib:x86_64+0xa84)
    #3 0x7fff734769ea in _Block_copy (libsystem_blocks.dylib:x86_64+0x9ea)
    #4 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #5 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #6 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #7 0x7fff6f610474 in caulk::alloc::details::dispatch_memory_monitor::dispatch_memory_monitor(std::__1::function<void ()> const&) (caulk:x86_64+0x2474)
    #8 0x7fff6f6100c0 in caulk::alloc::details::dispatch_resource<caulk::alloc::dsw_allocator<true> >::dispatch_resource() (caulk:x86_64+0x20c0)
    #9 0x7fff6f60ff87 in caulk::alloc::global_allocator<caulk::alloc::dsw_allocator<true> >::impl() (caulk:x86_64+0x1f87)
    #10 0x7fff6f60ff05 in caulk::alloc::get_realtime_safe_resource() (caulk:x86_64+0x1f05)
    #11 0x7fff3b2c7105 in caulk::concurrent::async_message_queue::async_message_queue(caulk::concurrent::messenger::thread_strategy, caulk::thread::attributes const&) (CoreAudio:x86_64+0xb105)
    #12 0x7fff3b2c668e in AMCP::Log::Scope::Scope(char const*, char const*) (CoreAudio:x86_64+0xa68e)
    #13 0x7fff3b2c6388 in AMCP::Log::Scope_Registry::create(std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > const&) (CoreAudio:x86_64+0xa388)
    #14 0x7fff3b2c6113 in AMCP::Log::Scope_Registry::fetch(char const*, char const*) (CoreAudio:x86_64+0xa113)
    #15 0x7fff3b47f679 in void std::__1::__call_once_proxy<std::__1::tuple<AMCP::run_new_hal()::$_0&&> >(void*) (CoreAudio:x86_64+0x1c3679)
    #16 0x7fff7053e81b in std::__1::__call_once(unsigned long volatile&, void*, void (*)(void*)) (libc++.1.dylib:x86_64+0x181b)
    #17 0x7fff3b47f50e in AMCP::run_new_hal() (CoreAudio:x86_64+0x1c350e)
    #18 0x7fff3b2c3318 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7318)
    #19 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #20 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #21 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #22 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #23 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #24 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #25 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #26 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #27 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #28 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #29 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86

Indirect leak of 80 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45f5a in wrap_calloc (librustc_rt.lsan.dylib:x86_64+0x7f5a)
    #1 0x7fff733ce4dc in _dispatch_calloc (libdispatch.dylib:x86_64+0x24dc)
    #2 0x7fff733e7fba in _dispatch_unote_create (libdispatch.dylib:x86_64+0x1bfba)
    #3 0x7fff733dffb9 in dispatch_source_create (libdispatch.dylib:x86_64+0x13fb9)
    #4 0x7fff733ea8d0 in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1e8d0)
    #5 0x7fff733ea461 in _dispatch_kq_drain (libdispatch.dylib:x86_64+0x1e461)
    #6 0x7fff733e99ee in _dispatch_kq_unote_update (libdispatch.dylib:x86_64+0x1d9ee)
    #7 0x7fff733e0b86 in _dispatch_source_install (libdispatch.dylib:x86_64+0x14b86)
    #8 0x7fff733e0adc in _dispatch_source_activate (libdispatch.dylib:x86_64+0x14adc)
    #9 0x7fff733d4313 in _dispatch_lane_resume_activate (libdispatch.dylib:x86_64+0x8313)
    #10 0x7fff6f61047d in caulk::alloc::details::dispatch_memory_monitor::dispatch_memory_monitor(std::__1::function<void ()> const&) (caulk:x86_64+0x247d)
    #11 0x7fff6f6102c9 in caulk::alloc::details::dispatch_resource<caulk::alloc::caching_page_allocator<16384ul> >::dispatch_resource() (caulk:x86_64+0x22c9)
    #12 0x7fff6f610237 in caulk::alloc::global_allocator<caulk::alloc::caching_page_allocator<16384ul> >::impl() (caulk:x86_64+0x2237)
    #13 0x7fff6f60ffd2 in caulk::alloc::details::dispatch_resource<caulk::alloc::dsw_allocator<true> >::dispatch_resource() (caulk:x86_64+0x1fd2)
    #14 0x7fff6f60ff87 in caulk::alloc::global_allocator<caulk::alloc::dsw_allocator<true> >::impl() (caulk:x86_64+0x1f87)
    #15 0x7fff6f60ff05 in caulk::alloc::get_realtime_safe_resource() (caulk:x86_64+0x1f05)
    #16 0x7fff3b2c7105 in caulk::concurrent::async_message_queue::async_message_queue(caulk::concurrent::messenger::thread_strategy, caulk::thread::attributes const&) (CoreAudio:x86_64+0xb105)
    #17 0x7fff3b2c668e in AMCP::Log::Scope::Scope(char const*, char const*) (CoreAudio:x86_64+0xa68e)
    #18 0x7fff3b2c6388 in AMCP::Log::Scope_Registry::create(std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > const&) (CoreAudio:x86_64+0xa388)
    #19 0x7fff3b2c6113 in AMCP::Log::Scope_Registry::fetch(char const*, char const*) (CoreAudio:x86_64+0xa113)
    #20 0x7fff3b47f679 in void std::__1::__call_once_proxy<std::__1::tuple<AMCP::run_new_hal()::$_0&&> >(void*) (CoreAudio:x86_64+0x1c3679)
    #21 0x7fff7053e81b in std::__1::__call_once(unsigned long volatile&, void*, void (*)(void*)) (libc++.1.dylib:x86_64+0x181b)
    #22 0x7fff3b47f50e in AMCP::run_new_hal() (CoreAudio:x86_64+0x1c350e)
    #23 0x7fff3b2c3318 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7318)
    #24 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #25 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #26 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #27 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #28 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #29 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015

Indirect leak of 52 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff73476a84 in _Block_object_assign (libsystem_blocks.dylib:x86_64+0xa84)
    #3 0x7fff734769ea in _Block_copy (libsystem_blocks.dylib:x86_64+0x9ea)
    #4 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #5 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #6 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #7 0x7fff3b6b5a9b in HALB_DispatchQueue::InstallMIGServer(unsigned int, unsigned int, unsigned int (*)(mach_msg_header_t*, mach_msg_header_t*)) (CoreAudio:x86_64+0x3f9a9b)
    #8 0x7fff3b5e526a in HALC_ProxySystem::HALC_ProxySystem() (CoreAudio:x86_64+0x32926a)
    #9 0x7fff3b5f50af in HALC_ProxyObjectMap::_CreateSystemObject() (CoreAudio:x86_64+0x3390af)
    #10 0x7fff3b5f448a in HALC_ProxyObjectMap::CopyObjectByObjectID(unsigned int) (CoreAudio:x86_64+0x33848a)
    #11 0x7fff3b2be812 in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x2812)
    #12 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #13 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #14 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #15 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #16 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #17 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #18 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #19 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #20 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #21 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #22 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #23 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #24 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #25 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #26 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #27 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #28 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #29 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Indirect leak of 44 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff73476a84 in _Block_object_assign (libsystem_blocks.dylib:x86_64+0xa84)
    #3 0x7fff734769ea in _Block_copy (libsystem_blocks.dylib:x86_64+0x9ea)
    #4 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #5 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #6 0x10bc45676 in wrap_dispatch_source_set_cancel_handler (librustc_rt.lsan.dylib:x86_64+0x7676)
    #7 0x7fff3d1c1867 in connectToCoreServicesD() (CarbonCore:x86_64+0x1867)
    #8 0x7fff3d1c176c in getStatus() (CarbonCore:x86_64+0x176c)
    #9 0x7fff3d1c4611 in scCreateSystemServiceVersion (CarbonCore:x86_64+0x4611)
    #10 0x7fff3d1c43a2 in FileIDTreeGetCachedPort (CarbonCore:x86_64+0x43a2)
    #11 0x7fff3d1c4224 in FSNodeStorageGetAndLockCurrentUniverse (CarbonCore:x86_64+0x4224)
    #12 0x7fff3d1c405b in FileIDTreeGetAndLockVolumeEntryForDeviceID (CarbonCore:x86_64+0x405b)
    #13 0x7fff3d1c3f34 in FSMount::FSMount(unsigned int, FSMountNumberType, int*, unsigned int const*) (CarbonCore:x86_64+0x3f34)
    #14 0x7fff3d1c3ea6 in FSMountPrepare (CarbonCore:x86_64+0x3ea6)
    #15 0x7fff5488f2e2 in MountInfoPrepare (CoreServicesInternal:x86_64+0x62e2)
    #16 0x7fff5488ebb8 in parseAttributeBuffer(__CFAllocator const*, unsigned char const*, unsigned char, attrlist const*, void const*, void**, _FileAttributes*, unsigned int*) (CoreServicesInternal:x86_64+0x5bb8)
    #17 0x7fff5488dbc7 in corePropertyProviderPrepareValues(__CFURL const*, __FileCache*, __CFString const* const*, void const**, long, void const*, __CFError**) (CoreServicesInternal:x86_64+0x4bc7)
    #18 0x7fff5488d7e3 in prepareValuesForBitmap(__CFURL const*, __FileCache*, _FilePropertyBitmap*, __CFError**) (CoreServicesInternal:x86_64+0x47e3)
    #19 0x7fff54889eb9 in _FSURLCopyResourcePropertyForKeyInternal(__CFURL const*, __CFString const*, void*, void*, __CFError**, unsigned char) (CoreServicesInternal:x86_64+0xeb9)
    #20 0x7fff3bda0957 in CFURLCopyResourcePropertyForKey (CoreFoundation:x86_64h+0x57957)
    #21 0x7fff3be54486 in _CFBundleForksCouldBeResourceFile (CoreFoundation:x86_64h+0x10b486)
    #22 0x7fff3be5420f in _CFBundleCopyInfoDictionaryInResourceForkWithAllocator (CoreFoundation:x86_64h+0x10b20f)
    #23 0x7fff3d1c1242 in GetBugsForOurBundleIDFromCoreservicesd (CarbonCore:x86_64+0x1242)
    #24 0x7fff3d1c10c1 in _CSCheckFix (CarbonCore:x86_64+0x10c1)
    #25 0x7fff6fcb14a8 in CAAppWorkArounds::CSCheckFix(__CFString const*) (libAudioToolboxUtility.dylib:x86_64+0x2e4a8)
    #26 0x7fff6fcb1370 in Prime() (libAudioToolboxUtility.dylib:x86_64+0x2e370)
    #27 0x7fff736294a5 in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x24a5)
    #28 0x7fff7361ed06 in _os_once_callout (libsystem_platform.dylib:x86_64+0x1d06)
    #29 0x7fff73629441 in pthread_once (libsystem_pthread.dylib:x86_64+0x2441)

Indirect leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff73476a84 in _Block_object_assign (libsystem_blocks.dylib:x86_64+0xa84)
    #3 0x7fff734769ea in _Block_copy (libsystem_blocks.dylib:x86_64+0x9ea)
    #4 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #5 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #6 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #7 0x7fff3b626977 in CADispatchQueue::InstallMachPortDeathNotification(unsigned int, void () block_pointer) (CoreAudio:x86_64+0x36a977)
    #8 0x7fff3b5e523d in HALC_ProxySystem::HALC_ProxySystem() (CoreAudio:x86_64+0x32923d)
    #9 0x7fff3b5f50af in HALC_ProxyObjectMap::_CreateSystemObject() (CoreAudio:x86_64+0x3390af)
    #10 0x7fff3b5f448a in HALC_ProxyObjectMap::CopyObjectByObjectID(unsigned int) (CoreAudio:x86_64+0x33848a)
    #11 0x7fff3b2be812 in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x2812)
    #12 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #13 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #14 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #15 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #16 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #17 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #18 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #19 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #20 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #21 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #22 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #23 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #24 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #25 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #26 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #27 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #28 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #29 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Indirect leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff73476a84 in _Block_object_assign (libsystem_blocks.dylib:x86_64+0xa84)
    #3 0x7fff734769ea in _Block_copy (libsystem_blocks.dylib:x86_64+0x9ea)
    #4 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #5 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #6 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #7 0x7fff6fc85de8 in CASmartPreferences::CASmartPreferences() (libAudioToolboxUtility.dylib:x86_64+0x2de8)
    #8 0x7fff6fc85d0b in CASmartPreferences::instance() (libAudioToolboxUtility.dylib:x86_64+0x2d0b)
    #9 0x7fff5030742d in assertXPCServiceReachable(NSString*) (AudioToolboxCore:x86_64+0x1942d)
    #10 0x7fff50307212 in AudioComponentMgr_RegistrarService::initPhase2() (AudioToolboxCore:x86_64+0x19212)
    #11 0x7fff50306c95 in AudioComponentMgr_NSExtension::initPhase2() (AudioToolboxCore:x86_64+0x18c95)
    #12 0x7fff50306abd in GlobalComponentPluginMgr() (AudioToolboxCore:x86_64+0x18abd)
    #13 0x7fff503069dd in AudioComponentFindNext (AudioToolboxCore:x86_64+0x189dd)
    #14 0x10b92301f in cubeb_coreaudio::backend::create_audiounit_by_description::h3e4af7b27780a734 mod.rs:1155
    #15 0x10b922f37 in cubeb_coreaudio::backend::create_default_audiounit::h71dec69af7fc8e1f mod.rs:1128
    #16 0x10b8cc464 in cubeb_coreaudio::backend::tests::api::test_create_default_audiounit::h8aaa060f00d09422 api.rs:857
    #17 0x10b8eeb20 in cubeb_coreaudio::backend::tests::api::test_create_default_audiounit::_$u7b$$u7b$closure$u7d$$u7d$::head8ffc071c77119 api.rs:845
    #18 0x10b86e400 in core::ops::function::FnOnce::call_once::h9250e57df7b85fe5 function.rs:232
    #19 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #20 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #21 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #22 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #23 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #24 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #25 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #26 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #27 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #28 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #29 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Indirect leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff73476a84 in _Block_object_assign (libsystem_blocks.dylib:x86_64+0xa84)
    #3 0x7fff734769ea in _Block_copy (libsystem_blocks.dylib:x86_64+0x9ea)
    #4 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #5 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #6 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #7 0x7fff3b626977 in CADispatchQueue::InstallMachPortDeathNotification(unsigned int, void () block_pointer) (CoreAudio:x86_64+0x36a977)
    #8 0x7fff3b53761c in HALC_ProxyObject::HALC_ProxyObject(unsigned int, unsigned int, unsigned int, unsigned int) (CoreAudio:x86_64+0x27b61c)
    #9 0x7fff3b5f4cfe in HALC_ProxyObjectMap::CopyObjectByObjectID(unsigned int) (CoreAudio:x86_64+0x338cfe)
    #10 0x7fff3b3e159f in HALC_ShellSimpleProxyList::Reconcile(bool, bool) (CoreAudio:x86_64+0x12559f)
    #11 0x7fff3b3a70ff in HALC_ShellPlugIn::ConnectToServer() (CoreAudio:x86_64+0xeb0ff)
    #12 0x7fff3b3a929e in HAL_HardwarePlugIn_InitializeWithObjectID(AudioHardwarePlugInInterface**, unsigned int) (CoreAudio:x86_64+0xed29e)
    #13 0x7fff3b2c09df in HALPlugInManagement::CreateHALPlugIn(HALCFPlugIn const*) (CoreAudio:x86_64+0x49df)
    #14 0x7fff3b2bf82b in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x382b)
    #15 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #16 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #17 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #18 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #19 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #20 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #21 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #22 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #23 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #24 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #25 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #26 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #27 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #28 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #29 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015

Indirect leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff73476a84 in _Block_object_assign (libsystem_blocks.dylib:x86_64+0xa84)
    #3 0x7fff734769ea in _Block_copy (libsystem_blocks.dylib:x86_64+0x9ea)
    #4 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #5 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #6 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #7 0x7fff3d1c1894 in connectToCoreServicesD() (CarbonCore:x86_64+0x1894)
    #8 0x7fff3d1c176c in getStatus() (CarbonCore:x86_64+0x176c)
    #9 0x7fff3d1c4611 in scCreateSystemServiceVersion (CarbonCore:x86_64+0x4611)
    #10 0x7fff3d1c43a2 in FileIDTreeGetCachedPort (CarbonCore:x86_64+0x43a2)
    #11 0x7fff3d1c4224 in FSNodeStorageGetAndLockCurrentUniverse (CarbonCore:x86_64+0x4224)
    #12 0x7fff3d1c405b in FileIDTreeGetAndLockVolumeEntryForDeviceID (CarbonCore:x86_64+0x405b)
    #13 0x7fff3d1c3f34 in FSMount::FSMount(unsigned int, FSMountNumberType, int*, unsigned int const*) (CarbonCore:x86_64+0x3f34)
    #14 0x7fff3d1c3ea6 in FSMountPrepare (CarbonCore:x86_64+0x3ea6)
    #15 0x7fff5488f2e2 in MountInfoPrepare (CoreServicesInternal:x86_64+0x62e2)
    #16 0x7fff5488ebb8 in parseAttributeBuffer(__CFAllocator const*, unsigned char const*, unsigned char, attrlist const*, void const*, void**, _FileAttributes*, unsigned int*) (CoreServicesInternal:x86_64+0x5bb8)
    #17 0x7fff5488dbc7 in corePropertyProviderPrepareValues(__CFURL const*, __FileCache*, __CFString const* const*, void const**, long, void const*, __CFError**) (CoreServicesInternal:x86_64+0x4bc7)
    #18 0x7fff5488d7e3 in prepareValuesForBitmap(__CFURL const*, __FileCache*, _FilePropertyBitmap*, __CFError**) (CoreServicesInternal:x86_64+0x47e3)
    #19 0x7fff54889eb9 in _FSURLCopyResourcePropertyForKeyInternal(__CFURL const*, __CFString const*, void*, void*, __CFError**, unsigned char) (CoreServicesInternal:x86_64+0xeb9)
    #20 0x7fff3bda0957 in CFURLCopyResourcePropertyForKey (CoreFoundation:x86_64h+0x57957)
    #21 0x7fff3be54486 in _CFBundleForksCouldBeResourceFile (CoreFoundation:x86_64h+0x10b486)
    #22 0x7fff3be5420f in _CFBundleCopyInfoDictionaryInResourceForkWithAllocator (CoreFoundation:x86_64h+0x10b20f)
    #23 0x7fff3d1c1242 in GetBugsForOurBundleIDFromCoreservicesd (CarbonCore:x86_64+0x1242)
    #24 0x7fff3d1c10c1 in _CSCheckFix (CarbonCore:x86_64+0x10c1)
    #25 0x7fff6fcb14a8 in CAAppWorkArounds::CSCheckFix(__CFString const*) (libAudioToolboxUtility.dylib:x86_64+0x2e4a8)
    #26 0x7fff6fcb1370 in Prime() (libAudioToolboxUtility.dylib:x86_64+0x2e370)
    #27 0x7fff736294a5 in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x24a5)
    #28 0x7fff7361ed06 in _os_once_callout (libsystem_platform.dylib:x86_64+0x1d06)
    #29 0x7fff73629441 in pthread_once (libsystem_pthread.dylib:x86_64+0x2441)

Indirect leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff73476a84 in _Block_object_assign (libsystem_blocks.dylib:x86_64+0xa84)
    #3 0x7fff734769ea in _Block_copy (libsystem_blocks.dylib:x86_64+0x9ea)
    #4 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #5 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #6 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #7 0x7fff3eb50e6c in IONotificationPortSetDispatchQueue (IOKit:x86_64+0x3e6c)
    #8 0x7fff3b2beda2 in HALSystem::InitializeDevices() (CoreAudio:x86_64+0x2da2)
    #9 0x7fff3b2bd86c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x186c)
    #10 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #11 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #12 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #13 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #14 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #15 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #16 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #17 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #18 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #19 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #20 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #21 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #22 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #23 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #24 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #25 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #26 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Indirect leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x10bc45d15 in wrap_malloc (librustc_rt.lsan.dylib:x86_64+0x7d15)
    #1 0x7fff734769af in _Block_copy (libsystem_blocks.dylib:x86_64+0x9af)
    #2 0x7fff73476a84 in _Block_object_assign (libsystem_blocks.dylib:x86_64+0xa84)
    #3 0x7fff734769ea in _Block_copy (libsystem_blocks.dylib:x86_64+0x9ea)
    #4 0x7fff733ce565 in _dispatch_Block_copy (libdispatch.dylib:x86_64+0x2565)
    #5 0x7fff733e0671 in _dispatch_source_set_handler (libdispatch.dylib:x86_64+0x14671)
    #6 0x10bc45741 in wrap_dispatch_source_set_event_handler (librustc_rt.lsan.dylib:x86_64+0x7741)
    #7 0x7fff3eb50e6c in IONotificationPortSetDispatchQueue (IOKit:x86_64+0x3e6c)
    #8 0x7fff3b2be060 in HALSystem::InitializeShell() (CoreAudio:x86_64+0x2060)
    #9 0x7fff3b2bd85c in HALSystem::CheckOutInstance() (CoreAudio:x86_64+0x185c)
    #10 0x7fff3b2c3390 in AudioObjectGetPropertyDataSize (CoreAudio:x86_64+0x7390)
    #11 0x10b98a651 in coreaudio_sys_utils::audio_object::audio_object_get_property_data_size::he0eaf833299eebe4 audio_object.rs:53
    #12 0x10b8e5aab in cubeb_coreaudio::backend::aggregate_device::AggregateDevice::get_system_plugin_id::h3e76404f9b14a63e aggregate_device.rs:71
    #13 0x10b8ddf5c in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::h0d70a68fe2e1203a aggregate_device.rs:91
    #14 0x10b9083e0 in cubeb_coreaudio::backend::tests::aggregate_device::test_aggregate_destroy_aggregate_device_for_a_unknown_aggregate_device::_$u7b$$u7b$closure$u7d$$u7d$::h9d52174c383a86be aggregate_device.rs:90
    #15 0x10b86cc90 in core::ops::function::FnOnce::call_once::h17f8e75c23dc132f function.rs:232
    #16 0x10b94e24d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h2e4f93f81da76d17 boxed.rs:1015
    #17 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #18 0x10b967aa4 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h4b9b8a01f72b9615 lib.rs:539
    #19 0x10b94241a in std::sys_common::backtrace::__rust_begin_short_backtrace::h8b1b834f82c031fe backtrace.rs:129
    #20 0x10b946afa in std::panicking::try::do_call::h966c935c18dac3cf panicking.rs:305
    #21 0x10b9b563a in __rust_maybe_catch_panic lib.rs:86
    #22 0x10b9477a5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb4f3a0d1b28e2122 mod.rs:474
    #23 0x10b9a36dd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd024fcd4bc850c39 boxed.rs:1015
    #24 0x10b9b4ebd in std::sys::unix::thread::Thread::new::thread_start::h29195c599e6e65d6 boxed.rs:1015
    #25 0x7fff7362ce64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #26 0x7fff7362883a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

SUMMARY: LeakSanitizer: 16950 byte(s) leaked in 400 allocation(s).
@ChunMinChang
Copy link
Member Author

ChunMinChang commented Feb 26, 2020

Most of the memory leaks are from dispatch_source_create or _dispatch_Block_copy or something similar.

// Running LeakSanitizer with the coreaudio-sys-utils:
=================================================================
==13743==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 128 byte(s) in 1 object(s) allocated from:
    #0 0x10f7e550a in wrap_calloc (librustc-nightly_rt.lsan.dylib:x86_64h+0x850a)
    #1 0x7fff683e8e5e in class_createInstance (libobjc.A.dylib:x86_64h+0x5e5e)
    #2 0x7fff69709eaf in _os_object_alloc_realized (libdispatch.dylib:x86_64+0x2eaf)
    #3 0x7fff6971afd6 in dispatch_source_create (libdispatch.dylib:x86_64+0x13fd6)
    #4 0x7fff697258d0 in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1e8d0)
    #5 0x7fff69724f8a in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1df8a)
    #6 0x10f7e4668 in wrap_dispatch_async_f (librustc-nightly_rt.lsan.dylib:x86_64h+0x7668)
    #7 0x10eea6fd1 in coreaudio_sys_utils::dispatch::async_dispatch::hfe9462d21b1e5877 dispatch.rs:32
    #8 0x10eeb45f0 in coreaudio_sys_utils::dispatch::test::test_async_dispatch::_$u7b$$u7b$closure$u7d$$u7d$::h13d33ecbab40273d dispatch.rs:86
    #9 0x10eeb3d60 in coreaudio_sys_utils::dispatch::test::get_queue_and_resource::h1db6c3fb34e0eafb dispatch.rs:146
    #10 0x10ee9b877 in coreaudio_sys_utils::dispatch::test::test_async_dispatch::h78215a3ea09aa04a dispatch.rs:82
    #11 0x10eeb3e80 in coreaudio_sys_utils::dispatch::test::test_async_dispatch::_$u7b$$u7b$closure$u7d$$u7d$::h052828aa56548729 dispatch.rs:79
    #12 0x10eea7b00 in core::ops::function::FnOnce::call_once::hee665fd679a21e15 function.rs:232
    #13 0x10eec62bd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h3e4927503aa0d3d2 boxed.rs:1017
    #14 0x10ef0d14a in __rust_maybe_catch_panic lib.rs:86
    #15 0x10eee0011 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h6cdbf3c39cd97641 lib.rs:542
    #16 0x10eeb925a in std::sys_common::backtrace::__rust_begin_short_backtrace::hd3d992c394afe68a backtrace.rs:130
    #17 0x10eebdfea in std::panicking::try::do_call::h9510f0857600c781 panicking.rs:303
    #18 0x10ef0d14a in __rust_maybe_catch_panic lib.rs:86
    #19 0x10eebebe5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::heb23a0c73f6ef3d6 mod.rs:474
    #20 0x10eefb63d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hccc139f071572a3e boxed.rs:1017
    #21 0x10ef0cc0d in std::sys::unix::thread::Thread::new::thread_start::h8393670d384659c8 boxed.rs:1017
    #22 0x7fff69967e64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #23 0x7fff6996383a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

Indirect leak of 80 byte(s) in 1 object(s) allocated from:
    #0 0x10f7e550a in wrap_calloc (librustc-nightly_rt.lsan.dylib:x86_64h+0x850a)
    #1 0x7fff697094dc in _dispatch_calloc (libdispatch.dylib:x86_64+0x24dc)
    #2 0x7fff69722fba in _dispatch_unote_create (libdispatch.dylib:x86_64+0x1bfba)
    #3 0x7fff6971afb9 in dispatch_source_create (libdispatch.dylib:x86_64+0x13fb9)
    #4 0x7fff697258d0 in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1e8d0)
    #5 0x7fff69724f8a in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1df8a)
    #6 0x10f7e4668 in wrap_dispatch_async_f (librustc-nightly_rt.lsan.dylib:x86_64h+0x7668)
    #7 0x10eea6fd1 in coreaudio_sys_utils::dispatch::async_dispatch::hfe9462d21b1e5877 dispatch.rs:32
    #8 0x10eeb45f0 in coreaudio_sys_utils::dispatch::test::test_async_dispatch::_$u7b$$u7b$closure$u7d$$u7d$::h13d33ecbab40273d dispatch.rs:86
    #9 0x10eeb3d60 in coreaudio_sys_utils::dispatch::test::get_queue_and_resource::h1db6c3fb34e0eafb dispatch.rs:146
    #10 0x10ee9b877 in coreaudio_sys_utils::dispatch::test::test_async_dispatch::h78215a3ea09aa04a dispatch.rs:82
    #11 0x10eeb3e80 in coreaudio_sys_utils::dispatch::test::test_async_dispatch::_$u7b$$u7b$closure$u7d$$u7d$::h052828aa56548729 dispatch.rs:79
    #12 0x10eea7b00 in core::ops::function::FnOnce::call_once::hee665fd679a21e15 function.rs:232
    #13 0x10eec62bd in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h3e4927503aa0d3d2 boxed.rs:1017
    #14 0x10ef0d14a in __rust_maybe_catch_panic lib.rs:86
    #15 0x10eee0011 in test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h6cdbf3c39cd97641 lib.rs:542
    #16 0x10eeb925a in std::sys_common::backtrace::__rust_begin_short_backtrace::hd3d992c394afe68a backtrace.rs:130
    #17 0x10eebdfea in std::panicking::try::do_call::h9510f0857600c781 panicking.rs:303
    #18 0x10ef0d14a in __rust_maybe_catch_panic lib.rs:86
    #19 0x10eebebe5 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::heb23a0c73f6ef3d6 mod.rs:474
    #20 0x10eefb63d in _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hccc139f071572a3e boxed.rs:1017
    #21 0x10ef0cc0d in std::sys::unix::thread::Thread::new::thread_start::h8393670d384659c8 boxed.rs:1017
    #22 0x7fff69967e64 in _pthread_start (libsystem_pthread.dylib:x86_64+0x5e64)
    #23 0x7fff6996383a in thread_start (libsystem_pthread.dylib:x86_64+0x183a)

The situation here is similar to the followings

The _dispatch_Block_copy or _dispatch_source_set_handler stuff may be triggered by our dispatch APIs directly, or by CoreAudio APIs we use.

My understanding is: The memory allocated by dispatch_* stuff is controlled by the operating system and those memories will be deallocated when the operating system later on the will of the operating system. So for those memories, I guess no much we can do.

@ChunMinChang
Copy link
Member Author

ChunMinChang commented Feb 26, 2020

There are some memory leaks that are in our control:

  • test_create_cubeb_device_info
  • test_device_destroy_with_different_device_id_and_group_id

To make the memory leak more reasonable, we should skip the tests marked with #[should_panic]. It's natural to leak something when the program stops in an error place. Using something like RUSTFLAGS="-Z sanitizer=leak" cargo test -- --Z unstable-options --exclude-should-panic might be a more reasonable option to get the leak results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant