It seems that I have a new error in my App update. This is a stack trace from Flurry Analytics. Any ideas what this means?
Full Stack Trace:
0 libobjc.A.dylib 0x1966fbbd0 _objc_msgSend + 16
1 Appname 0x1002f3c28 -[GADBannerView slotFinishedLoadingAdContent:] + 220
2 Appname 0x1002e3520 +[GADMacros runSynchronouslyOnMainThreadWithBlock:] + 64
3 Appname 0x1002f3bb0 -[GADBannerView slotFinishedLoadingAdContent:] + 100
4 Appname 0x1002f890c -[GADSlot adFinishedLoadingContent] + 56
5 Appname 0x1002eefc0 -[GADBannerWebViewDelegate webViewDidFinishLoad:] + 548
6 Appname 0x1003248c4 -[GADWebView webViewDidFinishLoad:] + 100
7 CoreFoundation 0x1860b7df0 <redacted> + 144
8 CoreFoundation 0x185fb665c -[NSInvocation invoke] + 296
9 CoreFoundation 0x185fbb1f0 -[NSInvocation invokeWithTarget:] + 68
10 WebKitLegacy 0x194835754 -[_WebSafeForwarder forwardInvocation:] + 172
11 CoreFoundation 0x1860b5c60 <redacted> + 440
12 CoreFoundation 0x185fbb08c __CF_forwarding_prep_0 + 92
13 CoreFoundation 0x1860b7df0 <redacted> + 144
14 CoreFoundation 0x185fb665c -[NSInvocation invoke] + 296
15 WebCore 0x1939ea8f4 <redacted> + 120
16 CoreFoundation 0x18606a324 <redacted> + 24
17 CoreFoundation 0x1860695c8 <redacted> + 264
18 CoreFoundation 0x186067678 <redacted> + 712
19 CoreFoundation 0x185f95664 _CFRunLoopRunSpecific + 396
20 GraphicsServices 0x18f0cf5a4 _GSEventRunModal + 168
21 UIKit 0x18a89a984 _UIApplicationMain + 1488
22 Appname 0x10010cd0c -[MainRowType .cxx_destruct] + 180
23 libdyld.dylib 0x196d56a08 <redacted> + 4
So the App is crashing by something the AdMob SDK does by itself?
Related
After I released a new version of my app using XCode8, this crash was reported in Fabric:
#0. Crashed: com.apple.main-thread
0 libdispatch.dylib 0x187c89834 dispatch_source_cancel + 4
1 Appname 0x1003d866c -[FIRAAlarm cancel] + 4298868332
2 Appname 0x1003d8318 -[FIRAAlarm runAfterDelay:withBlock:] + 4298867480
3 Appname 0x1003fc054 -[FIRASessionReporter rescheduleSessionStartTimer] + 4299014228
4 CoreFoundation 0x188d9622c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
5 CoreFoundation 0x188d95930 _CFXRegistrationPost + 400
6 CoreFoundation 0x188d956ac ___CFXNotificationPost_block_invoke + 60
7 CoreFoundation 0x188e04b9c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1504
8 CoreFoundation 0x188cd7bf4 _CFXNotificationPost + 376
9 Foundation 0x1897de6bc -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
10 UIKit 0x18ecca284 <redacted> + 1212
11 UIKit 0x18eecdd20 <redacted> + 2744
12 UIKit 0x18eee2080 <redacted> + 48
13 UIKit 0x18eeca8c4 <redacted> + 168
14 FrontBoardServices 0x18a99d8bc <redacted> + 36
15 FrontBoardServices 0x18a99d728 <redacted> + 176
16 FrontBoardServices 0x18a99dad0 <redacted> + 56
17 CoreFoundation 0x188daa278 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
18 CoreFoundation 0x188da9bc0 __CFRunLoopDoSources0 + 524
19 CoreFoundation 0x188da77c0 __CFRunLoopRun + 804
20 CoreFoundation 0x188cd6048 CFRunLoopRunSpecific + 444
21 UIKit 0x18ecb05dc <redacted> + 608
22 UIKit 0x18ecab360 UIApplicationMain + 208
23 Appname 0x1000f6724 main (main.m:15)
24 libdispatch.dylib 0x187cb85b8 (Missing)
The crash detail doesn't show any specific file, just this information:
Appname
#CrashNumber-[FIRAAlarm cancel]
Any ideas what this “FIRAAlarm” is?
This is a known Firebase issue and will be fixed in their next release:
https://groups.google.com/forum/#!topic/firebase-talk/W-gPv4tmXpw
I have been trying to integrate a new SDK (from Layar) in my app that already contains the Realm SDK.
The app was working fine up until now (with Realm). As soon as I add the Layar SDK following the steps in the link above (I don't actually call any functionality, I just add the framework and dependencies), the app crashes on launch at the Realm config, with the trace below.
Any ideas as to what might be causing the behaviour?
../realm/table.hpp:1470: [realm-core-0.92.4] Assertion failed: typeid(Col) == typeid(col)
0 XXContainerIOSDebug 0x00000001004747ec _ZN5realm4util18terminate_internalERNSt3__118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 44
1 XXContainerIOSDebug 0x000000010030b83c _ZN5realm4util9terminateEPKcS2_l + 1196
2 XXContainerIOSDebug 0x0000000100535f08 _ZNK5realm5Table8get_boolEmm + 0
3 XXContainerIOSDebug 0x00000001003b86b8 _ZN5realm11ObjectStore22create_metadata_tablesEPNS_5GroupE + 588
4 XXContainerIOSDebug 0x00000001003bed0c _ZN5realm11ObjectStore24update_realm_with_schemaEPNS_5GroupEyRNSt3__16vectorINS_12ObjectSchemaENS3_9allocatorIS5_EEEENS3_8functionIFvS2_S9_EEE + 72
5 XXContainerIOSDebug 0x0000000100321188 RLMUpdateRealmToSchemaVersion + 1512
6 XXContainerIOSDebug 0x000000010038cd6c +[RLMRealm realmWithConfiguration:error:] + 4148
7 XXContainerIOSDebug 0x000000010038b490 +[RLMRealm defaultRealm] + 92
8 XXContainerIOSDebug 0x000000010019c294 -[XXNewsstand init] + 708
9 XXContainerIOSDebug 0x000000010019b92c __34+[XXNewsstand sharedInstance]_block_invoke + 60
10 libdispatch.dylib 0x00000001013c9bb0 _dispatch_client_callout + 16
11 libdispatch.dylib 0x00000001013caa28 dispatch_once_f + 132
12 XXContainerIOSDebug 0x000000010019b8d0 +[XXNewsstand sharedInstance] + 144
13 XXContainerIOSDebug 0x00000001001b09f4 -[XXTrackingManager init] + 272
14 XXContainerIOSDebug 0x00000001001b089c __36+[XXTrackingManager sharedInstance]_block_invoke + 60
15 libdispatch.dylib 0x00000001013c9bb0 _dispatch_client_callout + 16
16 libdispatch.dylib 0x00000001013caa28 dispatch_once_f + 132
17 XXContainerIOSDebug 0x00000001001b0840 +[XXTrackingManager sharedInstance] + 144
18 XXContainerIOSDebug 0x000000010003d338 -[XXAppDelegate application:didFinishLaunchingWithOptions:] + 1212
19 UIKit 0x00000001880a1704 <redacted> + 400
20 UIKit 0x00000001882d0130 <redacted> + 2904
21 UIKit 0x00000001882d44b8 <redacted> + 1672
22 UIKit 0x00000001882d15c0 <redacted> + 168
23 FrontBoardServices 0x00000001848ef790 <redacted> + 184
24 FrontBoardServices 0x00000001848efb10 <redacted> + 56
25 CoreFoundation 0x00000001832f0efc <redacted> + 24
26 CoreFoundation 0x00000001832f0990 <redacted> + 540
27 CoreFoundation 0x00000001832ee690 <redacted> + 724
28 CoreFoundation 0x000000018321d680 CFRunLoopRunSpecific + 384
29 UIKit 0x000000018809a580 <redacted> + 460
30 UIKit 0x0000000188094d90 UIApplicationMain + 204
31 XXContainerIOSDebug 0x00000001000348a8 main + 124
32 libdyld.dylib 0x0000000182dbe8b8 <redacted> + 4
IMPORTANT: if you see this error, please send this log to help#realm.io.
I have a stack trace from Flurry that is from a crash that is happening a couple times on my app and I dont understand what is going wrong. Any suggestions or hints how I can make sense of this?
0 CoreFoundation 0x184bc2084 <redacted> + 132
1 libobjc.A.dylib 0x1951a00e4 _objc_exception_throw + 60
2 CoreFoundation 0x184ab6ff8 <redacted> + 0
3 My App 0x100015ef4 __mh_execute_header + 73460
4 My App 0x10000c61c __mh_execute_header + 34332
5 My App 0x10000b024 __mh_execute_header + 28708
6 CFNetwork 0x1846624cc <redacted> + 80
7 CFNetwork 0x18466245c <redacted> + 208
8 CFNetwork 0x1846625d8 <redacted> + 60
9 CFNetwork 0x184537684 <redacted> + 104
10 CFNetwork 0x1845ffcb8 <redacted> + 104
11 CFNetwork 0x1845239cc <redacted> + 76
12 CoreFoundation 0x184aa506c _CFArrayApplyFunction + 68
13 CFNetwork 0x184523878 <redacted> + 136
14 CFNetwork 0x18452372c <redacted> + 312
15 CFNetwork 0x184523558 <redacted> + 68
16 CoreFoundation 0x184b7a324 <redacted> + 24
17 CoreFoundation 0x184b795c8 <redacted> + 264
18 CoreFoundation 0x184b77678 <redacted> + 712
19 CoreFoundation 0x184aa5664 _CFRunLoopRunSpecific + 396
20 GraphicsServices 0x18dbe75a4 _GSEventRunModal + 168
21 UIKit 0x1893aa4f8 _UIApplicationMain + 1488
22 My App 0x10000c8f0 __mh_execute_header + 35056
23 libdyld.dylib 0x19580ea08 <redacted> + 4
I'm trying to analyze a log for what appears to be an intermittent crash.
Here's the stack trace for the thread that throws the exception:
Thread : Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x2ab5f49f __exceptionPreprocess + 126
1 libobjc.A.dylib 0x38315c8b objc_exception_throw + 38
2 CoreFoundation 0x2ab5f3e5 -[NSException initWithCoder:]
3 Foundation 0x2b862389 -[NSProxy doesNotRecognizeSelector:] + 68
4 CoreFoundation 0x2ab627d7 ___forwarding___ + 714
5 CoreFoundation 0x2aa94058 _CF_forwarding_prep_0 + 24
6 UIKit 0x292648cb -[UIScrollViewAccessibility _axCleanupDelegateClearer] + 98
7 UIKit 0x29264965 -[UIScrollViewAccessibility dealloc] + 60
8 UIKit 0x2e19c8b1 -[UITableView dealloc] + 1572
9 UIKit 0x2924dc91 -[UITableViewAccessibility dealloc] + 172
10 libobjc.A.dylib 0x38314da1 object_cxxDestructFromClass(objc_object*, objc_class*) + 116
11 libobjc.A.dylib 0x3831e5f7 objc_destructInstance + 34
12 libobjc.A.dylib 0x3831e61b object_dispose + 14
13 UIKit 0x2e3214d1 -[UIResponder dealloc] + 96
14 UIKit 0x2e18eb55 -[UIViewController dealloc] + 1760
15 CoreFoundation 0x2aa6600d CFRelease + 600
16 CoreFoundation 0x2aa7968f -[__NSArrayI dealloc] + 66
17 libobjc.A.dylib 0x3832fd5f objc_object::sidetable_release(bool) + 166
18 libobjc.A.dylib 0x383301a9 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 404
19 CoreFoundation 0x2aa71149 _CFAutoreleasePoolPop + 16
20 UIKit 0x2e01789f _wrapRunLoopWithAutoreleasePoolHandler + 42
21 CoreFoundation 0x2ab25d95 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 20
22 CoreFoundation 0x2ab23453 __CFRunLoopDoObservers + 278
23 CoreFoundation 0x2ab2385b __CFRunLoopRun + 914
24 CoreFoundation 0x2aa713c1 CFRunLoopRunSpecific + 476
25 CoreFoundation 0x2aa711d3 CFRunLoopRunInMode + 106
26 GraphicsServices 0x31e6f0a9 GSEventRunModal + 136
27 UIKit 0x2e080fa1 UIApplicationMain + 1440
28 MyApp 0x000938b1 main (main.mm:21)
29 libdyld.dylib 0x38895aaf start + 2
And here's the stack trace for the main thread:
Thread : Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x3895bdfc __pthread_kill + 8
1 libsystem_pthread.dylib 0x389d9d37 pthread_kill + 62
2 libsystem_c.dylib 0x388fb909 abort + 76
3 libc++abi.dylib 0x37c399c9 __cxa_bad_cast
4 libc++abi.dylib 0x37c53671 default_unexpected_handler()
5 libobjc.A.dylib 0x38315f25 _objc_terminate() + 192
6 libc++abi.dylib 0x37c50de3 std::__terminate(void (*)()) + 78
7 libc++abi.dylib 0x37c508af __cxa_rethrow + 102
8 libobjc.A.dylib 0x38315dd3 objc_exception_rethrow + 42
9 CoreFoundation 0x2aa7145d CFRunLoopRunSpecific + 632
10 CoreFoundation 0x2aa711d3 CFRunLoopRunInMode + 106
11 GraphicsServices 0x31e6f0a9 GSEventRunModal + 136
12 UIKit 0x2e080fa1 UIApplicationMain + 1440
13 MyApp 0x000938b1 main (main.mm:21)
Looking through the trace with the exception, I see a CF_forwarding_prep_0 message, which is followed by an [NSProxy doesNotRecognizeSelector] exception. Reading that, is it a safe assumption that the cause of the issue is that there's a pointer to a tableview delegate that isn't being set to nil? That's about the only discernible thing I see here.
Any help would be most appreciated. Thanks!
I'm trying to distribute my app on Testflight but it's crashing for everyone. Works fine when I build from XCode directly onto the device.
The app worked fine on Testflight about a week ago, but a bunch of changes were made.
Here's the crash log:
Last Exception Backtrace:
0 CoreFoundation 0x30fbaecb __exceptionPreprocess + 131
1 libobjc.A.dylib 0x3b751ce7 objc_exception_throw + 38
2 CoreFoundation 0x30fbae0d +[NSException raise:format:] + 112
3 Lexly 0x0022e0af 0x101000 + 1233071
4 Lexly 0x0021ac21 0x101000 + 1154081
5 Lexly 0x002212ad 0x101000 + 1180333
6 Lexly 0x00221f23 0x101000 + 1183523
7 Lexly 0x001659ad 0x101000 + 412077
8 Lexly 0x0015d7ed 0x101000 + 378861
9 Lexly 0x0015d587 0x101000 + 378247
10 Lexly 0x0015d4d7 0x101000 + 378071
11 Lexly 0x00130d69 0x101000 + 195945
12 Lexly 0x00130d19 0x101000 + 195865
13 UIKit 0x33806d03 -[UIViewController _setViewAppearState:isAnimating:] + 438
14 CoreFoundation 0x30f03aa3 __53-[__NSArrayI enumerateObjectsWithOptions:usingBlock:]_block_invoke + 50
15 CoreFoundation 0x30efd4bd -[__NSArrayI enumerateObjectsWithOptions:usingBlock:] + 220
16 UIKit 0x33806e49 -[UIViewController _setViewAppearState:isAnimating:] + 764
17 UIKit 0x3386be5f -[UIViewController _executeAfterAppearanceBlock] + 54
18 UIKit 0x3386bde9 _applyBlockToCFArrayCopiedToStack + 316
19 UIKit 0x337e4b53 _afterCACommitHandler + 458
20 CoreFoundation 0x30f85ff9 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 20
21 CoreFoundation 0x30f83987 __CFRunLoopDoObservers + 286
22 CoreFoundation 0x30f83cd3 __CFRunLoopRun + 738
23 CoreFoundation 0x30eee729 CFRunLoopRunSpecific + 524
24 CoreFoundation 0x30eee50b CFRunLoopRunInMode + 106
25 GraphicsServices 0x35e4d6d3 GSEventRunModal + 138
26 UIKit 0x3384f871 UIApplicationMain + 1136
27 Lexly 0x0013084f 0x101000 + 194639
28 libdyld.dylib 0x3bc4fab7 start + 2
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3bd061f0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x3bd6e7b3 pthread_kill + 55
2 libsystem_c.dylib 0x3bcb6ff5 abort + 73
3 libc++abi.dylib 0x3b10598b abort_message + 71
4 libc++abi.dylib 0x3b11e6e3 default_terminate_handler() + 251
5 libobjc.A.dylib 0x3b751f7b _objc_terminate() + 191
6 libc++abi.dylib 0x3b11c1b1 std::__terminate(void (*)()) + 77
7 libc++abi.dylib 0x3b11bd13 __cxa_rethrow + 99
8 libobjc.A.dylib 0x3b751e2b objc_exception_rethrow + 39
9 CoreFoundation 0x30eee79b CFRunLoopRunSpecific + 639
10 CoreFoundation 0x30eee507 CFRunLoopRunInMode + 103
11 GraphicsServices 0x35e4d6cf GSEventRunModal + 135
12 UIKit 0x3384f86d UIApplicationMain + 1133
13 Lexly 0x0013084b 0x101000 + 194635
14 libdyld.dylib 0x3bc4fab5 start + 1
I tried the fix in this SO question but no luck:
iOS App with Static Lib ALWAYS crashes on Launch of Ad Hoc Archive Build. Cant reproduce in Xcode Debugger