newrelic / newrelic-ios-agent-spm

This repository hosts the Swift Package Manager deployment of the iOS agent
Apache License 2.0
15 stars 9 forks source link

iOS Agent crash #6

Closed ghost closed 5 months ago

ghost commented 2 years ago

Description

New relic agent crash. Agent version 7.3.4

Steps to Reproduce

Random crash

Relevant Logs / Console output

Thread 0 libsystem_kernel.dylib 0x281ac psynch_cvwait + 8 1 libsystem_pthread.dylib 0x5458 _pthread_cond_wait + 1192 2 libc++.1.dylib 0xd328 std::__1::condition_variable::wait(std::1::unique_lock&) + 28 3 NewRelic 0x80958 NewRelic::WorkQueue::task_thread() + 100088 4 NewRelic 0x80f2c std::1::async_assoc_state<void, std::1::async_func<void (NewRelic::WorkQueue::)(), NewRelic::WorkQueue> >::execute() + 101580 5 NewRelic 0x810cc void* std::1::thread_proxy<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::__1::default_delete<std::1::thread_struct> >, void (std::1::async_assoc_state<void, std::1::async_func<void (NewRelic::WorkQueue::)(), NewRelic::WorkQueue> >::*)(), std::1::async_assoc_state<void, std::1::__async_func<void (NewRelic::WorkQueue::)(), NewRelic::WorkQueue> >> >(void) + 101996 6 libsystem_pthread.dylib 0x1b40 _pthread_start + 320 7 libsystem_pthread.dylib 0xa768 thread_start + 8

Your Environment

iOS 14 and iOS 15. All kind of iPhones.

cdillard-NewRelic commented 1 year ago

@jesus-verse Can you please retry your app with the latest New Relic iOS Agent 7.4.0? Crash fixes were included in this area and could resolve your issue. Thanks!

cdillard-NewRelic commented 5 months ago

Please use the latest New Relic iOS agent 7.4.11 which contains a new feature flag, NRFeatureFlag_NewEventSystem. Enable this feature flag which should remove the ~Payload() crash.