Arduino IDE 2.3.6 is now available

3 posts were split to a new topic: Port select grey out bug

A post was split to a new topic: IDE 2.x laborary/student setup

That may mean (99% of cases) that multithreaded application (IDE) is accessing shared resources without any locking mechanism. At least from my
software development experience.

And this sympthom is the same for i386 Win32 GUI application or PowerPC RTEMS Console-only app.

Debug output changes timings so this bug becomes not reproducible.

These bugs are extremely hard to find :(.

You can change library version manually, by editing library.properties file (located in your library folder): change version to the previous one and then Arduino IDE will offer you to update again

I experience freezes since 2.3.4 : either complete freeze (usually when IDE updates something in bulk , like toolchain or libraries) or partial freeze.

By partial I mean that IDE works somehow (you can edit files and switch between them) but file content is not saved, with "Saving Icon" ( a circle) appearing that never goes away. This happens when I right click on a macro to go to definition: after clicking nothing happens (or Loading... appears) and since that moment no source files can be saved. Happens quite often, somehow connected to file operations, but I can't always reproduce it :-/

Thanks for your report @vvb333007. When that occurs, does the window go blank as was described by @Merlin513 and @DaveEvans:

I believe the window being black is due to them having the IDE configured to use a dark theme, and it would instead be blank white if you instead have it configured for a light theme.

The lack of reliable reproducibility makes it challenging to investigate, prepare a fix, and validate the fix, but the "quite often" makes things a bit easier.

Which operating system are you using?

Windows 10, Light Theme, yes it was white blank.

Do you have "debug" builds of Arduino IDE with all verbose output turned on?
I'd like to install one so whenever it freezes I can copy IDE's debug output and send it to you.

I had strong feeling that it is connected to multiple file operations performed in parralel. So even before you posted a workaround I somehow realized that doing things one by one will probably help. And yes it helped.

Arduino IDE always automatically generates log files while it is running, so no special debug build is required.

The next time you encounter this problem, please provide the latest log file from your computer. It might contain information that will help us to identify the problem.


:red_exclamation_mark: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Open a forum reply here by clicking the "Reply" button.
  2. Click the "Upload" icon (Upload icon) on the post composer toolbar:

    The "Open" dialog will open.
  3. In the "Open" dialog, select the latest .log file from this folder (the files are named according to the date):
    C:\Users\<username>\AppData\Roaming\Arduino IDE\
    
    (where <username> is your Windows username)
    Note that the C:\Users\<username>\AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".
  4. Click the "Open" button.
    The dialog will close.
  5. 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 .log file onto the post composer field to attach it.


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

1 Like

A post was split to a new topic: Application content only fills part of IDE window when maximized while loading

2 posts were split to a new topic: IDE hangs on startup

A post was merged into an existing topic: IDE hangs on startup

A post was split to a new topic: 'AI promot input' is expected function

A post was split to a new topic: Title bar unexpectedly switches to "custom" style

A post was split to a new topic: Error on startup: "Activating extension 'Cortex-Debug' failed"

A post was split to a new topic: Inefficiency in approach to uploads

A post was split to a new topic: Typo in "esp32" platform's boards.txt

A post was split to a new topic: I can't download Arduino IDE

A post was split to a new topic: Incorrect sketch preprocessing related to attribute