Firebase crash report CFNetwork

Report

I have an application that apparently crashed for one of my users. Does anyone have any idea what might have caused this crash?

I tried

  1. Reproducing the bug, but I had no success. I don't even know what use case would cause such a crash
  2. Looking into some other posts with similar problems, but couldn't find anything close to this issue

In the next section, I provided you with some information that might be useful. If anything else is needed, feel free to let me know.

Crash details

Date

May 3, 2022, 6:02:02 PM

Device

iPhone 11 - iOS 15.4.1

Stack trace

Crashed: com.apple.CFNetwork.Connection
0  libsystem_kernel.dylib         0x7b78 __pthread_kill + 8
1  libsystem_pthread.dylib        0x73bc pthread_kill + 268
2  libsystem_c.dylib              0x2051c abort + 168
3  libsystem_malloc.dylib         0x1ca04 _malloc_put + 550
4  libsystem_malloc.dylib         0x1cc9c malloc_zone_error + 100
5  libsystem_malloc.dylib         0x170dc nanov2_allocate_from_block + 568
6  libsystem_malloc.dylib         0x16164 nanov2_allocate + 128
7  libsystem_malloc.dylib         0x16080 nanov2_malloc + 64
8  libsystem_malloc.dylib         0x6020 _malloc_zone_malloc + 156
9  libsystem_blocks.dylib         0x1630 _Block_copy + 64
10 libdispatch.dylib              0x1e2c _dispatch_Block_copy + 32
11 libdispatch.dylib              0x3bf8 _dispatch_block_create + 160
12 libdispatch.dylib              0x71e4 dispatch_block_create_with_qos_class + 256
13 libnetwork.dylib               0xbdac8 nw_connection_async_on_queue + 88
14 libnetwork.dylib               0xe35c0 nw_connection_report_state_with_handler_on_nw_queue + 1136
15 libnetwork.dylib               0xe3e80 nw_connection_set_state_on_nw_queue + 304
16 libnetwork.dylib               0x8c5a4 nw_connection_endpoint_report_on_nw_queue + 21732
17 libnetwork.dylib               0xb24a4 nw_endpoint_handler_report + 304
18 libnetwork.dylib               0x11509c -[NWConcrete_nw_endpoint_resolver startWithHandler:] + 2124
19 libnetwork.dylib               0x79d18 nw_endpoint_handler_path_change + 8984
20 libnetwork.dylib               0xa5798 nw_endpoint_handler_start + 1084
21 libnetwork.dylib               0xab124 __nw_connection_start_block_invoke + 1408
22 libnetwork.dylib               0xd5384 nw_connection_start + 252
23 CFNetwork                      0x1b570 CFURLRequestCopyHTTPRequestMethod + 912
24 CFNetwork                      0x1c1b0 CFHTTPMessageCopyBody + 536
25 CFNetwork                      0x116be0 CFURLDownloadCancel + 77848
26 CFNetwork                      0x19464 CFURLRequestSetURL + 10348
27 CFNetwork                      0x12100 CFURLCacheSetMemoryCapacity + 8996
28 CFNetwork                      0x110b8 CFURLCacheSetMemoryCapacity + 4828
29 CFNetwork                      0x184e98 _CFNetworkErrorGetLocalizedDescription + 335348
30 CFNetwork                      0x185034 _CFNetworkErrorGetLocalizedDescription + 335760
31 libdispatch.dylib              0x1e68 _dispatch_call_block_and_release + 32
32 libdispatch.dylib              0x3a2c _dispatch_client_callout + 20
33 libdispatch.dylib              0xb124 _dispatch_lane_serial_drain + 668
34 libdispatch.dylib              0xbcb4 _dispatch_lane_invoke + 444
35 libdispatch.dylib              0xcf80 _dispatch_workloop_invoke + 1784
36 libdispatch.dylib              0x16500 _dispatch_workloop_worker_thread + 648
37 libsystem_pthread.dylib        0x10bc _pthread_wqthread + 288
38 libsystem_pthread.dylib        0xe5c start_wqthread + 8

Replies

This is a memory corruption problem. The Objective-C runtime (frame 8) is calling malloc (frame 8) which has detected an error (frame 4) which has deliberately crashed your process (frame 2).

Memory corruption problems are hard to debug because it could be caused by any code running in your process, meaning your app, any libraries you use, and any system libraries they use. The first step is to try to make the problem more reproducible, and that means applying the standard memory debugging tools.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Add a Comment