Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FBSDKAEMManager Crash on Launch since Aug 11 #2244

Open
4 of 5 tasks
doshirj opened this issue Aug 12, 2023 · 14 comments
Open
4 of 5 tasks

FBSDKAEMManager Crash on Launch since Aug 11 #2244

doshirj opened this issue Aug 12, 2023 · 14 comments

Comments

@doshirj
Copy link

doshirj commented Aug 12, 2023

Checklist before submitting a bug report

Xcode version

14.3.1

Facebook iOS SDK version

16.1.0

Dependency Manager

Prebuilt Binaries

SDK Framework

Core

Goals

Since yesterday, we have been seeing a large number of crashes from FBSDKAEMManager in our app, which we last updated a few weeks ago. The crashes seem to happen immediately after the app is launched or returns to the foreground. Many users are only experiencing the crash one time, but some are getting it more than once. Strangely, the crash only seems to be happening in one of our apps, when we have several apps with a lot of shared code that use Facebook the same way. I'm wondering if this could be a Facebook server config issue like we've seen in the past causing crashes on launch. Here is the crash log:

Crashed: com.apple.main-thread
0 Foundation 0x216690 static URL.unconditionallyBridgeFromObjectiveC(:) + 152
1 Common 0x32848c __24-[FBSDKAEMManager setup]_block_invoke.9 + 89 (FBSDKAEMManager.m:89)
2 Common 0x36c4a0 fb_swizzledMethod_5 + 141 (FBSDKSwizzler.m:141)
3 UIKitCore 0xc66ee0 -[UIApplication activityContinuationManager:continueUserActivity:] + 168
4 UIKitCore 0xe758ec -[UIActivityContinuationManager _continueUserActivity:] + 56
5 UIKitCore 0xe76404 __72-[UIActivityContinuationManager handleActivityContinuation:isSuspended:]_block_invoke_3 + 64
6 UIKitCore 0x78e82c -[_UIApplicationModalProgressController _callAndClearDismissalHandlerWasDismissedByUser:] + 72
7 UIKitCore 0x78eae4 -[_UIApplicationModalProgressController hideAfterMinimumUptimeWithDismissalHandler:] + 228
8 UIKitCore 0xc66bf8 -[UIApplication activityContinuationManager:hideProgressUIWithCompletion:] + 140
9 UIKitCore 0xe7589c -[UIActivityContinuationManager _endCurrentActivityContinuationWithCompletion:] + 64
10 UIKitCore 0xe761d0 __72-[UIActivityContinuationManager handleActivityContinuation:isSuspended:]_block_invoke_2 + 188
11 libdispatch.dylib 0x63850 _dispatch_call_block_and_release + 24
12 libdispatch.dylib 0x647c8 _dispatch_client_callout + 16
13 libdispatch.dylib 0x45f18 _dispatch_main_queue_drain + 888
14 libdispatch.dylib 0x45b90 _dispatch_main_queue_callback_4CF$VARIANT$armv81 + 36
15 CoreFoundation 0x93848 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12
16 CoreFoundation 0x774d4 __CFRunLoopRun + 2096
17 CoreFoundation 0x7bb7c CFRunLoopRunSpecific + 584
18 GraphicsServices 0x1984 GSEventRunModal + 160
19 UIKitCore 0x3753c8 -[UIApplication _run] + 868
20 UIKitCore 0x375040 UIApplicationMain + 312
21 SpadesLite 0x13318 main + 11 (main.m:11)
22 ??? 0x1db748df0 (Missing)

Screenshot 2023-08-12 at 11 02 37 AM

Expected results

No crashes

Actual results

SDK is crashing on launch or when resuming from background.

Steps to reproduce

No response

Code samples & details

// INSERT YOUR CODE HERE
var example = "Example code"
@zavsby
Copy link

zavsby commented Aug 17, 2023

We have a very big spike of such crashes since yesterday's evening, it is immediately became our top-1 crash.

@doshirj
Copy link
Author

doshirj commented Aug 17, 2023

Starting Aug 17, all of our iOS apps are experiencing this crash.

@miteshTW7777
Copy link

Same in my application starting Aug 17, and facing a huge number of users.

@ddkdimitrov
Copy link

ddkdimitrov commented Aug 18, 2023

I work on a big iOS app where we are getting the same issue in Firebase - Crashlytics:
__24-[FBSDKAEMManager setup]_block_invoke.9
I will follow the conversation. I guess we need to wait for an update from the FBSDK team. No actions are required to prevent this in the application.

I checked and can confirm most clients who are getting this issue are with IOS device versions iOS 16 and higher. People with lower versions do not have this issue.

@doshirj
Copy link
Author

doshirj commented Aug 18, 2023

We’re now in the process of rushing out app updates with the latest Facebook SDK version, which seems to resolve this.

@Eva-Lau
Copy link

Eva-Lau commented Aug 21, 2023

Since 08/17, the occurrence rate of such errors is very high, which has affected a large number of users. Have you found any better solutions?

@miteshTW7777
Copy link

Please give a better solution, because now crash rate is very high

@OlKir
Copy link

OlKir commented Aug 21, 2023

My app is affected as well, it's the topmost crash in the moment.

@OlKir
Copy link

OlKir commented Aug 22, 2023

We’re now in the process of rushing out app updates with the latest Facebook SDK version, which seems to resolve this.

@doshirj Could you please confirm that updating SDK removed the crash for you?

@FabianBartels
Copy link

We also experienced a huge jump of this crash.
Updating from 16.1.0 to 16.1.3 seemed to solve it, at least we are no longer receiving this crash.

@studiogaram
Copy link

Are there no Facebook developers here?

@foreverwind
Copy link

This crash is back since Sep 7. It's still crashing now.

@bdaz
Copy link

bdaz commented Oct 6, 2023

Seeing this spike as well…

@andrew-pillyze
Copy link

andrew-pillyze commented Sep 19, 2024

Hi, Is there any solution? I'm still facing this issue from v16.0


I checked a history of FBSDKAEMManager.m.

And I also checked that there is a fix related to the occurrence point setUp().
It was a proxy-related fix, but I'm not sure if it would have solved this issue.
Can someone confirm if this issue has been fixed in Jun last year?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests