facebook / facebook-ios-sdk

Used to integrate the Facebook Platform with your iOS & tvOS apps.
https://developers.facebook.com/docs/ios
Other
7.73k stars 3.51k forks source link

FBSdk start crashing at FBSDKRestrictiveDataFilterManager #1432

Closed Nk-Official closed 3 years ago

Nk-Official commented 3 years ago

Suddenly I am facing crash in FBSDKRestrictiveDataFilterManager Line no 62 if (restrictiveParams.count > 0) {

Ralph1300 commented 3 years ago

we also started seeing this now - a lot of crashes happening here.

chayansystango commented 3 years ago

Crashing everytime the app is launched. This has in fact happened just a month ago as well. https://github.com/facebook/facebook-ios-sdk/issues/1374

puppywang commented 3 years ago

We face the same issue, a lot of crash, please fix it ASAP.

oliver98844 commented 3 years ago

Same in our app...cannot open Spotify, either

nicoyuste commented 3 years ago

We have seen the same issue in our app as well. Looks like it was only a big spike but it is still happening. Captura de pantalla 2020-07-10 a las 13 02 02

MrShamp commented 3 years ago

1430

zavsby commented 3 years ago

@nicoyuste the spike is not so bug because Firebase crash reporting is down after few minutes, it was the same the last time.

redok016 commented 3 years ago

Rollback please.

KevinLaRosa commented 3 years ago

We encounter the same issue. Carthage github "facebook/facebook-ios-sdk" "v6.5.2"

NSInvalidArgumentException', reason: '-[NSNull count]: unrecognized selector sent to instance 0x7fff8062d9d0'

2020-07-10 13:25:13.061363+0200 x [18183:2690634] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull count]: unrecognized selector sent to instance 0x7fff8062d9d0' *** First throw call stack: ( 0 CoreFoundation 0x00007fff23e3cf0e __exceptionPreprocess + 350 1 libobjc.A.dylib 0x00007fff50ba89b2 objc_exception_throw + 48 2 CoreFoundation 0x00007fff23e5dc34 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132 3 CoreFoundation 0x00007fff23e4190c ___forwarding___ + 1436 4 CoreFoundation 0x00007fff23e43bf8 _CF_forwarding_prep_0 + 120 5 FBSDKCoreKit 0x000000010d6b3e7f +[FBSDKEventDeactivationManager updateDeactivatedEvents:] + 75 6 FBSDKCoreKit 0x000000010d659f4c +[FBSDKServerConfigurationManager processLoadRequestResponse:error:appID:] + 2007 7 FBSDKCoreKit 0x000000010d658bfc __69+[FBSDKGraphRequestPiggybackManager addServerConfigurationPiggyback:]_block_invoke + 58 8 FBSDKCoreKit 0x000000010d6a874e -[FBSDKGraphRequestMetadata invokeCompletionHandlerForConnection:withResults:error:] + 143 9 FBSDKCoreKit 0x000000010d6b1387 __82-[FBSDKGraphRequestConnection processResultBody:error:metadata:canNotifyDelegate:]_block_invoke + 142 10 FBSDKCoreKit 0x000000010d6b1296 -[FBSDKGraphRequestConnection processResultBody:error:metadata:canNotifyDelegate:] + 636 11 FBSDKCoreKit 0x000000010d6b0ed6 __64-[FBSDKGraphRequestConnection completeWithResults:networkError:]_block_invoke + 398 12 CoreFoundation 0x00007fff23e0b287 __NSARRAY_IS_CALLING_OUT_TO_A_BLOCK__ + 7 13 CoreFoundation 0x00007fff23d511f4 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 228 14 FBSDKCoreKit 0x000000010d6b0c86 -[FBSDKGraphRequestConnection completeWithResults:networkError:] + 656 15 FBSDKCoreKit 0x000000010d6afdcd -[FBSDKGraphRequestConnection completeFBSDKURLSessionWithResponse:data:networkError:] + 710 16 FBSDKCoreKit 0x000000010d6adf6f __36-[FBSDKGraphRequestConnection start]_block_invoke_3 + 72 17 libdispatch.dylib 0x0000000111abdf11 _dispatch_call_block_and_release + 12 18 libdispatch.dylib 0x0000000111abee8e _dispatch_client_callout + 8 19 libdispatch.dylib 0x0000000111accd97 _dispatch_main_queue_callback_4CF + 1149 20 CoreFoundation 0x00007fff23da0909 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 21 CoreFoundation 0x00007fff23d9b459 __CFRunLoopRun + 2041 22 CoreFoundation 0x00007fff23d9a944 CFRunLoopRunSpecific + 404 23 GraphicsServices 0x00007fff38ba6c1a GSEventRunModal + 139 24 UIKitCore 0x00007fff48c8b9ec UIApplicationMain + 1605 25 BabySittor 0x000000010b6cf881 main + 145 26 libdyld.dylib 0x00007fff51a231fd start + 1 27 ??? 0x0000000000000002 0x0 + 2 ) libc++abi.dylib: terminating with uncaught exception of type NSException

Sweet OBJ-C

Link to the issue : https://github.com/facebook/facebook-ios-sdk/issues/1431

yujiea commented 3 years ago

We have the same issue. It is crazy.

dmydry commented 3 years ago

Confirm, ios app is dead

Salman144017 commented 3 years ago

It has started working now. I believe they reverted the change

VDetish commented 3 years ago

Камон фейсбук, зачем ты пол аппстора убил?

alexanderathan commented 3 years ago

We have exactly the same issue. Firebase Crashlytics reports that crashes are spiking in the last hour for FBSDKEventDeactivationManager.m.

LunaaaXO commented 3 years ago

Spotify, Soundcloud and some other major apps have the same instant crash issue it seems..

ebbe-minecraft commented 3 years ago

Friday deploy, what's the worst that can happen.

gitByEOS commented 3 years ago

Happend again, The last time was at 2020-05-07

gitByEOS commented 3 years ago

The crash rate went from 0.2% to 65%.

harshthaker commented 3 years ago

It crashes! FBSDKRestrictiveDataFilterManager Class - Line 60 is where it breaks! -[NSNull count]: unrecognized selector sent to instance 0x1f61521e0

mayur43s commented 3 years ago

On line no 68 as well. Screenshot 2020-07-10 at 5 18 39 PM

andproff commented 3 years ago

line 66 as well Screenshot 2020-07-10 at 2 59 02 PM

chengssir commented 3 years ago

I compared the versions of my two projects,5.11.1 vs 5.6.1,I found that in 5.11.1,

Inside the function,have

if (!isRestrictiveEventFilterEnabled) { return; }

houyunpeng commented 3 years ago

OMG! It is CRAZY!!

androdev700 commented 3 years ago

Any updates, when is this gonna get fixed? My app crashes are rising :/

AlexUzan commented 3 years ago

It seems fixed

Bad-Listener commented 3 years ago

seems ok for us too!

jasonandress commented 3 years ago

I wish facebook learned from the last time! I'm 👌 close to removing facebook from my app.

joesus commented 3 years ago

Duplicate of #1427