Closed as not planned
Description
Describe the problem
My sketch is shared by another computer on a LAN and can be viewed in Windows File Explorer using a UNC path. However, if I double-click the sketch .ino file and try to open it using the Arduino IDE, it will get stuck during the window loading phase. After waiting for a while, a significant memory leak can be observed using Task Manager. Wait a little longer, and the entire Windows system will freeze and crash.
To reproduce
- Create a sketch and share it on the LAN.
- Find the sketch from another computer using Windows File Explorer.
- Double-click the sketch .ino file to open it with Arduino IDE.
- IDE gets stuck forever and finally crash the OS.
Expected behavior
The sketch is normally opened in the IDE and no OS crashes happen.
Arduino IDE version
2.0.3
Operating system
Windows
Operating system version
10 & 11
Additional context
Win11 is more vulnerable to crashes than 10. Memory leak is observable on both versions. For the nightly build Arduino IDE, you can also drag the .ino file on the Arduino executable to reproduce this issue.
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