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] 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) #967

Closed
TheMiNuS opened this issue Dec 21, 2024 · 8 comments
Assignees
Labels
duplicate This issue or pull request already exists external bug A bug caused by a external source

Comments

@TheMiNuS
Copy link

System

UVtools v5.0.2 X64
Operative system: Debian GNU/Linux 12 (bookworm) X64
Processor: Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz
Processor cores: 16
Memory RAM: 17.82 / 62.57 GB
Runtime: linux-x64
Framework: .NET 9.0.0
AvaloniaUI: 11.2.3
OpenCV: 4.9.0

Path:       /tmp/.mount_UVtoolB6d8iu/usr/bin/
Executable: /tmp/.mount_UVtoolB6d8iu/usr/bin/UVtools

Printer and Slicer

  • Printer: Elegoo Saturn 2
  • Slicer: Chitubox

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: UVtools_demo_file.sl1s  [Version: 0] [Class: SL1File]

Machine date time: 12/21/2024 3:20:43 PM
    UTC date time: 12/21/2024 2:20:43 PM

How to reproduce

Open two gerber files (main PCB "Front or Back" and Holes "PTH") and select invert on the main pcb.
Select create one layer per gerber file.
It will either freeze or crash.

Files

GerberFiles.zip

Copy link

This is your first time submitting an issue with UVtools 🥳Please review your issue and ensure that the submit template was followed, the information is complete, and not related to any other open issue. It will be reviewed shortly. Debugging is very important and make the program better. Thanks for contributing and making the software better! 🙌

@TheMiNuS
Copy link
Author

Additional comments, the gerber files are generated with Kicad 8 (version Debian Backport). I run UVTools as an App-image on a Debian 12 Vanilla.

I have instabilities when I put multiple gerber files and start to invert colors individualy.

I can make it work but I need to generate an individual chitubox file and manage colors individually in each of them. It works but it could be nice to have both drills and PCB merged together.

@sn4k3 sn4k3 added duplicate This issue or pull request already exists external bug A bug caused by a external source labels Dec 21, 2024
@sn4k3
Copy link
Owner

sn4k3 commented Dec 21, 2024

Duplicate of: #964

@TheMiNuS
Copy link
Author

So let's close it but if you can also take a look at the color inversion bug when you have multiple gerber files in a PCB exposure with color inversion per gerber file.
I'm not sure it's the same bug as I do have it since a long time. It's not related to this version.

@sn4k3
Copy link
Owner

sn4k3 commented Dec 21, 2024

look at the color inversion bug when you have multiple gerber files

You mean the instability or a not expected behavior of the inversion process?

@TheMiNuS
Copy link
Author

The app freeze.
Open two gerber files from my upload (one front or back and the NTH) and select invert for the pcb front or back.
It will freeze the app.

@sn4k3
Copy link
Owner

sn4k3 commented Dec 21, 2024

Thats related to the bug you open and because UI framework. It affects only linux users, mostly debian based.

@TheMiNuS
Copy link
Author

Ok thx for your support. I hope we will have a fix soon.
I close that one as it's a duplicated bug declaration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists external bug A bug caused by a external source
Projects
None yet
Development

No branches or pull requests

2 participants