We’re seeing a lot of crashes due to Heap Corruption and all are pointing to New Relic.
Any clues?
libsystem_kernel.dylib__pthread_kill + 8
libsystem_pthread.dylibpthread_kill + 208
libsystem_c.dylibabort + 124
libsystem_malloc.dylib_malloc_put + 546
libsystem_malloc.dylibmalloc_report + 60
libsystem_malloc.dylibfree + 284
NewRelic string - Line 1420 ~Payload + 1420
NewRelic
std::__1::unique_ptr<NewRelic::Connectivity::Payload const, std::__1::default_delete<NewRelic::Connectivity::Payload const>>::~unique_ptr() + 16764
NewRelic
NewRelic::NetworkErrorEvent::NetworkErrorEvent(unsigned long long, double, char const*, char const*, std::__1::unique_ptr<NewRelic::Connectivity::Payload const, std::__1::default_delete<NewRelic::Connectivity::Payload const>>, NewRelic::AttributeValidator&) + 16208
NewRelic
NewRelic::EventManager::newNetworkErrorEvent(unsigned long long, double, char const*, char const*, std::__1::unique_ptr<NewRelic::Connectivity::Payload const, std::__1::default_delete<NewRelic::Connectivity::Payload const>>, NewRelic::AttributeValidator&) + 42636
NewRelic
NewRelic::AnalyticsController::createRequestErrorEvent(NewRelic::NetworkRequestData const&, NewRelic::NetworkResponseData const&, std::__1::unique_ptr<NewRelic::Connectivity::Payload const, std::__1::default_delete<NewRelic::Connectivity::Payload const>>) + 58136
NewRelic
NewRelic::AnalyticsController::addNetworkErrorEvent(NewRelic::NetworkRequestData const&, NewRelic::NetworkResponseData const&, std::__1::unique_ptr<NewRelic::Connectivity::Payload const, std::__1::default_delete<NewRelic::Connectivity::Payload const>>) + 59124
NewRelic
NRMAAnalytics.mm - Line 125
-[NRMAAnalytics addNetworkErrorEvent:withResponse:withPayload:] + 125
NewRelic
memory - Line 2620
__62+[NRMANetworkFacade noticeNetworkFailure:withTimer:withError:]_block_invoke + 2620
libdispatch.dylib_dispatch_call_block_and_release + 24
libdispatch.dylib_dispatch_client_callout + 16
libdispatch.dylib_dispatch_root_queue_drain + 636
libdispatch.dylib_dispatch_worker_thread2 + 172
libsystem_pthread.dylib_pthread_wqthread + 224
libsystem_pthread.dylib
start_wqthread + 8
error for object 0x28378fe70: pointer being freed was not allocated
Please help in finding the exact cause for this issue.