Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Redmond desk4 min

0xC0000005 Crash on Windows: Find the Faulting Module and What It Means

WinDbg’s exception record, crash-time context, and stack identify the module where 0xC0000005 surfaced. Learn how to verify that finding and avoid mistaking the faulting module for the root cause.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To find which module crashed with Windows error 0xC0000005, open the user-mode crash dump in WinDbg and run !analyze -v, then .exr -1, .ecxr, and k. The module containing the faulting instruction is where the access violation occurred—not necessarily the component that caused it. Windows modules such as ntdll.dll may expose memory corruption caused earlier by another module.

What 0xC0000005 tells you

0xC0000005 is an access violation: a program attempted to read, write, or execute an invalid memory address. The exception record gives you the type of access and the address involved. It does not, on its own, identify who supplied or corrupted the pointer.

As an Amazon Associate I earn from qualifying purchases.

Microsoft’s Access Violation C0000005 explains that exception parameter 0 indicates the operation: 0 for a read, 1 for a write, and 8 for an execute attempt. Parameter 1 is the address involved. These details help explain what failed, while the instruction and stack show where execution was when it happened.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Open the crash dump and get a summary

In WinDbg, select File > Open crash dump, or start WinDbg with a dump path, for example:

#1 Best Overall
windbg -z <DumpFileName>

Microsoft documents additional symbol and image path options in Open a Dump File with WinDbg. A user-mode dump can be opened on a different processor or Windows version from the one that created it, but matching symbols and application files make the results easier to interpret.

If you have only an Event Viewer or Windows Error Reporting entry, note the exception code, fault offset, faulting application and module paths, and module version. Treat those fields as a starting point: the dump provides the thread context and stack needed to check the report.

At the WinDbg prompt, run:

!analyze -v

The !analyze extension summarizes the current exception or bug check; -v requests verbose output. Record the exception code, process and thread, exception address, and any reported module and offset. A “Probably caused by” label is a clue, not a final diagnosis.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Find the faulting instruction and module

Run these commands in order:

.exr -1
.ecxr
k
  • .exr -1 displays the most recent exception record, including the access type and address.
  • .ecxr restores the register state from the exception context, so the debugger is examining the crash-time state.
  • k displays the call stack at that context.

Microsoft demonstrates this sequence in its access-violation explanation; the Defrag Tools crash-dump episode also demonstrates commands for user-mode dump analysis.

Rank #2
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
  • 256 GB SSD of storage.
  • Multitasking is easy with 16GB of RAM
  • Equipped with a blazing fast Core i5 2.00 GHz processor.

At the restored context, inspect the instruction pointer and the instruction at that address. For a read violation, determine what memory expression the instruction reads; for a write, identify its destination; for an execute violation, inspect the attempted target address. Use the instruction address and WinDbg’s module information to identify the loaded module that contains it. That is the faulting module at the crash site. Then review the surrounding stack frames and resolve symbols where available to understand how execution reached that instruction.

Read the module name without assigning blame too quickly

A faulting-module name answers where the exception surfaced, not necessarily which component caused the underlying problem. Microsoft’s application and service crash troubleshooting guidance notes that heavily used modules such as ntdll.dll, kernel32.dll, and kernelbase.dll may appear as the faulting module even when a misbehaving component corrupted memory earlier.

For a useful diagnosis, keep these separate:

  • Faulting module: the loaded module containing the instruction that raised the exception.
  • Faulting operation and address: the attempted read, write, or execute and the address shown by the exception record.
  • Likely cause: a hypothesis supported by the stack, code and symbols, evidence of earlier corruption, or a repeatable failure—not just the module name.

Invalid or null pointers, memory corruption, and use-after-free are possible explanations, but the exception code alone does not establish which one occurred. If a third-party component is implicated by the surrounding evidence, preserve the dump and relevant version details for its vendor. For a first-party process, Microsoft advises contacting Microsoft Support after collecting relevant diagnostic data where appropriate.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check symbols and the dump’s memory coverage

Use symbols for the Windows version represented in the dump and, where possible, matching symbols for the application or service. Public Windows symbols can improve system-stack resolution; private application symbols may be needed for function names tied to source code. Without suitable symbols, module names may still be visible while function names, source lines, and stack interpretation remain incomplete.

Rank #3
15.6 Inch Win 11 Laptop Computer, N4020, 4GB DDR4 RAM, 128GB Storage | LPDDR4 RAM, 180° Lay-Flat, Dual-Band WiFi, Type-C PD Fast Charging, Thin & Lightweight for Students, Home & Office, Gray
  • WINDOWS 11 | STABLE PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 system, this laptop delivers stable performance for everyday computing tasks. It supports web browsing, online learning, document editing, email communication, and basic office work with optimized power efficiency, providing a practical and reliable experience for essential daily use for daily use.
  • 15.6” FHD IPS DISPLAY: Features a 15.6-inch Full HD IPS display with narrow bezels, offering wider viewing angles and clearer image details compared to standard panels. The improved screen-to-body ratio enhances visual experience for study, reading, document work, and video playback, making it suitable for both productivity and entertainment use.
  • 4GB DDR4 + 128GB eMMC STORAGE: Equipped with 4GB DDR4 memory and 128GB eMMC storage for everyday basics such as browsing, documents, email, and online learning platforms. The built-in TF card slot supports storage expansion up to 1TB, giving you more flexibility for files, photos, videos, and daily documents. TF card not included.
  • CONNECTIVITY & PORTS: Includes 1× TF card slot, 2× USB 3.2 Gen1 ports, and 2× full-featured Type-C ports (USB 3.2 Gen1). The Type-C ports support data transfer, charging, and video output, enabling flexible connection with external devices such as monitors, storage, and peripherals for daily work and study use.
  • LIGHTWEIGHT DESIGN | ONLINE COMMUNICATION: Designed with a slim, portable profile, this laptop is easy to carry for school, commuting, and travel. A built-in 1MP front camera supports online classes, video meetings, remote communication, and everyday conferencing. The 3300mAh battery works with the low-power system design to support practical daily use, while thermal optimization helps maintain quieter operation during extended tasks.

A user-mode minidump can be analyzed much like a full dump, but it contains far less memory. Commands that depend on memory omitted from the dump may fail, and missing memory can leave the cause unresolved. Microsoft’s guidance on analyzing a user-mode dump describes symbol and dump considerations. For small dumps, see Read small memory dump files. If the dump lacks the evidence needed, collect a fuller dump or reproduce the failure under a debugger rather than drawing conclusions from unavailable data.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Collect a dump if Windows did not save one

Microsoft’s crash troubleshooting guidance explains how to configure Windows Error Reporting LocalDumps for a specific executable, including a dump folder, dump count, and dump type. Its example uses a full dump (DumpType 2) and a maximum of ten dumps; those are example settings, not universal requirements. Follow the guidance to remove the per-process LocalDumps registry key after collection.

For investigating heap corruption, the same guidance describes enabling page heap with GFlags. Restart the affected process for the setting to take effect, and turn page heap off when investigation is complete. Page heap changes how the process uses memory, so use it as a diagnostic measure rather than a permanent setting. Microsoft’s Defrag Tools episode also shows ProcDump as a crash-dump collection option.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What to include in a crash report

When sharing the result with a software vendor or support team, include the dump and enough context to make the module attribution verifiable:

  • Exception code, access type, and address from .exr -1.
  • Faulting instruction address and module name, plus the module version and offset when available.
  • Relevant stack frames from k, and whether symbols resolved successfully.
  • Dump type and any limitations caused by missing memory.
  • Whether the crash reproduces, and the application or service version involved.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.