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

Uncaught RangeError: Maximum call stack size exceeded #3

Open
zillerium opened this issue Sep 6, 2018 · 0 comments
Open

Uncaught RangeError: Maximum call stack size exceeded #3

zillerium opened this issue Sep 6, 2018 · 0 comments

Comments

@zillerium
Copy link

Solc Version Loaded: soljson-v0.4.25-nightly.2018.8.7+commit.cda3fbda.js
ethereum.github.io/solc-bin/bin/soljson-v0.4.25-nightly.2018.8.7+commit.cda3fbda.js:1

Uncaught RangeError: Maximum call stack size exceeded
at Object.Ueb [as dynCall_viiiiii] (ethereum.github.io/solc-bin/bin/soljson-v0.4.25-nightly.2018.8.7+commit.cda3fbda.js:12)
at invoke_viiiiii (ethereum.github.io/solc-bin/bin/soljson-v0.4.25-nightly.2018.8.7+commit.cda3fbda.js:1)
at Array.Yva (ethereum.github.io/solc-bin/bin/soljson-v0.4.25-nightly.2018.8.7+commit.cda3fbda.js:13)
at Object.Fab [as dynCall_vi] (ethereum.github.io/solc-bin/bin/soljson-v0.4.25-nightly.2018.8.7+commit.cda3fbda.js:12)
at invoke_vi (ethereum.github.io/solc-bin/bin/soljson-v0.4.25-nightly.2018.8.7+commit.cda3fbda.js:1)
at Array.eua (ethereum.github.io/solc-bin/bin/soljson-v0.4.25-nightly.2018.8.7+commit.cda3fbda.js:10)
at Object.wgb [as dynCall_iii] (ethereum.github.io/solc-bin/bin/soljson-v0.4.25-nightly.2018.8.7+commit.cda3fbda.js:12)
at invoke_iii (ethereum.github.io/solc-bin/bin/soljson-v0.4.25-nightly.2018.8.7+commit.cda3fbda.js:1)
at Array.cua (ethereum.github.io/solc-bin/bin/soljson-v0.4.25-nightly.2018.8.7+commit.cda3fbda.js:10)
at Object.Rgb [as dynCall_iiiiii] (ethereum.github.io/solc-bin/bin/soljson-v0.4.25-nightly.2018.8.7+commit.cda3fbda.js:12)

I am trying to compile code using a web app.

I have this -
var mycontractcode="pragma solidity ^0.4.3; contract greeter {uint d1;}"
document.getElementById("compile-output").value = "";
var result = compiler.compile(mycontractcode, optimize);

And

BrowserSolc.loadVersion(getVersion(), function(c) {
compiler = c;
console.log("Solc Version Loaded: " + getVersion());
status("Solc loaded. Compiling...");
solcCompile(compiler);
});

With

    <script src="./browser-solc/browser-solc.min.js" type="text/javascript"></script>

I am using node to run the page at port 3000. The error did not always arrive until I added MongoDB and now it always happens. Before it happened sometimes, when I cleared the cache it was OK.

But I cannot solve this. I saw a few entries online but I have tried those solutions and they did not work.

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

1 participant