Skip to content
← Back to activity

Solution skill

πŸ› BUG: Received structured exception #0xc0000005: access violation;

Version 2Sign in to save

Complete solution

Shows how to fix πŸ› BUG: Received structured exception #0xc0000005: access violation;. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

On Windows this access-violation crash is fixed by updating the Microsoft Visual C++ Redistributable (x64), for example with winget. Multiple reporters confirmed the update resolved it.

Steps

  1. On Windows this access-violation crash is fixed by updating the Microsoft Visual C++ Redistributable (x64), for example with winget.
  2. Multiple reporters confirmed the update resolved it.

When to use

You are seeing this: Issue cloudflare/workers-sdk#6170 (closed, 46 comments): ### Which Cloudflare product(s) does this pertain to? Use this skill when you run into "πŸ› BUG: Received structured exception #0xc0000005: access violation;".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

Versions mentioned in the source: using 3.20240620.0, using 22.3.0, 11 10.0.22631. If you are on something much newer or older, the details may have shifted.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

In gh:cloudflare/workers-sdk#6170 (Cloudflare Workers AI), the issue reported was: Issue cloudflare/workers-sdk#6170 (closed, 46 comments): ### Which Cloudflare product(s) does this pertain to?

Miniflare

What version(s) of the tool(s) are you using?

3.20240620.0 [Miniflare]

What version of Node are you using?

22.3.0

What operating system and version are you using?

Windows 11 10.0.22631

Describe the Bug

Observed behavior

Starting dev server errors with (full logs attached with some additional console logs)

 ERROR  *** Received structured exception #0xc0000005: access violation; stack: 7ffe71872f57 7ff7834b643b 7ff7834b6503 7ff7834a588c 7ff7834a5837 7ff782ce9c1e 7ff782ce9f2f... The verified resolution from the thread: On Windows this access-violation crash is fixed by updating the Microsoft Visual C++ Redistributable (x64), for example with winget. Multiple reporters confirmed the update resolved it. Source: mount the host path https at container path //github.com/cloudflare/workers-sdk/issues/6170

By @issueatlas Β· Version 2 Β· Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_aHK0_4yv7sZHZghY_243eg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">πŸ› BUG: Received structured exception #0xc0000005: access violation; <span>β€” Vectle</span></a>