{"action":"created","issue":{"url":"https://api.github.com/repos/mdinacci/MDRadialProgress/issues/37","labels_url":"https://api.github.com/repos/mdinacci/MDRadialProgress/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/mdinacci/MDRadialProgress/issues/37/comments","events_url":"https://api.github.com/repos/mdinacci/MDRadialProgress/issues/37/events","html_url":"https://github.com/mdinacci/MDRadialProgress/issues/37","id":56001157,"number":37,"title":"Crash on iphone 6 plus.","user":{"login":"bhatti-waqas","id":9653275,"avatar_url":"https://avatars.githubusercontent.com/u/9653275?v=3","gravatar_id":"","url":"https://api.github.com/users/bhatti-waqas","html_url":"https://github.com/bhatti-waqas","followers_url":"https://api.github.com/users/bhatti-waqas/followers","following_url":"https://api.github.com/users/bhatti-waqas/following{/other_user}","gists_url":"https://api.github.com/users/bhatti-waqas/gists{/gist_id}","starred_url":"https://api.github.com/users/bhatti-waqas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhatti-waqas/subscriptions","organizations_url":"https://api.github.com/users/bhatti-waqas/orgs","repos_url":"https://api.github.com/users/bhatti-waqas/repos","events_url":"https://api.github.com/users/bhatti-waqas/events{/privacy}","received_events_url":"https://api.github.com/users/bhatti-waqas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-30T06:55:18Z","updated_at":"2015-01-30T09:36:05Z","closed_at":null,"body":"On iphone 6 plus the radilProgressView crashes on drawArcInContext giving EXEC_BAD_ACCESS error. Please help me what is the matter ?\r\n\r\nIt works one first start. then after going back to the view where the radial is placed. IT crashes ono following method.\r\n\r\n- (void)drawArcInContext:(CGContextRef)context center:(CGPoint)center radius:(CGFloat)radius startAngle:(CGFloat)startAngle\r\n\t\t\t\tendAngle:(CGFloat)endAngle color:(CGColorRef)color clockwise:(BOOL)cgClockwise\r\n{\r\n\tCGContextBeginPath(context);\r\n\tCGContextMoveToPoint(context, center.x, center.y);\r\n\tCGContextAddArc(context, center.x, center.y, radius, startAngle, endAngle, cgClockwise);\r\n\tCGContextSetFillColorWithColor(context, color);\r\n    \r\n\tCGContextFillPath(context);  //crash on this point exc_bad_access\r\n}\r\n"},"comment":{"url":"https://api.github.com/repos/mdinacci/MDRadialProgress/issues/comments/72175938","html_url":"https://github.com/mdinacci/MDRadialProgress/issues/37#issuecomment-72175938","issue_url":"https://api.github.com/repos/mdinacci/MDRadialProgress/issues/37","id":72175938,"user":{"login":"mdinacci","id":1949,"avatar_url":"https://avatars.githubusercontent.com/u/1949?v=3","gravatar_id":"","url":"https://api.github.com/users/mdinacci","html_url":"https://github.com/mdinacci","followers_url":"https://api.github.com/users/mdinacci/followers","following_url":"https://api.github.com/users/mdinacci/following{/other_user}","gists_url":"https://api.github.com/users/mdinacci/gists{/gist_id}","starred_url":"https://api.github.com/users/mdinacci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdinacci/subscriptions","organizations_url":"https://api.github.com/users/mdinacci/orgs","repos_url":"https://api.github.com/users/mdinacci/repos","events_url":"https://api.github.com/users/mdinacci/events{/privacy}","received_events_url":"https://api.github.com/users/mdinacci/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T09:36:05Z","updated_at":"2015-01-30T09:36:05Z","body":"Hello @bhatti-waqas, \r\nthanks for your report, I'll investigate the issue. \r\n\r\nIn the meanwhile, can you please check whether context and color are not nil before you reach the line that causes exc_bad_access ? Thanks.\r\n"}}