dotnet / dotnet/XAMLStudio

Crash on startup in Release Mode

Open
#33 0 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
C#
Stars
450
Forks
46
PR merge metrics
No merged PRs in 30d

Description

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!+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!+0x135ec90
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.