Skip to content
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

nwjs 0.17 beta - crash at boot #5193

Closed
AndryBray opened this issue Aug 5, 2016 · 11 comments
Closed

nwjs 0.17 beta - crash at boot #5193

AndryBray opened this issue Aug 5, 2016 · 11 comments
Labels

Comments

@AndryBray
Copy link

AndryBray commented Aug 5, 2016

nwjs 0.17 crashes on Windows 7 if starting the app with window show = false (package manifest).

This bug is similar to this one but for Windows only: #4187 from which one you can take the test case

PS: after crash, no nwjs process is visible inside the task manager

@AndryBray
Copy link
Author

Tested without any app installed (just the empty package as after download) and it's the same crash.
So nothing to do with app configurations

@oaleynik
Copy link
Contributor

oaleynik commented Aug 5, 2016

The same thing is on OS X https://gist.github.com/oaleynik/70dbde98d151ada76e66720f62c0c9ca

@Blatman
Copy link

Blatman commented Aug 7, 2016

FWIW - Every build of 0.17.0 has crashed on OSX 10.11.5 when starting.
Screenshot error is a bit different to what oaleynik gets but 0.17.0 won't even start up in its own folder without an app. 0.16 and prior start fine.

nwjs-0 17-beta1-sdk-crashonstart

@AndryBray AndryBray changed the title nwjs 0.17 beta - Windows 7 crash at boot nwjs 0.17 beta - crash at boot Aug 8, 2016
@ghostoy
Copy link
Member

ghostoy commented Aug 9, 2016

@Blatman I tested with 0.17 beta on Mac and it didn't crash. I'm on Mac OSX 10.11.6. Could you post corresponding crash dumps in ~/Library/Application Support/nwjs/Crashpad/completed?

@ghostoy
Copy link
Member

ghostoy commented Aug 9, 2016

@AndryBray I can confirm this bug on Windows without any application. It just crash after boot. I'll look into this issue.

@ghostoy ghostoy added the bug label Aug 9, 2016
@Blatman
Copy link

Blatman commented Aug 9, 2016

@ghostoy - unfortunately it looks like nwjs crashes before the ~/Library/Application Support/nwjs folder is created (it is created OK with 0.16.2). I tried upgrading the mini to 10.11.6 (El Capitan) and still the same and also tried 0.17 on a MBP running 10.10.5 (Yosemite) where it still failed with the same error as above screenshot.
Tested with NWjs-0.17.0-beta1-sdk-osx-x64 dated 08-05-2016 - console logs posted as screenshot.
systemlog

@Blatman
Copy link

Blatman commented Aug 9, 2016

@ghostoy - just tried more of the builds from 08-05-2016.

nw17-5d3baf3-0d7f0fb-5dcd777-77640cb/ 5th 06:39AM WORKS!
nw17-9233164-0d7f0fb-5dcd777-77640cb/ 5th 03:46AM FAIL
nw17-9e337f4-0d7f0fb-5dcd777-77640cb/ 4th 11:59PM FAIL

The 5d3baf3 build works OK - the earlier ones fail so it looks like the problem was fixed on OSX.
I guess you were using the 5d3baf3 build.

@ghostoy
Copy link
Member

ghostoy commented Aug 10, 2016

@Blatman I was using the released beta version at https://dl.nwjs.io/v0.17.0-beta1/

@ghostoy
Copy link
Member

ghostoy commented Aug 17, 2016

This issue should be Windows 7 only, which exited with Illegal Instruction. And it only happens on some Windows 7 systems.

And it works on Windows 8.1 and Windows 10

@rogerwang
Copy link
Member

It looks like the crash is on AVX instructions in the official binary and the hardware without AVX support in the CPU. Will investigate the build options.

@rogerwang
Copy link
Member

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

No branches or pull requests

5 participants