-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Description
We are experiencing a recurring production crash that occurs inside the New Relic iOS agent.
The crash happens in NRMAHarvestController at shouldCollectTraces and results in a SIGSEGV (segmentation fault).
Based on the stack trace, the crash originates from New Relic internal code and not from our application logic.
This issue impacts production users and occurs intermittently during the New Relic harvest / trace collection cycle.
Steps to Reproduce
At this time, the crash is not consistently reproducible locally.
Observed behavior:
- App runs normally in production
- New Relic performs background harvest / trace collection
- App crashes with SIGSEGV inside NRMAHarvestController
The crash has been observed multiple times in production and is grouped under the same crash fingerprint.
Expected Behavior
New Relic iOS agent should safely handle harvest / trace collection without causing a crash, even in edge cases such as:
- app background / foreground transitions
- app lifecycle changes
- memory pressure
Relevant Logs / Console output
Crash excerpt (symbolicated):
Exception Type: SIGSEGV
Thread 0 Crashed:
0 NewRelic NRMAHarvestController.m:226
-[NRMAHarvestController shouldCollectTraces]
1 NewRelic NRMAHarvestController
2 CoreFoundation __CFRunLoopRun
3 CoreFoundation CFRunLoopRunSpecific
4 UIKitCore UIApplicationMain
crashreport-12-23-2025_0731+0700.crash.zip
Your Environment
- Platform: iOS
- Devices observed: iPhone 12 Pro Max (possibly others)
- New Relic iOS agent version: 7.5.11