[
https://issues.apache.org/jira/browse/WEEX-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16401678#comment-16401678
]
ASF GitHub Bot commented on WEEX-249:
-------------------------------------
Github user acton393 commented on the issue:
https://github.com/apache/incubator-weex/pull/1072
@xuyouyang Cases occurs to me that one of thread operating the storage and
then operating the fontFamilyDic, as they was in a same dictionary. And for
`os_unfair_lock`, this is not a type of recursive lock, so it can not be
acquired multi times.
> [iOS]fix WXRuleManager multi-thread crash
> -----------------------------------------
>
> Key: WEEX-249
> URL: https://issues.apache.org/jira/browse/WEEX-249
> Project: Weex
> Issue Type: Bug
> Components: iOS
> Reporter: XuYouyang
> Assignee: Adam Feng
> Priority: Major
> Attachments: WX20180315-114430.png, WX20180315-114554.png,
> WX20180315-114848.png
>
>
> fontFamilyDic type is WXThreadSafeMutableDictionary in WXUtility.m but the
> real type is NSMutableDictionary created in WXRuleManager.m.
> It may cause crash in multi-thread.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)