-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Strange behavior specific to Windows 2012r2 with a single processor #4358
Comments
cf. #4291 for another situation where a seemingly-innocuous reference to a stream has some unanticipated side effects (i.e. you can replace the |
@nodejs/platform-windows I don't suppose anyone can easily test to see if this is still an issue in 6.2.2 or not? (I'm unaware of anything specific that would fix it, but this issue has been dormant for over six months so who knows?) If it is fixed, I'd be interested to know what version fixed it. |
@Trott Can this be closed? |
@bnoordhuis asked:
TL;DR: Closing. I don't think we run Windows 2012R2 in CI anymore so I don't have a way to even test this anymore. I'm OK with closing it. If someone else is still experiencing this and wants to raise the issue, they can comment here or open a new issue referencing this one. |
This was fixed by libuv update to 1.10 in #9267. This still happens with |
v6.11.0 came out today with the new libuv! |
Yep, this does not reproduce with v6.11.0 |
This came up during many attempts at addressing flakiness in
test-net-error-twice.js
. The flakiness is resolved now, but the underlying issue remains. Not entirely sure this is a bug but it's strange enough I think to warrant an explanation. (And it's probably a bug.)This has been observed only on systems that meet the following criteria:
The following code will throw an
AssertionError
because theerror
callback is never triggered. If you comment out the useless assignment ofconsole
tofoo
, though, then the code works. If you uncomment theconsole.log()
in the connection callback (or otherwise put aconsole.log()
in one of many but not all places in the file), then the code works.Why is this? Windows bug? libuv bug? Not a bug at all? (OK, if that's the case, then fine, it's not a bug, but seriously, why does this happen? Why should assigning
console
to a variable affect this at all?)Tagging everyone that has been involved in previous issues where this has caused problems because they might have more insight to add here: @joaocgreis @bnoordhuis @mscdex @bengl
Ref: #4062
The text was updated successfully, but these errors were encountered: