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

Jsonnet.org demo broken #248

Closed
peterthenelson opened this issue Oct 28, 2016 · 3 comments
Closed

Jsonnet.org demo broken #248

peterthenelson opened this issue Oct 28, 2016 · 3 comments

Comments

@peterthenelson
Copy link

(On linux chrome)
http://jsonnet.org/docs/demo.html

libjsonnet.js:7498 Uncaught RangeError: Maximum call stack size exceeded(…)
invoke_iiiiii @ libjsonnet.js:7498
_jsonnet_evaluate_snippet @ libjsonnet.js:119759
(anonymous function) @ VM559:11
jsonnet_evaluate_snippet_wrapped @ demo.html:636
compute @ demo.html:647
replace @ demo.html:652
(anonymous function) @ demo.html:654

@peterthenelson
Copy link
Author

Oh, and expanding the "..." in the error message:
at Array.__ZN12_GLOBAL__N_16Parser5parseEi (http://jsonnet.org/js/libjsonnet.js:29329:43)
at Object.dynCall_iii (http://jsonnet.org/js/libjsonnet.js:144412:39)
at invoke_iii (http://jsonnet.org/js/libjsonnet.js:7487:33)
at Array.__ZN12_GLOBAL__N_16Parser5parseEi (http://jsonnet.org/js/libjsonnet.js:32106:11)
at Object.dynCall_iii (http://jsonnet.org/js/libjsonnet.js:144412:39)
at invoke_iii (http://jsonnet.org/js/libjsonnet.js:7487:33)
at Array.__ZN12_GLOBAL__N_16Parser5parseEi (http://jsonnet.org/js/libjsonnet.js:32106:11)
at Object.dynCall_iii (http://jsonnet.org/js/libjsonnet.js:144412:39)
at invoke_iii (http://jsonnet.org/js/libjsonnet.js:7487:33)
at Array.__ZN12_GLOBAL__N_16Parser5parseEi (http://jsonnet.org/js/libjsonnet.js:32106:11)

@sparkprime
Copy link
Member

The code hasn't changed for 7 months so I guess it is chrome that has reduced the stack size or made some other change. Thanks for the report.

@sparkprime
Copy link
Member

Looks like this is a known problem in chrome, so I'm going to close.

https://groups.google.com/a/chromium.org/forum/#!topic/chromium-discuss/YxMaEsEqp3k

(It works in Firefox, and apparently in more recent chrome although I haven't tested that).

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

No branches or pull requests

2 participants