Closed miklschmidt closed 11 years ago
could you please provide some code from your app so I can reproduce it here?
@rogerwang i just tried running the snapshot on the new 6.0 version, and everything seems to be working just fine now! I will close this issue, the problem seems to be solved. Thanks for your great work roger!
I use require.js, so i compiled my code and then included requirejs in the top of the resulting file. I can generate the snapshot without any problems on both win7, linux and osx, but when i try to load the resulting binary on OS X with
"snapshot": "app.bin"
nw immediately crashes. i get the following error when using--enable-logging
:[7272:0524/234909:FATAL:render_process_host_impl.cc(352)] Check failed: !g_exited_main_message_loop.
EDIT: I made some progress on windows, it seems to load now, it was a bad path to the .bin file (it'd be nice with an error). Still crashes on OS X and Linux though, are the paths different there?
EDIT2: Because of the 64-bit address space the combined script size is larger in memory on linux x64, thereby hitting the limit faster than other platforms. I can compile my code on linux x86 but not on x64. Some people will probably spend some time on this, so we might wanna add it to the wiki.
EDIT3: I just can't get the OS X or Linux snapshots to work, below is a crash report from nw on OS X:
EDIT4: I made the Linux snapshots work, turns out i did something wrong when moving the files between my build servers. On OS X i can make a simple snapshot in the frameless-window example app work just fine, but i still get a crash when trying to load my own snapshot in my app. Still no idea why.