none
UAP crash in edgehtml.dll RRS feed

  • Question

  • I have a UAP application targeting Windows 10. It uses XAML and not JavaScript. It has a WebView which hosts a web page. Inside this web page is a simple grid made from Telerik's Kendo controls. This grid in turn makes a table with text inside a td element. When the user clicks on a cell, the td text is replaced with an input element instead and the text is editable. This worked in the past but no longer does.

    When the user clicks outside the cell this "locks" the cell by replacing the input element with plain text. Right now this causes an access violation.

    This works fine in similar apps I have on Android and iOS. It also works fine in Edge natively. Just not in the UAP application hosting a WebView.

    Unhandled exception at 0x18BF8380 (edgehtml.dll) in PNMobilePlus.exe: 0xC0000005: Access violation reading location 0x00000034.

    From the event viewer on my computer I see a couple lines that look relevant:

    • Exception code: 0xc0000005
    • Faulting module path: C:\WINDOWS\SYSTEM32\edgehtml.dll

    Any help here would be appreciated. I can reproduce this on other grids as well - it's not specific to one page. I did find the Report.wer file and pasted it below.

    [Update:] I did notice that I can press TAB or ESC to lock the cell successfully. What I cannot do is use the mouse to click outside the cell to lock it. It may be related to the fact that an element with focus (the input element) is being removed in JavaScript?)

    Version=1
    EventType=MoAppCrash
    EventTime=131594773919135668
    ReportType=2
    Consent=1
    UploadTime=131594773935421310
    ReportStatus=2147487752
    ReportIdentifier=350aceb0-e575-4146-8686-626d4da51eaf
    IntegratorReportIdentifier=0d4f88a2-a38a-4fe9-9f4a-425bf5775567
    Wow64Host=34404
    Wow64Guest=332
    NsAppName=praid:App
    AppSessionGuid=000020f4-0001-0013-2d45-e01fb684d301
    TargetAppId=U:F297F7DD.PNMobilePlus_3.6.1.0_x86__9653h9na23vrw!App
    TargetAppVer=3.6.1.0_x86_!2018//01//03:17:13:03!0!PNMobilePlus.exe
    BootId=4294967295
    ServiceSplit=30451
    TargetAsId=75063
    Response.BucketId=3c4008dd1042eae3d4de0303bc147834
    Response.BucketTable=5
    Response.LegacyBucketId=1503642640163567668
    Response.type=4
    Sig[0].Name=Package Full Name
    Sig[0].Value=F297F7DD.PNMobilePlus_3.6.1.0_x86__9653h9na23vrw
    Sig[1].Name=Application Name
    Sig[1].Value=praid:App
    Sig[2].Name=Application Version
    Sig[2].Value=3.6.1.0
    Sig[3].Name=Application Timestamp
    Sig[3].Value=5a4d0f1f
    Sig[4].Name=Fault Module Name
    Sig[4].Value=edgehtml.dll
    Sig[5].Name=Fault Module Version
    Sig[5].Value=11.0.16299.125
    Sig[6].Name=Fault Module Timestamp
    Sig[6].Value=1b23c905
    Sig[7].Name=Exception Code
    Sig[7].Value=c0000005
    Sig[8].Name=Exception Offset
    Sig[8].Value=009f8380
    DynamicSig[1].Name=OS Version
    DynamicSig[1].Value=10.0.16299.2.0.0.256.4
    DynamicSig[2].Name=Locale ID
    DynamicSig[2].Value=1033
    DynamicSig[22].Name=Additional Information 1
    DynamicSig[22].Value=2c64
    DynamicSig[23].Name=Additional Information 2
    DynamicSig[23].Value=2c64f23480e79a424701a37ec791ff47
    DynamicSig[24].Name=Additional Information 3
    DynamicSig[24].Value=cba2
    DynamicSig[25].Name=Additional Information 4
    DynamicSig[25].Value=cba2ecdf35f61f444fee067033196ed3
    UI[2]=C:\Source Code\Other DotNet\PNMobilePlus (WSA)\PNMobilePlus\bin\x86\Release\AppX\PNMobilePlus.exe
    LoadedModule[0]=C:\Source Code\Other DotNet\PNMobilePlus (WSA)\PNMobilePlus\bin\x86\Release\AppX\PNMobilePlus.exe
    LoadedModule[1]=C:\WINDOWS\SYSTEM32\ntdll.dll
    LoadedModule[2]=C:\WINDOWS\System32\KERNEL32.DLL
    LoadedModule[3]=C:\WINDOWS\System32\KERNELBASE.dll
    LoadedModule[4]=C:\WINDOWS\System32\SYSFER.DLL
    LoadedModule[5]=C:\Source Code\Other DotNet\PNMobilePlus (WSA)\PNMobilePlus\bin\x86\Release\AppX\PNMobilePlus.dll
    LoadedModule[6]=C:\WINDOWS\System32\combase.dll
    LoadedModule[7]=C:\WINDOWS\System32\ucrtbase.dll
    LoadedModule[8]=C:\WINDOWS\System32\RPCRT4.dll
    LoadedModule[9]=C:\WINDOWS\System32\SspiCli.dll
    LoadedModule[10]=C:\Program Files\WindowsApps\Microsoft.NET.Native.Runtime.1.4_1.4.24201.0_x86__8wekyb3d8bbwe\mrt100_app.dll
    LoadedModule[11]=C:\WINDOWS\System32\CRYPTBASE.dll
    LoadedModule[12]=C:\WINDOWS\System32\bcryptPrimitives.dll
    LoadedModule[13]=C:\WINDOWS\System32\sechost.dll
    LoadedModule[14]=C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.25426.0_x86__8wekyb3d8bbwe\VCRUNTIME140_APP.dll
    LoadedModule[15]=C:\WINDOWS\System32\OleAut32.dll
    LoadedModule[16]=C:\WINDOWS\System32\msvcp_win.dll
    LoadedModule[17]=C:\WINDOWS\SYSTEM32\wintypes.dll
    LoadedModule[18]=C:\Source Code\Other DotNet\PNMobilePlus (WSA)\PNMobilePlus\bin\x86\Release\AppX\clrcompression.dll
    LoadedModule[19]=C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.1.3_1.3.24201.0_x86__8wekyb3d8bbwe\SharedLibrary.dll
    LoadedModule[20]=C:\WINDOWS\SYSTEM32\mrt100.dll
    LoadedModule[21]=C:\WINDOWS\System32\msvcrt.dll
    LoadedModule[22]=C:\WINDOWS\System32\kernel.appcore.dll
    LoadedModule[23]=C:\WINDOWS\System32\user32.dll
    LoadedModule[24]=C:\WINDOWS\System32\win32u.dll
    LoadedModule[25]=C:\WINDOWS\System32\GDI32.dll
    LoadedModule[26]=C:\WINDOWS\System32\gdi32full.dll
    LoadedModule[27]=C:\WINDOWS\System32\IMM32.DLL
    LoadedModule[28]=C:\WINDOWS\SYSTEM32\twinapi.appcore.dll
    LoadedModule[29]=C:\WINDOWS\SYSTEM32\RMCLIENT.dll
    LoadedModule[30]=C:\WINDOWS\SYSTEM32\bcrypt.dll
    LoadedModule[31]=C:\WINDOWS\System32\advapi32.dll
    LoadedModule[32]=C:\Windows\System32\Windows.UI.Xaml.dll
    LoadedModule[33]=C:\WINDOWS\System32\shcore.dll
    LoadedModule[34]=C:\WINDOWS\SYSTEM32\CoreMessaging.dll
    LoadedModule[35]=C:\WINDOWS\SYSTEM32\iertutil.dll
    LoadedModule[36]=C:\WINDOWS\SYSTEM32\UIAutomationCore.DLL
    LoadedModule[37]=C:\WINDOWS\SYSTEM32\Bcp47Langs.dll
    LoadedModule[38]=C:\WINDOWS\SYSTEM32\dcomp.dll
    LoadedModule[39]=C:\Windows\System32\Windows.UI.dll
    LoadedModule[40]=C:\WINDOWS\SYSTEM32\TextInputFramework.dll
    LoadedModule[41]=C:\WINDOWS\SYSTEM32\CoreUIComponents.dll
    LoadedModule[42]=C:\WINDOWS\SYSTEM32\ntmarta.dll
    LoadedModule[43]=C:\Windows\System32\OneCoreUAPCommonProxyStub.dll
    LoadedModule[44]=C:\WINDOWS\system32\uxtheme.dll
    LoadedModule[45]=C:\WINDOWS\SYSTEM32\dwmapi.dll
    LoadedModule[46]=C:\WINDOWS\SYSTEM32\urlmon.dll
    LoadedModule[47]=C:\WINDOWS\System32\windows.storage.dll
    LoadedModule[48]=C:\WINDOWS\System32\shlwapi.dll
    LoadedModule[49]=C:\WINDOWS\System32\powrprof.dll
    LoadedModule[50]=C:\WINDOWS\System32\profapi.dll
    LoadedModule[51]=C:\WINDOWS\System32\imagehlp.dll
    LoadedModule[52]=C:\WINDOWS\SYSTEM32\dxgi.dll
    LoadedModule[53]=C:\Windows\System32\MrmCoreR.dll
    LoadedModule[54]=C:\WINDOWS\SYSTEM32\d3d11.dll
    LoadedModule[55]=C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_2e329e8610bbb375\igd10iumd32.dll
    LoadedModule[56]=C:\WINDOWS\SYSTEM32\ncrypt.dll
    LoadedModule[57]=C:\WINDOWS\SYSTEM32\NTASN1.dll
    LoadedModule[58]=C:\WINDOWS\System32\msctf.dll
    LoadedModule[59]=C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_2e329e8610bbb375\igc32.dll
    LoadedModule[60]=C:\Windows\System32\UiaManager.dll
    LoadedModule[61]=C:\WINDOWS\SYSTEM32\d2d1.dll
    LoadedModule[62]=C:\WINDOWS\System32\CRYPT32.dll
    LoadedModule[63]=C:\WINDOWS\System32\MSASN1.dll
    LoadedModule[64]=C:\WINDOWS\SYSTEM32\windows.ui.core.textinput.dll
    LoadedModule[65]=C:\WINDOWS\SYSTEM32\dwrite.dll
    LoadedModule[66]=C:\Windows\System32\Windows.UI.Immersive.dll
    LoadedModule[67]=C:\WINDOWS\system32\DataExchange.dll
    LoadedModule[68]=C:\Windows\System32\Windows.AccountsControl.dll
    LoadedModule[69]=C:\WINDOWS\SYSTEM32\XmlLite.dll
    LoadedModule[70]=C:\WINDOWS\SYSTEM32\UserDataTypeHelperUtil.dll
    LoadedModule[71]=C:\Windows\System32\Windows.Storage.ApplicationData.dll
    LoadedModule[72]=C:\WINDOWS\SYSTEM32\PROPSYS.dll
    LoadedModule[73]=C:\WINDOWS\SYSTEM32\CLDAPI.dll
    LoadedModule[74]=C:\WINDOWS\SYSTEM32\FLTLIB.DLL
    LoadedModule[75]=C:\WINDOWS\SYSTEM32\AEPIC.dll
    LoadedModule[76]=C:\WINDOWS\SYSTEM32\cryptsp.dll
    LoadedModule[77]=C:\Windows\System32\threadpoolwinrt.dll
    LoadedModule[78]=C:\Windows\System32\Windows.Networking.Connectivity.dll
    LoadedModule[79]=C:\Windows\System32\Windows.Web.Http.dll
    LoadedModule[80]=C:\WINDOWS\SYSTEM32\Windows.Networking.HostName.dll
    LoadedModule[81]=C:\WINDOWS\System32\WS2_32.dll
    LoadedModule[82]=C:\WINDOWS\SYSTEM32\DNSAPI.dll
    LoadedModule[83]=C:\WINDOWS\System32\NSI.dll
    LoadedModule[84]=C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
    LoadedModule[85]=C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
    LoadedModule[86]=C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
    LoadedModule[87]=C:\WINDOWS\system32\mswsock.dll
    LoadedModule[88]=C:\Windows\System32\rasadhlp.dll
    LoadedModule[89]=C:\WINDOWS\System32\fwpuclnt.dll
    LoadedModule[90]=C:\WINDOWS\SYSTEM32\WININET.dll
    LoadedModule[91]=C:\WINDOWS\SYSTEM32\tokenbinding.dll
    LoadedModule[92]=C:\WINDOWS\SYSTEM32\ondemandconnroutehelper.dll
    LoadedModule[93]=C:\WINDOWS\SYSTEM32\winhttp.dll
    LoadedModule[94]=C:\WINDOWS\SYSTEM32\firewallapi.dll
    LoadedModule[95]=C:\WINDOWS\SYSTEM32\fwbase.dll
    LoadedModule[96]=C:\WINDOWS\SYSTEM32\WINNSI.DLL
    LoadedModule[97]=C:\WINDOWS\SYSTEM32\userenv.dll
    LoadedModule[98]=C:\WINDOWS\SYSTEM32\profext.dll
    LoadedModule[99]=C:\WINDOWS\SYSTEM32\DPAPI.DLL
    LoadedModule[100]=C:\WINDOWS\System32\WINTRUST.dll
    LoadedModule[101]=C:\WINDOWS\system32\rsaenh.dll
    LoadedModule[102]=C:\WINDOWS\SYSTEM32\edgeiso.dll
    LoadedModule[103]=C:\WINDOWS\System32\schannel.dll
    LoadedModule[104]=C:\WINDOWS\SYSTEM32\mskeyprotect.dll
    LoadedModule[105]=C:\Windows\System32\cryptnet.dll
    LoadedModule[106]=C:\WINDOWS\system32\ncryptsslp.dll
    LoadedModule[107]=C:\WINDOWS\system32\mlang.dll
    LoadedModule[108]=C:\Windows\System32\Windows.Globalization.dll
    LoadedModule[109]=C:\WINDOWS\system32\directmanipulation.dll
    LoadedModule[110]=C:\Windows\System32\Windows.ApplicationModel.dll
    LoadedModule[111]=C:\WINDOWS\system32\windowscodecs.dll
    LoadedModule[112]=C:\WINDOWS\SYSTEM32\Windows.UI.Xaml.Controls.dll
    LoadedModule[113]=C:\Windows\System32\Windows.Energy.dll
    LoadedModule[114]=C:\Windows\System32\Windows.Graphics.dll
    LoadedModule[115]=C:\WINDOWS\SYSTEM32\wuceffects.dll
    LoadedModule[116]=C:\WINDOWS\System32\ole32.dll
    LoadedModule[117]=C:\WINDOWS\SYSTEM32\msftedit.dll
    LoadedModule[118]=C:\WINDOWS\SYSTEM32\globinputhost.dll
    LoadedModule[119]=C:\WINDOWS\SYSTEM32\NInput.dll
    LoadedModule[120]=C:\WINDOWS\SYSTEM32\inputhost.dll
    LoadedModule[121]=C:\WINDOWS\SYSTEM32\EdgeManager.dll
    LoadedModule[122]=C:\WINDOWS\SYSTEM32\edgehtml.dll
    LoadedModule[123]=C:\WINDOWS\SYSTEM32\chakra.dll
    LoadedModule[124]=C:\WINDOWS\SYSTEM32\srpapi.dll
    LoadedModule[125]=C:\WINDOWS\system32\msimtf.dll
    LoadedModule[126]=C:\WINDOWS\system32\twinapi.dll
    LoadedModule[127]=C:\WINDOWS\System32\shell32.dll
    LoadedModule[128]=C:\WINDOWS\System32\cfgmgr32.dll
    LoadedModule[129]=C:\WINDOWS\SYSTEM32\Cabinet.dll
    LoadedModule[130]=C:\WINDOWS\System32\UIAnimation.dll
    LoadedModule[131]=C:\Windows\System32\Windows.Shell.ServiceHostBuilder.dll
    State[0].Key=Transport.DoneStage1
    State[0].Value=1
    OsInfo[0].Key=vermaj
    OsInfo[0].Value=10
    OsInfo[1].Key=vermin
    OsInfo[1].Value=0
    OsInfo[2].Key=verbld
    OsInfo[2].Value=16299
    OsInfo[3].Key=ubr
    OsInfo[3].Value=125
    OsInfo[4].Key=versp
    OsInfo[4].Value=0
    OsInfo[5].Key=arch
    OsInfo[5].Value=9
    OsInfo[6].Key=lcid
    OsInfo[6].Value=1033
    OsInfo[7].Key=geoid
    OsInfo[7].Value=244
    OsInfo[8].Key=sku
    OsInfo[8].Value=4
    OsInfo[9].Key=domain
    OsInfo[9].Value=1
    OsInfo[10].Key=prodsuite
    OsInfo[10].Value=256
    OsInfo[11].Key=ntprodtype
    OsInfo[11].Value=1
    OsInfo[12].Key=platid
    OsInfo[12].Value=10
    OsInfo[13].Key=sr
    OsInfo[13].Value=0
    OsInfo[14].Key=tmsi
    OsInfo[14].Value=77779
    OsInfo[15].Key=osinsty
    OsInfo[15].Value=3
    OsInfo[16].Key=iever
    OsInfo[16].Value=11.125.16299.0-11.0.49
    OsInfo[17].Key=portos
    OsInfo[17].Value=0
    OsInfo[18].Key=ram
    OsInfo[18].Value=16270
    OsInfo[19].Key=svolsz
    OsInfo[19].Value=476
    OsInfo[20].Key=wimbt
    OsInfo[20].Value=0
    OsInfo[21].Key=blddt
    OsInfo[21].Value=170928
    OsInfo[22].Key=bldtm
    OsInfo[22].Value=1534
    OsInfo[23].Key=bldbrch
    OsInfo[23].Value=rs3_release
    OsInfo[24].Key=bldchk
    OsInfo[24].Value=0
    OsInfo[25].Key=wpvermaj
    OsInfo[25].Value=0
    OsInfo[26].Key=wpvermin
    OsInfo[26].Value=0
    OsInfo[27].Key=wpbuildmaj
    OsInfo[27].Value=0
    OsInfo[28].Key=wpbuildmin
    OsInfo[28].Value=0
    OsInfo[29].Key=osver
    OsInfo[29].Value=10.0.16299.125.amd64fre.rs3_release.170928-1534
    OsInfo[30].Key=buildflightid
    OsInfo[30].Value=58DDBB00-947E-420A-B296-A2451AE6AC0B.2
    OsInfo[31].Key=edition
    OsInfo[31].Value=Enterprise
    OsInfo[32].Key=ring
    OsInfo[33].Key=containerid
    OsInfo[34].Key=containertype
    OsInfo[35].Key=edu
    OsInfo[35].Value=0
    FriendlyEventName=Stopped working
    ConsentKey=MoAppCrash
    AppName=PNMobile Plus
    AppPath=C:\Source Code\Other DotNet\PNMobilePlus (WSA)\PNMobilePlus\bin\x86\Release\AppX\PNMobilePlus.exe
    NsPartner=windows
    NsGroup=windows8
    ApplicationIdentity=387F330C73AB8A46C3EF8673D0FA0EE9
    MetadataHash=1893964647

    [Edit2]: I built a store release of this application and generated the same error using it. It logged the error to the Windows Dev Center and inside here was more information. A long call stack was listed with the top few items all relating to the input element:

    edgehtml.dll Tree::ANode::SecurityContext
    edgehtml.dll CTsfTextStore::ClientRectToScreenRect
    edgehtml.dll CTsfTextStore::GetScreenExt
    msctf.dll CContextView::GetScreenExt
    msctf.dll CInputContextAdapter::GetLayoutBounds
    TextInputFramework.dll TextInputClient::GetSelectionBounds
    TextInputFramework.dll TextInputClient::OperationCompleted
    TextInputFramework.dll CTextInputClientFreeThread::OperationCompleted
    CoreUIComponents.dll IRemoteTextInputClient$X__CallbackAdapter::OperationCompleted
    CoreUIComponents.dll IRemoteTextInputClient$R::Reflection__OperationCompleted


    The error itself is titled as null_class_ptr_read_c0000005_edgehtml.dll!ctsftextstore::clientrecttoscreenrect

    • Moved by Breeze Liu Thursday, January 4, 2018 6:42 AM off topic
    • Edited by Gardnerp2 Thursday, January 4, 2018 2:24 PM
    Wednesday, January 3, 2018 8:16 PM

All replies

  • Hi Gardnerp2

    As you mentioned above you are using a control from Telerik, it is a third part library and I suggest that you may ask this question in the Telerik’s forum.

    Best regards,

    Roy


    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 4, 2018 6:51 AM
  • Why? The Kendo controls are not custom Win32 code. They are HTML elements, CSS, and JavaScript. There's no reason that Edge should crash when clicking out of a generated input box. This is not a Telerik issue.
    Thursday, January 4, 2018 1:29 PM