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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 31 03:09:01 PST 2018


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

            Bug ID: 182327
           Summary: Getting "TypeError: Underlying ArrayBuffer has been
                    detached from the view" error with WebAssembly code
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: OS X 10.11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: letz at grame.fr

I get "TypeError: Underlying ArrayBuffer has been detached from the view" error when loading and WebAssembly code compiled with emscripten.

1) On this test page: https://faust.grame.fr/dynamic/faustlive-wasm.html

2) Open this URL on another Web page : https://faust.grame.fr/modules

3) Drop the https://faust.grame.fr/modules/AtonalSoftHarp.dsp URL on the faustlive-wasm.html drop zone (this can be done by drag/drop the FAUST button)

4) This activate an Emscripten WebAssembly compiled piece of code, and cause this "TypeError: Underlying ArrayBuffer has been detached from the view". message.

5) Drag/drop the https://faust.grame.fr/modules/AtonalSoftHarp.dsp URL again finally works (we see several "enlarged memory arrays from 16777216 to 33554432, took 0 ms (has ArrayBuffer.transfer? false)" kind of messages in the JavaScript console.

5) This issue does not appear under Chrome Canary or Firefox Nightly. This seems to be a Webkit only issue.

-- 
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/20180131/63bb6e50/attachment.html>


More information about the webkit-unassigned mailing list