nw.js: Crash - Segmentation fault
I’m getting error Segmentation fault: 11
and app crashes. Platform OS X 10.11.5. Using build nwjs-sdk-v0.14.6-osx-x64.zip.
Main problem is that i don’t see any logic how this happens. Somehow i think it’s related with window closing ( since it’s the only i use ).
Here’s code i use for close event:
nw.Window.get().open('xxx',{width:300,height:300},function(nWin){
nWin.on('close',function(){
nWin.hide();
const foo = nWin.window.foo;
nWin.close(true);
});
});
Here’s crash dump 7acb46ed-84b5-447a-8ca7-9586e1fb1e8d.dmp.zip
About this issue
- Original URL
- State: open
- Created 8 years ago
- Comments: 15 (6 by maintainers)
Commits related to this issue
- set force close flag instead of close window directly partial fix for nwjs/nw.js#4918 — committed to ghostoy/chromium.src by deleted user 8 years ago
- set force close flags and close window using js partial fix for #4918 — committed to ghostoy/nw.js by deleted user 8 years ago
I’ll fix it soon.