emscripten-core / emscripten-core/emscripten

Uncaught RangeError: offset is out of bounds

Open
#16,107 23 comments 0 reactions 0 assignees View on GitHub
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:

![1643104614(1)](https://user-images.githubusercontent.com/91657327/150954549-85070ff8-bb75-4f79-b66e-9022c6afd575.png)
What‘s the solution?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.