{"action":"created","issue":{"url":"https://api.github.com/repos/bugsnag/bugsnag-cocoa/issues/44","labels_url":"https://api.github.com/repos/bugsnag/bugsnag-cocoa/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/bugsnag/bugsnag-cocoa/issues/44/comments","events_url":"https://api.github.com/repos/bugsnag/bugsnag-cocoa/issues/44/events","html_url":"https://github.com/bugsnag/bugsnag-cocoa/issues/44","id":71671693,"number":44,"title":"Provide an optional \"Do Not Pull Stack\" flag for Notify items","user":{"login":"AaronSofaer","id":2935149,"avatar_url":"https://avatars.githubusercontent.com/u/2935149?v=3","gravatar_id":"","url":"https://api.github.com/users/AaronSofaer","html_url":"https://github.com/AaronSofaer","followers_url":"https://api.github.com/users/AaronSofaer/followers","following_url":"https://api.github.com/users/AaronSofaer/following{/other_user}","gists_url":"https://api.github.com/users/AaronSofaer/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronSofaer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronSofaer/subscriptions","organizations_url":"https://api.github.com/users/AaronSofaer/orgs","repos_url":"https://api.github.com/users/AaronSofaer/repos","events_url":"https://api.github.com/users/AaronSofaer/events{/privacy}","received_events_url":"https://api.github.com/users/AaronSofaer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-28T18:51:14Z","updated_at":"2015-05-21T17:38:36Z","closed_at":null,"body":"We've got an issue where some of the time, when we're firing Notify items, there's a crash in the OS's backtrace() flow. The crash on notify is in:\r\n\r\n `KSCrashSentry_User.c`, `kscrashsentry_reportUserException`, line 70: `callstackCount = backtrace((void**)callstack, callstackCount);`\r\n\r\nWe don't need the stack; in fact, we don't need anything other than the Notify item's bare minimum.\r\n\r\nAn example is here, if the dev team has access to our team's Bugsnags: https://bugsnag.com/plangrid/plangrid-ios/errors/550ac40e7c992b99ead0c2cb?event_id=553fcd69548678c57afed980\r\n\r\nIf not, I can send a copy of the relevant data; and I have attached a screenshot of the stack in case that proves to be helpful.\r\n\r\nThe underlying issue may be an Apple bug, but as there's no particular reason to expect the backtrace bug to be addressed (though we are filing it in Radar), we'd really like to be able to work around it so that we don't get spurious crashes.\r\n\r\n![screenshot 2015-04-28 11 49 54](https://cloud.githubusercontent.com/assets/2935149/7377657/bbd1f94e-ed9c-11e4-81c1-f5dfd58cf274.png)"},"comment":{"url":"https://api.github.com/repos/bugsnag/bugsnag-cocoa/issues/comments/104367590","html_url":"https://github.com/bugsnag/bugsnag-cocoa/issues/44#issuecomment-104367590","issue_url":"https://api.github.com/repos/bugsnag/bugsnag-cocoa/issues/44","id":104367590,"user":{"login":"russbishop","id":302047,"avatar_url":"https://avatars.githubusercontent.com/u/302047?v=3","gravatar_id":"","url":"https://api.github.com/users/russbishop","html_url":"https://github.com/russbishop","followers_url":"https://api.github.com/users/russbishop/followers","following_url":"https://api.github.com/users/russbishop/following{/other_user}","gists_url":"https://api.github.com/users/russbishop/gists{/gist_id}","starred_url":"https://api.github.com/users/russbishop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russbishop/subscriptions","organizations_url":"https://api.github.com/users/russbishop/orgs","repos_url":"https://api.github.com/users/russbishop/repos","events_url":"https://api.github.com/users/russbishop/events{/privacy}","received_events_url":"https://api.github.com/users/russbishop/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T17:38:36Z","updated_at":"2015-05-21T17:38:36Z","body":"It is the OS `backtrace()` call that is crashing. \r\n\r\nWe're creating our own `NSException` instance but it is never thrown; we are just reporting a potential internal logic error not an actual crash in this case.\r\n\r\nIt would be nice to have a mechanism to notify without even creating an exception. "}}