Description
Seeing 3221225477 (access violation) non-stop on win10 + vs2017 on CI in a trace_events test:
00:19:43 not ok 494 parallel/test-trace-events-fs-sync
00:19:43 ---
00:19:43 duration_ms: 0.781
00:19:43 severity: fail
00:19:43 exitcode: 1
00:19:43 stack: |-
00:19:43 c:\workspace\node-test-binary-windows\test\parallel\test-trace-events-fs-sync.js:140
00:19:43 throw new Error(`${tr}:\n${util.inspect(proc)}`);
00:19:43 ^
00:19:43
00:19:43 Error: fs.sync.fchmod:
00:19:43 { status: 3221225477,
00:19:43 signal: null,
00:19:43 output: [ null, '', '' ],
00:19:43 pid: 3272,
00:19:43 stdout: '',
00:19:43 stderr: '' }
00:19:43 at Object.<anonymous> (c:\workspace\node-test-binary-windows\test\parallel\test-trace-events-fs-sync.js:140:11)
00:19:43 at Module._compile (internal/modules/cjs/loader.js:722:30)
00:19:43 at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10)
00:19:43 at Module.load (internal/modules/cjs/loader.js:621:32)
00:19:43 at tryModuleLoad (internal/modules/cjs/loader.js:564:12)
00:19:43 at Function.Module._load (internal/modules/cjs/loader.js:556:3)
00:19:43 at Function.Module.runMain (internal/modules/cjs/loader.js:775:12)
00:19:43 at executeUserCode (internal/bootstrap/node.js:433:15)
00:19:43 at startExecution (internal/bootstrap/node.js:370:3)
00:19:43 ...
Examples:
https://ci.nodejs.org/job/node-test-binary-windows/23086/COMPILED_BY=vs2017,RUNNER=win10,RUN_SUBSET=0/console
https://ci.nodejs.org/job/node-test-binary-windows/23085/COMPILED_BY=vs2017,RUNNER=win10,RUN_SUBSET=0/
https://ci.nodejs.org/job/node-test-binary-windows/23084/COMPILED_BY=vs2017,RUNNER=win10,RUN_SUBSET=0/
...and many others...started happening in the last 24 hours or so. Not sure if something changed in our code or if something changed on CI or what. First noted (to my knowledge) by @gireeshpunathil in #22712 (comment) and #22865 (comment).
That was rebased onto 7f91329. So if the problem is in our code (and not something that is only being surfaced now but has been there for a while or else something that is a problem with the CI host and not a problem with the test or code), then it would be either in that commit or one shortly before it.
@nodejs/trace-events
[refack]Added context - the above 3 fails are on 3 different workers. AFAICT all failures are similar and happen while testing fchmod
Test call site: https://github.com/nodejs/node/blob/master/test/parallel/test-trace-events-fs-sync.js#L122
and setup site: https://github.com/nodejs/node/blob/master/test/parallel/test-trace-events-fs-sync.js#L33-L36
where this test case is six deep.