Skip to content

win,pipe: fix missing assignment to success#4515

Merged
vtjnash merged 1 commit intolibuv:v1.xfrom
vtjnash:jn/win-pipe-success
Aug 28, 2024
Merged

win,pipe: fix missing assignment to success#4515
vtjnash merged 1 commit intolibuv:v1.xfrom
vtjnash:jn/win-pipe-success

Conversation

@vtjnash
Copy link
Copy Markdown
Member

@vtjnash vtjnash commented Aug 22, 2024

Otherwise this accidentally results in r == 1 (aka UV_EISDIR) on this code path, which can be quite confusing for the caller indeed. I now ran all of the neovim tests locally this time, and none hang (some fail, but seems like that is because it expects some test dependencies to be installed, and I don't know what they are)

@santigimeno santigimeno mentioned this pull request Aug 28, 2024
@vtjnash vtjnash merged commit f00d4b6 into libuv:v1.x Aug 28, 2024
@vtjnash vtjnash deleted the jn/win-pipe-success branch August 28, 2024 23:59
@clason
Copy link
Copy Markdown
Contributor

clason commented Aug 29, 2024

Happy to report that this made Neovim's CI pass 🥳

@clason
Copy link
Copy Markdown
Contributor

clason commented Aug 29, 2024

...but only sporadically. Looks like there are still some (race?) conditions that make Neovim crash, see https://github.com/neovim/neovim/actions/runs/10613559661/job/29419056735?pr=29915 (e.g., test/functional\legacy\increment_spec.lua).

@clason
Copy link
Copy Markdown
Contributor

clason commented Aug 30, 2024

The crashes (at least some of them) are locally reproducible and are related to writing a lot of data to a pipe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants