[ 
https://issues.apache.org/jira/browse/WEEX-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16552305#comment-16552305
 ] 

ASF GitHub Bot commented on WEEX-524:
-------------------------------------

GitHub user xuyouyang opened a pull request:

    https://github.com/apache/incubator-weex/pull/1357

    [WEEX-524][iOS] Try to fix a crash operating mutable array in multi-thread

    Try to fix a crash:
    
    Terminating app due to uncaught exception 'NSRangeException', reason: '*** 
-[__NSArrayM objectAtIndexedSubscript:]: index 0 beyond bounds for empty array'
    
    Last Exception Backtrace:
    0 CoreFoundation __exceptionPreprocess :228 (in CoreFoundation)
    1 _objc_exception_throw :56
    2 CoreFoundation _CFThrowFormattedException :112 (in CoreFoundation)
    3 -[__NSArrayM objectAtIndexedSubscript:] :192 (in CoreFoundation)
    4 -[WXThreadSafeMutableArray objectAtIndex:] WXThreadSafeMutableArray.m:0
    5 -[WXBridgeContext topInstance] WXBridgeContext.m:0
    6 +[WXSDKEngine topInstance] WXSDKEngine.m:277

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/xuyouyang/incubator-weex ios-bugfix-WEEX-524

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-weex/pull/1357.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1357
    
----
commit 1172a3b62269b80f909ad17a2b07cbfe2300d7dd
Author: xuyouyang <xuyouyang1990@...>
Date:   2018-07-23T04:06:42Z

    Try to fix a crash operating mutable array in multi-thread

----


> [iOS] Try to fix a crash : 'index 0 beyond bounds for empty array'
> ------------------------------------------------------------------
>
>                 Key: WEEX-524
>                 URL: https://issues.apache.org/jira/browse/WEEX-524
>             Project: Weex
>          Issue Type: Improvement
>          Components: iOS
>            Reporter: XuYouyang
>            Assignee: XuYouyang
>            Priority: Major
>
> Application Specific Information:
> Terminating app due to uncaught exception 'NSRangeException', reason: '*** 
> -[__NSArrayM objectAtIndexedSubscript:]: index 0 beyond bounds for empty 
> array'
> Last Exception Backtrace:
>  0 CoreFoundation __exceptionPreprocess :228 (in CoreFoundation)
>  1 _objc_exception_throw :56
>  2 CoreFoundation _CFThrowFormattedException :112 (in CoreFoundation)
>  3 -[__NSArrayM objectAtIndexedSubscript:] :192 (in CoreFoundation)
>  4  -[WXThreadSafeMutableArray objectAtIndex:] WXThreadSafeMutableArray.m:0
>  5  -[WXBridgeContext topInstance] WXBridgeContext.m:0
>  6  +[WXSDKEngine topInstance] WXSDKEngine.m:277 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to