none
I am facing FatalExecutionEngineError while trying to debug a VSTO word addin. RRS feed

  • Question

  • please refer below for error details

    Managed Debugging Assistant 'FatalExecutionEngineError' has detected a problem in 'C:\Program Files (x86)\Microsoft Office\Office15\WINWORD.EXE'.
    Additional Information: The runtime has encountered a fatal error. The address of the error was at 0x5039eeb5, on thread 0x5078. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.

    It was working fine earlier. But after installing the windows 10 update This error appeared and now I can debug any VSTO application. I tried creating a fresh new application as well. But same error.

    Machine configuration.

    1. Visual studio 2017 community edition (CLR version: 4.7.3260.0)
    2. windows 10 (OS Version: 10.0.16299)
    3. MS office 2013

    Please refer visual studio 2017 debug dump details.


    Dump Summary
    ------------
    Dump File: WINWORD.dmp : C:\Users\diwakar.kumar\Desktop\WINWORD.dmp
    Last Write Time: 29-12-2018 10:49:08
    Process Name: WINWORD.EXE : C:\Program Files (x86)\Microsoft Office\Office15\WINWORD.EXE
    Process Architecture: x86
    Exception Code: 0xE0434F4D
    Exception Information: An exception came from the CLR
    Heap Information: Present

    System Information
    ------------------
    OS Version: 10.0.16299
    CLR Version(s): 4.7.3260.0

    Modules
    -------
    Module Name Module Path Module Version
    ----------- ----------- --------------
    WINWORD.EXE C:\Program Files (x86)\Microsoft Office\Office15\WINWORD.EXE 15.0.5085.1000
    ntdll.dll C:\Windows\System32\ntdll.dll 10.0.16299.785
    verifier.dll C:\Windows\SysWOW64\verifier.dll 10.0.16299.15
    PayloadRestrictions.dll C:\Windows\System32\PayloadRestrictions.dll 10.0.16299.461
    ucrtbase.dll C:\Windows\System32\ucrtbase.dll 10.0.16299.820
    kernelbase.dll C:\Windows\System32\kernelbase.dll 10.0.16299.820
    kernel32.dll C:\Windows\System32\kernel32.dll 10.0.16299.431
    apphelp.dll C:\Windows\System32\apphelp.dll 10.0.16299.98
    sysfer.dll C:\Windows\System32\sysfer.dll 14.0.3856.1100
    advapi32.dll C:\Windows\System32\advapi32.dll 10.0.16299.696
    msvcrt.dll C:\Windows\System32\msvcrt.dll 7.0.16299.125
    sechost.dll C:\Windows\System32\sechost.dll 10.0.16299.696
    rpcrt4.dll C:\Windows\System32\rpcrt4.dll 10.0.16299.846
    sspicli.dll C:\Windows\System32\sspicli.dll 10.0.16299.755
    CRYPTBASE.dll C:\Windows\System32\CRYPTBASE.dll 10.0.16299.15
    bcryptPrimitives.dll C:\Windows\System32\bcryptPrimitives.dll 10.0.16299.696
    msvcr100.dll C:\Windows\System32\msvcr100.dll 10.0.40219.325
    PGHook.dll C:\Program Files (x86)\Avecto\Privilege Guard Client\PGHook.dll 4.4.267.0
    cryptsp.dll C:\Windows\System32\cryptsp.dll 10.0.16299.15
    rsaenh.dll C:\Windows\System32\rsaenh.dll 10.0.16299.637
    bcrypt.dll C:\Windows\System32\bcrypt.dll 10.0.16299.492
    psapi.dll C:\Windows\System32\psapi.dll 10.0.16299.15
    WWLIB.DLL C:\Program Files (x86)\Microsoft Office\Office15\WWLIB.DLL 15.0.5085.1000
    gdi32.dll C:\Windows\System32\gdi32.dll 10.0.16299.665
    gdi32full.dll C:\Windows\System32\gdi32full.dll 10.0.16299.846
    msvcp_win.dll C:\Windows\System32\msvcp_win.dll 10.0.16299.820
    user32.dll C:\Windows\System32\user32.dll 10.0.16299.125
    win32u.dll C:\Windows\System32\win32u.dll 10.0.16299.15
    ole32.dll C:\Windows\System32\ole32.dll 10.0.16299.785
    combase.dll C:\Windows\System32\combase.dll 10.0.16299.785
    oleaut32.dll C:\Windows\System32\oleaut32.dll 10.0.16299.431
    GdiPlus.dll C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.16299.846_none_8e650691026fb4e7\GdiPlus.dll 10.0.16299.846
    OART.DLL C:\Program Files (x86)\Microsoft Office\Office15\OART.DLL 15.0.5041.1000
    msvcp100.dll C:\Windows\System32\msvcp100.dll 10.0.40219.325
    d2d1.dll C:\Windows\System32\d2d1.dll 10.0.16299.15
    crypt32.dll C:\Windows\System32\crypt32.dll 10.0.16299.402
    msasn1.dll C:\Windows\System32\msasn1.dll 10.0.16299.15
    imm32.dll C:\Windows\System32\imm32.dll 10.0.16299.15
    csm.dll C:\Program Files\Manufacturer\Endpoint Agent\csm.dll 15.0.107.1001
    ws2_32.dll C:\Windows\System32\ws2_32.dll 10.0.16299.15
    shell32.dll C:\Windows\System32\shell32.dll 10.0.16299.666
    cfgmgr32.dll C:\Windows\System32\cfgmgr32.dll 10.0.16299.15
    SHCore.dll C:\Windows\System32\SHCore.dll 10.0.16299.522
    windows.storage.dll C:\Windows\System32\windows.storage.dll 10.0.16299.665
    shlwapi.dll C:\Windows\System32\shlwapi.dll 10.0.16299.402
    kernel.appcore.dll C:\Windows\System32\kernel.appcore.dll 10.0.16299.492
    powrprof.dll C:\Windows\System32\powrprof.dll 10.0.16299.15
    profapi.dll C:\Windows\System32\profapi.dll 10.0.16299.15
    secur32.dll C:\Windows\System32\secur32.dll 10.0.16299.461
    userenv.dll C:\Windows\System32\userenv.dll 10.0.16299.15
    mpr.dll C:\Windows\System32\mpr.dll 10.0.16299.15
    netapi32.dll C:\Windows\System32\netapi32.dll 10.0.16299.15
    msvcr120.dll C:\Windows\System32\msvcr120.dll 12.0.40660.0
    msvcp120.dll C:\Windows\System32\msvcp120.dll 12.0.40660.0
    davhlpr.dll C:\Windows\System32\davhlpr.dll 10.0.16299.15
    MSO.DLL C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE15\MSO.DLL 15.0.5075.1001
    msimg32.dll C:\Windows\System32\msimg32.dll 10.0.16299.15
    prntm.dll C:\Program Files\Manufacturer\Endpoint Agent\prntm.dll 15.0.107.1001
    winspool.drv C:\Windows\System32\winspool.drv 10.0.16299.696
    IPHLPAPI.DLL C:\Windows\System32\IPHLPAPI.DLL 10.0.16299.15
    clbcatq.dll C:\Windows\System32\clbcatq.dll 2001.12.10941.16384
    msi.dll C:\Windows\System32\msi.dll 5.0.16299.611
    comctl32.dll C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.16299.846_none_5d7a13aba7dd3b19\comctl32.dll 6.10.16299.846
    srpapi.dll C:\Windows\System32\srpapi.dll 10.0.16299.402
    version.dll C:\Windows\System32\version.dll 10.0.16299.15
    uxtheme.dll C:\Windows\System32\uxtheme.dll 10.0.16299.755
    msctf.dll C:\Windows\System32\msctf.dll 10.0.16299.696
    PGPhk.dll C:\Windows\System32\PGPhk.dll 10.4.2.206
    dwmapi.dll C:\Windows\System32\dwmapi.dll 10.0.16299.15
    TextInputFramework.dll C:\Windows\System32\TextInputFramework.dll 10.0.16299.15
    CoreUIComponents.dll C:\Windows\System32\CoreUIComponents.dll 10.0.16299.696
    CoreMessaging.dll C:\Windows\System32\CoreMessaging.dll 10.0.16299.696
    ntmarta.dll C:\Windows\System32\ntmarta.dll 10.0.16299.15
    WinTypes.dll C:\Windows\System32\WinTypes.dll 10.0.16299.402
    wtsapi32.dll C:\Windows\System32\wtsapi32.dll 10.0.16299.15
    winsta.dll C:\Windows\System32\winsta.dll 10.0.16299.15
    MSPTLS.DLL C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE15\MSPTLS.DLL 15.0.4745.1000
    d3d10_1.dll C:\Windows\System32\d3d10_1.dll 10.0.16299.15
    d3d10_1core.dll C:\Windows\System32\d3d10_1core.dll 10.0.16299.15
    dxgi.dll C:\Windows\System32\dxgi.dll 10.0.16299.98
    d3d11.dll C:\Windows\System32\d3d11.dll 10.0.16299.492
    D3D10Warp.dll C:\Windows\System32\D3D10Warp.dll 10.0.16299.309
    WindowsCodecs.dll C:\Windows\System32\WindowsCodecs.dll 10.0.16299.726
    DWrite.dll C:\Windows\System32\DWrite.dll 10.0.16299.755
    mscoree.dll C:\Windows\System32\mscoree.dll 10.0.16299.15
    mscoreei.dll C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll 4.7.2633.0
    netprofm.dll C:\Windows\System32\netprofm.dll 10.0.16299.15
    npmproxy.dll C:\Windows\System32\npmproxy.dll 10.0.16299.15
    dnsapi.dll C:\Windows\System32\dnsapi.dll 10.0.16299.547
    nsi.dll C:\Windows\System32\nsi.dll 10.0.16299.15
    RICHED20.DLL C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE15\RICHED20.DLL 15.0.4811.1000
    sppc.dll C:\Windows\System32\sppc.dll 10.0.16299.15
    webservices.dll C:\Windows\System32\webservices.dll 10.0.16299.492
    normaliz.dll C:\Windows\System32\normaliz.dll 10.0.16299.15
    dhcpcsvc6.DLL C:\Windows\System32\dhcpcsvc6.DLL 10.0.16299.15
    winhttp.dll C:\Windows\System32\winhttp.dll 10.0.16299.820
    dhcpcsvc.dll C:\Windows\System32\dhcpcsvc.dll 10.0.16299.15
    sxs.dll C:\Windows\System32\sxs.dll 10.0.16299.15
    coml2.dll C:\Windows\System32\coml2.dll 10.0.16299.785
    wininet.dll C:\Windows\System32\wininet.dll 11.0.16299.820
    urlmon.dll C:\Windows\System32\urlmon.dll 11.0.16299.785
    imagehlp.dll C:\Windows\System32\imagehlp.dll 10.0.16299.15
    iertutil.dll C:\Windows\System32\iertutil.dll 11.0.16299.820
    msIso.dll C:\Windows\System32\msIso.dll 11.0.16299.820
    ondemandconnroutehelper.dll C:\Windows\System32\ondemandconnroutehelper.dll 10.0.16299.15
    mswsock.dll C:\Windows\System32\mswsock.dll 10.0.16299.15
    winnsi.dll C:\Windows\System32\winnsi.dll 10.0.16299.15
    webio.dll C:\Windows\System32\webio.dll 10.0.16299.820
    PeerDist.dll C:\Windows\System32\PeerDist.dll 10.0.16299.15
    rasadhlp.dll C:\Windows\System32\rasadhlp.dll 10.0.16299.15
    FWPUCLNT.DLL C:\Windows\System32\FWPUCLNT.DLL 10.0.16299.15
    PGPlsp.dll C:\Windows\System32\PGPlsp.dll 10.4.2.206
    schannel.dll C:\Windows\System32\schannel.dll 10.0.16299.755
    cldapi.dll C:\Windows\System32\cldapi.dll 10.0.16299.492
    fltLib.dll C:\Windows\System32\fltLib.dll 10.0.16299.15
    aepic.dll C:\Windows\System32\aepic.dll 10.0.17673.1007
    mskeyprotect.dll C:\Windows\System32\mskeyprotect.dll 10.0.16299.15
    ncrypt.dll C:\Windows\System32\ncrypt.dll 10.0.16299.15
    ntasn1.dll C:\Windows\System32\ntasn1.dll 10.0.16299.15
    propsys.dll C:\Windows\System32\propsys.dll 7.0.16299.334
    ncryptsslp.dll C:\Windows\System32\ncryptsslp.dll 10.0.16299.579
    msxml6.dll C:\Windows\System32\msxml6.dll 6.30.16299.846
    dpapi.dll C:\Windows\System32\dpapi.dll 10.0.16299.15
    dsreg.dll C:\Windows\System32\dsreg.dll 10.0.16299.15
    msvcp110_win.dll C:\Windows\System32\msvcp110_win.dll 10.0.16299.371
    ADAL.DLL C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE15\ADAL.DLL 1.0.2019.909
    netutils.dll C:\Windows\System32\netutils.dll 10.0.16299.15
    wkscli.dll C:\Windows\System32\wkscli.dll 10.0.16299.15
    xmllite.dll C:\Windows\System32\xmllite.dll 10.0.16299.15
    PXCOfficeAddin6.dll C:\Program Files\Tracker Software\PDF-XChange 6\PXCOfficeAddin6.dll 6.0.322.5
    cabinet.dll C:\Windows\System32\cabinet.dll 5.0.1.1
    drvui6.dll C:\Program Files\Tracker Software\PDF-XChange 6\win32\drvui6.dll 6.0.322.5
    comdlg32.dll C:\Windows\System32\comdlg32.dll 10.0.16299.402
    VSTOWordAdaptor.dll C:\Program Files (x86)\Microsoft Visual Studio\Shared\Visual Studio Tools for Office\x86\VSTOWordAdaptor.dll 15.0.27207.1
    VCRUNTIME140.dll C:\Windows\System32\VCRUNTIME140.dll 14.16.27012.6
    vstoee.dll c:\Program Files (x86)\Common Files\Microsoft Shared\VSTO\vstoee.dll 10.0.50903.0
    VSTOLoader.dll c:\Program Files (x86)\Common Files\Microsoft Shared\VSTO\10.0\VSTOLoader.dll 10.0.50903.0
    oledlg.dll C:\Windows\System32\oledlg.dll 10.0.16299.15
    clr.dll C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll 4.7.3260.0
    MSVCR120_CLR0400.dll C:\Windows\System32\MSVCR120_CLR0400.dll 12.0.52519.0
    mscorlib.ni.dll C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\6715dc4d04e35f16d482900c355325e9\mscorlib.ni.dll 4.7.3260.0

    Saturday, December 29, 2018 5:28 AM

All replies

  • Hi Diwakar Thakur,

    Thank you for posting here.

    Since this thread is related to VSTO, I will move it to VSTO forum for suitable support.

    https://social.msdn.microsoft.com/Forums/en-US/home?forum=vsto

    The Visual C# forum discuss and ask questions about the C# programming language, IDE, libraries, samples, and tools.

    Best regards,

    Jack


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, January 3, 2019 6:59 AM