{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/3910","repository_url":"https://api.github.com/repos/realm/realm-cocoa","labels_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3910/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3910/comments","events_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3910/events","html_url":"https://github.com/realm/realm-cocoa/issues/3910","id":167432274,"number":3910,"title":"Crashlytics logging crash during app launch, and Realm setup","user":{"login":"narup","id":178289,"avatar_url":"https://avatars.githubusercontent.com/u/178289?v=3","gravatar_id":"","url":"https://api.github.com/users/narup","html_url":"https://github.com/narup","followers_url":"https://api.github.com/users/narup/followers","following_url":"https://api.github.com/users/narup/following{/other_user}","gists_url":"https://api.github.com/users/narup/gists{/gist_id}","starred_url":"https://api.github.com/users/narup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narup/subscriptions","organizations_url":"https://api.github.com/users/narup/orgs","repos_url":"https://api.github.com/users/narup/repos","events_url":"https://api.github.com/users/narup/events{/privacy}","received_events_url":"https://api.github.com/users/narup/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-cocoa/labels/S:Waiting%20For%20User","name":"S:Waiting For User","color":"ededed"},{"url":"https://api.github.com/repos/realm/realm-cocoa/labels/T:Help","name":"T:Help","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"mrackwitz","id":1389011,"avatar_url":"https://avatars.githubusercontent.com/u/1389011?v=3","gravatar_id":"","url":"https://api.github.com/users/mrackwitz","html_url":"https://github.com/mrackwitz","followers_url":"https://api.github.com/users/mrackwitz/followers","following_url":"https://api.github.com/users/mrackwitz/following{/other_user}","gists_url":"https://api.github.com/users/mrackwitz/gists{/gist_id}","starred_url":"https://api.github.com/users/mrackwitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrackwitz/subscriptions","organizations_url":"https://api.github.com/users/mrackwitz/orgs","repos_url":"https://api.github.com/users/mrackwitz/repos","events_url":"https://api.github.com/users/mrackwitz/events{/privacy}","received_events_url":"https://api.github.com/users/mrackwitz/received_events","type":"User","site_admin":false},"assignees":[{"login":"mrackwitz","id":1389011,"avatar_url":"https://avatars.githubusercontent.com/u/1389011?v=3","gravatar_id":"","url":"https://api.github.com/users/mrackwitz","html_url":"https://github.com/mrackwitz","followers_url":"https://api.github.com/users/mrackwitz/followers","following_url":"https://api.github.com/users/mrackwitz/following{/other_user}","gists_url":"https://api.github.com/users/mrackwitz/gists{/gist_id}","starred_url":"https://api.github.com/users/mrackwitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrackwitz/subscriptions","organizations_url":"https://api.github.com/users/mrackwitz/orgs","repos_url":"https://api.github.com/users/mrackwitz/repos","events_url":"https://api.github.com/users/mrackwitz/events{/privacy}","received_events_url":"https://api.github.com/users/mrackwitz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-07-25T18:22:09Z","updated_at":"2016-07-26T16:47:15Z","closed_at":"2016-07-26T16:47:15Z","body":"I am seeing below crash quite often. Looks like it's happening during the app launch or app coming to active mode from the background, but I am not able to reproduce it myself. I do have a feeling Fabric aka Crashlytics is logging manual termination of the app from iPhone's app switcher as a crash?\r\n\r\nOS Version: 9.3.2 (13F69)\r\nDevice: iPad 3\r\nRAM Free: 26.1%\r\nDisk Free: 14.7%\r\n\r\n```\r\n#0. Crashed: com.apple.main-thread\r\n3  phil                           0x19e2e0 static UserApiService.isUserLoggedIn() -> Bool (UserApiService.swift:14)\r\n4  phil                           0x25b3c4 specialized AppDelegate.application(UIApplication, didFinishLaunchingWithOptions : [NSObject : AnyObject]?) -> Bool (AppDelegate.swift:83)\r\n5  phil                           0x259140 @objc AppDelegate.application(UIApplication, didFinishLaunchingWithOptions : [NSObject : AnyObject]?) -> Bool (AppDelegate.swift)\r\n6  UIKit                          0x272f9785 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 392\r\n7  UIKit                          0x275212d1 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3080\r\n8  UIKit                          0x27525285 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1588\r\n9  UIKit                          0x2753983d __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke3286 + 36\r\n10 UIKit                          0x275227b3 -[UIApplication workspaceDidEndTransaction:] + 134\r\n11 FrontBoardServices             0x243aec07 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 18\r\n12 FrontBoardServices             0x243aeab9 -[FBSSerialQueue _performNext] + 224\r\n13 FrontBoardServices             0x243aedb9 -[FBSSerialQueue _performNextFromRunLoopSource] + 48\r\n14 CoreFoundation                 0x22ccddff __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14\r\n15 CoreFoundation                 0x22ccd9ed __CFRunLoopDoSources0 + 452\r\n16 CoreFoundation                 0x22ccbd5b __CFRunLoopRun + 794\r\n17 CoreFoundation                 0x22c1b229 CFRunLoopRunSpecific + 520\r\n18 CoreFoundation                 0x22c1b015 CFRunLoopRunInMode + 108\r\n19 UIKit                          0x272f2c3d -[UIApplication _run] + 524\r\n20 UIKit                          0x272ed189 UIApplicationMain + 144\r\n21 phil                           0x25a1c4 main (AppDelegate.swift:15)\r\n22 libdispatch.dylib              0x228c3873 (Missing)\r\n```"},"comment":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/comments/235330085","html_url":"https://github.com/realm/realm-cocoa/issues/3910#issuecomment-235330085","issue_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3910","id":235330085,"user":{"login":"narup","id":178289,"avatar_url":"https://avatars.githubusercontent.com/u/178289?v=3","gravatar_id":"","url":"https://api.github.com/users/narup","html_url":"https://github.com/narup","followers_url":"https://api.github.com/users/narup/followers","following_url":"https://api.github.com/users/narup/following{/other_user}","gists_url":"https://api.github.com/users/narup/gists{/gist_id}","starred_url":"https://api.github.com/users/narup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narup/subscriptions","organizations_url":"https://api.github.com/users/narup/orgs","repos_url":"https://api.github.com/users/narup/repos","events_url":"https://api.github.com/users/narup/events{/privacy}","received_events_url":"https://api.github.com/users/narup/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T16:47:15Z","updated_at":"2016-07-26T16:47:15Z","body":"Thanks, that method basically does the realm setup if user doesn't exists. I will add more logging to see where it fails and see what's going on\r\nThanks"}}
{"actor":{"display_login":"narup"}}