My C++ module works on node 6.2.2 but it crashes on nwjs 0.15.4 for Linux
See original GitHub issueHi,
Thanks for great work with nwjs.
I am trying to use 0.15.4 for my project. My module written in C++ and wrapped using node-ffi works well with nodejs 6.2.2 but when I tried to use it with nwjs 0.15.4, it crashed (I only tested on Linux)
In the console, it says
nw: ../../nan/nan.h:679: Nan::MaybeLocal<v8::Object> Nan::NewBuffer(char*, size_t, node::Buffer::FreeCallback, void*): Assertion `length <= imp::kMaxLength && "too large buffer"' failed.
Dump file dump.zip
The simple sample code to reproduce the crash https://github.com/cuongle121/nwjs-demo-0.15.4-crash
Thanks! Cuong.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Crashed on loading app after updating NWJS #6854 - GitHub
I updated my node version to match nwjs. I reinstalled all dependencies via npm ci and it still crashes. I also confirmed that...
Read more >Use Native Node Modules - NW.js Documentation
Make sure you rebuilt all native modules. Or you will meet various issues, even crashes. Once manually rebuild don't work for you, try...
Read more >NW.JS failed to load grpc binary module - Stack Overflow
P.S. It works prefectly fine if I run node server.js command in cmd and then run the nwjs. I am developing on windows...
Read more >NW.js Build Executable File for Windows
Lets you build your NW.js apps for mac, win and linux via cli. ... First of all, install the node-webkit-builder module globally using:....
Read more >Node - CVE - Search Results
IBM WebSphere Application Server 8.5, and 9.0 is vulnerable to cross-site scripting. This vulnerability allows users to embed arbitrary JavaScript code in the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you very much for the quick response!
close as duplicate of #5025