11 Replies Latest reply on Nov 25, 2015 4:09 PM by zeqzy Branched from an earlier discussion.

    Application crashes due to heap corruption caused by Intel drivers

    zeqzy

      Category

      Questions

      Answers (N/A if not applicable)

      Description

      Provide a detailed description of the issue AND 'does it fail every single time, or only sometimes?' If you can offer a % rate please do.

      application crashes due to heap corruption caused by Intel drivers

      Hardware (HW)

      Brand and Model of the system.

      HP Pavilion 15 Notebook PC

      Hybrid or switchable graphics system? ie Does it have AMD or NV graphics too?

      no

      Make and model of any Displays that are used to see the issue (see note2 below).

      LFP = Local Flat Panel (Laptop panel)

      EFP = External Flat Panel (Monitor you plug in)

      LFP 1366 x 768 (32 bit) (60Hz) SDC4951

      How much memory [RAM] in the system (see note2 below).

      8192MB RAM

      Provide any other hardware needed to replicate the issue.

      ie: Cables&brand, cable type [vga, hdmi, DP, etc], dock, dongles/adapters, etc

      n/a

      Hardware Stepping (see note1 below).

      PCI\VEN_8086&DEV_0A2E&SUBSYS_227E103C&REV_09

      PCI\VEN_8086&DEV_0A2E&SUBSYS_227E103C

      PCI\VEN_8086&DEV_0A2E&CC_030000

      PCI\VEN_8086&DEV_0A2E&CC_0300

      Software (SW)

      Operating System version (see note2 below).

      Windows 10 Education 64-bit (10.0, Build 10240) (10240.th1.150729-1800)

      VBIOS (video BIOS) version. This can be found in “information page” of CUI (right click on Desktop and select “Graphics Properties”.

      n/a

      Graphics Driver version; for both integrated Intel and 3rd party vendors (see note2 below).

      1. 10.18.15.4248

      SW/Apps version used to replicate the issue.

      dolphin emulator

      Configurations

      Single display, clone, or extended (see note2 below).

      Single

      Display resolution & refresh rate setting of each display (see note2 below).

      1366 x 768 (32 bit) (60Hz

      AC or DC mode, i.e. is power cable plugged in or not?

      AC

      How to repro

      Please provide steps to replicate the issue.  These steps are very crucial to finding the root cause and fix.

      A screenshot to illustrate the issue is a huge plus. A video of the failure is even better! Attach to the post or provide the YouTube link.

       

       

       

       

       

       

       

       

      heap coruption caused by intel iris 5100 drivers

      1. 1. in dolphin load wii system menu
      2. 2. after the wii system menu has finished the startup animation dolphin crashes
      3. 3. use visual studio to catch the error (if debug files where available function names would be displayed instead of the memory addresses)

      ntdll.dll!RtlReportCriticalFailure ()    Unknown

      ntdll.dll!RtlpHeapHandleError ()    Unknown

      ntdll.dll!RtlpLogHeapFailure ()    Unknown

      ntdll.dll!RtlpAllocateHeap()    Unknown

      ntdll.dll!RtlpAllocateHeapInternal()    Unknown

      AcLayers.dll!NS_FaultTolerantHeap::APIHook_RtlAllocateHeap(void *,unsigned long,unsigned __int64)    Unknown

      igd10iumd64.dll!00007ffa10d497db()    Unknown

      igd10iumd64.dll!00007ffa11352283()    Unknown

      igd10iumd64.dll!00007ffa11160ad1()    Unknown

      igd10iumd64.dll!00007ffa112c6b5b()    Unknown

      [External Code]  

      > DolphinD.exe!DX11::D3D::ReplaceRGBATexture2D(ID3D11Texture2D * pTexture, const unsigned char * buffer, unsigned

       

      int width, unsigned int height, unsigned int pitch, unsigned int level, D3D11_USAGE usage) Line 20    C++

      DolphinD.exe!DX11::TextureCache::TCacheEntry::Load(unsigned int width, unsigned int height, unsigned int

       

      expanded_width, unsigned int level) Line 147    C++

      DolphinD.exe!TextureCache::Load(const unsigned int stage) Line 631    C++

      DolphinD.exe!VertexManager::Flush() Line 217    C++

      DolphinD.exe!BPFunctions::FlushPipeline() Line 28    C++

      DolphinD.exe!BPWritten(const BPCmd & bp) Line 86    C++

      DolphinD.exe!LoadBPReg(unsigned int value0) Line 695    C++

      DolphinD.exe!OpcodeDecoder_Run<0>(DataReader src, unsigned int * cycles, bool in_display_list) Line 263    C++

      DolphinD.exe!RunGpuLoop::__l38::<lambda>() Line 337 C++

      DolphinD.exe!Common::BlockingLoop::Run<void <lambda>(void) >(RunGpuLoop::__l38::void <lambda>(void) payload,

       

      __int64 timeout) Line 106    C++

      DolphinD.exe!RunGpuLoop() Line 374    C++

      DolphinD.exe!VideoBackendHardware::Video_EnterLoop() Line 45    C++

      DolphinD.exe!Core::EmuThread() Line 520    C++

      [External Code]  

        • 2. Re: Application crashes due to heap corruption caused by Intel drivers
          zeqzy
          i have tested more games in dolphin and will report the call stack that showed the functions (both cdecal and fastcall are shown) that caused the application to crash
          all of the crashes report error c0000374 (Heap corruption) cause by the Intel drivers
          it is also important to note that none of the crashes happen if the d3d render device (dolphin allows the user to select the device it will use to render) is set to the basic render device

          wii system menu (updated callstack after driver update)

          ntdll.dll!RtlReportCriticalFailure ()    Unknown

               ntdll.dll!RtlpHeapHandleError ()    Unknown

               ntdll.dll!RtlpLogHeapFailure ()    Unknown

               ntdll.dll!RtlpAllocateHeap()    Unknown

               ntdll.dll!RtlpAllocateHeapInternal()    Unknown

               igd10iumd64.dll!00007ffc18a8947b()    Unknown

               igd10iumd64.dll!00007ffc190df017()    Unknown

               igd10iumd64.dll!00007ffc18dcf011()    Unknown

               d3d11.dll!CResource<struct ID3D11Resource>::Map<0,3>(class CContext *,class CResource<struct

          ID3D11Resource> *,unsigned int,enum D3D11_MAP,unsigned int,bool,bool,struct D3D11_MAPPED_SUBRESOURCE *)  

          Unknown

               d3d11.dll!CResource<struct ID3D11Resource>::Map<0,3>(class CContext *,class CResource<struct

          ID3D11Resource> *,unsigned int,enum D3D11_MAP,unsigned int,struct D3D11_MAPPED_SUBRESOURCE *)    Unknown

               d3d11.dll!CContext::TID3D11DeviceContext_Map_<1>(struct ID3D11DeviceContext3 *,struct ID3D11Resource

          *,unsigned int,enum D3D11_MAP,unsigned int,struct D3D11_MAPPED_SUBRESOURCE *)    Unknown

               d3d11_3SDKLayers.dll!NDebug::CContext::Map(struct ID3D11Resource *,unsigned int,enum

          D3D11_MAP,unsigned int,struct D3D11_MAPPED_SUBRESOURCE *)    Unknown

          >    DolphinD.exe!DX11::D3D::ReplaceRGBATexture2D(ID3D11Texture2D * pTexture=0x000000002b578990, const

          unsigned char * buffer=0x0000000025880080, unsigned int width=68, unsigned int height=48, unsigned int

          pitch=72, unsigned int level=0, D3D11_USAGE usage=D3D11_USAGE_DYNAMIC) Line 20    C++

               DolphinD.exe!DX11::TextureCache::TCacheEntry::Load(unsigned int width=68, unsigned int height=48,

          unsigned int expanded_width=72, unsigned int level=0) Line 146    C++

               DolphinD.exe!TextureCache::Load(const unsigned int stage=0) Line 633    C++

               DolphinD.exe!VertexManager::Flush() Line 217    C++

               DolphinD.exe!XFMemWritten(unsigned int transferSize=12, unsigned int baseAddress=0) Line 20    C++

               DolphinD.exe!LoadXFReg(unsigned int transferSize=0, unsigned int baseAddress=0, DataReader src={...})

          Line 233    C++

               DolphinD.exe!OpcodeDecoder_Run<0>(DataReader src={...}, unsigned int * cycles=0x000000000eb6f7a4,

          bool in_display_list=false) Line 188    C++

               DolphinD.exe!RunGpuLoop::__l2::<lambda>() Line 337    C++

               DolphinD.exe!Common::BlockingLoop::Run<void <lambda>(void) >(RunGpuLoop::__l2::void <lambda>(void)

          payload=void <lambda>(void){...}, __int64 timeout=100) Line 106    C++

               DolphinD.exe!RunGpuLoop() Line 374    C++

               DolphinD.exe!VideoBackendHardware::Video_EnterLoop() Line 45    C++

               DolphinD.exe!Core::EmuThread() Line 520    C++

               DolphinD.exe!std::_Invoker_functor::_Call<void (__cdecl*)(void)>(void (void) * &&

          _Obj=0x000000000040663b) Line 1410    C++

               DolphinD.exe!std::invoke<void (__cdecl*)(void)>(void (void) * && _Obj=0x000000000040663b) Line 1478  

          C++

               DolphinD.exe!std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)

          (void)>,std::default_delete<std::tuple<void (__cdecl*)(void)> > > >::_Execute<0>(std::tuple<void (__cdecl*)

          (void)> & _Tup={...}, std::integer_sequence<unsigned __int64,0> __formal={...}) Line 239    C++

               DolphinD.exe!std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)

          (void)>,std::default_delete<std::tuple<void (__cdecl*)(void)> > > >::_Run

          (std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)(void)>,std::default_delete<std::tuple<void

          (__cdecl*)(void)> > > > * _Ln=0x000000000014e168) Line 245    C++

               DolphinD.exe!std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)

          (void)>,std::default_delete<std::tuple<void (__cdecl*)(void)> > > >::_Go() Line 231    C++

               DolphinD.exe!std::_Pad::_Call_func(void * _Data=0x000000000014e168) Line 208    C++

               ucrtbased.dll!invoke_thread_procedure(unsigned int (void *) * const procedure=0x00000000004064a6,

          void * const context=0x000000000014e168) Line 92    C++

               ucrtbased.dll!thread_start<unsigned int (__cdecl*)(void * __ptr64)>(void * const

          parameter=0x000000001fbc4430) Line 115    C++

               kernel32.dll!BaseThreadInitThunk ()    Unknown

               ntdll.dll!RtlUserThreadStart()    Unknown

          new super mario brothers wii  crashes after pressing 2 at the start menu

          this crash and the one below crash the pixel shader compiler

          ntdll.dll!RtlReportCriticalFailure ()    Unknown

               ntdll.dll!RtlpHeapHandleError ()    Unknown

               ntdll.dll!RtlpLogHeapFailure ()    Unknown

               ntdll.dll!RtlpAnalyzeHeapFailure ()    Unknown

               ntdll.dll!RtlpAllocateHeap()    Unknown

               ntdll.dll!RtlpAllocateHeapInternal()    Unknown

               igdusc64.dll!00007ffc14339447()    Unknown

               igdusc64.dll!00007ffc142e0b97()    Unknown

               igdusc64.dll!00007ffc147900c6()    Unknown

               igdusc64.dll!00007ffc1479239e()    Unknown

               igdusc64.dll!00007ffc1475c2d3()    Unknown

               igdusc64.dll!00007ffc147544e5()    Unknown

               igdusc64.dll!00007ffc14754d7d()    Unknown

               igdusc64.dll!00007ffc142e9841()    Unknown

               igdusc64.dll!00007ffc142e93f3()    Unknown

               igdusc64.dll!00007ffc142f3bdf()    Unknown

               igdusc64.dll!00007ffc142ef901()    Unknown

               igd10iumd64.dll!00007ffc18d9fcb5()    Unknown

               ntdll.dll!TppWorkpExecuteCallback()    Unknown

               ntdll.dll!TppWorkerThread()    Unknown

               kernel32.dll!BaseThreadInitThunk ()    Unknown

               ntdll.dll!RtlUserThreadStart()    Unknown

          resident evil darkside chronicles (crashes after the havok logo)

          ntdll.dll!RtlReportCriticalFailure ()    Unknown

               ntdll.dll!RtlpHeapHandleError ()    Unknown

               ntdll.dll!RtlpLogHeapFailure ()    Unknown

               ntdll.dll!RtlpAllocateHeap()    Unknown

               ntdll.dll!RtlpAllocateHeapInternal()    Unknown

               igdusc64.dll!00007ffc14339447()    Unknown

               igdusc64.dll!00007ffc142e0b97()    Unknown

               igdusc64.dll!00007ffc147900c6()    Unknown

               igdusc64.dll!00007ffc1479239e()    Unknown

               igdusc64.dll!00007ffc1475c2d3()    Unknown

               igdusc64.dll!00007ffc147544e5()    Unknown

               igdusc64.dll!00007ffc14754d7d()    Unknown

               igdusc64.dll!00007ffc142e9841()    Unknown

               igdusc64.dll!00007ffc142e93f3()    Unknown

               igdusc64.dll!00007ffc142f3bdf()    Unknown

               igdusc64.dll!00007ffc142ef901()    Unknown

               igd10iumd64.dll!00007ffc18d9fcb5()    Unknown

               ntdll.dll!TppWorkpExecuteCallback()    Unknown

               ntdll.dll!TppWorkerThread()    Unknown

               kernel32.dll!BaseThreadInitThunk ()    Unknown

               ntdll.dll!RtlUserThreadStart()    Unknown

          resident evil the umbrella chronicles (crashes after the intro video)

          ntdll.dll!RtlReportCriticalFailure ()    Unknown

               ntdll.dll!RtlpHeapHandleError ()    Unknown

               ntdll.dll!RtlpLogHeapFailure ()    Unknown

               ntdll.dll!RtlpAnalyzeHeapFailure ()    Unknown

               ntdll.dll!RtlpAllocateHeap()    Unknown

               ntdll.dll!RtlpAllocateHeapInternal()    Unknown

               d3d11.dll!NOutermost::CDevice::CreateLayeredChild(unsigned int,void const *,unsigned __int64,struct

           

          ID3D11LayeredUseCounted *,struct _GUID const &,void * *)    Unknown

               d3d11.dll!CDevice::CreateTexture2D_Worker(struct D3D11_TEXTURE2D_DESC1 const *,struct

           

          D3D11_SUBRESOURCE_DATA const *,int,struct ID3D11Texture2D1 * *,struct SD3D11SharedResourceCreationArgs

           

          *,bool,bool,struct ID3D11LayeredUseCounted *)    Unknown

               d3d11.dll!CDevice::CreateTexture2D(struct D3D11_TEXTURE2D_DESC const *,struct D3D11_SUBRESOURCE_DATA

           

          const *,struct ID3D11Texture2D * *)    Unknown

               d3d11_3SDKLayers.dll!NDebug::CDevice::CreateTexture2D(struct D3D11_TEXTURE2D_DESC const *,struct

           

          D3D11_SUBRESOURCE_DATA const *,struct ID3D11Texture2D * *)    Unknown

          >    DolphinD.exe!DX11::TextureCache::CreateTexture(const TextureCache::TCacheEntryConfig & config={...})

           

          Line 171    C++

               DolphinD.exe!TextureCache::AllocateTexture(const TextureCache::TCacheEntryConfig & config={...}) Line

           

          1075    C++

               DolphinD.exe!TextureCache::Load(const unsigned int stage=0) Line 614    C++

               DolphinD.exe!VertexManager::Flush() Line 217    C++

               DolphinD.exe!BPFunctions::FlushPipeline() Line 27    C++

               DolphinD.exe!BPWritten(const BPCmd & bp={...}) Line 87    C++

               DolphinD.exe!LoadBPReg(unsigned int value0=2491834651) Line 697    C++

               DolphinD.exe!OpcodeDecoder_Run<0>(DataReader src={...}, unsigned int * cycles=0x000000000eb2f614,

           

          bool in_display_list=true) Line 263    C++

               DolphinD.exe!InterpretDisplayList(unsigned int address=2158320192, unsigned int size=6432) Line 56  

           

          C++

               DolphinD.exe!OpcodeDecoder_Run<0>(DataReader src={...}, unsigned int * cycles=0x000000000eb2f7a4,

           

          bool in_display_list=false) Line 233    C++

               DolphinD.exe!RunGpuLoop::__l2::<lambda>() Line 337    C++

               DolphinD.exe!Common::BlockingLoop::Run<void <lambda>(void) >(RunGpuLoop::__l2::void <lambda>(void)

           

          payload=void <lambda>(void){...}, __int64 timeout=100) Line 106    C++

               DolphinD.exe!RunGpuLoop() Line 374    C++

               DolphinD.exe!VideoBackendHardware::Video_EnterLoop() Line 45    C++

               DolphinD.exe!Core::EmuThread() Line 520    C++

               DolphinD.exe!std::_Invoker_functor::_Call<void (__cdecl*)(void)>(void (void) * &&

           

          _Obj=0x000000000040663b) Line 1410    C++

               DolphinD.exe!std::invoke<void (__cdecl*)(void)>(void (void) * && _Obj=0x000000000040663b) Line 1478  

           

          C++

               DolphinD.exe!std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)

           

          (void)>,std::default_delete<std::tuple<void (__cdecl*)(void)> > > >::_Execute<0>(std::tuple<void (__cdecl*)

           

          (void)> & _Tup={...}, std::integer_sequence<unsigned __int64,0> __formal={...}) Line 239    C++

               DolphinD.exe!std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)

           

          (void)>,std::default_delete<std::tuple<void (__cdecl*)(void)> > > >::_Run

           

          (std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)(void)>,std::default_delete<std::tuple<void

           

          (__cdecl*)(void)> > > > * _Ln=0x000000000014c638) Line 245    C++

               DolphinD.exe!std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)

           

          (void)>,std::default_delete<std::tuple<void (__cdecl*)(void)> > > >::_Go() Line 231    C++

               DolphinD.exe!std::_Pad::_Call_func(void * _Data=0x000000000014c638) Line 208    C++

               ucrtbased.dll!invoke_thread_procedure(unsigned int (void *) * const procedure=0x00000000004064a6,

           

          void * const context=0x000000000014c638) Line 92    C++

               ucrtbased.dll!thread_start<unsigned int (__cdecl*)(void * __ptr64)>(void * const

           

          parameter=0x000000000cbb0d00) Line 115    C++

               kernel32.dll!BaseThreadInitThunk ()    Unknown

               ntdll.dll!RtlUserThreadStart()    Unknown

          • 3. Re: Application crashes due to heap corruption caused by Intel drivers
            eortega

            Please check with HP support for newer video drivers for you system, if that doesn't help you, notice that we have recently released new video drivers to support Windows 10, please visit our download center to download the video drivers: Intel® Download Center

             

            Eric@Intel

            • 4. Re: Application crashes due to heap corruption caused by Intel drivers
              zeqzy

              the problem was initaly reported with the drivers hp package however i also installed the most recent driver 4279 the same crash happens it is importent to understand that the display driver on dx11 application is responsible for the video memory that the application uses.

              there are debuging tools in intel driver for bad memory allocation https://msdn.microsoft.com/en-us/library/windows/hardware/jj542443(v=vs.85).aspx

              • 6. Re: Application crashes due to heap corruption caused by Intel drivers
                Lithium

                Same bug here my cpu is i3 4150, i'm running driver 4300 and Windows 10 Pro x64.

                • 7. Re: Application crashes due to heap corruption caused by Intel drivers
                  zeqzy

                  allan_intel

                  has this being replicated?

                  if there is the problem of you not having the games that cause the issue the section of the games can be recorded and the section that causes the problem can be made available if needed

                  this is used in the testing software for dolphin FifoCI

                  • 8. Re: Application crashes due to heap corruption caused by Intel drivers
                    allan_intel

                    I am not familiar with Dolphin FifoCI. I will check with engineering team to see if they have this matter on their list.

                     

                    Allan. 

                    • 9. Re: Application crashes due to heap corruption caused by Intel drivers
                      LAST_WINDOW

                      i7 4750 and Intel Iris Pro Graphics 5200 with the driver version 4300 and same problem.