I use an M1max, system 12.7.4, after updating the IDE unfortunately freezes and nothing works anymore. Before that everything worked perfectly! How can I go back to the last version? I can't find a download. Here is an excerpt from the output via the terminal:
*... 2024-10-01T08:25:32.890Z discovery-log INFO start resolved watching
2024-10-01T08:25:32.914Z daemon INFO time="2024-10-01T10:25:32+02:00" level=error msg="Waiting discovery process termination: signal: abort trap" discovery=rp2040
2024-10-01T08:25:32.914Z daemon INFO panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x8 pc=0x100d1f374] ... *
I have seen similar errors, they are usually fixed by deleting some files but I don't know enough about it to advise. Maybe one of the install experts will chime in.
I know you were already able to work around the problem by switching to using Arduino IDE 2.3.2, but I wanted to add a note here that the Arduino developers have already prepared a fix for the bug of Arduino IDE freezing if a pluggable discovery tool crashes:
So hopefully at least the next version of Arduino IDE won't have this issue.
Hi @IoT_hobbyist. It was found that Arduino IDE 2.3.3 has a bug that causes index downloads and installation/updates of boards platforms libraries to hang when Serial Monitor is open.
If you encounter these problems again, the workaround is to close the Serial Monitor view until the process is finished. After that, you can open Serial Monitor again.
The Serial Monitor view is a tab in the bottom panel of the Arduino IDE window, so you might not even notice when you have it open. You can close it by clicking the X icon on the tab:
The Arduino developers are tracking the bug here:
If you have a GitHub account, you can subscribe to that thread to get notifications of any new developments related to this subject:
Please only comment on the GitHub issue thread if you have new technical information that will assist with the resolution. General discussion and support requests are always welcome here on the Arduino Forum.