Closed Bug 1250155 Opened 8 years ago Closed 6 years ago

Crash in Client: specialized AppDelegate.applicationDidEnterBackground(UIApplication) -> () + 1092

Categories

(Firefox for iOS :: General, defect)

All
iOS
defect
Not set
critical

Tracking

()

RESOLVED INVALID
Tracking Status
fxios-v2.0 --- affected
fxios + ---

People

(Reporter: aaronmt, Unassigned)

Details

(Keywords: crash, steps-wanted)

Incident Identifier: D927701A-D7A5-4678-990A-28AEF515A856
CrashReporter Key:   23e99b5fa3b91227c3d8b918a9b6e6e8b77fbbf9
Hardware Model:      iPhone4,1
Process:             Client [612]
Path:                /private/var/mobile/Containers/Bundle/Application/9DB840C2-C45E-42DC-BB00-B5C7668C9CF0/Client.app/Client
Identifier:          org.mozilla.ios.Firefox
Version:             2006 (2.0)
Code Type:           ARM (Native)
Parent Process:      launchd [1]

Date/Time:           2016-02-18 19:21:44.44 +0100
Launch Time:         2016-02-18 19:21:39.39 +0100
OS Version:          iOS 9.2.1 (13D15)
Report Version:      104

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000000e7ffdefe
Triggered by Thread:  0

Thread 0 name:
Thread 0 Crashed:
0   Client                        	0x00149e0c specialized AppDelegate.applicationDidEnterBackground(UIApplication) -> () + 1092 (AppDelegate.swift:300)
1   Client                        	0x001429ac @objc AppDelegate.applicationDidEnterBackground(UIApplication) -> () + 56 (AppDelegate.swift:0)
2   UIKit                         	0x29854552 __47-[UIApplication _applicationDidEnterBackground]_block_invoke + 214 (UIApplication.m:5663)
3   UIKit                         	0x299188aa +[UIViewController _performWithoutDeferringTransitions:] + 114 (UIViewController.m:5902)
4   UIKit                         	0x29854426 -[UIApplication _applicationDidEnterBackground] + 94 (UIApplication.m:5655)
5   UIKit                         	0x298549fa -[UIApplication _handleApplicationDeactivationWithScene:shouldForceExit:transitionContext:completion:] + 774 (UIApplication.m:5763)
6   UIKit                         	0x2984d2fa -[UIApplication workspaceShouldExit:] + 150 (UIApplication.m:2653)
7   FrontBoardServices            	0x26758c7e -[FBSSerialQueue _performNext] + 230 (FBSSerialQueue.m:157)
8   FrontBoardServices            	0x26758f70 -[FBSSerialQueue _performNextFromRunLoopSource] + 48 (FBSSerialQueue.m:204)
9   CoreFoundation                	0x2543768e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14 (CFRunLoop.c:1761)
10  CoreFoundation                	0x2543727c __CFRunLoopDoSources0 + 452 (CFRunLoop.c:1807)
11  CoreFoundation                	0x254355ea __CFRunLoopRun + 794 (CFRunLoop.c:2536)
12  CoreFoundation                	0x25388bf8 CFRunLoopRunSpecific + 520 (CFRunLoop.c:2814)
13  CoreFoundation                	0x253889e4 CFRunLoopRunInMode + 108 (CFRunLoop.c:2844)
14  UIKit                         	0x2961e5bc -[UIApplication _run] + 524 (UIApplication.m:2503)
15  UIKit                         	0x29618ba0 UIApplicationMain + 144 (UIApplication.m:3681)
16  Client                        	0x0004f9bc main + 372 (main.swift:22)
17  libdyld.dylib                 	0x25037872 start + 2 (start_glue.s:64)
Let's see where we're crashing in AppDelegate.
This crashes on the last line of:

// Workaround for crashing in the background when <select> popovers are visible (rdar://24571325).
let jsBlurSelect = "if (document.activeElement && document.activeElement.tagName === 'SELECT') { document.activeElement.blur(); }"
tabManager.selectedTab?.webView?.evaluateJavaScript(jsBlurSelect, completionHandler: nil)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.