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

Arduino IDE 2.3.3 freezes and goes offline on macOS #2537

Open
3 tasks done
leonardocavagnis opened this issue Oct 22, 2024 · 1 comment · May be fixed by #2555
Open
3 tasks done

Arduino IDE 2.3.3 freezes and goes offline on macOS #2537

leonardocavagnis opened this issue Oct 22, 2024 · 1 comment · May be fixed by #2555
Labels
type: imperfection Perceived defect in any part of project

Comments

@leonardocavagnis
Copy link
Member

leonardocavagnis commented Oct 22, 2024

Describe the problem

I'm experiencing an issue with Arduino IDE version 2.3.3 running on macOS Sonoma 14.6.1 on a MacBook Pro 2023 with an Apple M2 Pro chip. After launching the IDE, it enters "offline mode" within a few seconds and becomes completely unresponsive. I'm unable to compile or upload sketches, and the IDE does not respond to any commands. The only way to close it is by forcing quit.

The development console shows the following error: net:ERR_CONNECTION REFUSED (screenshot attached).

I am also attaching the logs generated when launching the IDE from the command line.

Image

To reproduce

  1. Launch Arduino IDE 2.3.3 on macOS Sonoma 14.6.1.
  2. Wait a few seconds until the IDE reports being in "offline mode."
  3. The IDE becomes unresponsive and needs to be force quit.

Expected behavior

The IDE should remain in "online mode" and allow the user to compile and upload sketches without freezing.

Arduino IDE version

2.3.3

Operating system

macOS

Operating system version

Sonoma 14.6.1 and Sequoia 15.1

Additional context

I attempted reinstalling the IDE following this guide, but the issue persists.

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
@leonardocavagnis leonardocavagnis added the type: imperfection Perceived defect in any part of project label Oct 22, 2024
@leonardocavagnis leonardocavagnis changed the title Arduino IDE 2.3.3 freezes and goes offline on macOS Sonoma 14.6.1 Arduino IDE 2.3.3 freezes and goes offline on macOS Nov 6, 2024
@leonardocavagnis
Copy link
Member Author

Workaround
Issue seems to be caused by the presence of a custom folder named other within the Arduino directory.
The structure of my directory at /Users/{username}/Documents/Arduino was as follows:

  • hardware
  • sketches
  • libraries
  • other: contains a large number of diverse files, including libraries, core files, documents, Python source files, and more. (approx. 35GB)

By removing the other folder, the issue does not occur. However, when I re-add the folder, the problem consistently reappears.

giacomocusinato added a commit that referenced this issue Nov 8, 2024
Resolves #2537

Fix memory leak issue caused by inflight dependency, see isaacs/node-glob#435
giacomocusinato added a commit that referenced this issue Nov 8, 2024
Resolves #2537

Fix memory leak issue caused by inflight dependency, see isaacs/node-glob#435
giacomocusinato added a commit that referenced this issue Nov 11, 2024
Resolves #2537

Fix memory leak issue caused by inflight dependency, see isaacs/node-glob#435
giacomocusinato added a commit that referenced this issue Nov 11, 2024
Resolves #2537

Fix memory leak issue caused by inflight dependency, see isaacs/node-glob#435
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant