You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/09/06 16:43:00 UTC

[jira] [Commented] (WEEX-264) waterfall组件在计算时候产生CRASH

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

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

acton393 opened a new pull request #1501: [WEEX-264] resolve the crash of waterfall component
URL: https://github.com/apache/incubator-weex/pull/1501
 
 
   [WEEX-264] resolve the crash of waterfall component
   
    due to the unstable layout engine, got the nan sometimes from the same input css, protect here
   for the crash stack see more here https://issues.apache.org/jira/browse/WEEX-264
   
   Bug:264
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> waterfall组件在计算时候产生CRASH
> -----------------------
>
>                 Key: WEEX-264
>                 URL: https://issues.apache.org/jira/browse/WEEX-264
>             Project: Weex
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 0.17
>         Environment: 飞猪客户端8.5.9线上版本,不是必先,能否在组件内部添加对应保护
>            Reporter: lichetnao
>            Assignee: XuYouyang
>            Priority: Major
>
> # {{*** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan 0.333333]'}}
>  # {{}}
>  # {{Last Exception Backtrace:}}
>  # {{0 CoreFoundation 0x00000001866aefe0 __exceptionPreprocess :124 (in CoreFoundation)}}
>  # {{1 libobjc.A.dylib 0x0000000185110538 _objc_exception_throw :56 (in libobjc.A.dylib)}}
>  # {{2 CoreFoundation 0x00000001866aef28 +[NSException raise:format:] :116 (in CoreFoundation)}}
>  # {{3 QuartzCore 0x00000001899c5acc CA::Layer::set_position(CA::Vec2 const&, bool) :156 (in QuartzCore)}}
>  # {{4 QuartzCore 0x00000001899c5c48 -[CALayer setPosition:] :44 (in QuartzCore)}}
>  # {{5 UIKit 0x000000018c839d74 -[UIView setCenter:] :228 (in UIKit)}}
>  # {{6 UIKit 0x000000018c8440b0 -[UICollectionReusableView _setLayoutAttributes:] :232 (in UIKit)}}
>  # {{7 UIKit 0x000000018c816020 +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] :644 (in UIKit)}}
>  # {{8 UIKit 0x000000018c82c718 +[UIView(UIViewAnimationWithBlocks) animateWithDuration:delay:options:animations:completion:] :108 (in UIKit)}}
>  # {{9 UIKit 0x000000018d0d46a4 -[UICollectionViewAnimation startWithAnimator:] :1364 (in UIKit)}}
>  # {{10 UIKit 0x000000018d0ee24c __71-[UICollectionView _updateWithItems:tentativelyForReordering:animator:]_block_invoke.2030 :932 (in UIKit)}}
>  # {{11 UIKit 0x000000018c816020 +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] :644 (in UIKit)}}
>  # {{12 UIKit 0x000000018c82c718 +[UIView(UIViewAnimationWithBlocks) animateWithDuration:delay:options:animations:completion:] :108 (in UIKit)}}
>  # {{13 UIKit 0x000000018d0ed684 -[UICollectionView _updateWithItems:tentativelyForReordering:animator:] :5212 (in UIKit)}}
>  # {{14 UIKit 0x000000018d0eaf24 -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:] :12952 (in UIKit)}}
>  # {{15 UIKit 0x000000018d0ee894 -[UICollectionView _endUpdatesWithInvalidationContext:tentativelyForReordering:animator:] :92 (in UIKit)}}
>  # {{16 UIKit 0x000000018d0eeb74 -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:animator:] :384 (in UIKit)}}
>  # {{17 UIKit 0x000000018d0ee9d4 -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:] :96 (in UIKit)}}
>  # {{18 UIKit 0x000000018d0ee958 -[UICollectionView _performBatchUpdates:completion:invalidationContext:] :84 (in UIKit)}}
>  # {{19 UIKit 0x000000018c9b70d0 -[UICollectionView performBatchUpdates:completion:] :64 (in UIKit)}}
>  # {{20 Portal 0x00000001025d85ec -[WXRecyclerUpdateController performBatchUpdates] WXRecyclerUpdateController.m:168 (in Portal)}}
>  # {{21 libdispatch.dylib 0x00000001855669e0 }}



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