Skip to content

Language server "Building sketch..." spinner seems to hang #709

Closed
@sterretjeToo

Description

@sterretjeToo

I did try to find this but did not see it.

IDE 1.8.5 is installed as the main IDE, RC2 is installed as a zip. Using Windows 10 home, fully patched.

  1. I left the IDE open last night with a sketch for an Uno Wifi Rev2; this sketch was not saved.
  2. This morning I copied a (non Uno Wifi Rev2) sketch from the forum and pasted it over the existing sketch; the new sketch is 242 lines and contains a error.
  3. I pressed <ctrl>T; this might not be relevant.
  4. I noticed that the status bar showed "building sketch".
  5. More than 30 minutes later, the message was still there; I noticed one message about indexing but that disappeared again.
  6. Closed the IDE and restarted it; empty sketch (no problem for me)
  7. Pasted the forum sketch again
  8. "Building sketch" shows again in the status bar, this time it does not hang and the message inthe status bar disappears.

I would expect the build process of the sketch to complete.

This might just have been a glitch; reported as an observation.

Activity

changed the title [-]RC2 Building sketch hangs[/-] [+]RC2 Building sketch seems to hang[/+] on Dec 21, 2021
per1234

per1234 commented on Dec 21, 2021

@per1234
Contributor

There is a related report about the "indexing" stage of the language server sketch processing operation hanging:
#431
I have periodically encountered that one. I don't remember observing a hang at "building" though, so I think it is worth tracking it as a separate issue for now.

ubidefeo

ubidefeo commented on Apr 21, 2022

@ubidefeo

@cmaglie
this is certainly due to the LS being killed by the IDE after a long time.

@sterretjeToo
we are still looking for the source of the issue, but essentially a kill command is sent tot he language server at unpredictable times.
The criticality of this bug has been upped.

changed the title [-]RC2 Building sketch seems to hang[/-] [+]Language server "Building sketch..." spinner seems to hang[/+] on May 16, 2022
fstasi

fstasi commented on Jun 8, 2022

@fstasi
Contributor

this should be fixed with IDE rc7

per1234

per1234 commented on Jun 9, 2022

@per1234
Contributor

@fstasi I looked at the 2.0.0-rc7 release PR (#1027) and it doesn't appear there is anything in it that could possibly affect this behavior (it only updates the version metadata).

Was it #1021 that is expected to fix this issue?

qwertychouskie

qwertychouskie commented on Jun 17, 2022

@qwertychouskie

This could also be related to #714

11 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @cmaglie@fstasi@ubidefeo@per1234@qwertychouskie

      Issue actions

        Language server "Building sketch..." spinner seems to hang · Issue #709 · arduino/arduino-ide