We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Uwp crash immediately after installation of UWP package, release mode

Usually when i have this problem i have missed some render innitializations.
But in this case i check and i have not missed any render
You can find all information about version in the image attached.

Attachment: Packages_1e662415.zip

3 Replies

HM Hemalatha Marikumar Syncfusion Team December 5, 2019 09:46 AM UTC

Hi Alberto, 
  
Greetings from Syncfusion.  
  
We have analyzed the reported issue with preparing the simple sample based on the provided details, it works fine at our end in release mode 
  
Please download the tested sample from the below location: 
 
  
Please check it once after deleting the bin and obj files from your application folder. Then clean and rebuild the application to ensure whether the issue still exists. 
  
And also, please provide the below details to check it further. 
 
·       Share whether you have faced this issue only after installing the Syncfusion.Buttons.Xamarin Nuget or with other controls (Syncfusion controls) 
·       Share the complete crash log. 
·       Modify the attached sample to reproduce the reported issue. 
 
Regards, 
Hemalatha M. 



AL Alberto December 5, 2019 11:30 AM UTC

Thi is the exception

System.Runtime.InteropServices.COMException: 'Interfaccia non registrata. (Exception from HRESULT: 0x80040154)'

and 

Eccezione non gestita in 0x05BDB264 (Windows.UI.Xaml.dll) in iMioRappEntry.UWP.exe: 0xC000027B: Si è verificata un'eccezione interna all'applicazione (parametri: 0x06B4EFA8, 0x00000004).

on 

provider = new global::Microsoft.UI.Xaml.XamlTypeInfo.XamlControlsXamlMetaDataProvider() as global::Windows.UI.Xaml.Markup.IXamlMetadataProvider;

in this file XamlTypeInfo.g

This is the stack trace

  System.Private.Interop.dll!System.Runtime.InteropServices.ExternalInterop.RoGetActivationFactory(string className, ref System.Guid iid, out System.IntPtr ppv) Riga 187 C#
  System.Private.Interop.dll!System.Runtime.InteropServices.FactoryCache.GetActivationFactoryInternal(string typeName, System.RuntimeTypeHandle factoryItf, System.Runtime.InteropServices.ContextEntry currentContext) Riga 3963 C#
  System.Private.Interop.dll!System.Runtime.InteropServices.FactoryCache.GetActivationFactory(string className, System.RuntimeTypeHandle factoryIntf, bool skipCache) Riga 4009 C#
  System.Private.Interop.dll!System.Runtime.InteropServices.McgMarshal.GetActivationFactory(string className, System.RuntimeTypeHandle factoryIntf) Riga 662 C#
  System.Private.Interop.dll!System.Runtime.InteropServices.McgMarshal.ActivateInstance(string typeName) Riga 1229 C#
  iMioRappEntry.UWP.McgInterop.dll!Microsoft.UI.Xaml.XamlTypeInfo.XamlControlsXamlMetaDataProvider.XamlControlsXamlMetaDataProvider() C#
> iMioRappEntry.UWP.exe!iMioRappEntry.UWP.iMioRappEntry_UWP_XamlTypeInfo.XamlTypeInfoProvider.OtherProviders.get() Riga 652 C#
  iMioRappEntry.UWP.exe!iMioRappEntry.UWP.iMioRappEntry_UWP_XamlTypeInfo.XamlTypeInfoProvider.CheckOtherMetadataProvidersForName(string typeName) Riga 688 C#
  iMioRappEntry.UWP.exe!iMioRappEntry.UWP.iMioRappEntry_UWP_XamlTypeInfo.XamlTypeInfoProvider.GetXamlTypeByName(string typeName) Riga 172 C#
  iMioRappEntry.UWP.exe!iMioRappEntry.UWP.App.GetXamlType(string fullName) Riga 49 C#
  iMioRappEntry.UWP.McgInterop.dll!__Interop.ReverseComStubs.Stub_8<System.__Canon>(object __this, System.Runtime.InteropServices.HSTRING unsafe_desiredName, void** unsafe_operation__retval, System.IntPtr __methodPtr) C#
  iMioRappEntry.UWP.McgInterop.dll!Windows.UI.Xaml.Markup.IXamlMetadataProvider__Impl.Vtbl.GetXamlTypeByFullName__n(System.IntPtr pComThis, System.Runtime.InteropServices.HSTRING unsafe_fullName, void** unsafe_result__retval) C#
  [Transizione da nativo a gestito]
  [Transizione da gestito a nativo]
  iMioRappEntry.UWP.McgInterop.dll!__Interop.ComCallHelpers.Call(System.__ComObject __this, System.RuntimeTypeHandle __typeHnd, int __targetIndex, void* arg0) C#
  iMioRappEntry.UWP.McgInterop.dll!__Interop.ForwardComStubs.Stub_50<System.__Canon>(System.__ComObject __this, System.Uri value, int __targetIndex) C#
  Xamarin.Forms.Platform.UAP.dll!Xamarin.Forms.Forms.GetTabletResources() Riga 97 C#
  Xamarin.Forms.Platform.UAP.dll!Xamarin.Forms.Forms.Init(Windows.ApplicationModel.Activation.IActivatedEventArgs launchActivatedEventArgs, System.Collections.Generic.IEnumerable<System.Reflection.Assembly> rendererAssemblies) Riga 35 C#
  iMioRappEntry.UWP.exe!iMioRappEntry.UWP.App.OnLaunched(Windows.ApplicationModel.Activation.LaunchActivatedEventArgs e) Riga 81 C#
  iMioRappEntry.UWP.McgInterop.dll!Windows.UI.Xaml.Application.Windows.UI.Xaml.IApplicationOverrides.OnLaunched(Windows.ApplicationModel.Activation.LaunchActivatedEventArgs args) C#
  iMioRappEntry.UWP.McgInterop.dll!__Interop.ReverseComStubs.Stub_5<System.__Canon>(object __this, void* unsafe_e, System.IntPtr __methodPtr) C#
  iMioRappEntry.UWP.McgInterop.dll!Windows.UI.Xaml.IApplicationOverrides__Impl.Vtbl.OnLaunched__n(System.IntPtr pComThis, void* unsafe_args) C#


I have added :

Syncfusion.Xamarin.SfComboBox
Syncfusion.Xamarin.Buttons
Syncfusion.Xamarin.SfNumericTextBox
Syncfusion.Xamarin.SfBadgeView





HM Hemalatha Marikumar Syncfusion Team December 6, 2019 09:50 AM UTC

Hi Alberto, 
 
Thanks for sharing the control list and complete stack trace. 
  
We have analyzed the provided stack trace, and the crash is not related to our Syncfusion controls. It occurs may be some mismatched compile version of your VS and application. Please check the compiler options and your environment. For more reference, please refer the below link 
 
 
 
Note: You are using 64 bit machine but compiling the application with x86 compiler option then it will be reproduced this issue.  
  
Please let us know if you have any other queries. 
 
Regards, 
Hemalatha M. 
 


Loader.
Live Chat Icon For mobile
Up arrow icon