Skip to content

Crash in FPRNetworkTrace on iOS 18 and above #14734

Open
@mathewlee83

Description

@mathewlee83

Description

We're experiencing a crash in FPRNetworkTrace that occurs intermittently only on devices running iOS 18 or iPadOS 18 and above. The issue does not appear on earlier OS versions.
It's not a 100% reproducible crash, but we've observed it happening under certain network activity.
Please see the attached crash log for more details.

      Crashed: com.apple.NSURLSession-delegate

0 libsystem_malloc.dylib 0x5f08 _xzm_free_outlined + 152
1 CoreFoundation 0x5c80 __CFStringDeallocate + 196
2 CoreFoundation 0x3f50 _CFRelease + 292
3 CFNetwork 0x32c9c URLResponse::getMIMEType() + 60
4 Beadal 0x1000b18 -[FPRNetworkTrace didCompleteRequestWithResponse:error:] + 4359883544
5 Beadal 0x1006fa8 __InstrumentDataTaskWithRequestCompletionHandler_block_invoke_2 + 4359909288
6 CFNetwork 0x3f8e4 __40-[__NSURLSessionLocal taskForClassInfo:]_block_invoke + 508
7 CFNetwork 0x3f6a0 __49-[__NSCFLocalSessionTask _task_onqueue_didFinish]_block_invoke_2 + 160
8 libdispatch.dylib 0x2248 _dispatch_call_block_and_release + 32
9 libdispatch.dylib 0x3fa8 _dispatch_client_callout + 20
10 libdispatch.dylib 0xb5cc _dispatch_lane_serial_drain + 768
11 libdispatch.dylib 0xc158 _dispatch_lane_invoke + 432
12 libdispatch.dylib 0x1738c _dispatch_root_queue_drain_deferred_wlh + 288
13 libdispatch.dylib 0x16bd8 _dispatch_workloop_worker_thread + 540
14 libsystem_pthread.dylib 0x3680 _pthread_wqthread + 288
15 libsystem_pthread.dylib 0x1474 start_wqthread + 8

Reproducing the issue

No response

Firebase SDK Version

11.4.0

Xcode Version

16.0

Installation Method

Swift Package Manager

Firebase Product(s)

Performance

Targeted Platforms

iOS

Relevant Log Output

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
{
      "identity" : "firebase-ios-sdk",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/firebase/firebase-ios-sdk",
      "state" : {
        "revision" : "8328630971a8fdd8072b36bb22bef732eb15e1f0",
        "version" : "11.4.0"
      }
    },

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions