GUI crash on latest alpha #1019

Open
opened 2026-01-29 15:39:02 +00:00 by claunia · 0 comments
Owner

Originally created by @HeroponRikiBestest on GitHub (Oct 27, 2025).

Version

Development commit

Commit hash

Alpha 6.0 14 dbg build from github

Tested debug version?

  • Yes

Which operating systems have you used?

  • Windows
  • Linux
  • macOS
  • Other

What is the architectural bit size you're using?

  • 32-bit
  • 64-bit
  • Unsure or unknown

What processor are you using?

  • An Intel or AMD
  • An ARM or Apple Silicon
  • Unsure or unknown

Description

I can get Aaru's gui to crash by opening and closing enough other windows. Not sure what the exact cause is.

Exact command line used

./aaru gui

Expected behavior

I expected the app to not crash.

Actual behavior

It crashed.

https://github.com/user-attachments/assets/e0a11d58-0c4a-42e8-b4cd-855972123194

Output of command execution with debug output enabled

./aaru gui
Uploading statistics
Unhandled exception. System.InvalidOperationException: Call from invalid thread
   at Avalonia.Threading.Dispatcher.<VerifyAccess>g__ThrowVerifyAccess|16_0()
   at Avalonia.Input.InputElement..ctor()
   at Avalonia.Controls.DataGridRow..ctor()
   at Avalonia.Controls.DataGrid.GenerateRow(Int32 rowIndex, Int32 slot, Object dataContext)
   at Avalonia.Controls.DataGridDataConnection.NotifyingDataSource_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at Avalonia.Collections.DataGridCollectionView.ProcessAddEvent(Object addedItem, Int32 addIndex)
   at Avalonia.Collections.DataGridCollectionView.ProcessCollectionChanged(NotifyCollectionChangedEventArgs args)
   at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Aaru.Gui.ConsoleHandler.OnWriteHandler(String format, Object[] arg)
   at Aaru.Logging.AaruLogging.WriteLine(String format, Object[] arg)
   at Aaru.Gui.ViewModels.Windows.ImageChecksumViewModel.DoWork()
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__124_1(Object state)
   at System.Threading.QueueUserWorkItemCallback.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()
Aborted                    (core dumped) ./aaru gui
Originally created by @HeroponRikiBestest on GitHub (Oct 27, 2025). ### Version Development commit ### Commit hash Alpha 6.0 14 dbg build from github ### Tested debug version? - [x] Yes ### Which operating systems have you used? - [ ] Windows - [x] Linux - [ ] macOS - [ ] Other ### What is the architectural bit size you're using? - [ ] 32-bit - [x] 64-bit - [ ] Unsure or unknown ### What processor are you using? - [x] An Intel or AMD - [ ] An ARM or Apple Silicon - [ ] Unsure or unknown ### Description I can get Aaru's gui to crash by opening and closing enough other windows. Not sure what the exact cause is. ### Exact command line used `./aaru gui` ### Expected behavior I expected the app to not crash. ### Actual behavior It crashed. https://github.com/user-attachments/assets/e0a11d58-0c4a-42e8-b4cd-855972123194 ### Output of command execution with debug output enabled ```shell ./aaru gui Uploading statistics Unhandled exception. System.InvalidOperationException: Call from invalid thread at Avalonia.Threading.Dispatcher.<VerifyAccess>g__ThrowVerifyAccess|16_0() at Avalonia.Input.InputElement..ctor() at Avalonia.Controls.DataGridRow..ctor() at Avalonia.Controls.DataGrid.GenerateRow(Int32 rowIndex, Int32 slot, Object dataContext) at Avalonia.Controls.DataGridDataConnection.NotifyingDataSource_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e) at Avalonia.Collections.DataGridCollectionView.ProcessAddEvent(Object addedItem, Int32 addIndex) at Avalonia.Collections.DataGridCollectionView.ProcessCollectionChanged(NotifyCollectionChangedEventArgs args) at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e) at Aaru.Gui.ConsoleHandler.OnWriteHandler(String format, Object[] arg) at Aaru.Logging.AaruLogging.WriteLine(String format, Object[] arg) at Aaru.Gui.ViewModels.Windows.ImageChecksumViewModel.DoWork() at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__124_1(Object state) at System.Threading.QueueUserWorkItemCallback.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback() Aborted (core dumped) ./aaru gui ```
claunia added the bugneeds triage labels 2026-01-29 15:39:02 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru-aaru-dps#1019