-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Call stack size exceeded when calling setPaintProperty in a loop #5179
Comments
Actually, for some reason I am not getting this error anymore. Anyone was able to reproduce the issue? |
It's definitely a bug, and can be reproduced by running the dancing buildings example for a while. |
Ok, I can confirm I got this error again a few more times. But it seems intermittent. |
As a workaround I added line-dasharray-transition property to set delay and duration to 0: "line-dasharray-transition": { |
This is likely to have been fixed in #5682 or subsequent refactors, so let's close for now and reopen if there's an evidence of a similar error occurring again. |
Hello,
I am trying to imitate line animation updating line-dasharray property with a setInterval.
Here is the jsfiddle with animation step intentionally set to 1ms to speed up the error to occur:
https://jsfiddle.net/2mws8y3q/2/
The problem is that after several minutes of running, the mapbox crashes with error:
mapbox-gl-js version:0.39.1
Steps to Trigger Behavior
Expected Behavior
Animation continues to run
Actual Behavior
Animation stops, mapbox GL crashes.
The text was updated successfully, but these errors were encountered: