emscripten-core / emscripten-core/emscripten
Uncaught RangeError: offset is out of bounds
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
handle = Module._malloc(this.array.length * this.array.BYTES_PER_ELEMENT);
Module.HEAPF64.set(myTypedArray, handle);
The above code is called frequently in the browser, and The following error occurs:

What‘s the solution?
Contributor guide
Assessment
This issue has not been assessed yet.