Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash after CTRL C in terminal #10764

Closed
MarnixCroes opened this issue May 23, 2023 · 3 comments · Fixed by #10963
Closed

crash after CTRL C in terminal #10764

MarnixCroes opened this issue May 23, 2023 · 3 comments · Fixed by #10963
Labels

Comments

@MarnixCroes
Copy link
Contributor

MarnixCroes commented May 23, 2023

cannot always repro

How To Reproduce?

  1. Press CTRL C in terminal

Operating System

Qubes OS 4.1, debian 11 template

Logs / Crash Report

Exception type: System.NullReferenceException

Message: Object reference not set to an instance of an object.

Stack Trace:    at WalletWasabi.Fluent.Desktop.Program.<>c.<TerminateApplication>b__1_0() in WalletWasabi.Fluent.Desktop/Program.cs:line 87
   at Avalonia.Threading.JobRunner.RunJobs(Nullable`1 priority) in /_/src/Avalonia.Base/Threading/JobRunner.cs:line 37
   at Avalonia.X11.X11PlatformThreading.CheckSignaled() in /_/src/Avalonia.X11/X11PlatformThreading.cs:line 164
   at Avalonia.X11.X11PlatformThreading.RunLoop(CancellationToken cancellationToken) in /_/src/Avalonia.X11/X11PlatformThreading.cs:line 244
   at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in /_/src/Avalonia.Base/Threading/Dispatcher.cs:line 65
   at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 120
   at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 209
   at WalletWasabi.Fluent.Desktop.WasabiAppExtensions.<>c__DisplayClass0_0.<RunAsGuiAsync>b__0() in WalletWasabi.Fluent.Desktop/Program.cs:line 174
   at WalletWasabi.Daemon.WasabiApplication.RunAsync(Func`1 afterStarting) in WalletWasabi.Daemon/WasabiAppBuilder.cs:line 67
   at WalletWasabi.Fluent.Desktop.WasabiAppExtensions.RunAsGuiAsync(WasabiApplication app) in WalletWasabi.Fluent.Desktop/Program.cs:line 154
   at WalletWasabi.Fluent.Desktop.Program.Main(String[] args) in WalletWasabi.Fluent.Desktop/Program.cs:line 63

Inner Exception: 

prior to that everything seems to be disposed/stopped succesfully

2023-05-23 11:27:15.710 [8] INFO	Global.DisposeAsync (451)	AllTransactionStore is disposed.
2023-05-23 11:27:15.712 [1] INFO	TerminateService.Terminate (158)	Wasabi stopped gracefully (d696e393-134d-4ec0-85c6-147218730ee0).
2023-05-23 11:27:15.723 [1] INFO	WasabiAppBuilder.BeforeStopping (94)	Wasabi GUI stopped gracefully (d696e393-134d-4ec0-85c6-147218730ee0).
2023-05-23 11:27:15.736 [1] CRITICAL	Program.Main (75)	System.NullReferenceException: Object reference not set to an instance of an object.
   at WalletWasabi.Fluent.Desktop.Program.<>c.<TerminateApplication>b__1_0() in WalletWasabi.Fluent.Desktop/Program.cs:line 87
...

Wasabi Version

master daffb54

@MarnixCroes
Copy link
Contributor Author

exact same just happened on bare debian machine

@MarnixCroes MarnixCroes changed the title crash after CTRL C in terminal on Qubes OS crash after CTRL C in terminal on Debian May 23, 2023
@YohDeadfall
Copy link
Contributor

A small not from one who also experience this. It happens no each time, I would say about there's a 50% chance of terminating successfully.

@MarnixCroes
Copy link
Contributor Author

MarnixCroes commented Jun 30, 2023

just repro´d couple times on win10 machine

Exception type: System.NullReferenceException

Message: Object reference not set to an instance of an object.

Stack Trace:    at WalletWasabi.Fluent.Desktop.Program.<>c.<TerminateApplication>b__1_0() in WalletWasabi.Fluent.Desktop\Program.cs:line 87
   at Avalonia.Threading.JobRunner.RunJobs(Nullable`1 priority) in /_/src/Avalonia.Base/Threading/JobRunner.cs:line 37
   at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) in /_/src/Windows/Avalonia.Win32/Win32Platform.cs:line 283
   at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
   at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken) in /_/src/Windows/Avalonia.Win32/Win32Platform.cs:line 210
   at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in /_/src/Avalonia.Base/Threading/Dispatcher.cs:line 65
   at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 120
   at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 209
   at WalletWasabi.Fluent.Desktop.WasabiAppExtensions.<>c__DisplayClass0_0.<RunAsGuiAsync>b__0() in WalletWasabi.Fluent.Desktop\Program.cs:line 174
   at WalletWasabi.Daemon.WasabiApplication.RunAsync(Func`1 afterStarting) in WalletWasabi.Daemon\WasabiAppBuilder.cs:line 67
   at WalletWasabi.Fluent.Desktop.WasabiAppExtensions.RunAsGuiAsync(WasabiApplication app) in WalletWasabi.Fluent.Desktop\Program.cs:line 154
   at WalletWasabi.Fluent.Desktop.Program.Main(String[] args) in WalletWasabi.Fluent.Desktop\Program.cs:line 63

Inner Exception: 

22d18bc

@MarnixCroes MarnixCroes changed the title crash after CTRL C in terminal on Debian crash after CTRL C in terminal Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants