locked
Xamarin Forms UWP application crash with store packages, works find with test package and vs RRS feed

  • Question

  • When i successfully publish my xamarin forms app in UWP, i unzip .appxupload and take out the .appx file, try to install it on a windows 10 computer, it pops up a form then crash.

    However, the test package works fine no issue at all.

    The following error message from event viewer

    Application Error:

    Faulting application name: xxx.UWP.exe, version: 1.0.0.0, time stamp: 0x5a6c8ce3
    Faulting module name: Windows.UI.Xaml.dll, version: 10.0.16299.98, time stamp: 0x950216af
    Exception code: 0xc000027b
    Fault offset: 0x00000000006e7ae9
    Faulting process id: 0x27c0
    Faulting application start time: 0x01d397c8ccb13fc6
    Faulting application path: C:\Program Files\WindowsApps\58570xxx.yyy_1.1.13.0_x64__mc7r3s9jbx72r\xxx.UWP.exe
    Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll
    Report Id: da4f7677-0f2d-470d-ac5d-02b3ca123479
    Faulting package full name: 58570TutorPads.TutorPadsSchoolManagement_1.1.13.0_x64__mc7r3s9jbx72r
    Faulting package-relative application ID: App

    Windows Error Report

    Fault bucket 1155497181753124934, type 5
    Event Name: MoAppCrash
    Response: Not available
    Cab Id: 0

    Problem signature:
    P1: 58570yyy_1.1.13.0_x64__mc7r3s9jbx72r
    P2: praid:App
    P3: 1.0.0.0
    P4: 5a6c8ce3
    P5: combase.dll
    P6: 10.0.16299.15
    P7: 3db461b4
    P8: 80070002
    P9: 00000000000a50e6
    P10: 

    Attached files:
    \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERC8E5.tmp.dmp
    \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERCC23.tmp.WERInternalMetadata.xml
    \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERCC50.tmp.csv
    \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERCC70.tmp.txt

    These files may be available here:
    C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_58570yyyT_88b4176f7a404cfdb6c4d3fafa74e22f826dab73_877611d1_019fd0a5

    Analysis symbol: 
    Rechecking for solution: 0
    Report Id: da4f7677-0f2d-470d-ac5d-02b3ca123479
    Report Status: 268435456
    Hashed bucket: cc9848e8d94de30580092690915c2846

    Report.wer

    Version=1
    EventType=MoAppCrash
    EventTime=131615702857919130
    ReportType=2
    Consent=1
    UploadTime=131615702867294611
    ReportStatus=268435456
    ReportIdentifier=8192f25e-d66b-4a1e-b52a-e4717670f259
    IntegratorReportIdentifier=da4f7677-0f2d-470d-ac5d-02b3ca123479
    Wow64Host=34404
    NsAppName=praid:App
    AppSessionGuid=000027c0-000b-0003-c63f-b1ccc897d301
    TargetAppId=U:58570xxx.xxxSchoolManagement_1.1.13.0_x64__mc7r3s9jbx72r!App
    TargetAppVer=1.1.13.0_x64_!2018//01//27:14:29:55!0!xxx.UWP.exe
    BootId=4294967295
    TargetAsId=18115
    Response.BucketId=cc9848e8d94de30580092690915c2846
    Response.BucketTable=5
    Response.LegacyBucketId=1155497181753124934
    Response.type=4
    Sig[0].Name=Package Full Name
    Sig[0].Value=58570xxx.xxxSchoolManagement_1.1.13.0_x64__mc7r3s9jbx72r
    Sig[1].Name=Application Name
    Sig[1].Value=praid:App
    Sig[2].Name=Application Version
    Sig[2].Value=1.0.0.0
    Sig[3].Name=Application Timestamp
    Sig[3].Value=5a6c8ce3
    Sig[4].Name=Fault Module Name
    Sig[4].Value=combase.dll
    Sig[5].Name=Fault Module Version
    Sig[5].Value=10.0.16299.15
    Sig[6].Name=Fault Module Timestamp
    Sig[6].Value=3db461b4
    Sig[7].Name=Exception Code
    Sig[7].Value=80070002
    Sig[8].Name=Exception Offset
    Sig[8].Value=00000000000a50e6
    DynamicSig[1].Name=OS Version
    DynamicSig[1].Value=10.0.16299.2.0.0.256.48
    DynamicSig[2].Name=Locale ID
    DynamicSig[2].Value=1033
    DynamicSig[22].Name=Additional Information 1
    DynamicSig[22].Value=297a
    DynamicSig[23].Name=Additional Information 2
    DynamicSig[23].Value=297aa6212209f4190b0891ddb087ca2b
    DynamicSig[24].Name=Additional Information 3
    DynamicSig[24].Value=b4dd
    DynamicSig[25].Name=Additional Information 4
    DynamicSig[25].Value=b4dd8de3348cb48fe3a346be975e90b5
    UI[2]=C:\Program Files\WindowsApps\58570xxx.xxxSchoolManagement_1.1.13.0_x64__mc7r3s9jbx72r\xxx.UWP.exe
    LoadedModule[0]=C:\Program Files\WindowsApps\58570xxx.xxxSchoolManagement_1.1.13.0_x64__mc7r3s9jbx72r\xxx.UWP.exe
    LoadedModule[1]=C:\WINDOWS\SYSTEM32\ntdll.dll
    LoadedModule[2]=C:\WINDOWS\SYSTEM32\MSCOREE.DLL
    LoadedModule[3]=C:\WINDOWS\System32\KERNEL32.dll
    LoadedModule[4]=C:\WINDOWS\System32\KERNELBASE.dll
    LoadedModule[5]=C:\WINDOWS\System32\ADVAPI32.dll
    LoadedModule[6]=C:\WINDOWS\System32\msvcrt.dll
    LoadedModule[7]=C:\WINDOWS\System32\sechost.dll
    LoadedModule[8]=C:\WINDOWS\System32\RPCRT4.dll
    LoadedModule[9]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll
    LoadedModule[10]=C:\WINDOWS\System32\SHLWAPI.dll
    LoadedModule[11]=C:\WINDOWS\System32\combase.dll
    LoadedModule[12]=C:\WINDOWS\System32\ucrtbase.dll
    LoadedModule[13]=C:\WINDOWS\System32\bcryptPrimitives.dll
    LoadedModule[14]=C:\WINDOWS\System32\GDI32.dll
    LoadedModule[15]=C:\WINDOWS\System32\gdi32full.dll
    LoadedModule[16]=C:\WINDOWS\System32\msvcp_win.dll
    LoadedModule[17]=C:\WINDOWS\System32\USER32.dll
    LoadedModule[18]=C:\WINDOWS\System32\win32u.dll
    LoadedModule[19]=C:\WINDOWS\System32\IMM32.DLL
    LoadedModule[20]=C:\WINDOWS\System32\kernel.appcore.dll
    LoadedModule[21]=C:\WINDOWS\SYSTEM32\VERSION.dll
    LoadedModule[22]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
    LoadedModule[23]=C:\WINDOWS\SYSTEM32\MSVCR120_CLR0400.dll
    LoadedModule[24]=C:\WINDOWS\System32\OLEAUT32.dll
    LoadedModule[25]=C:\WINDOWS\SYSTEM32\bcrypt.dll
    LoadedModule[26]=C:\WINDOWS\System32\ole32.dll
    LoadedModule[27]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\mscorlib\8a9c7ab28dfd1baa08e20283667c4c7e\mscorlib.ni.dll
    LoadedModule[28]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Runtime\5b83a83037894e5187302cdde7e40b7a\System.Runtime.ni.dll
    LoadedModule[29]=C:\Windows\System32\twinapi.appcore.dll
    LoadedModule[30]=C:\WINDOWS\SYSTEM32\RMCLIENT.dll
    LoadedModule[31]=C:\Windows\System32\WinTypes.dll
    LoadedModule[32]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll
    LoadedModule[33]=C:\Windows\System32\Windows.UI.Xaml.dll
    LoadedModule[34]=C:\WINDOWS\System32\shcore.dll
    LoadedModule[35]=C:\WINDOWS\SYSTEM32\UIAutomationCore.DLL
    LoadedModule[36]=C:\WINDOWS\SYSTEM32\CoreMessaging.dll
    LoadedModule[37]=C:\WINDOWS\SYSTEM32\Bcp47Langs.dll
    LoadedModule[38]=C:\WINDOWS\SYSTEM32\iertutil.dll
    LoadedModule[39]=C:\WINDOWS\SYSTEM32\dcomp.dll
    LoadedModule[40]=C:\Windows\System32\Windows.UI.dll
    LoadedModule[41]=C:\WINDOWS\SYSTEM32\TextInputFramework.dll
    LoadedModule[42]=C:\WINDOWS\SYSTEM32\CoreUIComponents.dll
    LoadedModule[43]=C:\WINDOWS\SYSTEM32\ntmarta.dll
    LoadedModule[44]=C:\Windows\System32\OneCoreUAPCommonProxyStub.dll
    LoadedModule[45]=C:\WINDOWS\system32\uxtheme.dll
    LoadedModule[46]=C:\WINDOWS\SYSTEM32\dwmapi.dll
    LoadedModule[47]=C:\WINDOWS\SYSTEM32\urlmon.dll
    LoadedModule[48]=C:\WINDOWS\System32\windows.storage.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\CRYPTBASE.DLL
    LoadedModule[53]=C:\WINDOWS\SYSTEM32\dxgi.dll
    LoadedModule[54]=C:\WINDOWS\SYSTEM32\d3d11.dll
    LoadedModule[55]=C:\WINDOWS\SYSTEM32\igd10umd64.dll
    LoadedModule[56]=C:\Windows\System32\MrmCoreR.dll
    LoadedModule[57]=C:\WINDOWS\SYSTEM32\d2d1.dll
    LoadedModule[58]=C:\WINDOWS\System32\CRYPT32.dll
    LoadedModule[59]=C:\WINDOWS\System32\MSASN1.dll
    LoadedModule[60]=C:\WINDOWS\SYSTEM32\dwrite.dll
    LoadedModule[61]=C:\WINDOWS\System32\msctf.dll
    LoadedModule[62]=C:\Windows\System32\UiaManager.dll
    LoadedModule[63]=C:\WINDOWS\SYSTEM32\windows.ui.core.textinput.dll
    LoadedModule[64]=C:\Windows\System32\Windows.UI.Immersive.dll
    LoadedModule[65]=C:\WINDOWS\system32\DataExchange.dll
    LoadedModule[66]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Runtc259d85b#\9cc3f921ec1d5b9cb4d51a096a9d1895\System.Runtime.WindowsRuntime.UI.Xaml.ni.dll
    LoadedModule[67]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Reflection\6e57ec30831b2fc27720c70206bdff93\System.Reflection.ni.dll
    LoadedModule[68]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Thre7bb2aad0#\5350c667cac18a0b4283cfdfab121c1a\System.Threading.Tasks.ni.dll
    LoadedModule[69]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.IO\d9c5018ab4141df1a7213765d7af7834\System.IO.ni.dll
    LoadedModule[70]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System\308a31a8a7d6c1bbc98a29187d026452\System.ni.dll
    LoadedModule[71]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Collections\88ad93f70609c225740012274e32ddcd\System.Collections.ni.dll
    LoadedModule[72]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Linqbd02a4fb#\f4f399e64b49b5d38b2f86d98f26d855\System.Linq.Expressions.ni.dll
    LoadedModule[73]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Core\591cd3b387a9fb88ead436368131effc\System.Core.ni.dll
    LoadedModule[74]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Linq\6666d320b8485ef56bc87d79f9772205\System.Linq.ni.dll
    LoadedModule[75]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Runt1e58aa76#\c123e508bdbe0ee8f7197cb41ffba4ff\System.Runtime.Extensions.ni.dll
    LoadedModule[76]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Threading\a57b5b299d6174ed9815a08c01305d10\System.Threading.ni.dll
    LoadedModule[77]=C:\Windows\System32\Windows.UI.Xaml.Phone.dll
    LoadedModule[78]=C:\Windows\System32\Windows.Graphics.dll
    LoadedModule[79]=C:\WINDOWS\SYSTEM32\rometadata.dll
    LoadedModule[80]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Refl9c203d4d#\f1871e6fbf898dc5c9b312d919b6cf36\System.Reflection.Extensions.ni.dll
    LoadedModule[81]=C:\WINDOWS\SYSTEM32\PROPSYS.dll
    LoadedModule[82]=C:\Windows\System32\Windows.ApplicationModel.dll
    LoadedModule[83]=C:\WINDOWS\SYSTEM32\CRYPTSP.dll
    LoadedModule[84]=C:\WINDOWS\system32\rsaenh.dll
    LoadedModule[85]=C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Resoc6338000#\37eeeed6405ec103009bd8e6cd6fa4fb\System.Resources.ResourceManager.ni.dll
    LoadedModule[86]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\diasymreader.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=192
    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=48
    OsInfo[9].Key=domain
    OsInfo[9].Value=0
    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=19095
    OsInfo[15].Key=osinsty
    OsInfo[15].Value=1
    OsInfo[16].Key=iever
    OsInfo[16].Value=11.192.16299.0-11.0.50
    OsInfo[17].Key=portos
    OsInfo[17].Value=0
    OsInfo[18].Key=ram
    OsInfo[18].Value=8102
    OsInfo[19].Key=svolsz
    OsInfo[19].Value=230
    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.192.amd64fre.rs3_release.170928-1534
    OsInfo[30].Key=buildflightid
    OsInfo[30].Value=FE2BA97F-43C5-48BE-97E6-ACB9DE47C182.1
    OsInfo[31].Key=edition
    OsInfo[31].Value=Professional
    OsInfo[32].Key=ring
    OsInfo[32].Value=Retail
    OsInfo[33].Key=containerid
    OsInfo[34].Key=containertype
    OsInfo[35].Key=edu
    OsInfo[35].Value=0
    FriendlyEventName=Stopped working
    ConsentKey=MoAppCrash
    AppName=xxx School Management
    AppPath=C:\Program Files\WindowsApps\58570xxx.xxxSchoolManagement_1.1.13.0_x64__mc7r3s9jbx72r\xxx.UWP.exe
    NsPartner=windows
    NsGroup=windows8
    ApplicationIdentity=8BD7C3088983DC7A3C21E5D2EF648C27
    MetadataHash=-751877396

    How do I find reason from above information? i am out of idea how to fix it.

    Sunday, January 28, 2018 12:16 AM

All replies

  • Hi Brighthui,

    For Store submission, you do not need to test your package like that. What you need to do is to test your .appx for sideloading use on device you want to support. And also you need to make sure your Store package could pass Windows App Cert Kit test.

    After completing the jobs above, you could upload your package to Dev Center. If it passes Store certification successfully, it will be compiled again in cloud side and what's eventually installed on user's device is the same .appx file as your sideloading one not the .appxupload. So you just need to make sure it could work well when you sideload the .appx on device.

    Besides, you could monitor your application's performance on customer's device in Health report in Dev Center, which will provide specific information for your debugging use.

    If it helps, you might mark it as answer so that other community faced with same issue could find it more conveniently.

    Thank you.

    Best regards,

    Zhendong Wu


    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.

    Monday, January 29, 2018 6:27 AM