Skip to content

imported shared memory but unshared required #1103

@mathiasplans

Description

@mathiasplans

I get an error when trying the "GDExtension C++ example" from docs on HTML5 platform. The example works as expected on Windows platform.

The console output on Firefox:

imported shared memory but unshared required displayFailureNotice http://localhost:8000/web0/web0.html:212 (Async: promise callback) <anonymous> http://localhost:8000/web0/web0.html:239 <anonymous> http://localhost:8000/web0/web0.html:244 

On Chrome:

WebAssembly.instantiate(): mismatch in shared state of memory, declared = 0, imported = 1 displayFailureNotice http://localhost:8000/web0/web0.html:212 (Async: promise callback) <anonymous> http://localhost:8000/web0/web0.html:239 <anonymous> http://localhost:8000/web0/web0.html:244 

Important to note that I changed the tools/javascript.py because of the problem in the issue #1081. I'm using emscripten (3.1.5~dfsg-3ubuntu1) on WSL.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions