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

The IDE "forgets" avrdude processes, lets them hang and consume resources #2527

Closed
3 tasks done
AndKe opened this issue Oct 8, 2024 · 1 comment
Closed
3 tasks done
Assignees
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@AndKe
Copy link

AndKe commented Oct 8, 2024

Describe the problem

This is the task manager after programming 30x Leonardo.
Screenshot from 2024-10-08 16-40-11

And 5% CPU load on this computer is not insignificant. (basically one core per dead avrdude process)
The load is reduced by exiting ArduinoIDE:

Screenshot from 2024-10-08 16-40-27

This is an example of the failure that leaves one zombie thread:
(bootloader not trigged, I clicked "cancel")

Screenshot from 2024-10-08 18-58-06

To reproduce

Flash a bunch of Leonardo's - quite possibly one , maybe reconnect every time to simulate many.

Expected behavior

I'd expect that after flashing, successful or not the process started is terminated.

Arduino IDE version

2.3.3

Operating system

Linux

Operating system version

Ubuntu 24.04

Additional context

Additional info, having the flashing fail and never commence can also happen when reflashing the same chip.
The Serial (USB) interface is in use for terminal, but not transmitting data.
I've observed that the bootloader is not always trigged correctly, and pressing Cancel, and retrying can help.
All the hung processes makes next /dev/ttyACMx to enumerate with higher and higher number.

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@AndKe AndKe added the type: imperfection Perceived defect in any part of project label Oct 8, 2024
@per1234 per1234 self-assigned this Oct 9, 2024
@per1234
Copy link
Contributor

per1234 commented Oct 9, 2024

Hi @AndKe. Thanks for taking the time to submit an issue.

I see we have another report about this at #2517.

It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

If you end up with additional information to share, feel free to comment in the other thread.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 9, 2024
@per1234 per1234 added conclusion: duplicate Has already been submitted topic: code Related to content of the project itself labels Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants