Windows 10: Error: -1073741813 [ C0000005 - access violation exception ], when running a custom C++...

Discus and support Error: -1073741813 [ C0000005 - access violation exception ], when running a custom C++... in Windows 10 Gaming to solve the problem; Hi Microsoft team, I am new to C++ and have never experienced this issue before, I am following the Sektor 7 courses, and whilst trying to accomplish... Discussion in 'Windows 10 Gaming' started by Joseph RW, Jul 13, 2023.

  1. Joseph RW Win User

    Error: -1073741813 [ C0000005 - access violation exception ], when running a custom C++...


    Hi Microsoft team, I am new to C++ and have never experienced this issue before, I am following the Sektor 7 courses, and whilst trying to accomplish one of the coding tasks, I have come across this issue error - Error: -1073741813, If it helps - the application is built on a windows 11 home edition machine using visual studio 2022, but the program is executed on a separate computer in a Windows 10 Vagrant VM running on a Linux Host.This is the C++ code:#include <windows.h>#include <winternl.h>#include <iostream>typedef NTSTATUSNTAPI* pNtOpe

    :)
     
    Joseph RW, Jul 13, 2023
    #1

  2. Windows 10 1803 Upgrade fails with Access violation - code c0000005 error?

    I am attempting to upgrade my custom built PC from Windows 10 1709.

    I have tried doing this a few different ways, first through the standard Windows Update Prompt, then twice through the Windows 10 Upgrade Assistant. Each time the Update seems to be successful, until about a 3rd of the way through when it inevitably crashes and restores to the old version.

    At the suggestion of an IT professional, I ran SetupDiag.exe to diagnose the issue. The result is that there was an Exception thrown, with the error:

    Access violation - code c0000005 (first/second chance not available)

    and

    Failed to request MethodData, not in JIT code range
    GetUrlPageData2 (WinHttp) failed: 12002.

    I have the entire log uploaded here

    If it helps with debugging this, the computer has a 1080Ti, Asus Z170-A Mobo, no 3rd party antivirus, and no running 3rd party processes during the install (manually closed them). Bitlocker was suspended for the upgrade as well.

    Bios is updated to the latest version, as are the video driver and other misc drivers for other hardware parts.

    How can I successfully update to the latest Windows 10 Feature Release?
     
    DCIndieDev, Jul 13, 2023
    #2
  3. Kreij Win User
    "There was a problem with your Steam installation."

    Exception Code: c0000005 is an access violation. I would do as Black Panther suggests.
    Something is amiss.
     
    Kreij, Jul 13, 2023
    #3
  4. Error: -1073741813 [ C0000005 - access violation exception ], when running a custom C++...

    MSI DragonCenter_2.0.121.0_x64 is throwing exceptions: Code: c0000005 - MoAppCrash

    Exception error c0000005 means "memory access violation", likely an attempt to execute a code from data region.

    This may be due to app incorrect behavior (often due to some add-ons), or due to driver error (may be detected by drivers verifier), or due to some hardware error, likely RAM.

    Did you check your RAM modes (voltage, frequency, timings) are in compliance with motherboard compatibility list (QVL)?
     
    Igor Leyko, Jul 13, 2023
    #4
Thema:

Error: -1073741813 [ C0000005 - access violation exception ], when running a custom C++...

Loading...
  1. Error: -1073741813 [ C0000005 - access violation exception ], when running a custom C++... - Similar Threads - Error 1073741813 C0000005

  2. getting crashes and access violation errors c0000005

    in Windows 10 Software and Apps
    getting crashes and access violation errors c0000005: crashing across multiple games. after reinstalling windows, i noticed this in the event viewer.its from microsoft windows security auditing, event id; 5038, task category; system securityCode integrity determined that the image hash of a file is not valid. The file could be...
  3. getting crashes and access violation errors c0000005

    in Windows 10 Gaming
    getting crashes and access violation errors c0000005: crashing across multiple games. after reinstalling windows, i noticed this in the event viewer.its from microsoft windows security auditing, event id; 5038, task category; system securityCode integrity determined that the image hash of a file is not valid. The file could be...
  4. Error: -1073741813 [ C0000005 - access violation exception ], when running a custom C++...

    in Windows 10 Drivers and Hardware
    Error: -1073741813 [ C0000005 - access violation exception ], when running a custom C++...: Hi Microsoft team, I am new to C++ and have never experienced this issue before, I am following the Sektor 7 courses, and whilst trying to accomplish one of the coding tasks, I have come across this issue - Error: -1073741813, If it helps - the application is built on a...
  5. Error: -1073741813 [ C0000005 - access violation exception ], when running a custom C++...

    in Windows 10 Software and Apps
    Error: -1073741813 [ C0000005 - access violation exception ], when running a custom C++...: Hi Microsoft team, I am new to C++ and have never experienced this issue before, I am following the Sektor 7 courses, and whilst trying to accomplish one of the coding tasks, I have come across this issue error - Error: -1073741813, If it helps - the application is built on a...
  6. Exception Access Violation

    in Windows 10 BSOD Crashes and Debugging
    Exception Access Violation: Good day! Been receiving this error for quite some time now. My drivers and windows are both updated. Done the basics: sfc /scannow, CHKDSK, Dism, for d in *.dll do regsvr32 /s. Any help will be greatly appreciated....
  7. exception access violation

    in Windows 10 BSOD Crashes and Debugging
    exception access violation: so whenever i try to launch borderlands 3 on my pc i get the exception access violation 0x0000000000000418. it used to work normally but it started giving me the error about 3 days ago. i couldn't find a fix online and am very frustrated. i also tried re-installing the game...
  8. Games Crashing with Exception c0000005 Access violation

    in Windows 10 BSOD Crashes and Debugging
    Games Crashing with Exception c0000005 Access violation: Hello! I am a newbie in computers and recently I built my own computer. Everything went well for the first couple of weeks and suddenly my games start crashing to desktop Dota 2 and Valorant. I tried to use windbg preview and found out that it is caused by Exception code...
  9. Powershell crashes with an access violation (c0000005) in bcryptPrimitives.dll.

    in Windows 10 BSOD Crashes and Debugging
    Powershell crashes with an access violation (c0000005) in bcryptPrimitives.dll.: I cannot launch powershell at present. If I open an Administrator Command Prompt and type `powershell`, nothing happens. Consulting event viewer reveals that there has been an Application Error, the faulting application is indeed, powershell.exe and the faulting module is...
  10. Exception access violation, exception code c0000005, exception flags 0, exception address...

    in Windows 10 Installation and Upgrade
    Exception access violation, exception code c0000005, exception flags 0, exception address...: I am using a Bernina Embroidery Software 7 program that has worked just fine, until now, with my Windows 8. Now I installed it in windows 10 and it gives the following error Exception Access Violation Exception code: c0000005. Exception flags: 0. Exception address:...