CFNetwork crash cfnTranslateCFError

Hello. We have this crash reported by Crashlytics. The number of these crashes is not very big, but I would like to know if our app is responsible for that issue or if it is a CFNetwork problem.

I can't reproduce this crash on my side, I see it only in reports. The latest crash information is next:
  • iOS 13, all versions

  • iPhone 7, 7 Plus, 6S, 6S Plus, SE (I don't know if it is related, but there is no iPhone 8, X, or higher models)

  • All crashes happen in Foreground

Key value
Code Block
crash_info_entry_0 - Detected over-release of a CFTypeRef

Crashed thread:
Code Block
Crashed: com.apple.NSURLSession-work
EXC_BREAKPOINT 0x0000000184214904
0 CoreFoundation 0x184214904 _CFRelease.cold.3 + 16
1 CoreFoundation 0x18413d594 _CFRelease + 1316
2 CFNetwork 0x1874c003c cfnTranslateCFError + 12508
3 CFNetwork 0x18740b158 (Отсутствует)
4 CFNetwork 0x187404240 (Отсутствует)
5 CFNetwork 0x1874a0030 CFURLDownloadCancel + 39680
6 CFNetwork 0x1874a00dc CFURLDownloadCancel + 39852
7 CFNetwork 0x1875753d0 _CFNetworkSetATSContext + 88700
8 CFNetwork 0x1874a0868 CFURLDownloadCancel + 41784
9 libdispatch.dylib 0x183e35c8c _dispatch_block_async_invoke2 + 104
10 libdispatch.dylib 0x183e83524 _dispatch_client_callout + 16
11 libdispatch.dylib 0x183e2f8a4 _dispatch_lane_serial_drain$VARIANT$mp + 608
12 libdispatch.dylib 0x183e302c4 _dispatch_lane_invoke$VARIANT$mp + 464
13 libdispatch.dylib 0x183e3978c _dispatch_workloop_worker_thread + 588
14 libsystem_pthread.dylib 0x183ed4b74 _pthread_wqthread + 272

There is also present this thread:


Or this one:


Other threads in crash reports are different from report to report.

CFNetwork crash cfnTranslateCFError

Do you have an Apple crash report for this? If so, please post it.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Did you find the solution?

Do you have an Apple crash report for this? If so, please post it.

Unfortunately I can't find how I could get full report from Firebase Crashlytics. I've also checked the crashes in Xcode organizer and I haven't found this one there.

Did you find the solution?

No. ergunkocak, if you have an Apple crash report for that issue, please post it.
I have the same problem. Have you solved it

0 CoreFoundation 0x194da7000 0x194e1a3b0 CFErrorGetCode
1 CFNetwork 0x19810d000 0x19827e97c CFNetworkSetATSContext
2 CFNetwork 0x19810d000 0x1981a70bc CFURLDownloadCancel
3 CFNetwork 0x19810d000 0x198273f14
CFNetworkSetATSContext
4 libdispatch.dylib 0x194b3c000 0x194b969a8 <redacted>
5 libdispatch.dylib 0x194b3c000 0x194b97524 <redacted>
6 libdispatch.dylib 0x194b3c000 0x194b438a4 <redacted>
7 libdispatch.dylib 0x194b3c000 0x194b442c4 <redacted>
8 libdispatch.dylib 0x194b3c000 0x194b4d78c <redacted>
9 libsystempthread.dylib 0x194bdd000 0x194be8b74 pthread_wqthread

I have the same problem.

Please post a full Apple crash report. It’s hard to offer any concrete advice without that.

ps Use the text attachment feature to prevent it from clogging up the timeline.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
I find that these two methods are called in WebKit:

CFURLDownloadCancel & CFNetworkSetATSContext


I have got the same problem. Can somebody give an advice ?
  • iOS version 13.5 (17F75)

  • Pad 10.2-Inch,7nd generation

You can see the detail crash log in the attach file.



Code Block language
SIGSEGV
SEGV_ACCERR
0 CFNetwork cfnTranslateCFError + 9556
1 CFNetwork cfnTranslateCFError + 9452
2 CFNetwork cfnTranslateCFError + 11352
3 CFNetwork 0x00000001a1683000 + 37916
4 CFNetwork 0x00000001a1683000 + 9476
5 CFNetwork CFURLDownloadCancel + 39680
6 CFNetwork CFURLDownloadCancel + 39852
7 CFNetwork _CFNetworkSetATSContext + 88720
8 CFNetwork CFURLDownloadCancel + 41784
9 libdispatch.dylib dispatch_block_async_invoke2 + 104
10 libdispatch.dylib dispatch_client_callout + 16
11 libdispatch.dylib dispatch_lane_serial_drain$VARIANT$mp + 608
12 libdispatch.dylib dispatch_lane_invoke$VARIANT$mp + 464
13 libdispatch.dylib __dispatch_workloop_worker_thread + 588
14 libsystem_pthread.dylib _pthread_wqthread + 272


Hello. We have this crash reported by Crashlytics. The number of these crashes are very big, but I would like to know if our app is responsible for that issue

I can't reproduce this crash on my side, I see it only in reports. The latest crash information is next:
iOS 14, all versions

Crashed: com.apple.NSURLSession-work
0 CoreFoundation 0x1ab8c6028 CFDictionaryGetValue + 100
1 Foundation 0x1acca6754 _NSSetLongLongValueAndNotify + 92
2 CFNetwork 0x1abf857cc (Missing)
3 CFNetwork 0x1abf853d8 (Missing)
4 CFNetwork 0x1ac02b1f8 CFURLDownloadCancel + 35920
5 CFNetwork 0x1abf8af54 (Missing)
6 libdispatch.dylib 0x1ab583fb8 _dispatch_block_async_invoke2 + 148
7 libdispatch.dylib 0x1ab575db0 _dispatch_client_callout + 20
8 libdispatch.dylib 0x1ab57d10c _dispatch_lane_serial_drain + 580
9 libdispatch.dylib 0x1ab57dc90 _dispatch_lane_invoke + 460
10 libdispatch.dylib 0x1ab587d78 _dispatch_workloop_worker_thread + 708
11 libsystem_pthread.dylib 0x1f742d814 _pthread_wqthread + 276
12 libsystem_pthread.dylib 0x1f743476c start_wqthread + 8

I would like to know if our app is responsible for that issue

It’s hard to offer any advice here without seeing a full Apple crash report. If you can find one and post it here (use the text attachment feature to avoid clogging up the timeline) I’d be happy to take a look.

Share and Enjoy

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