Closed
Description
System
UVtools v5.0.2 X64
Operative system: Ubuntu 24.04.1 LTS X64
Processor: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
Processor cores: 16
Memory RAM: 20.79 / 125.73 GB
Runtime: linux-x64
Framework: .NET 9.0.0
AvaloniaUI: 11.2.3
OpenCV: 4.9.0
Path: /tmp/.mount_uvtoolV1z0pR/usr/bin/
Executable: /tmp/.mount_uvtoolV1z0pR/usr/bin/UVtools
Printer and Slicer
No response
Description of the bug
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (org.freedesktop.DBus.Error.ServiceUnknown: The name com.canonical.AppMenu.Registrar was not provided by any .service files)
---> Tmds.DBus.Protocol.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name com.canonical.AppMenu.Registrar was not provided by any .service files
at Tmds.DBus.Protocol.DBusConnection.MyValueTaskSource`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at Tmds.DBus.Protocol.DBusConnection.CallMethodAsync(MessageBuffer message)
at Tmds.DBus.Protocol.Connection.CallMethodAsync(MessageBuffer message)
--- End of inner exception stack trace ---
Category: Task
File: 1200prc_0.05mm.encrypted.ctb [Version: 5] [Class: CTBEncryptedFile]
Machine date time: 20/12/2024 14:51:51
UTC date time: 20/12/2024 14:51:51
How to reproduce
I struggle to reproduce it, so suspect it may be some sort of a race. When I got this exception I had just reloaded a file and went straight into "Edit print parameters". It works fine now, but on DBus I can still see calls to com.canonical.AppMenu.Registrar
and errors in response:
method call time=1734709363.187768 sender=:1.302 -> destination=com.canonical.AppMenu.Registrar serial=295 path=/com/canonical/AppMenu/Registrar; interface=com.canonical.AppMenu.Registrar; member=RegisterWindow
uint32 41943155
object path "/net/avaloniaui/dbusmenu/1032ada03730481484f5810ae4363f30"
error time=1734709363.187791 sender=org.freedesktop.DBus -> destination=:1.302 error_name=org.freedesktop.DBus.Error.ServiceUnknown reply_serial=295
string "The name com.canonical.AppMenu.Registrar was not provided by any .service files"
so I'm suspecting that the problem is that for some reason the exception was not caught at that time.
Files
No response