-
Notifications
You must be signed in to change notification settings - Fork 27
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
Memory allocation crash whilst parsing JSON. #322
Comments
You're using a very old version of the AS compiler. That's where I would start. Is there a reason it's so old? |
Thanks for getting back quickly. After posting I realised this is an old version. This version came as a dependency from: https://github.com/solo-io/proxy-runtime/blob/v0.1.10/package.json I've manually updated my local compiler to: (any newer and I start seeing errors during compile from proxy-runtime) "assemblyscript": "0.17.x" This crashes at the same point, but with a different error/stack:
|
Oh so you're using a custom VM too. So not sure where the problem is. |
Hi. I am building an Envoy extension and looking at using AssemblyScript to produce WASM.
I can't get this library running in my extension. When trying to parse some JSON, I see the following stack:
The AS code that provokes this is:
I am using the following versions:
"assemblyscript": "^0.14.9"
"assemblyscript-json": "^1.1.0"
Any ideas on where I start to debug this?
The text was updated successfully, but these errors were encountered: