RangeError: Invalid Array Length (updateFrustums)

561 views
Skip to first unread message

dext...@gmail.com

unread,
Mar 31, 2014, 3:27:34 AM3/31/14
to cesiu...@googlegroups.com
Hello!

Since b26 I'm experiencing an odd crash in Cesium: it often crashes with a "RangeError: invalid array length" message.

That's the stack trace printed by Cesium: http://postimg.org/image/c1t1zw2cr/

I'm still trying to figure out how to reproduce this bug. Do you have any idea about the root cause of the problem?

Thanks,
Alessio

Matthew Amato

unread,
Mar 31, 2014, 9:50:54 AM3/31/14
to cesiu...@googlegroups.com
That particular message usually pops up because a NaN gets introduced somewhere upstream in a primitive.  Assuming that you are creating primitives directly, that's where I would start to look.



--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Patrick Cozzi

unread,
Mar 31, 2014, 8:31:58 PM3/31/14
to cesiu...@googlegroups.com
Alessio - let us know if you can consistently reproduce this and we can see if it is a bug in Cesium.  A few other folks have reported something similar but then made code changes and it went away, e.g., #1477.

Patrick
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+unsubscribe@googlegroups.com.

dext...@gmail.com

unread,
Apr 1, 2014, 4:40:51 AM4/1/14
to cesiu...@googlegroups.com
> To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

Thanks for the help, I've fixed the problem. I was not calling .destroy on the cesium viewer before creating a new one!
Reply all
Reply to author
Forward
0 new messages