{"action":"created","issue":{"url":"https://api.github.com/repos/launchdarkly/ios-client/issues/131","repository_url":"https://api.github.com/repos/launchdarkly/ios-client","labels_url":"https://api.github.com/repos/launchdarkly/ios-client/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/launchdarkly/ios-client/issues/131/comments","events_url":"https://api.github.com/repos/launchdarkly/ios-client/issues/131/events","html_url":"https://github.com/launchdarkly/ios-client/issues/131","id":313210323,"number":131,"title":"EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000020","user":{"login":"jamztang","id":852375,"avatar_url":"https://avatars0.githubusercontent.com/u/852375?v=4","gravatar_id":"","url":"https://api.github.com/users/jamztang","html_url":"https://github.com/jamztang","followers_url":"https://api.github.com/users/jamztang/followers","following_url":"https://api.github.com/users/jamztang/following{/other_user}","gists_url":"https://api.github.com/users/jamztang/gists{/gist_id}","starred_url":"https://api.github.com/users/jamztang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamztang/subscriptions","organizations_url":"https://api.github.com/users/jamztang/orgs","repos_url":"https://api.github.com/users/jamztang/repos","events_url":"https://api.github.com/users/jamztang/events{/privacy}","received_events_url":"https://api.github.com/users/jamztang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"markpokornycos","id":3075796,"avatar_url":"https://avatars1.githubusercontent.com/u/3075796?v=4","gravatar_id":"","url":"https://api.github.com/users/markpokornycos","html_url":"https://github.com/markpokornycos","followers_url":"https://api.github.com/users/markpokornycos/followers","following_url":"https://api.github.com/users/markpokornycos/following{/other_user}","gists_url":"https://api.github.com/users/markpokornycos/gists{/gist_id}","starred_url":"https://api.github.com/users/markpokornycos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markpokornycos/subscriptions","organizations_url":"https://api.github.com/users/markpokornycos/orgs","repos_url":"https://api.github.com/users/markpokornycos/repos","events_url":"https://api.github.com/users/markpokornycos/events{/privacy}","received_events_url":"https://api.github.com/users/markpokornycos/received_events","type":"User","site_admin":false},"assignees":[{"login":"markpokornycos","id":3075796,"avatar_url":"https://avatars1.githubusercontent.com/u/3075796?v=4","gravatar_id":"","url":"https://api.github.com/users/markpokornycos","html_url":"https://github.com/markpokornycos","followers_url":"https://api.github.com/users/markpokornycos/followers","following_url":"https://api.github.com/users/markpokornycos/following{/other_user}","gists_url":"https://api.github.com/users/markpokornycos/gists{/gist_id}","starred_url":"https://api.github.com/users/markpokornycos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markpokornycos/subscriptions","organizations_url":"https://api.github.com/users/markpokornycos/orgs","repos_url":"https://api.github.com/users/markpokornycos/repos","events_url":"https://api.github.com/users/markpokornycos/events{/privacy}","received_events_url":"https://api.github.com/users/markpokornycos/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-04-11T07:50:22Z","updated_at":"2018-04-12T15:51:37Z","closed_at":null,"author_association":"NONE","body":"Hi guys, I was tracking down a crash, and seems like it's related to DarklyEventSource.\r\n\r\n```\r\nCrashed: com.apple.root.user-initiated-qos\r\n0  JavaScriptCore                 0x7fffa3cfbe2a JSC::HeapTimer::timerDidFire(__CFRunLoopTimer*, void*) + 26\r\n1  CoreFoundation                 0x7fffa1855c54 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20\r\n2  CoreFoundation                 0x7fffa18558df __CFRunLoopDoTimer + 1071\r\n3  CoreFoundation                 0x7fffa185543a __CFRunLoopDoTimers + 298\r\n4  CoreFoundation                 0x7fffa184cb81 __CFRunLoopRun + 2065\r\n5  CoreFoundation                 0x7fffa184c114 CFRunLoopRunSpecific + 420\r\n6  CoreFoundation                 0x7fffa188bb91 CFRunLoopRun + 97\r\n7  DarklyEventSource              0x1060694bc -[LDEventSource _open] (LDEventSource.m:296)\r\n8  libdispatch.dylib              0x7fffb6fa48fc _dispatch_client_callout + 8\r\n9  libdispatch.dylib              0x7fffb6fb9a16 _dispatch_continuation_pop + 533\r\n10 libdispatch.dylib              0x7fffb6fafa6c _dispatch_source_latch_and_call + 194\r\n11 libdispatch.dylib              0x7fffb6fa713b _dispatch_source_invoke + 1248\r\n12 libdispatch.dylib              0x7fffb6fa66b5 _dispatch_root_queue_drain + 476\r\n13 libdispatch.dylib              0x7fffb6fa648c _dispatch_worker_thread3 + 99\r\n14 libsystem_pthread.dylib        0x7fffb71f35a2 _pthread_wqthread + 1299\r\n15 libsystem_pthread.dylib        0x7fffb71f307d start_wqthread + 13\r\n```\r\n\r\nI went further to look at our Podfile.lock, we're referencing to LaunchDarkly 2.10.1 and DarklyEventSource 3.2.0\r\n\r\nThe closest thing I can find is this:\r\nhttps://github.com/launchdarkly/ios-eventsource/blob/3.2.0/LDEventSource/LDEventSource.m#L293-L295\r\n\r\n```\r\nCFRunLoopRun();\r\n```\r\n\r\nAre there any known reports that CFRunLoopRun will crash is certain situation?"},"comment":{"url":"https://api.github.com/repos/launchdarkly/ios-client/issues/comments/380853854","html_url":"https://github.com/launchdarkly/ios-client/issues/131#issuecomment-380853854","issue_url":"https://api.github.com/repos/launchdarkly/ios-client/issues/131","id":380853854,"user":{"login":"markpokornycos","id":3075796,"avatar_url":"https://avatars1.githubusercontent.com/u/3075796?v=4","gravatar_id":"","url":"https://api.github.com/users/markpokornycos","html_url":"https://github.com/markpokornycos","followers_url":"https://api.github.com/users/markpokornycos/followers","following_url":"https://api.github.com/users/markpokornycos/following{/other_user}","gists_url":"https://api.github.com/users/markpokornycos/gists{/gist_id}","starred_url":"https://api.github.com/users/markpokornycos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markpokornycos/subscriptions","organizations_url":"https://api.github.com/users/markpokornycos/orgs","repos_url":"https://api.github.com/users/markpokornycos/repos","events_url":"https://api.github.com/users/markpokornycos/events{/privacy}","received_events_url":"https://api.github.com/users/markpokornycos/received_events","type":"User","site_admin":false},"created_at":"2018-04-12T15:51:37Z","updated_at":"2018-04-12T15:51:37Z","author_association":"CONTRIBUTOR","body":"After studying these for some time, I have a couple of more questions. Do you use JavaScript in your app? Or maybe a JS based library? If so, do you setup any timers, or set a handler on a timer provided to you by a third party?\r\n\r\nI appreciate any more information you can give us."}}
{"actor":{"display_login":"markpokornycos"}}