I found this page:
https://chromium.googlesource.com/chrom ... allocator/
which says:
Mac/iOS use_allocator: none, we always use the system's allocator implementation.
In addition, when building for asan / msan both the allocator and the shim layer are disabled.
Perhaps there is a way to disable the allocator and shim layer at runtime?
Thanks for any suggestions!
Rob
Call stack of the crash. Note, the crash is my main process, just allocating some memory when doing some NSView stuff:
- Code: Select all
#0 0x000000011115a4d8 in base::allocator::GetFunctionsForZone(void*)::'lambda'()::operator()() const [inlined] at /Users/spotify-buildagent/buildAgent/work/CEF3_git/chromium/src/base/allocator/malloc_zone_functions_mac.h:97
#1 0x000000011115a4d7 in base::allocator::GetFunctionsForZone(void*) [inlined] at /Users/spotify-buildagent/buildAgent/work/CEF3_git/chromium/src/base/allocator/malloc_zone_functions_mac.h:97
#2 0x000000011115a495 in base::allocator::(anonymous namespace)::MallocImpl(base::allocator::AllocatorDispatch const*, unsigned long, void*) at /Users/spotify-buildagent/buildAgent/work/CEF3_git/chromium/src/base/allocator/allocator_shim_default_dispatch_to_mac_zoned_malloc.cc:18
#3 0x000000011115a20d in ShimMalloc [inlined] at /Users/spotify-buildagent/buildAgent/work/CEF3_git/chromium/src/base/allocator/allocator_shim.cc:192
#4 0x000000011115a1f0 in base::allocator::MallocZoneFunctionsToReplaceDefault()::$_2::operator()(_malloc_zone_t*, unsigned long) const [inlined] at /Users/spotify-buildagent/buildAgent/work/CEF3_git/chromium/src/base/allocator/allocator_shim_override_mac_symbols.h:23
#5 0x000000011115a1f0 in base::allocator::MallocZoneFunctionsToReplaceDefault()::$_2::__invoke(_malloc_zone_t*, unsigned long) at /Users/spotify-buildagent/buildAgent/work/CEF3_git/chromium/src/base/allocator/allocator_shim_override_mac_symbols.h:22
#6 0x00007fff7e5dcc99 in malloc_zone_malloc ()
#7 0x00007fff7e5de191 in malloc_set_zone_name ()
#8 0x0000000104e0868a in wrap_malloc_set_zone_name ()
#9 0x0000000105a8bf1b in _dispatch_client_callout ()
#10 0x0000000105a8dba9 in _dispatch_once_callout ()
#11 0x00007fff5cf1a32d in get_malloc_zone(unsigned long) ()
#12 0x00007fff5cf1a57a in CA::Transaction::set_disable_actions(bool) ()
#13 0x00007fff4faf95a0 in -[NSView _updateLayerBackedness] ()