Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/facebook/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用Facebook SDK时iPhone应用程序崩溃';s_Facebook_Web_View_Sdk_Integration - Fatal编程技术网

使用Facebook SDK时iPhone应用程序崩溃';s

使用Facebook SDK时iPhone应用程序崩溃';s,facebook,web,view,sdk,integration,Facebook,Web,View,Sdk,Integration,谁能帮我分析一下下面的崩溃日志 我正在尝试将Facebook集成到应用程序中,当我单击应用程序上的Facebook图标时,Facebook登录页面将显示为应用程序中的web视图。但应用程序崩溃了 Thread 5 name: Closure Thread Thread 5 Crashed: 0 JavaScriptCore 0x2bf9afaa WTFCrash + 54 1 WebCore 0x36b2

谁能帮我分析一下下面的崩溃日志

我正在尝试将Facebook集成到应用程序中,当我单击应用程序上的Facebook图标时,Facebook登录页面将显示为应用程序中的web视图。但应用程序崩溃了

Thread 5 name:  Closure Thread
Thread 5 Crashed:
0   JavaScriptCore                  0x2bf9afaa WTFCrash + 54
1   WebCore                         0x36b218f8 WebCore::FloatingPointEnvironment::saveMainThreadEnvironment() + 28
2   WebCore                         0x36767882 StartWebThread() + 458
3   libsystem_pthread.dylib         0x39416d5c __pthread_once_handler + 48
4   libsystem_platform.dylib        0x3940f864 _os_once + 40
5   libsystem_pthread.dylib         0x39414f16 pthread_once + 46
6   WebKitLegacy                    0x3727b34c +[WebView(WebPrivate) enableWebThread] + 272
7   WebKitLegacy                    0x3727a86a WebKitInitialize + 66
8   UIKit                           0x2e349fd6 ___UIApplicationLoadWebKit_block_invoke + 150
9   libdispatch.dylib               0x392ac2cc _dispatch_client_callout + 20
10  libdispatch.dylib               0x392acf0e dispatch_once_f + 58
11  libobjc.A.dylib                 0x38d424d4 _class_initialize + 532
12  libobjc.A.dylib                 0x38d4805a lookUpImpOrForward + 250
13  libobjc.A.dylib                 0x38d47f52 _class_lookupMethodAndLoadCache3 + 30
14  libobjc.A.dylib                 0x38d4e1d6 _objc_msgSend_uncached + 22
15  MYAPP                           0x000fc916 -[FBSDKWebDialogView initWithFrame:] (FBSDKWebDialogView.m:46)
16  MYAPP                           0x000eb1a4 -[FBSDKWebDialog show] (FBSDKWebDialog.m:90)
17  MYAPP                           0x000eafa6 +[FBSDKWebDialog showWithName:parameters:delegate:] (FBSDKWebDialog.m:52)
18  MYAPP                           0x006dbe06 -[FBSDKLoginManager(WebDialog) performWebLogInWithParameters:] (FBSDKLoginManager.m:634)
19  MYAPP                           0x006da52a -[FBSDKLoginManager logInWithBehavior:] (FBSDKLoginManager.m:304)
20  MYAPP                           0x006da41c -[FBSDKLoginManager logInWithPermissions:handler:] (FBSDKLoginManager.m:262)
21  MYAPP                           0x006d9576 -[FBSDKLoginManager logInWithReadPermissions:handler:] (FBSDKLoginManager.m:66)
22  MYAPP                           0x00073c78 +[ViewController facebookLoginClicked] (ViewController.m:44)
23  MYAPP                           0x000734a0 +[JSFacebookFFIAPI facebookLoginClicked:] (JSFacebookFFIAPI.m:43)
24  CoreFoundation                  0x2aa94660 __invoking___ + 64
25  CoreFoundation                  0x2a9bf488 -[NSInvocation invoke] + 296
26  MYAPP                           0x002005c8 -[Runtime executeStaticFunction:withArguments:exception:] (Runtime.m:1906)
27  MYAPP                           0x001ff11c staticDispatchFunction (Runtime.m:420)
28  MYAPP                           0x005c415e long long JSC::APICallbackFunction::call<JSC::JSCallbackFunction>(JSC::ExecState*) + 422
29  MYAPP                           0x00623dd4 JSC::LLInt::setUpCall(JSC::ExecState*, JSC::Instruction*, JSC::CodeSpecializationKind, JSC::JSValue, JSC::LLIntCallLinkInfo*) + 396
30  MYAPP                           0x00622902 llint_slow_path_call + 118
31  MYAPP                           0x006285fc JSC::LLInt::CLoop::execute(JSC::ExecState*, void*, bool) + 16212
32  MYAPP                           0x00624228 callToJavaScript + 140
33  MYAPP                           0x005bb13e JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*, JSC::Register*) + 38
34  MYAPP                           0x005b99c2 JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 534
35  MYAPP                           0x00591564 JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 44
36  MYAPP                           0x005f23e0 JSObjectCallAsFunction + 428
37  MYAPP                           0x001ffae0 -[Runtime executeJSFunction:thisObject:withArguments:] (Runtime.m:1773)
38  MYAPP                           0x00207406 -[JSFunctionExecuter execute:] (JSFunctionExecuter.m:55)
39  MYAPP                           0x00206f6c -[FunctionExecuter execute:] (FunctionExecuter.m:76)
40  MYAPP                           0x00150df0 doExecuteClosure (ClosureExecuter.m:43)
41  MYAPP                           0x001522d6 +[ClosureExecuter executeClosure:] (ClosureExecuter.m:262)
42  Foundation                      0x2b7ce5ca __NSThreadPerformPerform + 382
43  CoreFoundation                  0x2aa55fac __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
44  CoreFoundation                  0x2aa553ba __CFRunLoopDoSources0 + 214
45  CoreFoundation                  0x2aa53a20 __CFRunLoopRun + 768
46  CoreFoundation                  0x2a9a01fc CFRunLoopRunSpecific + 472
47  CoreFoundation                  0x2a9a000e CFRunLoopRunInMode + 102
48  Foundation                      0x2b709138 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 260
49  MYAPP                           0x000ff454 -[VMThread main] (VMAppDelegate.m:271)
50  Foundation                      0x2b7ce3b6 __NSThread__main__ + 1114
51  libsystem_pthread.dylib         0x39415e20 _pthread_body + 136
52  libsystem_pthread.dylib         0x39415d92 _pthread_start + 114
53  libsystem_pthread.dylib         0x39413b1c thread_start + 4
线程5名称:闭包线程
线程5崩溃:
0 JavaScriptCore 0x2BF9AFA WTFCrash+54
1个WebCore 0x36b218f8 WebCore::FloatingPointEnvironment::saveMainThreadEnvironment()+28
2个WebCore 0x36767882 StartWebThread()+458
3 libsystem_pthread.dylib 0x39416d5c_uupthread_once_handler+48
4 libsystem_platform.dylib 0x3940f864 _os_once+40
5 libsystem_pthread.dylib 0x39414f16 pthread_一次+46
6 WebKitLegacy 0x3727b34c+[WebView(WebPrivate)启用WebThread]+272
7 WebKitLegacy 0x3727a86a WebKitInitialize+66
8 UIKit 0x2e349fd6应用程序加载WebKit块调用+150
9 libdispatch.dylib 0x392ac2cc_dispatch_client_callout+20
10 libdispatch.dylib 0x392acf0e调度一次f+58
11 libobjc.A.dylib 0x38d424d4类初始化+532
12 libobjc.A.dylib 0x38d4805a lookupimportforward+250
13 libobjc.A.dylib 0x38d47f52 _class_lookupmethod和LoadCache3+30
14 libobjc.A.dylib 0x38d4e1d6_objc_msgSend_uncached+22
15 MYAPP 0x000fc916-[FBSDKWebDialogView initWithFrame:](FBSDKWebDialogView.m:46)
16 MYAPP 0x000eb1a4-[FBSDKWebDialog show](FBSDKWebDialog.m:90)
17 MYAPP 0x000eafa6+[FBSDKWebDialog showWithName:参数:委托:](FBSDKWebDialog.m:52)
18 MYAPP 0x006dbe06-[FBSDKLoginManager(WebDialog)performWebLogInWithParameters:](FBSDKLoginManager.m:634)
19 MYAPP 0x006da52a-[FBSDKLoginManager logInWithBehavior:](FBSDKLoginManager.m:304)
20 MYAPP 0x006da41c-[FBSDKLoginManager登录权限:处理程序:](FBSDKLoginManager.m:262)
21 MYAPP 0x006d9576-[FBSDKLoginManager logInWithReadPermissions:handler:](FBSDKLoginManager.m:66)
22 MYAPP 0x00073c78+[ViewController facebookLoginClicked](ViewController.m:44)
23 MYAPP 0x000734a0+[JSFacebookFFIAPI facebookLoginClicked:](JSFacebookFFIAPI.m:43)
24 CoreFoundation 0x2aa94660 uuuu调用uuuu+64
25 CoreFoundation 0x2a9bf488-[NSInvocation调用]+296
26 MYAPP 0x002005c8-[Runtime executeStaticFunction:withArguments:exception:](Runtime.m:1906)
27 MYAPP 0x001ff11c staticDispatchFunction(Runtime.m:420)
28 MYAPP 0x005c415e long-long JSC::APICallbackFunction::call(JSC::ExecState*)+422
29 MYAPP 0x00623dd4 JSC::LLInt::setUpCall(JSC::ExecState*,JSC::Instruction*,JSC::CodeSpecializationKind,JSC::JSValue,JSC::LLIntCallLinkInfo*)+396
30 MYAPP 0x00622902 llint\u慢速路径呼叫+118
31 MYAPP 0x006285fc JSC::LLIT::CLoop::execute(JSC::ExecState*,void*,bool)+16212
32 MYAPP 0x00624228调用JavaScript+140
33 MYAPP 0x005bb13e JSC::JITCode::execute(JSC::VM*,JSC::ProtoCallFrame*,JSC::Register*)+38
34 MYAPP 0x005b99c2 JSC::解释器::executeCall(JSC::ExecState*,JSC::JSObject*,JSC::CallType,JSC::CallData常量&,JSC::JSC::ArgList常量&+534
35 MYAPP 0x00591564 JSC::call(JSC::ExecState*,JSC::JSValue,JSC::CallType,JSC::CallData常量&,JSC::JSValue,JSC::ArgList常量&)+44
36 MYAPP 0x005f23e0 JSObjectCallAsFunction+428
37 MYAPP 0x001ffae0-[Runtime executeJSFunction:thisObject:withArguments:](Runtime.m:1773)
38 MYAPP 0x00207406-[JSFunctionExecuter execute:](JSFunctionExecuter.m:55)
39 MYAPP 0x00206f6c-[FunctionExecuter执行:](FunctionExecuter.m:76)
40 MYAPP 0x00150df0 doExecuteClosure(ClosureExecuter.m:43)
41 MYAPP 0x001522d6+[ClosureExecuter executeClosure:](ClosureExecuter.m:262)
42基金会0x2B7CE5CA,NSTReRePrimeExp+ 382
43 CoreFoundation 0x2aa55fac\uuuu CFRUNLOOP\u正在调用\u OUT\u以执行\u函数\uuu+12
44 CoreFoundation 0x2aa553ba__CFRunLoopDoSources0+214
45芯基础0x2aa53a20 _ucfrunlooprun+768
46 CoreFoundation 0x2a9a01fc CFRunLoopRunSpecific+472
47 CoreFoundation 0x2a9a000e CFRUNLOOPSRUNINMODE+102
48基金会0x2B709138- [ NSRunCURLL(NSRunLob)RunMy:BeFoeDATE::+ 260
49 MYAPP 0x000ff454-[VMThread main](VMAppDelegate.m:271)
50基金会0x2B7CE3B6,NStRead Sym MnIsI+ 1114
51 libsystem_pthread.dylib 0x39415e20_pthread_body+136
52 libsystem_pthread.dylib 0x39415d92_pthread_start+114
53 libsystem_pthread.dylib 0x39413b1c线程开始+4

在主线程上运行解决了该问题