Problem latest update IDE

After last update of IDE, IDE crashes constantly.

May we assume that the latest update results in IDE 2.0.4?

When does it crash? At startup? When you modify code? When you try to compile? When you try to upload? When ...

Which operating system are you using?

I often combine programs and then have at least 2 open. If I then compile and then often look at the other one, everything is stuck and I have to close (hard).

With regards Ton

Hi @digiton1. I'm going to ask you to post some additional information that might help us to identify the problem.

Please do this:

  1. Start Windows "File Explorer".
  2. Open the Arduino IDE installation folder.
    (usually C:\Program Files\Arduino IDE or C:\Users\<username>\AppData\Local\Programs\Arduino IDE).
  3. In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
  4. From the context menu, click "Open PowerShell window here".
    Windows PowerShell will now open with the current directory set to the Arduino IDE installation folder.
  5. Type the following command:
    & ".\Arduino IDE"
    
  6. Press the Enter key.
    Debug output should now be printed to the PowerShell window as Arduino IDE starts.
  7. Wait for Arduino IDE to finish starting.
  8. Perform whatever actions are required to "crash" Arduino IDE.
  9. Switch back to the PowerShell window.
  10. Right click on the title bar of the PowerShell window.
    This will open a context menu.
  11. Select Edit > Select All from the context menu.
    This will select all the text in the PowerShell window.
  12. Press Ctrl+C.
    This will copy the contents of the PowerShell window to the clipboard.
  13. Open a forum reply here by clicking the Reply button.
  14. Click the </> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block
  15. Press Ctrl+V.
    This will paste the output into the code block.
  16. Move the cursor outside of the code block markup before you add any additional text to your reply.
  17. Click the Reply button to post the output.

Please let me know if you have any questions or problems while following those instructions.

I haven't started the investigation yet because I suddenly get the following notifications with my esp-wroom. Can no longer use for the esp

'/esptool.exe' is not recognized as an internal or external command,
operable program or batch file.

1 Like

The same problem after update from Arduino IDE 2.03 to 2.04.
Old version 1.8 working still without problem.

I'm going to ask you to post some additional information that might help us to identify the problem.


:red_exclamation_mark: NOTE: These instructions will not solve the problem. They are only intended to gather more information which might provide a clue that eventually leads to a solution.


Please do this:

  1. Select File > Preferences from the Arduino IDE menus.
  2. Check the box next to "Show verbose output during: ☐ compilation".
  3. Click the OK button.
  4. Select Sketch > Verify/Compile from the Arduino IDE menus.
  5. Wait for the compilation to fail.
  6. You will see a "Compilation error: ..." notification at the bottom right corner of the Arduino IDE window. Click the COPY ERROR MESSAGES button on that notification.
  7. Open a forum reply here by clicking the Reply button.
  8. Click the </> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
  9. Press Ctrl+V.
    This will paste the compilation output into the code block.
  10. Move the cursor outside of the code tags before you add any additional text to your reply.
  11. Click the Reply button to post the output.

In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here:

  1. Open any text editor program.
  2. Paste the copied output into the text editor.
  3. Save the file in .txt format.
  4. Open a forum reply here by clicking the Reply button.
  5. Click the "Upload" icon (image) on the post composer toolbar:
  6. Select the .txt file you saved.
  7. Click the Open button.
  8. Click the Reply button to publish the post.

Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.

I did some investigation and found this error was caused by a change made to the ESP32 package index file:

You can restore the platform to a functional state by uninstalling and then reinstalling it:

  1. Select Tools > Board > Boards Manager from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.
  2. Scroll down through the list of boards platforms until you find the "esp32 by Espressif Systems" entry.
  3. Hover the mouse pointer over the "INSTALLED" label on the "esp32 by Espressif Systems" entry. You will now see it change to an "UNINSTALL" button.
  4. Click the "UNINSTALL" button.
  5. A confirmation dialog will appear. Click the "YES" button.
  6. Wait for the uninstallation to finish.
  7. Select "2.0.7" from the dropdown version menu at the bottom of the "esp32 by Espressif Systems" entry.
  8. Click the "INSTALL" button at the bottom of the "esp32 by Espressif Systems" entry.
  9. Wait for the installation to finish.

In a other form was the sulution to rename the Arduino15 en install new IDE. Everything is working now. Have only sometimes install some boards.

Apart from the fact that the new version 2.04 often crashes, I often get a "Compilation error: exit status 1" error when uploading. programs that have previously worked perfectly give without any changes. In half of the cases everything works again when I empty the TEMP folder, but not always. Sometimes after restarting the PC, more in half of the cases I keep getting an error.

How can I fix the "Compilation error: exit status 1" so that my programs work again.

Is that the full error message ?

1 Like

The annoying thing is that this is not constant so I can't figure out exactly where the problem is. With the previous versions I never had this problem and with my PC has not changed. As soon as I get the notifications again, I will try to forward them.

A new problem has come with this version. After trying to make some code's crashed IDE and I constantly get an A fatal esptool.py error occurred: Failed to connect to ESP8266: Timed out waiting for packet header. The only solution is to delete IDE and re-mute. Reinstall IDE and restore folder

Did that fix the problem for you?

Yes, after this everything is working again.

That's good news. I'm glad it is working now.

Regards,
Per

After few days making projects. Same problem ( and sollution)

A fatal esptool.py error occurred: Write timeout

Gets a bit simple from this latest version. Every few days I can reinstall everything. Constant error:
A fatal esptool.py error occurred: Write timeout

9 posts were split to a new topic: Error: control reaches end of non-void function [-Werror=return-type]

A post was merged into an existing topic: Error: control reaches end of non-void function [-Werror=return-type]