You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before opening an issue, please search and see if it has already been raised.
Bug Report
Successfully reproduced against the latest version of NW.js?
v0.87.0 specifically crashes in the same way.
Current Behavior
This is reproducible on multiple Windows devices I have, but seems more reproducible on some (50% of the time on one device vs like 2% of the time on another). I think it's a race condition in the networking as it's inconsistent.
I basically have nw.js running making simple get request periodically every 15 seconds using XMLHttpRequest. I toggle the Ethernet (by pulling it) or Wi-Fi off (by just disconnecting in Windows).
In the console I'll see the request and error:
GET myURL net::ERR_INTERNET_DISCONNECTED
but the crash doesn't appear instant. It's like a second later it crashes.
Additional Info
Operating System: Windows
NW.js Version: 0.49.0 and 0.87.0
Crash report: The dump is for 0.49.0 because I can't build for Windows without errors at the moment to get the symbol files. 0.49.0 has working symbol files though. I did notice it doesn't generate crash dumps consistently. It's almost like certain crashes also stop the crash dump from executing. Hopefully this has something useful:
I found the issue in my code and it wasn't related to this crash log at all nor the network. It was a very subtle bug when the network changes Chrome randomly outputs 403. I have code that handles errors like:
Never realized Chrome could output such an error by just toggling the Wi-Fi a bunch. I was originally doing a hot-fix for a customer when that happened to bypass a firewall issue.
If I find more information related to the actual crash I'll open another issue.
Issue Type
Before opening an issue, please search and see if it has already been raised.
Bug Report
Successfully reproduced against the latest version of NW.js?
v0.87.0 specifically crashes in the same way.
Current Behavior
This is reproducible on multiple Windows devices I have, but seems more reproducible on some (50% of the time on one device vs like 2% of the time on another). I think it's a race condition in the networking as it's inconsistent.
I basically have nw.js running making simple get request periodically every 15 seconds using XMLHttpRequest. I toggle the Ethernet (by pulling it) or Wi-Fi off (by just disconnecting in Windows).
In the console I'll see the request and error:
but the crash doesn't appear instant. It's like a second later it crashes.
Additional Info
dump.txt
I'll create a simpler test case on Monday for 0.87.0.
The text was updated successfully, but these errors were encountered: