wasmint
wasmint copied to clipboard
Exception when trying to run Hello World
Trying to run Hello World compiled using the latest emcripten I get:
Got exception while parsing sexpr module WASMTest.wasm: (typeid name N11wasm_module5sexpr18SExprHasNoChildrenE)
(gdb) bt
#0 0x00007ffff7d2eacd in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1 0x0000555555690bda in wasm_module::sexpr::SExpr::operator[] (this=0x555555730cc0, i=0)
at /home/lyberta/Stuff/Soft/wasmint/wasm-module/src/sexpr_parsing/SExpr.cpp:63
#2 0x0000555555690fdb in wasm_module::sexpr::ModuleParser::ModuleParser (this=0x7fffffffda48, moduleExpr=..., nameHint="unnamedModule")
at /home/lyberta/Stuff/Soft/wasmint/wasm-module/src/sexpr_parsing/ModuleParser.cpp:27
#3 0x00005555556716fa in wasm_module::sexpr::ModuleParser::parse(wasm_module::sexpr::SExpr const&) ()
#4 0x0000555555671a29 in wasm_module::ModuleLoader::loadFromFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#5 0x00005555556711e0 in wasmint::WasmintVM::loadModule(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#6 0x000055555563db59 in main ()