Skip to content

Crash on startup in Release Mode #33

@michael-hawker

Description

@michael-hawker

Not able to get under the debugger for some reason, but appears in release mode (at least for x64) that the application just continually hangs on initialization or the welcome page and restarts (there is code to trigger restart in XAML Studio, so that last part is probably a loop now).

According to log:

[AppActivation] Application activated by Launch
AppError[AppCrash]: Sender[XamlStudio.App] | Exception: System.Exception: Unspecified error (Exception from HRESULT: 0x80004005)
   at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21
   at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32, Size, Void*) + 0xce
   at __Interop.ForwardComStubs.Stub_88[TThis](__ComObject, Size, Int32) + 0x47
   at Windows.UI.Xaml.FrameworkElement.MeasureOverride(Size) + 0x1e
   at Windows.UI.Xaml.FrameworkElement.global::Windows.UI.Xaml.IFrameworkElementOverrides.MeasureOverride(Size) + 0xa
   at XamlStudio!<BaseAddress>+0x13d5dd0
   at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21
   at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32) + 0xb8
   at __Interop.ForwardComStubs.Stub_15[TThis](__ComObject, Int32) + 0x24
   at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x3d
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x75
   at System.EventHandler`1.Invoke(Object, TEventArgs) + 0x2e
   at __Interop.Intrinsics.HasThisCall__31[TArg0](Object, IntPtr, Object, TArg0) + 0x36
   at XamlStudio!<BaseAddress>+0x135ec90

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions