iOS14.2Beta Crash

  • Application Specific Information: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CFStreamDelegate scheduleInRunLoop:forMode:]: unrecognized selector sent to instance 0x28082d940'

0 CoreFoundation 0x00000001b1e4bae4 0x00000001b1d32000 + 1153764
1 libobjc.A.dylib 0x00000001c5ca2cb4 0x00000001c5c99000 + 40116
2 CoreFoundation 0x00000001b1d5bf5c 0x00000001b1d32000 + 171868
3 CoreFoundation 0x00000001b1e4e128 0x00000001b1d32000 + 1163560
4 CoreFoundation 0x00000001b1e5009c 0x00000001b1d32000 + 1171612
5 *** 0x00000001037922bc -[ASIInputStream scheduleInRunLoop:forMode:] (ASIInputStream.m:95)
6 CFNetwork 0x00000001b2653570 0x00000001b2420000 + 2307440
7 CFNetwork 0x00000001b2502db0 0x00000001b2420000 + 929200
8 CFNetwork 0x00000001b2502460 0x00000001b2420000 + 926816
9 CFNetwork 0x00000001b24fdee8 0x00000001b2420000 + 909032
10 CFNetwork 0x00000001b24b92ec 0x00000001b2420000 + 627436
11 CFNetwork 0x00000001b24dd13c 0x00000001b2420000 + 774460
12 CFNetwork 0x00000001b25196dc 0x00000001b2420000 + 1021660
13 CoreFoundation 0x00000001b1de7058 0x00000001b1d32000 + 741464
14 CoreFoundation 0x00000001b1de4118 0x00000001b1d32000 + 729368
15 CoreFoundation 0x00000001b1de3ed0 0x00000001b1d32000 + 728784
16 CFNetwork 0x00000001b252a2d8 0x00000001b2420000 + 1090264
17 CoreFoundation 0x00000001b1dd5e94 0x00000001b1d32000 + 671380
18 CoreFoundation 0x00000001b1dcbd18 0x00000001b1d32000 + 630040
19 CoreFoundation 0x00000001b1dcbc18 0x00000001b1d32000 + 629784
20 CoreFoundation 0x00000001b1dcaf60 0x00000001b1d32000 + 626528
21 CoreFoundation 0x00000001b1dc5508 0x00000001b1d32000 + 603400
22 CoreFoundation 0x00000001b1dc4cc8 0x00000001b1d32000 + 601288
23 Foundation 0x00000001b2fdba48 0x00000001b2fd4000 + 31304
24 *** 0x000000010381b178 -[ASIHTTPRequest startSynchronous] (ASIHTTPRequest.m:806)
25 *** 0x00000001034be530 -[***
BaseRequest sendHttpRequest] (***BaseRequest.m:491)
26 *** 0x0000000103495d8c
79-[***NetworkClient getDataWithRequest:successBlock:failureBlock:handleSerial:]blockinvoke (***NetworkClient.m:102)
27 libdispatch.dylib 0x00000001b1a84298 0x00000001b1a24000 + 393880
28 libdispatch.dylib 0x00000001b1a85280 0x00000001b1a24000 + 397952
29 libdispatch.dylib 0x00000001b1a2a558 0x00000001b1a24000 + 25944
30 libdispatch.dylib 0x00000001b1a29c9c 0x00000001b1a24000 + 23708
31 libdispatch.dylib 0x00000001b1a37108 0x00000001b1a24000 + 78088
32 libdispatch.dylib 0x00000001b1a378d0 0x00000001b1a24000 + 80080
33 libsystem
pthread.dylib 0x00000001f8101568 0x00000001f80f6000 + 46440
34 libsystem_pthread.dylib 0x00000001f8104874 0x00000001f80f6000 + 59508

i start my application, crash when load request from webservice. Is there anyone who meeting the same question.
Answered by a11y in 633940022
Looks like this is a known issue. From release notes:

"Networking, Known Issue: Your app might quit unexpectedly if it uses ASIHTTPRequest. "
Same thing happening to our live app when updating to 14.2. Please Advise!
Accepted Answer
Looks like this is a known issue. From release notes:

"Networking, Known Issue: Your app might quit unexpectedly if it uses ASIHTTPRequest. "
While we do plan to fix this bug, I want to stress that anyone using ASIHTTPRequest needs to update to use NSURLSession instead. ASIHTTPRequest is based on CFHTTPStream, which has been deprecated since iOS 9. It is time to move forward.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
We will update soon, but no time before our iOS14 supported release coming soon. Will this be fixed in the next beta release? Thanks.
we have this problem too

Will this be fixed in the next beta release?

I can’t predict the future, alas. I recommend that you continue testing with iOS 14.2 beta seeds as they are released.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Glad to see that @eskimo replied apple would fix this bug. After this incident, we have started planning to update ASIHTTPRequest to use NSURLSession instead. But it will take some time.
So one of the things that we're very concerned about is that the next release version of iOS is going to have this bug with it?(oh man, hope not, which is a disaster for our application, because the application crashed during startup.) Thanks.
This issue also exists in macOS Big Sur betas 7 and 8, and is causing crashes in live apps. We're working on new releases switching to NSURLSession, but there will be a significant number of users who may not receive the app update before the OS update.

Could you confirm if the bug will be fixed in macOS as well as iOS? I understand a time frame is not available but confirmation the issue is associated with both platforms would be great as this has significant potential to disrupt our customers and our businesses.
Now that we cannot find radar tickets, how can we check the status of this issue? This is a breaking change that will sink our business if not fixed and released to the public.

portable wrote:

Could you confirm if the bug will be fixed in macOS as well as iOS?

Again, I can’t predict the future, but the fact that this bug made it to the 14.2 beta release notes confirms that it’s got considerable traction (-:

confirmation the issue is associated with both platforms would be
great

The crash on macOS 11.0b8 has the same root cause as the crash on 14.2b1.



a11y wrote:

Now that we cannot find radar tickets

Ah, um, you’ve never been able to “find radar tickets”.

how can we check the status of this issue?

The only official option is to file your own bug about this and ask it to be marked as a duplicate of the bug number you found in the release notes.

Unofficially, you could monitor this thread and update this thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
I just tested and was able to confirm that the ASIHttpRequest issue has been fixed in iOS 14.2 Beta 2! Everyone should still plan on upgrading to something more modern ASAP, but at least now legacy apps won't break on iOS 14.2 release.
iOS14.2Beta Crash
 
 
Q