facebook/facebook-ios-sdk — Issue #410: Crash in [FBDialog webView:shouldStartLoadWithRequest:navigationType:]
Author: benjaminjackson
Created: 2011-10-24 21:19:13+00:00
State: open

Getting what appears to be a random crash after rotating the device with the share dialog open and tapping the screen while the content is still loading.

The app shows an error message before the crash:

*"The operation could not be completed. NSURLErrorDomain error -999".*

Below is the log for the crashed thread:

Incident Identifier: [TODO]
CrashReporter Key: [TODO]
Process: EditorsChoice [229]
Path: /var/mobile/Applications/B98CD074-05D2-4239-BE60-C1F4B5FFAB38/EditorsChoice.app/EditorsChoice
Identifier: com.nytimes.editorschoice.test
Version: 5788
Code Type: ARM (Native)
Parent Process: launchd [1]

Date/Time: 2011-10-24 17:07:16 +0000
OS Version: iPhone OS 5.0 (9A334)
Report Version: 104

Exception Type: SIGSEGV
Exception Codes: SEGV_ACCERR at 0xffffffff80724359
Crashed Thread: 0

Thread 0 Crashed:
0 libobjc.A.dylib 0x00003fbc objc_msgSend + 16
1 EditorsChoice 0x0011f4a9 -[FBDialog webView:shouldStartLoadWithRequest:navigationType:] (FBDialog.m:414)
2 UIKit 0x001aa9ff -[UIWebView webView:decidePolicyForNavigationAction:request:frame:decisionListener:] + 183
3 CoreFoundation 0x000bc814 __invoking___ + 68
4 CoreFoundation 0x000177e1 -[NSInvocation invoke] + 161
5 CoreFoundation 0x000173ff -[NSInvocation invokeWithTarget:] + 51
6 WebKit 0x0000ee9d -[_WebSafeForwarder forwardInvocation:] + 253
7 CoreFoundation 0x000bbab3 ___forwarding___ + 667
8 CoreFoundation 0x00016680 _CF_forwarding_prep_0 + 48
9 CoreFoundation 0x000bc814 __invoking___ + 68
10 CoreFoundation 0x000177e1 -[NSInvocation invoke] + 161
11 WebCore 0x000639d5 SendMessage(NSInvocation*) + 25
12 WebCore 0x00076e39 HandleDelegateSource(void*) + 81
13 CoreFoundation 0x0008db03 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
14 CoreFoundation 0x0008d2cf __CFRunLoopDoSources0 + 215
15 CoreFoundation 0x0008c075 __CFRunLoopRun + 653
16 CoreFoundation 0x0000f4dd CFRunLoopRunSpecific + 301
17 CoreFoundation 0x0000f3a5 CFRunLoopRunInMode + 105
18 GraphicsServices 0x00003fed GSEventRunModal + 157
19 UIKit 0x00031743 UIApplicationMain + 1091
20 EditorsChoice 0x000038b9 main (main.m:13)