IOS 14 CFNetwork _CFURLCachePersistMemoryToDiskNow

Crashed: com.apple.CFNetwork.Connection 0 libapple_nghttp2.dylib 0x1d29fa518 nghttp2_rcbuf_decref + 16 1 libapple_nghttp2.dylib 0x1d29f6b1c hd_context_free + 64 2 libapple_nghttp2.dylib 0x1d29fc7f0 nghttp2_session_del + 248 3 CFNetwork 0x188508dec _CFURLCachePersistMemoryToDiskNow + 6976 4 CFNetwork 0x1885094e0 _CFURLCachePersistMemoryToDiskNow + 8756 5 libdispatch.dylib 0x187a6da84 _dispatch_call_block_and_release + 32 6 libdispatch.dylib 0x187a6f81c _dispatch_client_callout + 20 7 libdispatch.dylib 0x187a77004 _dispatch_lane_serial_drain + 620 8 libdispatch.dylib 0x187a77c34 _dispatch_lane_invoke + 456 9 libdispatch.dylib 0x187a78ee8 _dispatch_workloop_invoke + 1680 10 libdispatch.dylib 0x187a824bc _dispatch_workloop_worker_thread + 764 11 libsystem_pthread.dylib 0x1d3af27a4 _pthread_wqthread + 276 12 libsystem_pthread.dylib 0x1d3af974c start_wqthread + 8

a lot of crash with this issue. just in iOS 14.

a lot of crash with this issue. just in iOS 14.

Please post a full Apple crash report. Use the text attachment feature (click the paperclip icon and then choose Add File) to avoid clogging up the timeline.

Share and Enjoy

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

a lot of crash with this issue. just in iOS 14.

I need the full crash report, not just an excerpt.

Share and Enjoy

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

@eskimo, this is the crash report, kindly help check.

this is the crash report

Thanks for that.

Here’s the backtrace of the crashing thread:

Thread 7 Crashed:
0   libapple_nghttp2.dylib … nghttp2_rcbuf_decref + 12
1   libapple_nghttp2.dylib … hd_context_free + 52
2   libapple_nghttp2.dylib … nghttp2_session_del + 384
3   CFNetwork              … _CFURLCachePersistMemoryToDiskNow + 8184
4   CFNetwork              … _CFURLCachePersistMemoryToDiskNow + 19144
5   libdispatch.dylib      … _dispatch_call_block_and_release + 20

Frame 5 is Dispatch calling a block on the queue. That block looks like it’s related to _CFURLCachePersistMemoryToDiskNow but that’s a red herring brought on by a lack of symbols. In reality frames 3 and 4 should be this:

3   CFNetwork              … HTTP2Connection::_onqueue_closeConnection(bool) + 500
4   CFNetwork              … invocation function for block in HTTP2Connection::stop() + 28

So, an HTTP/2 connection is closing and we’re trying to clean up its resources. Internally the library code used for HTTP/2 is cleaning up, and something has corrupted its state which has triggered the crash.

It’s not clear how this is happening, but I suspect that it’s likely a bug in the OS itself. The only other potential cause is random memory corruption within your process but, looking at our records, I see that this crash affects a wide variety of apps, and it’s unlikely that they’d all have the same random memory corruption bug.

We have a bug on file tracking this (r. 37279404). If you have any more info to share about this bug — ideally we’d like a way to reproduce it — please file your own bug and then post the number here.

Share and Enjoy

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

IOS 14 CFNetwork _CFURLCachePersistMemoryToDiskNow
 
 
Q