{"action":"created","issue":{"url":"https://api.github.com/repos/danielgindi/Charts/issues/2812","repository_url":"https://api.github.com/repos/danielgindi/Charts","labels_url":"https://api.github.com/repos/danielgindi/Charts/issues/2812/labels{/name}","comments_url":"https://api.github.com/repos/danielgindi/Charts/issues/2812/comments","events_url":"https://api.github.com/repos/danielgindi/Charts/issues/2812/events","html_url":"https://github.com/danielgindi/Charts/issues/2812","id":259514045,"number":2812,"title":"Error aplication Thread in ios 11 with version 3.0.4","user":{"login":"Spiderbezno","id":3285472,"avatar_url":"https://avatars0.githubusercontent.com/u/3285472?v=4","gravatar_id":"","url":"https://api.github.com/users/Spiderbezno","html_url":"https://github.com/Spiderbezno","followers_url":"https://api.github.com/users/Spiderbezno/followers","following_url":"https://api.github.com/users/Spiderbezno/following{/other_user}","gists_url":"https://api.github.com/users/Spiderbezno/gists{/gist_id}","starred_url":"https://api.github.com/users/Spiderbezno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spiderbezno/subscriptions","organizations_url":"https://api.github.com/users/Spiderbezno/orgs","repos_url":"https://api.github.com/users/Spiderbezno/repos","events_url":"https://api.github.com/users/Spiderbezno/events{/privacy}","received_events_url":"https://api.github.com/users/Spiderbezno/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-21T14:22:38Z","updated_at":"2017-09-22T06:26:00Z","closed_at":"2017-09-22T01:00:52Z","author_association":"NONE","body":"Only happen in iOS 11\r\nWhen I run the app with chrtrs we have un erro in run mode with this error in the class PieChartRenderer.swift\r\n```\r\n for j in 0 ..< entryCount\r\n        {\r\n          #   let sliceAngle = drawAngles[j]\r\n            var innerRadius = userInnerRadius\r\n            \r\n            guard let e = dataSet.entryForIndex(j) else { continue }\r\n            \r\nThread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)\r\n```\r\n\r\n\r\nand in console this:\r\n```\r\nMain Thread Checker: UI API called on a background thread: -[UIView setNeedsDisplay]\r\nPID: 56335, TID: 6441245, Thread name: (none), Queue name: NSOperationQueue 0x600000220480 (QOS: UNSPECIFIED), QoS: 0\r\nBacktrace:\r\n4   Charts                              0x0000000108afa605 _T06Charts21PieRadarChartViewBaseC13rotationAngle12CoreGraphics7CGFloatVfs + 101\r\n5   myAndorraTelecom                    0x0000000107b65c5d _T016myAndorraTelecom19ChartTempControllerC03setD0ySd12currentValue_Sd03maxI0So7UIImageC11imageCentertF + 3869\r\n6   myAndorraTelecom                    0x0000000107b6c0f7 _T016myAndorraTelecom19ChartTempControllerC21getDeatilConsumsAsyncyyFy10Foundation4DataVSg_So11URLResponseCSgs5Error_pSgtcfU_ + 17047\r\n7   myAndorraTelecom                    0x0000000107b6e440 _T016myAndorraTelecom19ChartTempControllerC21getDeatilConsumsAsyncyyFy10Foundation4DataVSg_So11URLResponseCSgs5Error_pSgtcfU_TA + 176\r\n8   myAndorraTelecom                    0x000000010785cef7 _T010Foundation4DataVSgSo11URLResponseCSgs5Error_pSgIxxxx_So6NSDataCSgAGSo7NSErrorCSgIyByyy_TR + 263\r\n9   CFNetwork                           0x000000010fcc0208 __75-[__NSURLSessionLocal taskForClass:request:uploadFile:bodyData:completion:]_block_invoke + 19\r\n10  CFNetwork                           0x000000010fcbfa6d __49-[__NSCFLocalSessionTask _task_onqueue_didFinish]_block_invoke + 147\r\n11  Foundation                          0x000000010935a9b7 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7\r\n12  Foundation                          0x000000010935a81a -[NSBlockOperation main] + 68\r\n13  Foundation                          0x0000000109358cd6 -[__NSOperationInternal _start:] + 778\r\n14  libdispatch.dylib                   0x000000010e5a743c _dispatch_client_callout + 8\r\n15  libdispatch.dylib                   0x000000010e5acaf4 _dispatch_block_invoke_direct + 592\r\n16  libdispatch.dylib                   0x000000010e5a743c _dispatch_client_callout + 8\r\n17  libdispatch.dylib                   0x000000010e5acaf4 _dispatch_block_invoke_direct + 592\r\n18  libdispatch.dylib                   0x000000010e5ac884 dispatch_block_perform + 109\r\n19  Foundation                          0x0000000109354ce4 __NSOQSchedule_f + 342\r\n20  libdispatch.dylib                   0x000000010e5a743c _dispatch_client_callout + 8\r\n21  libdispatch.dylib                   0x000000010e5ad856 _dispatch_continuation_pop + 967\r\n22  libdispatch.dylib                   0x000000010e5abc86 _dispatch_async_redirect_invoke + 780\r\n23  libdispatch.dylib                   0x000000010e5b31f9 _dispatch_root_queue_drain + 772\r\n24  libdispatch.dylib                   0x000000010e5b2e97 _dispatch_worker_thread3 + 132\r\n25  libsystem_pthread.dylib             0x000000010ea6a5a2 _pthread_wqthread + 1299\r\n26  libsystem_pthread.dylib             0x000000010ea6a07d start_wqthread + 13\r\n2017-09-21 16:21:41.197476+0200 myAndorraTelecom[56335:6441245] [reports] Main Thread Checker: UI API called on a background thread: -[UIView setNeedsDisplay]\r\nPID: 56335, TID: 6441245, Thread name: (none), Queue name: NSOperationQueue 0x600000220480 (QOS: UNSPECIFIED), QoS: 0\r\nBacktrace:\r\n4   Charts                              0x0000000108afa605 _T06Charts21PieRadarChartViewBaseC13rotationAngle12CoreGraphics7CGFloatVfs + 101\r\n5   myAndorraTelecom                    0x0000000107b65c5d _T016myAndorraTelecom19ChartTempControllerC03setD0ySd12currentValue_Sd03maxI0So7UIImageC11imageCentertF + 3869\r\n6   myAndorraTelecom                    0x0000000107b6c0f7 _T016myAndorraTelecom19ChartTempControllerC21getDeatilConsumsAsyncyyFy10Foundation4DataVSg_So11URLResponseCSgs5Error_pSgtcfU_ + 17047\r\n7   myAndorraTelecom                    0x0000000107b6e440 _T016myAndorraTelecom19ChartTempControllerC21getDeatilConsumsAsyncyyFy10Foundation4DataVSg_So11URLResponseCSgs5Error_pSgtcfU_TA + 176\r\n8   myAndorraTelecom                    0x000000010785cef7 _T010Foundation4DataVSgSo11URLResponseCSgs5Error_pSgIxxxx_So6NSDataCSgAGSo7NSErrorCSgIyByyy_TR + 263\r\n9   CFNetwork                           0x000000010fcc0208 __75-[__NSURLSessionLocal taskForClass:request:uploadFile:bodyData:completion:]_block_invoke + 19\r\n10  CFNetwork                           0x000000010fcbfa6d __49-[__NSCFLocalSessionTask _task_onqueue_didFinish]_block_invoke + 147\r\n11  Foundation                          0x000000010935a9b7 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7\r\n12  Foundation                          0x000000010935a81a -[NSBlockOperation main] + 68\r\n13  Foundation                          0x0000000109358cd6 -[__NSOperationInternal _start:] + 778\r\n14  libdispatch.dylib                   0x000000010e5a743c _dispatch_client_callout + 8\r\n15  libdispatch.dylib                   0x000000010e5acaf4 _dispatch_block_invoke_direct + 592\r\n16  libdispatch.dylib                   0x000000010e5a743c _dispatch_client_callout + 8\r\n17  libdispatch.dylib                   0x000000010e5acaf4 _dispatch_block_invoke_direct + 592\r\n18  libdispatch.dylib                   0x000000010e5ac884 dispatch_block_perform + 109\r\n19  Foundation                          0x0000000109354ce4 __NSOQSchedule_f + 342\r\n20  libdispatch.dylib                   0x000000010e5a743c _dispatch_client_callout + 8\r\n21  libdispatch.dylib                   0x000000010e5ad856 _dispatch_continuation_pop + 967\r\n22  libdispatch.dylib                   0x000000010e5abc86 _dispatch_async_redirect_invoke + 780\r\n23  libdispatch.dylib                   0x000000010e5b31f9 _dispatch_root_queue_drain + 772\r\n24  libdispatch.dylib                   0x000000010e5b2e97 _dispatch_worker_thread3 + 132\r\n25  libsystem_pthread.dylib             0x000000010ea6a5a2 _pthread_wqthread + 1299\r\n26  libsystem_pthread.dylib             0x000000010ea6a07d start_wqthread + 13\r\nfatal error: Index out of range\r\n2017-09-21 16:21:41.244552+0200 myAndorraTelecom[56335:6440481] fatal error: Index out of range\r\n```"},"comment":{"url":"https://api.github.com/repos/danielgindi/Charts/issues/comments/331361488","html_url":"https://github.com/danielgindi/Charts/issues/2812#issuecomment-331361488","issue_url":"https://api.github.com/repos/danielgindi/Charts/issues/2812","id":331361488,"user":{"login":"Spiderbezno","id":3285472,"avatar_url":"https://avatars0.githubusercontent.com/u/3285472?v=4","gravatar_id":"","url":"https://api.github.com/users/Spiderbezno","html_url":"https://github.com/Spiderbezno","followers_url":"https://api.github.com/users/Spiderbezno/followers","following_url":"https://api.github.com/users/Spiderbezno/following{/other_user}","gists_url":"https://api.github.com/users/Spiderbezno/gists{/gist_id}","starred_url":"https://api.github.com/users/Spiderbezno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spiderbezno/subscriptions","organizations_url":"https://api.github.com/users/Spiderbezno/orgs","repos_url":"https://api.github.com/users/Spiderbezno/repos","events_url":"https://api.github.com/users/Spiderbezno/events{/privacy}","received_events_url":"https://api.github.com/users/Spiderbezno/received_events","type":"User","site_admin":false},"created_at":"2017-09-22T06:26:00Z","updated_at":"2017-09-22T06:26:00Z","author_association":"NONE","body":"BUt is strange in iOS 10 work fine, and  ios 11 not, the first time in ios 11 we can see the chart, but if I i go to another page and came back to chart is when the error succeded, I try to debug to find more info thx"}}
{"actor":{"display_login":"Spiderbezno"}}