Skip to content

Assertion failure at lib/Runtime/Library/WasmLibrary.cpp:86 #5956

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
leeswimming opened this issue Feb 14, 2019 · 0 comments
Closed

Assertion failure at lib/Runtime/Library/WasmLibrary.cpp:86 #5956

leeswimming opened this issue Feb 14, 2019 · 0 comments
Assignees

Comments

@leeswimming
Copy link

The debug build crashes due to assertion failure at lib/Runtime/Library/WasmLibrary.cpp:86.

var wasmCode = new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,127,3,2,1,0,5,4,1,1,0,0,7,5,1,1,102,0,0,10,6,1,4,0,0,11,11,0,11,4,110,97,109,101,1,4,1,0,1,102]);
var wasmModule = new WebAssembly.Module(wasmCode);                                 
var wasmInstance = new WebAssembly.Instance(wasmModule, {});                       
wasmInstance.exports.f();

Commit: e055dbb
Build Option: None
OS: Ubuntu 18.04.1 LTS
Arch: x86_64

@MikeHolman MikeHolman self-assigned this Feb 20, 2019
chakrabot pushed a commit that referenced this issue Feb 20, 2019
…nishing bytecode gen

Merge pull request #5963 from MikeHolman:badwasmfunc

Fixes #5956
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants