Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
195
Assertion error in CGPath.cc running in iPad
posted

Hello,

I´m facing an error that i´m not even sure if its related with nuclios, but i dont know what else to try.

My app is running perfectly in iphone hardware and iphone/ipad simulator, but it crashes when running in ipad hardware.

The console displays:

Assertion failed: (CGFloatIsValid(x) && CGFloatIsValid(y)), function void CGPathAddLineToPoint(CGMutablePathRef, const CGAffineTransform *, CGFloat, CGFloat), file Paths/CGPath.cc, line 224.

Here is the stack capture: http://i.imgur.com/DBaG8WH.jpg

Thanks! Any help will be appreciated!

  • 40030
    Offline posted

    Hi Matias, 

    Hmm.. I'm not really sure what's going on. The assertion getting thrown is occurring in native code, however, the stack trace does imply that the method being invoked is coming from the Chart. 

    You state that the issue does not happen on your iPhone but does happen on your iPad. Are they running different versions of iOS? If so, what version is the iPad running?

    We definitely want to help you solve this issue, but really to narrow it down we're going to need a little more information. For example what type of Chart are you creating. When does the assertion take place. i.e. does it happen as soon s the chart is displayed, or perhaps when you zoom. Also, my guess it might relate to the amount of data and probably the actual specific data being used. I understand if you can't share that with us, but if you can, that'd be really helpful. If you can share it with us, but no on the forums, thats ok, we can open up a support case for you so that we can take the discussion offline. 

    Thanks for bringing your issue to our attention. 

    -SteveZ