[ 
https://issues.apache.org/jira/browse/WEEX-145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam Feng resolved WEEX-145.
----------------------------
    Resolution: Fixed

> Crash in WXScrollerComponent scrollViewDidScroll,Collection was mutated while 
> being enumerated
> ----------------------------------------------------------------------------------------------
>
>                 Key: WEEX-145
>                 URL: https://issues.apache.org/jira/browse/WEEX-145
>             Project: Weex
>          Issue Type: Bug
>          Components: iOS
>         Environment: OS Version:          iPhone OS 10.3.3
>            Reporter: lihui
>            Assignee: Adam Feng
>            Priority: Major
>   Original Estimate: 8h
>  Remaining Estimate: 8h
>
> we use scroll component and parallax in our page. When we pull to refresh, 
> sometime we got a crash. The stack like this :
> Exception Type:  SIGABRT
> Exception Codes: #0 at 0x1828d5014
> Triggered by Thread:  0
> Application Specific Information:
> *** Terminating app due to uncaught exception 'NSGenericException', reason: 
> '*** Collection <NSConcreteHashTable: 0x170320000> was mutated while being 
> enumerated.'
> Last Exception Backtrace:
> 0   CoreFoundation                  0x00000001838dafe0 __exceptionPreprocess 
> :124 (in CoreFoundation)
> 1   libobjc.A.dylib                 0x000000018233c538 _objc_exception_throw 
> :56 (in libobjc.A.dylib)
> 2   CoreFoundation                  0x00000001838daa30 
> __NSFastEnumerationMutationHandler :128 (in CoreFoundation)
> 3   Foundation                      0x00000001842cd3cc -[NSConcreteHashTable 
> countByEnumeratingWithState:objects:count:] :72 (in Foundation)
> 4   Youku4iPhoneWithoutExtension    0x0000000101936e88 -[WXScrollerComponent 
> scrollViewDidScroll:] WXScrollerComponent.m:551 (in 
> Youku4iPhoneWithoutExtension)
> 5   Youku4iPhoneWithoutExtension    0x00000001019a99d0 -[WXListComponent 
> scrollViewDidScroll:] WXListComponent.m:630 (in Youku4iPhoneWithoutExtension)
> 6   UIKit                           0x0000000189d1e46c 
> -[UIScrollView(UIScrollViewInternal) _notifyDidScroll] :76 (in UIKit)
> 7   UIKit                           0x0000000189a2a84c -[UIScrollView 
> setContentOffset:] :436 (in UIKit)
> 8   Youku4iPhoneWithoutExtension    0x000000010174ba90 
> -[UIScrollView(UTViewExposure) utexposure_setContentOffset:] :40 (in 
> Youku4iPhoneWithoutExtension)
> 9   UIKit                           0x0000000189ae11dc -[UITableView 
> setContentOffset:] :272 (in UIKit)
> 10  Youku4iPhoneWithoutExtension    0x00000001019a5b2c -[WXTableView 
> setContentOffset:] WXListComponent.m:63 (in Youku4iPhoneWithoutExtension)
> 11  UIKit                           0x0000000189bbbaa0 
> -[UIScrollViewScrollAnimation setProgress:] :284 (in UIKit)
> 12  UIKit                           0x0000000189bbb790 -[UIAnimator(Static) 
> _advanceAnimationsOfType:withTimestamp:] :280 (in UIKit)
> 13  QuartzCore                      0x0000000186aed5dc 
> CA::Display::DisplayLinkItem::dispatch(unsigned long long) :44 (in QuartzCore)
> 14  QuartzCore                      0x0000000186aed48c 
> CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long 
> long, unsigned long long) :436 (in QuartzCore)
> 15  IOKit                           0x0000000183b47b9c 0x0000000183b42000 + 
> 23452
> 16  CoreFoundation                  0x0000000183871960 __CFMachPortPerform 
> :180 (in CoreFoundation)
> 17  CoreFoundation                  0x0000000183889ae4 
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ :56 (in 
> CoreFoundation)
> 18  CoreFoundation                  0x0000000183889284 __CFRunLoopDoSource1 
> :436 (in CoreFoundation)
> 19  CoreFoundation                  0x0000000183886d98 __CFRunLoopRun :1752 
> (in CoreFoundation)
> 20  CoreFoundation                  0x00000001837b6da4 _CFRunLoopRunSpecific 
> :424 (in CoreFoundation)
> 21  GraphicsServices                0x0000000185221074 _GSEventRunModal :100 
> (in GraphicsServices)
> 22  UIKit                           0x0000000189a71c9c _UIApplicationMain 
> :208 (in UIKit)
> 23  Youku4iPhoneWithoutExtension    0x00000001000f948c main main.m:24 (in 
> Youku4iPhoneWithoutExtension)
> 24  libdyld.dylib                   0x00000001827c559c _start :4 (in 
> libdyld.dylib)



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

Reply via email to