Windows workerd 1.20260515.1 — isolated Miniflare startup access violation 0xc0000005
Hello Cloudflare/workerd maintainers,
workerd.exe --version succeeds, but Miniflare 4.20260515.0 initialization fails with a native access violation using a minimal in-memory Worker without application/Vite code or data bindings.
The attached package includes the reproduction, captured native stack, environment evidence, and separate disposal failure. Please advise how to identify the faulting module/function, confirm runtime compatibility and dependencies, and select a minimally invasive diagnostic or corrective procedure. No root cause is assumed.
Package SHA-256: 359E95F3DAA70E607ADA38F340561FB273AE0EE0F84F2FE24A54A190BB28E206
Thank you.
Miniflare/workerd Windows Startup Failure — Support Review Package
Prepared: September 28, 2026. Status: FINAL PREPARATION COMPLETE — FOUNDER/LEO REVIEW REQUIRED — NOT SUBMITTED.
Support request
An installed Windows x64 workerd executable successfully reports its version, but initialization through Miniflare fails with native exception 0xc0000005, including when using a minimal in-memory Worker independent of our application and Vite. Please advise a supported, minimally invasive way to identify the faulting module/function and determine the appropriate remedy. We have not established a root cause and have not installed or repaired runtime dependencies.
Existing environment evidence
| Component | Recorded value |
|---|---|
| Node.js | 24.18.0 |
| Miniflare | 4.20260515.0; declared Node requirement >=22.0.0 |
| workerd npm package | 1.20260515.1 |
| @cloudflare/workerd-windows-64 | 1.20260515.1; matches workerd package |
| Executable version command | workerd 2026-05-15; stdout; stderr empty; exit code 0 |
| Windows registry ProductName | Windows 10 Pro |
| Windows registry DisplayVersion | 25H2 |
| Windows registry CurrentBuild / UBR | 26200 / 9550 |
| Operating-system identification limitation | These are registry values verbatim. ProductName may be legacy; an OS CIM query was denied. No definitive edition-label reconciliation was performed. |
| Visual C++ x64 runtime registry | Installed=1; Version=v14.0.24212.00 |
| System vcruntime140.dll / msvcp140.dll | FileVersion 14.24.28127.4 |
| Dependency limitation | Registry and file versions differ. Actual libraries loaded by workerd and required build-tool runtime version were not determined. |
Application preview also used Vite 8.0.13, Vinext 0.0.50, and @cloudflare/vite-plugin 1.37.1. These are not needed for the standalone reproduction below.
Isolated probe configuration
- Existing installed Miniflare package; no dependency installation.
- Inline module Worker with a constant response; application code not loaded.
- Compatibility date: 2026-05-15.
- Bind address 127.0.0.1; port 0 (automatically assigned).
persist: false; telemetry disabled.- No configured database, remote binding, credentials, or persistent storage.
- One initialization attempt; no HTTP requests sent.
- Native streams captured immediately through
handleRuntimeStdio. - Disposal attempted regardless of startup outcome; 15-second process deadline.
Sanitized reproduction
This is evidence/documentation only. It was previously passed to Node on stdin from the existing dependency directory. Do not execute it as part of reviewing this package.
const { Miniflare } = require('miniflare');
const captured = { stdout: '', stderr: '' };
const sanitize = s => String(s)
.replaceAll(process.cwd(), '[LOCAL_DEPENDENCIES]')
.replace(/C:\\Users\\[^\\\r\n]+/gi, '[USER_HOME]');
const emit = obj => process.stdout.write(JSON.stringify(obj) + '\n');
let mf;
let phase = 'startup';
const deadline = setTimeout(() => {
emit({ phase, outcome: 'TIMEOUT', native: captured });
process.exit(124);
}, 15000);
(async () => {
try {
mf = new Miniflare({
modules: true,
script: 'export default { fetch() { return new Response("diagnostic"); } };',
compatibilityDate: '2026-05-15',
host: '127.0.0.1', port: 0, persist: false,
telemetry: { enabled: false },
handleRuntimeStdio(stdout, stderr) {
emit({ nativeCaptureAttached: true });
for (const [name, stream] of [['stdout', stdout], ['stderr', stderr]]) {
stream.on('data', chunk => {
const text = sanitize(chunk.toString());
captured[name] += text;
emit({ nativeStream: name, text });
});
}
}
});
const ready = await mf.ready;
emit({ startup: 'INITIALIZED', address: ready.toString() });
} catch (e) {
emit({ startup: 'FAILED', error: sanitize(e.stack || e) });
} finally {
phase = 'disposal';
try {
if (mf) await mf.dispose();
emit({ disposal: 'COMPLETE' });
} catch (e) {
emit({ disposal: 'FAILED', error: sanitize(e.stack || e) });
} finally {
clearTimeout(deadline);
emit({ native: captured, probe: 'COMPLETE' });
}
}
})().catch(e => {
emit({ unexpectedError: sanitize(e.stack || e), native: captured });
clearTimeout(deadline);
process.exitCode = 1;
});Limitation: the timeout terminates the diagnostic Node process; the probe does not independently verify descendant-process termination. The observed run completed before the deadline, so that timeout path was not exercised. No runtime exit code distinct from the Node wrapper was captured.
Captured result
Native capture attached: true. Native stdout: empty.
Native stderr (captured addresses retained; no memory dump collected):
*** Received structured exception #0xc0000005: access violation; stack: 7ffd6014258f 7ff6e94e1e5d 7ff6e94e1f23 7ff6e94ba8ec 7ff6e94ba8a0 7ff6e898a146 7ff6e898a8c0 7ff6e74a61fa 7ff6e8b36196 7ff6e8b3db86 7ff6e8b363a4 7ff6e8b3db86 7ff6e8b3370b 7ff6e74920a7 7ff6ea8d970f 7ffe13d3cdf6 7ffe153bee4bStartup: FAILED.
MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
at #assembleAndUpdateConfig ([LOCAL_DEPENDENCIES]\node_modules\miniflare\dist\src\index.js:89177:13)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Mutex.runWith ([LOCAL_DEPENDENCIES]\node_modules\miniflare\dist\src\index.js:58160:48)
at async #waitForReady ([LOCAL_DEPENDENCIES]\node_modules\miniflare\dist\src\index.js:89290:5)
at async [stdin]:14:15Disposal: FAILED, separately caught, with the same ERR_RUNTIME_FAILURE and stack shown above. Successful cleanup is not claimed.
Probe wrapper: COMPLETE, exit code 0 because errors were caught and reported; this is NOT initialization success. The command completed in approximately 6.8 seconds, before timeout. The reformatted reproduction above has different source line numbers than the original stdin command.
Confirmed findings and prior diagnostic context
workerd.exe --versionsucceeds; that does not exercise full runtime initialization.- Native startup failure reproduces without the application or Vite. Application code is not necessary to reproduce this failure.
- Installed Miniflare exposes
handleRuntimeStdioindist/src/index.d.ts:8391and passes native streams to it indist/src/index.js:69774–69790. - Miniflare's structured logger replaces access-violation messages with a generic warning (
dist/src/index.js:62069onward). Its Visual C++ suggestion is not a diagnosis. - The prior application preview had an initial generated-file write denial. A separately permitted attempt passed that point and reached the native failure. That earlier denial is not the immediate remaining blocker.
- The application preview also logged a certificate-verification warning while fetching Request.cf and explicitly fell back. This warning was not emitted by the corrected isolated probe; no causal connection has been established.
- Prior bounded Windows Application event and WER report/dump-metadata checks yielded no relevant additional crash evidence. This is not an exhaustive statement about every Windows evidence source. No dump contents were analyzed or copied.
Unknowns — not established causes
- Faulting module, symbolic function, and ASLR module bases.
- Exact runtime library imports/loaded DLLs and their compatibility.
- Whether a workerd defect, Windows dependency, execution restriction, or another environmental interaction caused the access violation.
- Whether the separately caught disposal error is propagated startup failure or a separate cleanup defect.
- Whether a different supported environment or version would resolve the failure; no such experiment is represented here.
No Visual C++ repair, certificate/security change, version change, or further runtime execution is authorized by this document.
Questions for Cloudflare
- What supported diagnostic method can identify the faulting module/function for this packaged Windows binary, given the captured unsymbolized stack?
- Are symbols or a specific safe native-log collection procedure available for workerd 1.20260515.1?
- What Visual C++/Windows dependencies apply to this exact binary, and how should loaded dependency compatibility be verified before any repair?
- Is this minimal reproduction associated with a known issue or supported remedy? Please distinguish diagnostic recommendations from changes requiring installation, security changes, or remote execution.
Proposed submission message
Subject: Windows workerd 1.20260515.1 — isolated Miniflare startup access violation 0xc0000005
Hello Cloudflare/workerd maintainers,
Our existing Windows installation can run workerd.exe --version successfully, but Miniflare 4.20260515.0 initialization fails with a native access violation, even with a minimal inline Worker, loopback-only port allocation, no application/Vite code, no bindings, and persistence disabled. We captured the raw native stderr through handleRuntimeStdio; the attached package includes the reproduction, unsymbolized stack, available environment evidence, and a separately caught disposal failure.
Could you provide the supported minimum diagnostic step to identify the faulting module/function and verify dependencies for this exact binary? We have not established a root cause and wish to avoid speculative installations or security changes. No production resources were accessed during these diagnostics.
Thank you.
Review and preservation boundary
This package uses existing evidence only. Personal paths, usernames, application identity details, credentials, tokens, remote resource identifiers, and production URLs are excluded. No dump is attached. Native stack addresses are retained as requested diagnostic evidence.
Protected production remains Version 73. WP-1 candidate 8d874cc75ce2f070d24920a1c85ee78baebdc4e8 remains unchanged; deployment is on HOLD. External submission requires separate owner approval. No additional runtime execution or remediation was performed in preparing this document.
Submission note (September 29, 2026): The reviewed package is reproduced in full inline because attachment upload was unavailable. References above to an attachment and pre-submission review status belong to the preserved package. External submission has now been authorized by its owner. The SHA-256 identifies the original local Markdown file, not this combined issue body.
Source: cloudflare/workerd