-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[version:0.14.X] require('http'),require('https'),require('child_process') are crash nw in xp offline mode #4855
Comments
Will check this. Does it crash on win7? |
No,win7 is ok. |
Same crash here, following code make my app crash, only if no connections are available. I'll add the crash dump. -- EDIT -- Tested on linux sdk-0.16.1, it's all ok. I don't know where to go from now... Any help? |
@rogerwang My version information: nwjs-v0.15.4-win-ia32.zip |
Tried with nwjs-v0.14.7-win-ia32.zip also, same issue. Also, the issue is XP only. Is there any way to workaround without using child_process.... |
@gengshenghong could you please upload the crash dump file generated by nwjs-v0.14.7-win-ia32 ? |
@rogerwang No crash file generated on my machine. does it require SDK version to generate dump file? I am using the normal version. |
@rogerwang I've tried with SDK version and also crash. and I've found the crashpad file, but it seems like not generating useful information in it (only a settings.dat file). |
To be noted, even install a virtual Microsoft Loop-back adapter, it does not work, it is blocking me to use child_process at all and I cannot find a workaround, the issue is strange, why child_process is related to network adapter (must connect to outside!!). :( |
@gengshenghong @screwt
Hope this will help you. You could write it for user guide and pray that users know how to operate. |
@dph5199278 Thank you for the sharing. I've tried to add virtual network adapter, and set static IP but still failed. It is great to know that setting DNS is the key point!!! In my case, I am using child_process only, so, I've workaround the issue by using C code (CreateProcess) to start my processes one by one (the original child process and the nw.exe process...). As my users are not technical guys, installing virtual network adapter and setting DNS is a little complex for them. Share it and hope it may be helpful for others who got this issue too. |
This issue is still present on 0.14.7 running on Windows XP. The network adapter solution works, one can add the Microsoft Loopback Adapter that is included with Windows as a dummy adapter. |
I can't reproduce this issue on Windows 8.1 with nwjs-sdk-v0.24.4. Please try the latest nwjs build. |
@Christywl This issue is for XP only as the title mentioned and network adapter offline (no dns/ip stuff). I think the issue is clearly described in above discussion. :) |
@dph5199278 : Can you share me how you have used C code (Create process) ? we are facing this problem in XP only |
@rogerwang , could you please help take a look at this issue? As gengshenghong said, it's for XP only. I have no Windows XP machine to check. |
@Christywl OK. |
Is their any workaround for reading the disk space in windows XP using node web kit 14.7. |
@grspraveen : https://github.com/dph5199278/cmd/blob/master/set_dns/set_dns.bat |
same question |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Already fixed this issue? It still crashed on Windows XP when using "require('child_process')". I think that the child_process function is important for LTS version 0.14.7. So hope anyone can help to fix this issue. Thanks if you are working for this. |
Test version:
0.14.1 - 0.14.5
Test OS:
win xp
Step:
Crash files:
https://github.com/dph5199278/demos/blob/master/crash_reports_by_http(s)_child_process.zip
Maybe has other modules are not ok to run nw for xp offline mode.
My crash files are similar to #4831 's file.
One of crash files info:
Is there any one could help me? Thank you.
The text was updated successfully, but these errors were encountered: