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

memory access out of bounds #36

Open
ckyko opened this issue Nov 26, 2024 · 0 comments
Open

memory access out of bounds #36

ckyko opened this issue Nov 26, 2024 · 0 comments

Comments

@ckyko
Copy link

ckyko commented Nov 26, 2024

Error Message:
RuntimeError: memory access out of bounds

Stack:

{"stack"=>"RuntimeError: memory access out of bounds
     at jq.wasm.emscripten_builtin_malloc (wasm://wasm/jq.wasm-00ad9d36:wasm-function[1047]:0x85dc9)
     at jq.wasm.jv_mem_alloc (wasm://wasm/jq.wasm-00ad9d36:wasm-function[363]:0x34ddd)
     at jq.wasm.jv_array (wasm://wasm/jq.wasm-00ad9d36:wasm-function[312]:0x2e5e0)
     at jq.wasm.main (wasm://wasm/jq.wasm-00ad9d36:wasm-function[31]:0xbce)
     at Object.callMain (/app/node_modules/jq-web/jq.js:4415:15)
     at raw (/app/node_modules/jq-web/jq.js:4531:23)
     at Object.json (/app/node_modules/jq-web/jq.js:4585:16)
--

How do we use it:
const value = await jqWeb.then( jqJob => jqJob.json(payload, selector));
and, we are using it in an endpoint.

package version:
0.6.0

Please let me know if anyone has an idea or sees the same issue.

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