App crash at startup #16127
Unanswered
LaurentInSeattle
asked this question in
Q&A
Replies: 1 comment
-
Does it consistently reproduce? If so, you may be able to subscribe to Relevant code: Avalonia/src/Avalonia.Base/Threading/Dispatcher.MainLoop.cs Lines 35 to 43 in b1e96ad |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
My little test app that I published yesterday and was working ok now silently crashes at startup.
I have been able to recover the trace below in the event log.
Any idea about what's going on ?
Thanks!
This is on Windows 10 fully patched and Visual Studio 22 latest 17.10.3 and the latest official Avalonia nugets 11.0.11
Application: _.Desktop.exe CoreCLR Version: 8.0.624.26715 .NET Version: 8.0.6 Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException: Cannot perform requested operation because the Dispatcher shut down
at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, Action`1 lifetimeBuilder)
at .Desktop.Program.Main(String[] args) in C:\Users*\source\repos*_.Desktop\Program.cs:line 10
Beta Was this translation helpful? Give feedback.
All reactions