[Webkit-unassigned] [Bug 182327] Getting "TypeError: Underlying ArrayBuffer has been detached from the view" error with WebAssembly code

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 1 00:27:15 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=182327

--- Comment #4 from letz at grame.fr ---
I am not growing myself. We have compiled our C++ code with Emscripten. We do dynamic memory allocation in our C++ code (the Faust compiler that build an internal tree structure and so son..). So this cause the Emscripten memory allocator to handle the situation. 
The same test run on FireFox or Chrome causes the same "enlarged memory arrays from 16777216 to 33554432" message displayed by Emscripten, but do not end up in this "TypeError: Underlying ArrayBuffer has been detached from the view", that is Webkit specific. 
The same test on FireFox or Chrome  works the first time, but on Webkit we get this  "TypeError: Underlying ArrayBuffer has been detached from the view" the first time the Faust compiler handes the test. The second time, I understand that the Emscripten memory allocator has already "enlarged its memory", then the Faust compilation finally works.
Since the issue only happened on Webkit, the seems like an issue in "Emscripten running on Webkit". Should I report the problem on the Emscripten developer list also?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180201/8cd05b38/attachment.html>


More information about the webkit-unassigned mailing list