Skip to content

tsserver.js hangs until typingsinstaller.js process is killed #18255

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
minestarks opened this issue Sep 5, 2017 · 0 comments
Closed

tsserver.js hangs until typingsinstaller.js process is killed #18255

minestarks opened this issue Sep 5, 2017 · 0 comments
Assignees
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@minestarks
Copy link
Member

TypeScript Version: Tried and reproduced on 2.2, 2.3, and current

Visual Studio Version: Tried and reproduced on 15.2 and 15.3. Bug won't repro with the below steps on 15.4 because of a different fix in multi-project scenario.

  1. Open a Visual Studio solution with a ton of (100?) C# projects.

    • This step is necessary because it causes tsserver to create a ton of empty projects with just lib.d.ts. This is the part that was mitigated in 15.4.
  2. Open one JavaScript file.

  3. Observe VS and observe node.exe activity in Task Manager.

Outcome:

  • After a little bit of doing work, the two Node processes running tsserver and typingsinstaller both hang (no CPU activity).
  • As a result of the hang it looks like the JS/TS language service quit working in VS.
  • tsserver appears to be blocked waiting on typingsinstaller, since explicitly killing the typingsinstaller Node process will let tsserver make progress again. The language service in VS will now start working.
@mhegazy mhegazy assigned ghost Sep 5, 2017
@mhegazy mhegazy added the Bug A bug in TypeScript label Sep 5, 2017
@mhegazy mhegazy added this to the TypeScript 2.6 milestone Sep 5, 2017
@mhegazy mhegazy assigned amcasey and unassigned ghost Sep 6, 2017
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Sep 7, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

3 participants