-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Description
We are observing a significant number of crashes in production. In the past 7 days, there have been 28 users affected with 35 crash occurrences.
The app crashes with a SIGSEGV (segmentation fault) during termination, specifically in the NewRelic agent's native code. The crash occurs in the removeHarvestAwareObject: method, triggered by the app shutdown sequence. This appears to be related to object deallocation or thread safety in the NewRelic shutdown process.
Steps to Reproduce
Expected Behavior
Relevant Logs / Console output
Exception Type: SIGSEGV
Thread 0 Crashed:
0 libsystem_kernel.dylib __ulock_wait2
1 libobjc.A.dylib objc_sync_enter
2 NewRelic -[NRMAHarvester removeHarvestAwareObject:] (NRMAHarvester.mm:185)
3 NewRelic -[NRMAHarvestController removeHarvestAwareObject:]
4 NewRelic +[NRMAHarvestController removeHarvestListener:]
5 NewRelic +[NRMAMeasurements shutdown]
6 NewRelic -[NewRelicAgentInternal agentShutdown]
7 NewRelic __49-[NewRelicAgentInternal applicationWillTerminate]_block_invoke
...
Your Environment
Platform: iOS (iPhone14,2)
OS Version: iOS 18.6.2 (22G100)
NewRelic Agent: 1.5.10 (newrelic-react-native-agent)
React Native: 0.81.4
Expo: 54.0.9
Other analytics and monitoring packages: Medallia, Adobe AEP SDKs.