Firebase is reporting that a large number of production users are getting the following fatal crash:
FireBase报告称,大量生产用户出现以下致命崩溃:
Crashed: com.apple.main-thread
EXC_BREAKPOINT 0x0000000101076f0c
0 SCLAlertView 0xaf0c SCLAlertView.showTitle(_:subTitle:timeout:completeText:style:colorStyle:colorTextButton:circleIconImage:animationStyle:) + 5128 (<compiler-generated>:5128)
1 SCLAlertView 0x9a7c SCLAlertView.showSuccess(_:subTitle:closeButtonTitle:timeout:colorStyle:colorTextButton:circleIconImage:animationStyle:) + 108
2 SCLAlertView 0x98d0 SCLAlertView.showNotice(_:subTitle:closeButtonTitle:timeout:colorStyle:colorTextButton:circleIconImage:animationStyle:) + 48
3 app-production 0xf9414 promptForOptionalUpdate(_:) + 139 (AppTheme.swift:139)
4 app-production 0xfa838 partial apply for closure #1 in closure #1 in isUpdateAvailable(completion:) + 59 (UpdatesCheck.swift:59)
5 app-production 0x1c2d4 thunk for @escaping @callee_guaranteed () -> () + 4363469524 (<compiler-generated>:4363469524)
6 libdispatch.dylib 0x2320 _dispatch_call_block_and_release + 32
7 libdispatch.dylib 0x3eac _dispatch_client_callout + 20
8 libdispatch.dylib 0x126a4 _dispatch_main_queue_drain + 928
9 libdispatch.dylib 0x122f4 _dispatch_main_queue_callback_4CF + 44
10 CoreFoundation 0x98c28 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
11 CoreFoundation 0x7a560 __CFRunLoopRun + 1992
12 CoreFoundation 0x7f3ec CFRunLoopRunSpecific + 612
13 GraphicsServices 0x135c GSEventRunModal + 164
14 UIKitCore 0x39cf58 -[UIApplication _run] + 888
15 UIKitCore 0x39cbbc UIApplicationMain + 340
16 app-production 0x5a94 main + 12 (AppDelegate.swift:12)
17 ??? 0x1b9450dec (Missing)
I am perplexed as to how EXC_BREAKPOINT
can trigger in production code that clearly has no breakpoints in it.
我对exc_Breakpoint如何在明显没有断点的产品代码中触发感到困惑。
The problem must be restricted to certain devices as I am unable to reproduce the problem locally in either the simulator or a real device including a production device. I have scrutinised the SCLAlertView.showTitle
function and can find no issues.
该问题必须限于某些设备,因为我无法在模拟器或包括生产设备在内的真实设备中本地重现该问题。我仔细检查了SCLAlertView.showTitle函数,没有发现任何问题。
Any advice on how I can track down the cause of this error would be greatly appreciated.
任何关于我如何追查这个错误的原因的建议都将不胜感激。
更多回答
My guess is a threading issue at apptheme.swift:139
我猜是应用主题的线程问题。斯威夫特
优秀答案推荐
我是一名优秀的程序员,十分优秀!