-
Notifications
You must be signed in to change notification settings - Fork 127
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
asmjs TransactionBuilder.min_fee() crash #631
Comments
Hi @dractw ! We are investigating the issue. As workaround you can try to call |
@lisicky Hi, i tried your suggestion, unfortunately no luck, it still crashes with |
@dractw fix on the way. But anyway if you got the error again, you probably didn't free all CSL objects. A CSL object doesn't free resources on GC. This package might help to prevent memory leaks https://www.npmjs.com/package/csl-runtime-gc |
Calling
TransactionBuilder.min_fee()
few times causing asmjs library to crash until whole asmjs module is reloaded.Steps to reproduce:
Execution of code above few times (around 3-5) went OK, but suddenly it throws with
Failed to execute 'decode' on 'TextDecoder': the encoded data was not valid.
and after that none of asmjs module methods or instances are working until reaload whole module.Just for example:

Can be related: emscripten-core/emscripten#18034
The text was updated successfully, but these errors were encountered: