这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@bnoordhuis
Copy link
Contributor

@bnoordhuis bnoordhuis commented Aug 22, 2025

The tests scan stderr of the child process for a particular string. My hypothesis is that, because they don't wait for the child to terminate, there is a race window where the parent tries to read stderr before the child is completely done writing the error message.

This problem doesn't manifest on the other buildbots but maybe the Windows buildbots are a little slower, or maybe line buffering works different there, making the problem more apparent.

@bnoordhuis bnoordhuis force-pushed the fix-tests-ucrt64 branch 2 times, most recently from 489fe62 to aea33b7 Compare August 22, 2025 19:32
@bnoordhuis
Copy link
Contributor Author

Ready for review. Only test-wasm-i64.js segfaulting on macos-13 remains (and macos 13 goes EOL in three months so maybe not worth the effort to sink a lot of time in?)

@bnoordhuis bnoordhuis changed the title test: fix two failing tests on ucrt64 windows test: fix tests failing on windows Aug 23, 2025
The tests scan stderr of the child process for a particular string. My
hypothesis is that, because they don't wait for the child to terminate,
there is a race window where the parent tries to read stderr before the
child is completely done writing the error message.

This problem doesn't manifest on the other buildbots but maybe the
Windows buildbots are a little slower, or maybe line buffering works
different there, making the problem more apparent.
@saghul
Copy link
Owner

saghul commented Aug 23, 2025

Ready for review. Only test-wasm-i64.js segfaulting on macos-13 remains (and macos 13 goes EOL in three months so maybe not worth the effort to sink a lot of time in?)

Yeah. I should also get back into replacing wasm3 (as it's unmaintained) with wavm.

Thanks Ben!

@saghul saghul merged commit feaedc3 into saghul:master Aug 23, 2025
18 of 19 checks passed
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.

2 participants