Application Crashes with Exception 0xc0000005

12/10/2017 Stuart Moore   ID: 279219

Exception

FAULTING_MODULE: 76ea0000 KERNEL32
MODULE_NAME: module_name
EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s

Cause

Visual Studio 2008, or earlier, are  incompatible with systems enabled with Data Execution Prevention (DEP). This includes systems configured with Secure Boot, or default policies on Windows 10, Server 2012 R2, Server 2016 and can include prior versions of Windows that have the Enhanced Mitigation Experience Threat (EMET) installed.

Identifiers

Application binaries have Image is NX Compatible set.

Solution

Set the /DEPOptOut feature for the Container, please refer to How to opt applications out of DEP‍.

Source:
Was this article helpful?

Table of Contents

    Can't find what you're looking for?

    Contact Support