You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "xingZhang (JIRA)" <ji...@apache.org> on 2018/05/03 10:05:00 UTC

[jira] [Closed] (WEEX-333) clip image using bezier path crash in iOS 8

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

xingZhang closed WEEX-333.
--------------------------

> clip image using bezier path  crash  in iOS 8
> ---------------------------------------------
>
>                 Key: WEEX-333
>                 URL: https://issues.apache.org/jira/browse/WEEX-333
>             Project: Weex
>          Issue Type: Improvement
>            Reporter: xingZhang
>            Assignee: xingZhang
>            Priority: Major
>
> {code:java}
> 0 libsystem_kernel.dylib 0x0000000197b07270 __pthread_kill :8 (in libsystem_kernel.dylib)
> 1 libsystem_c.dylib 0x0000000197a7eb18 _abort :112 (in libsystem_c.dylib)
> 2 libsystem_c.dylib 0x0000000197a53a3c __assert_rtn :92 (in libsystem_c.dylib)
> 3 CoreGraphics 0x0000000186e75b84 _CGPathMoveToPoint :192 (in CoreGraphics)
> 4 UIKit 0x000000018b597a10 -[UIBezierPath moveToPoint:] :36 (in UIKit)
> 5 app 0x00000001031737f4 +[UIBezierPath(Weex) wx_bezierPathWithRoundedRect:topLeft:topRight:bottomLeft:bottomRight:] UIBezierPath+Weex.m:40 (in app)
> 6 app 0x00000001031ba9f0 -[WXImageComponent _clipsToBounds] WXImageComponent.m:557 (in app)
> 7 app 0x00000001031b8094 -[WXImageComponent viewDidLoad] WXImageComponent.m:284 (in app)
> 8 app 0x0000000103149654 -[WXComponent view] WXComponent.mm:446 (in app)
> {code}
>  
> we need try to protect the nan point in bezier path.



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