Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash switching scene modes #6929

Closed
mramato opened this issue Aug 16, 2018 · 3 comments
Closed

Crash switching scene modes #6929

mramato opened this issue Aug 16, 2018 · 3 comments

Comments

@mramato
Copy link
Contributor

mramato commented Aug 16, 2018

Run http://localhost:8080/Apps/Sandcastle/index.html?src=Labels.html and continually switch between 2D/3D mode (no need to do anything else), you will randomly crash:

DeveloperError: normalized result is not a number
Error
    at new DeveloperError (http://localhost:8080/Source/Core/DeveloperError.js:43:19)
    at Function.Cartesian3.normalize (http://localhost:8080/Source/Core/Cartesian3.js:421:19)
    at Ellipsoid.geodeticSurfaceNormal (http://localhost:8080/Source/Core/Ellipsoid.js:368:27)
    at Ellipsoid.cartesianToCartographic (http://localhost:8080/Source/Core/Ellipsoid.js:458:22)
    at updateMembers (http://localhost:8080/Source/Scene/Camera.js:573:77)
    at Camera.get (http://localhost:8080/Source/Scene/Camera.js:760:17)
    at Camera._updateCameraChanged (http://localhost:8080/Source/Scene/Camera.js:340:69)
    at Scene.initializeFrame (http://localhost:8080/Source/Scene/Scene.js:3172:22)
    at CesiumWidget.render (http://localhost:8080/Source/Widgets/CesiumWidget/CesiumWidget.js:692:25)
    at render (http://localhost:8080/Source/Widgets/CesiumWidget/CesiumWidget.js:69:32)

@bagnell any ideas?

@mramato
Copy link
Contributor Author

mramato commented Aug 16, 2018

We're always in the middle of a morph when the crash happens and the camera position looks like it's at least partially NaN

@ggetz
Copy link
Contributor

ggetz commented Aug 20, 2018

This issue is marked for next release, so we should try to get in a fix for next week. Who would be best to look at this? @bagnell?

@mramato
Copy link
Contributor Author

mramato commented Aug 20, 2018

Yes, @bagnell

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants