Coder Social home page Coder Social logo

Build not working about vim.wasm HOT 10 CLOSED

rhysd avatar rhysd commented on September 24, 2024
Build not working

from vim.wasm.

Comments (10)

rhysd avatar rhysd commented on September 24, 2024

It seems that Pointer_stringify() function was removed from the latest Emscripten. For sure, please describe emscripten version you installed.

from vim.wasm.

YasasviPeruvemba avatar YasasviPeruvemba commented on September 24, 2024

I currently have emscripten 1.38.16 installed. Which version was used to build this project initially?

from vim.wasm.

rhysd avatar rhysd commented on September 24, 2024

I guess it was 1.38.6 or 1.38.8.

I could reproduce this issue with 1.38.32 (the latest). I'll fix this.

from vim.wasm.

rhysd avatar rhysd commented on September 24, 2024

I fixed this issue at c84a8ed. In my environment, now it works.

from vim.wasm.

YasasviPeruvemba avatar YasasviPeruvemba commented on September 24, 2024

Well. thanks a lot, this error seems to have been resolved, but after building the project again, on any Key press from the keyboard, there seems to be an error with asynchronous calls made to ccall and cwrap.
Screenshot -
Screenshot from 2019-05-30 15-03-31

from vim.wasm.

rhysd avatar rhysd commented on September 24, 2024

Yeah, I also noticed the assertion error. There is one more assertion added to ccall() function at recent emscripten and it fails. It is solved by adding { async: true} as last argument at cwrap() function call. The assertion is correct. However, after that, it still crashes with assertion error in emterpret(). I needs more investigation for this, but it works correctly with release build.

from vim.wasm.

YasasviPeruvemba avatar YasasviPeruvemba commented on September 24, 2024

The release build seems to show a memory access error on Keyboard Input from keys other than Alt,Shift and Ctrl, which I'm assuming were added as special characters to not be sent as input.
Screenshot from 2019-05-31 16-54-03

from vim.wasm.

rhysd avatar rhysd commented on September 24, 2024

That error does not occur on my environment with release build. But something would go wrong (maybe touching undefined behavior). More investigation is necessary. (This week, I would not be able to have enough time and environment to investigate this issue..)

from vim.wasm.

rhysd avatar rhysd commented on September 24, 2024

@YasasviPeruvemba

Could you create a new issue for the memory violation?
This issue was already closed since the original error was fixed.

from vim.wasm.

rhysd avatar rhysd commented on September 24, 2024

It was fixed by #30.

from vim.wasm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.