{"action":"created","issue":{"url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues/1494","repository_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS","labels_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues/1494/labels{/name}","comments_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues/1494/comments","events_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues/1494/events","html_url":"https://github.com/forcedotcom/SalesforceMobileSDK-iOS/issues/1494","id":149283605,"number":1494,"title":"Crash: SFRootViewManager Application tried to present modally an active controller","user":{"login":"eescamilla","id":7854174,"avatar_url":"https://avatars.githubusercontent.com/u/7854174?v=3","gravatar_id":"","url":"https://api.github.com/users/eescamilla","html_url":"https://github.com/eescamilla","followers_url":"https://api.github.com/users/eescamilla/followers","following_url":"https://api.github.com/users/eescamilla/following{/other_user}","gists_url":"https://api.github.com/users/eescamilla/gists{/gist_id}","starred_url":"https://api.github.com/users/eescamilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eescamilla/subscriptions","organizations_url":"https://api.github.com/users/eescamilla/orgs","repos_url":"https://api.github.com/users/eescamilla/repos","events_url":"https://api.github.com/users/eescamilla/events{/privacy}","received_events_url":"https://api.github.com/users/eescamilla/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-04-18T21:59:25Z","updated_at":"2016-07-08T16:30:07Z","closed_at":null,"body":"We use Crashlytics/Fabric for crash tracking and we received this message: \r\n\r\nFatal Exception: NSInvalidArgumentException\r\nApplication tried to present modally an active controller <CBILoadScreenViewController: 0x17d4b660>.\r\n\r\nIt occurred isnide of SFRootViewManager specific here for version 4.0 : SFRootViewManager.m line 91\r\n__40-[SFRootViewManager pushViewController:]_block_invoke\r\n\r\nWent back in history to see if this was a previous issue but didn't see anything related to this, one more thing to note is that all of the crashes I have seen are coming from iOS 9.3.1 iPad 4th generation, thanks. "},"comment":{"url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues/comments/231406937","html_url":"https://github.com/forcedotcom/SalesforceMobileSDK-iOS/issues/1494#issuecomment-231406937","issue_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues/1494","id":231406937,"user":{"login":"hiralnaik","id":7863227,"avatar_url":"https://avatars.githubusercontent.com/u/7863227?v=3","gravatar_id":"","url":"https://api.github.com/users/hiralnaik","html_url":"https://github.com/hiralnaik","followers_url":"https://api.github.com/users/hiralnaik/followers","following_url":"https://api.github.com/users/hiralnaik/following{/other_user}","gists_url":"https://api.github.com/users/hiralnaik/gists{/gist_id}","starred_url":"https://api.github.com/users/hiralnaik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiralnaik/subscriptions","organizations_url":"https://api.github.com/users/hiralnaik/orgs","repos_url":"https://api.github.com/users/hiralnaik/repos","events_url":"https://api.github.com/users/hiralnaik/events{/privacy}","received_events_url":"https://api.github.com/users/hiralnaik/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T16:30:07Z","updated_at":"2016-07-08T16:30:07Z","body":"I was able to solve this issue in our code. Try to avoid `[[SFAuthenticationManager` sharedManager] logout];` (logout) call multiple time. I mean when one logout call is in progress don't make another logout call. I used to get 3 to 4 crashes a day but now since 1 month, we have only 1 crash related to this.\r\n"}}
{"actor":{"display_login":"hiralnaik"}}