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

crash in [FBSDKDomainConfigurationManager _didProcessConfigurationFromNetwork:error:] #2551

Open
4 of 5 tasks
zeqinjie opened this issue Feb 21, 2025 · 0 comments
Open
4 of 5 tasks

Comments

@zeqinjie
Copy link

Checklist before submitting a bug report

Xcode version

16.2

Facebook iOS SDK version

17.0

Dependency Manager

CocoaPods

SDK Framework

Core

Goals

How to fix this crash

Expected results

How to fix this crash

Actual results

Crashed: com.apple.main-thread
0  ???                            0x280f44ea0 (符號缺漏)
1  Foundation                     0xa0614 -[NSUserDefaults(NSUserDefaults) release] + 112
2  UIKitCore                      0xd61084 -[UIApplication backgroundRefreshStatus] + 264
3  FBSDKCoreKit                   0x6f8a0 $s12FBSDKCoreKit19ApplicationDelegateC10doSDKSetup33_2F68BA13C230451A1D09823FE026835CLL13launchOptions15completionBlockySDySo019UIApplicationLaunchN3KeyaypGSg_yycSgtF + 720
4  FBSDKCoreKit                   0x6f58c $s12FBSDKCoreKit19ApplicationDelegateC13initializeSDK13launchOptions15completionBlockySDySo019UIApplicationLaunchH3KeyaypGSg_yycSgtFyycfU_ + 76
5  FBSDKCoreKit                   0x62c34 $sIeg_IeyB_TR + 28
6  FBSDKCoreKit                   0x1ce40 -[FBSDKDomainConfigurationManager _didProcessConfigurationFromNetwork:error:] + 476
7  FBSDKCoreKit                   0x1ca7c -[FBSDKDomainConfigurationManager processLoadRequestResponse:error:] + 688
8  FBSDKCoreKit                   0x1c7b0 __78-[FBSDKDomainConfigurationManager loadDomainConfigurationWithCompletionBlock:]_block_invoke + 80
9  FBSDKCoreKit                   0x30ae8 -[FBSDKGraphRequestMetadata invokeCompletionHandlerForConnection:withResults:error:] + 136
10 FBSDKCoreKit                   0x2db68 __82-[FBSDKGraphRequestConnection processResultBody:error:metadata:canNotifyDelegate:]_block_invoke + 100
11 FBSDKCoreKit                   0x2da88 -[FBSDKGraphRequestConnection processResultBody:error:metadata:canNotifyDelegate:] + 568
12 FBSDKCoreKit                   0x2d784 __65-[FBSDKGraphRequestConnection _completeWithResults:networkError:]_block_invoke + 464
13 CoreFoundation                 0xa1cc __NSARRAY_IS_CALLING_OUT_TO_A_BLOCK__ + 24
14 CoreFoundation                 0x25824 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 196
15 FBSDKCoreKit                   0x2d4f4 -[FBSDKGraphRequestConnection _completeWithResults:networkError:] + 448
16 FBSDKCoreKit                   0x2ca34 -[FBSDKGraphRequestConnection completeFBSDKURLSessionWithResponse:data:networkError:] + 872
17 libdispatch.dylib              0x2320 _dispatch_call_block_and_release + 32
18 libdispatch.dylib              0x3eac _dispatch_client_callout + 20
19 libdispatch.dylib              0x126a4 _dispatch_main_queue_drain + 928
20 libdispatch.dylib              0x122f4 _dispatch_main_queue_callback_4CF + 44
21 CoreFoundation                 0x98c28 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
22 CoreFoundation                 0x7a560 __CFRunLoopRun + 1992
23 CoreFoundation                 0x7f3ec CFRunLoopRunSpecific + 612
24 GraphicsServices               0x135c GSEventRunModal + 164
25 UIKitCore                      0x39cf58 -[UIApplication _run] + 888
26 UIKitCore                      0x39cbbc UIApplicationMain + 340
27 Runner                         0x83d4 main + 7 (main.m:7)
28 ???                            0x1ac6a4dec (符號缺漏)
        

Steps to reproduce

I've collected the exception from the log platform

Code samples & details

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  [GeneratedPluginRegistrant registerWithRegistry:self];
  BOOL result = [super application:application didFinishLaunchingWithOptions:launchOptions];
    ...
  // fb
  [[FBSDKApplicationDelegate sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions];
  ...
  return result;
}

@end
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

1 participant