{"action":"created","issue":{"url":"https://api.github.com/repos/jaydee3/JDStatusBarNotification/issues/40","labels_url":"https://api.github.com/repos/jaydee3/JDStatusBarNotification/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/jaydee3/JDStatusBarNotification/issues/40/comments","events_url":"https://api.github.com/repos/jaydee3/JDStatusBarNotification/issues/40/events","html_url":"https://github.com/jaydee3/JDStatusBarNotification/issues/40","id":67425056,"number":40,"title":"Recursive Crash on iOS 8.3","user":{"login":"waltsellers","id":142548,"avatar_url":"https://avatars.githubusercontent.com/u/142548?v=3","gravatar_id":"","url":"https://api.github.com/users/waltsellers","html_url":"https://github.com/waltsellers","followers_url":"https://api.github.com/users/waltsellers/followers","following_url":"https://api.github.com/users/waltsellers/following{/other_user}","gists_url":"https://api.github.com/users/waltsellers/gists{/gist_id}","starred_url":"https://api.github.com/users/waltsellers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waltsellers/subscriptions","organizations_url":"https://api.github.com/users/waltsellers/orgs","repos_url":"https://api.github.com/users/waltsellers/repos","events_url":"https://api.github.com/users/waltsellers/events{/privacy}","received_events_url":"https://api.github.com/users/waltsellers/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-09T18:38:54Z","updated_at":"2015-10-28T05:01:21Z","closed_at":"2015-04-10T20:36:27Z","body":"We are getting a recursive crash when JDStatusBarNotification usage is close in time to a UIAlertView being presented.  This reproduces in the 8.3 simulator with Xcode 6.3.\r\n\r\nIt appears the window is calling supportedInterfaceOrientations on JDStatusBarNotificationViewController, and it is then asking the window the same.\r\n\r\nThe crash logs truncate the early part of the call stack, but from the Xcode stacks:\r\n....\r\n#130769\t0x0000000102a1e59a in -[JDStatusBarNotificationViewController supportedInterfaceOrientations] \r\n#130770\t0x00000001053d2569 in -[_UIAlertShimPresentingViewController supportedInterfaceOrientations] ()\r\n#130771\t0x0000000102a1e59a in -[JDStatusBarNotificationViewController supportedInterfaceOrientations] \r\n#130772\t0x00000001053d2569 in -[_UIAlertShimPresentingViewController supportedInterfaceOrientations] ()\r\n#130773\t0x0000000102a1e59a in -[JDStatusBarNotificationViewController supportedInterfaceOrientations] \r\n#130774\t0x00000001053d2569 in -[_UIAlertShimPresentingViewController supportedInterfaceOrientations] ()\r\n#130775\t0x0000000102a1e59a in -[JDStatusBarNotificationViewController supportedInterfaceOrientations] \r\n#130776\t0x00000001053d2569 in -[_UIAlertShimPresentingViewController supportedInterfaceOrientations] ()\r\n#130777\t0x0000000104dff380 in -[UIViewController __supportedInterfaceOrientations] ()\r\n#130778\t0x0000000104dff768 in -[UIViewController __withSupportedInterfaceOrientation:apply:] ()\r\n#130779\t0x0000000104dffd71 in -[UIViewController setInterfaceOrientation:] ()\r\n#130780\t0x0000000104df0ba3 in -[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:] ()\r\n#130781\t0x0000000104d35a05 in -[UIView(Internal) _didMoveFromWindow:toWindow:] ()\r\n#130782\t0x0000000104d2decf in __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke ()\r\n#130783\t0x0000000104d2de43 in -[UIView(Hierarchy) _postMovedFromSuperview:] ()\r\n#130784\t0x0000000104d37f48 in -[UIView(Internal) _addSubview:positioned:relativeTo:] ()\r\n#130785\t0x0000000104d06470 in -[UIWindow addRootViewControllerViewIfPossible] ()\r\n#130786\t0x0000000104d06c6d in -[UIWindow setRootViewController:] ()\r\n#130787\t0x00000001053d3a3c in -[_UIAlertControllerShimPresenterWindow _presentationViewController] ()\r\n#130788\t0x00000001053d3a96 in -[_UIAlertControllerShimPresenterWindow presentAlertController:animated:completionBlock:] ()\r\n#130789\t0x00000001053d26b2 in -[_UIAlertControllerShimPresenter _presentAlertControllerAnimated:completion:] ()\r\n#130790\t0x0000000104f2ab19 in -[UIAlertView _showAnimated:] ()\r\n"},"comment":{"url":"https://api.github.com/repos/jaydee3/JDStatusBarNotification/issues/comments/151726083","html_url":"https://github.com/jaydee3/JDStatusBarNotification/issues/40#issuecomment-151726083","issue_url":"https://api.github.com/repos/jaydee3/JDStatusBarNotification/issues/40","id":151726083,"user":{"login":"cmds4410","id":721387,"avatar_url":"https://avatars.githubusercontent.com/u/721387?v=3","gravatar_id":"","url":"https://api.github.com/users/cmds4410","html_url":"https://github.com/cmds4410","followers_url":"https://api.github.com/users/cmds4410/followers","following_url":"https://api.github.com/users/cmds4410/following{/other_user}","gists_url":"https://api.github.com/users/cmds4410/gists{/gist_id}","starred_url":"https://api.github.com/users/cmds4410/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmds4410/subscriptions","organizations_url":"https://api.github.com/users/cmds4410/orgs","repos_url":"https://api.github.com/users/cmds4410/repos","events_url":"https://api.github.com/users/cmds4410/events{/privacy}","received_events_url":"https://api.github.com/users/cmds4410/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T05:01:21Z","updated_at":"2015-10-28T05:01:21Z","body":"@jaydee3 was this fixed by `mainApplicationWindowIgnoringWindow` in `JDStatusBarNotification.m`?"}}