{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/2001","labels_url":"https://api.github.com/repos/facebook/react-native/issues/2001/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/2001/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/2001/events","html_url":"https://github.com/facebook/react-native/issues/2001","id":95133151,"number":2001,"title":"[Text][Crash] RCTText setTextStorage crashes","user":{"login":"ide","id":379606,"avatar_url":"https://avatars.githubusercontent.com/u/379606?v=3","gravatar_id":"","url":"https://api.github.com/users/ide","html_url":"https://github.com/ide","followers_url":"https://api.github.com/users/ide/followers","following_url":"https://api.github.com/users/ide/following{/other_user}","gists_url":"https://api.github.com/users/ide/gists{/gist_id}","starred_url":"https://api.github.com/users/ide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ide/subscriptions","organizations_url":"https://api.github.com/users/ide/orgs","repos_url":"https://api.github.com/users/ide/repos","events_url":"https://api.github.com/users/ide/events{/privacy}","received_events_url":"https://api.github.com/users/ide/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"a2","id":241156,"avatar_url":"https://avatars.githubusercontent.com/u/241156?v=3","gravatar_id":"","url":"https://api.github.com/users/a2","html_url":"https://github.com/a2","followers_url":"https://api.github.com/users/a2/followers","following_url":"https://api.github.com/users/a2/following{/other_user}","gists_url":"https://api.github.com/users/a2/gists{/gist_id}","starred_url":"https://api.github.com/users/a2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a2/subscriptions","organizations_url":"https://api.github.com/users/a2/orgs","repos_url":"https://api.github.com/users/a2/repos","events_url":"https://api.github.com/users/a2/events{/privacy}","received_events_url":"https://api.github.com/users/a2/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-07-15T08:20:32Z","updated_at":"2015-09-04T22:35:03Z","closed_at":null,"body":"This is on master after the Tuesday sync. Perhaps the text scaling diff revealed or introduced this bug. I don't have a repro case (seems to happen on reload) but this is the stack trace:\r\n\r\n```\r\nThread 0 Crashed:: Dispatch queue: com.apple.main-thread\r\n0   libobjc.A.dylib               \t0x000000010b3679c0 objc_release + 16\r\n1   app                           \t0x000000010a503f54 -[RCTText setTextStorage:] + 68 (RCTText.m:72)\r\n2   app                           \t0x000000010a4f3eca __59-[RCTShadowText processUpdatedProperties:parentProperties:]_block_invoke + 154 (RCTShadowText.m:91)\r\n3   app                           \t0x000000010a51ae9a __75-[RCTUIManager _amendPendingUIBlocksWithStylePropagationUpdateForRootView:]_block_invoke + 410 (RCTUIManager.m:639)\r\n4   app                           \t0x000000010a517333 __27-[RCTUIManager addUIBlock:]_block_invoke + 131 (RCTUIManager.m:466)\r\n5   app                           \t0x000000010a524d5d __29-[RCTUIManager flushUIBlocks]_block_invoke + 365 (RCTUIManager.m:1336)\r\n6   libdispatch.dylib             \t0x000000010e780f16 _dispatch_call_block_and_release + 12\r\n7   libdispatch.dylib             \t0x000000010e79b964 _dispatch_client_callout + 8\r\n8   libdispatch.dylib             \t0x000000010e786a59 _dispatch_main_queue_callback_4CF + 704\r\n9   com.apple.CoreFoundation      \t0x000000010ba6d1f9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9\r\n10  com.apple.CoreFoundation      \t0x000000010ba2edcb __CFRunLoopRun + 2043\r\n11  com.apple.CoreFoundation      \t0x000000010ba2e366 CFRunLoopRunSpecific + 470\r\n12  com.apple.GraphicsServices    \t0x00000001115eca3e GSEventRunModal + 161\r\n13  com.apple.UIKit               \t0x000000010cfd88c0 UIApplicationMain + 1282\r\n14  app                           \t0x000000010a4335cf main + 111 (main.m:9)\r\n15  libdyld.dylib                 \t0x000000010e7cb145 start + 1\r\n```\r\n\r\nWith zombies I get `[NSConcreteTextStorage release]: message sent to deallocated instance 0x7f99ff5bddf0`. Maybe a bug in Core Text or iOS 8.4?"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/137871938","html_url":"https://github.com/facebook/react-native/issues/2001#issuecomment-137871938","issue_url":"https://api.github.com/repos/facebook/react-native/issues/2001","id":137871938,"user":{"login":"ide","id":379606,"avatar_url":"https://avatars.githubusercontent.com/u/379606?v=3","gravatar_id":"","url":"https://api.github.com/users/ide","html_url":"https://github.com/ide","followers_url":"https://api.github.com/users/ide/followers","following_url":"https://api.github.com/users/ide/following{/other_user}","gists_url":"https://api.github.com/users/ide/gists{/gist_id}","starred_url":"https://api.github.com/users/ide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ide/subscriptions","organizations_url":"https://api.github.com/users/ide/orgs","repos_url":"https://api.github.com/users/ide/repos","events_url":"https://api.github.com/users/ide/events{/privacy}","received_events_url":"https://api.github.com/users/ide/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T22:35:03Z","updated_at":"2015-09-04T22:35:03Z","body":"Someone was telling me that CoreText may not actually be threadsafe in a couple cases. That is you can use it off the main thread but it might not support concurrency. In this case the crash looks related to deallocation so maybe the module is getting dealloc'd from a thread/queue other than its own?"}}