-
Couldn't load subscription status.
- Fork 198
Closed
Description
I recently started getting test failures on a Github Actions job using Windows and JSOO-generated code. I don't have a Windows machine directly available, so I apologize for being unable to provide a minimal reproducible example.
The exact error is this (link):
node:fs:1644
handleErrorFromBinding(ctx);
^
Error: EINVAL: invalid argument, fstat
at Object.fstatSync (node:fs:1644:3)
at new AB (D:\a\acutis\acutis\_build\.sandbox\e437599ddd7afc5fce4ce1a65f7b45e0\default\main.cjs:661:12)
at XO (D:\a\acutis\acutis\_build\.sandbox\e437599ddd7afc5fce4ce1a65f7b45e0\default\main.cjs:852:29)
at y9 (D:\a\acutis\acutis\_build\.sandbox\e437599ddd7afc5fce4ce1a65f7b45e0\default\main.cjs:880:21)
at D:\a\acutis\acutis\_build\.sandbox\e437599ddd7afc5fce4ce1a65f7b45e0\default\main.cjs:881:14
at D:\a\acutis\acutis\_build\.sandbox\e437599ddd7afc5fce4ce1a65f7b45e0\default\main.cjs:881:202
at Object.<anonymous> (D:\a\acutis\acutis\_build\.sandbox\e437599ddd7afc5fce4ce1a65f7b45e0\default\main.cjs:4927:119)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32) {
fd: 0,
errno: -4071,
syscall: 'fstat',
code: 'EINVAL'
}
Node.js v18.20.6
The line number in the error message seems to point to this code from the JSOO runtime source:
js_of_ocaml/runtime/js/fs_node.js
Line 332 in 937e849
| var stats = this.fs.fstatSync(fd); |
Some notes:
- I don't believe the JSOO program in my tests calls any IO functions directly.
- I didn't modify anything in the test before the test started breaking (the only commits were non-code).
- This does not happen on MacOS or Linux tests.
Metadata
Metadata
Assignees
Labels
No labels