{"action":"closed","issue":{"url":"https://api.github.com/repos/layerhq/Atlas-iOS/issues/1284","repository_url":"https://api.github.com/repos/layerhq/Atlas-iOS","labels_url":"https://api.github.com/repos/layerhq/Atlas-iOS/issues/1284/labels{/name}","comments_url":"https://api.github.com/repos/layerhq/Atlas-iOS/issues/1284/comments","events_url":"https://api.github.com/repos/layerhq/Atlas-iOS/issues/1284/events","html_url":"https://github.com/layerhq/Atlas-iOS/issues/1284","id":181746353,"number":1284,"title":"Application is modifying the autolayout engine from a background thread","user":{"login":"troypayne","id":3412692,"avatar_url":"https://avatars.githubusercontent.com/u/3412692?v=3","gravatar_id":"","url":"https://api.github.com/users/troypayne","html_url":"https://github.com/troypayne","followers_url":"https://api.github.com/users/troypayne/followers","following_url":"https://api.github.com/users/troypayne/following{/other_user}","gists_url":"https://api.github.com/users/troypayne/gists{/gist_id}","starred_url":"https://api.github.com/users/troypayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troypayne/subscriptions","organizations_url":"https://api.github.com/users/troypayne/orgs","repos_url":"https://api.github.com/users/troypayne/repos","events_url":"https://api.github.com/users/troypayne/events{/privacy}","received_events_url":"https://api.github.com/users/troypayne/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-07T19:12:23Z","updated_at":"2016-10-18T01:01:09Z","closed_at":"2016-10-18T01:01:09Z","body":"Ever since running my app with Xcode 8, Swift3 and Atlas version: 1.0.29 and LayerKit version: 0.23.2, I've been receiving a message in my logs (not a crash) of the following:\r\n\r\n2016-10-07 12:07:49.625 MyApp[81567:2598587] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes.\r\n Stack:(\r\n\t0   CoreFoundation                      0x000000010cb0234b __exceptionPreprocess + 171\r\n\t1   libobjc.A.dylib                     0x000000010c48421e objc_exception_throw + 48\r\n\t2   CoreFoundation                      0x000000010cb6b265 +[NSException raise:format:] + 197\r\n\t3   Foundation                          0x0000000108173320 _AssertAutolayoutOnAllowedThreadsOnly + 180\r\n\t4   Foundation                          0x0000000108173068 -[NSISEngine _optimizeWithoutRebuilding] + 61\r\n\t5   Foundation                          0x0000000107f9ae8c -[NSISEngine optimize] + 91\r\n\t6   Foundation                          0x0000000108170f88 -[NSISEngine performPendingChangeNotifications] + 84\r\n\t7   UIKit                               0x0000000109315517 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1704\r\n\t8   QuartzCore                          0x0000000108e47cdc -[CALayer layoutSublayers] + 146\r\n\t9   QuartzCore                          0x0000000108e3b7a0 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 366\r\n\t10  QuartzCore                          0x0000000108e3b61e _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24\r\n\t11  QuartzCore                          0x0000000108dc962c _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 280\r\n\t12  QuartzCore                          0x0000000108df6713 _ZN2CA11Transaction6commitEv + 475\r\n\t13  QuartzCore                          0x0000000108df6b91 _ZN2CA11Transaction14release_threadEPv + 593\r\n\t14  libsystem_pthread.dylib             0x000000010df1551f _pthread_tsd_cleanup + 544\r\n\t15  libsystem_pthread.dylib             0x000000010df15259 _pthread_exit + 152\r\n\t16  libsystem_pthread.dylib             0x000000010df15db8 pthread_exit + 30\r\n\t17  Foundation                          0x0000000107fce73b -[NSConnection removeRunLoop:] + 0\r\n\t18  Foundation                          0x0000000107f6af88 __NSThread__start__ + 1263\r\n\t19  libsystem_pthread.dylib             0x000000010df13abb _pthread_body + 180\r\n\t20  libsystem_pthread.dylib             0x000000010df13a07 _pthread_body + 0\r\n\t21  libsystem_pthread.dylib             0x000000010df13231 thread_start + 13\r\n)\r\n\r\nI deconstructed my code and I believe that it's an isolated Atlas issue, but I could be wrong. Has anyone else experienced this issue?"}}
{"actor":{"display_login":"troypayne"}}