Skip to content
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

Extension host crashing on latest version (Insiders) #193419

Closed
callumok2004 opened this issue Sep 19, 2023 · 4 comments
Closed

Extension host crashing on latest version (Insiders) #193419

callumok2004 opened this issue Sep 19, 2023 · 4 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@callumok2004
Copy link
Contributor

callumok2004 commented Sep 19, 2023

  • VS Code Version:
Version: 1.83.0-insider (user setup)
Commit: 10765021158cf51eaf6785361598e1668f53e06e
Date: 2023-09-18T15:06:20.425Z
Electron: 25.8.1
ElectronBuildId: 23779380
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
  • OS: Windows 11 | Windows_NT x64 10.0.22621

After the latest version, the extension host keeps crashing for me, sometimes instantly, and other times while I am editing a file

Here are the logs from the extension host

2023-09-19 01:18:40.530 [info] Extension host with pid 22968 started
2023-09-19 01:18:40.530 [info] Skipping acquiring lock for c:\Users\callu\AppData\Roaming\Code - Insiders\User\workspaceStorage\4df2cee94851808899f9aba7b206c458.
2023-09-19 01:18:40.542 [info] ExtensionService#_doActivateExtension eamodio.gitlens, startup: false, activationEvent: 'onView:gitlens.views.commitDetails'
2023-09-19 01:18:40.563 [info] ExtensionService#_doActivateExtension venner.vscode-glua-enhanced, startup: false, activationEvent: 'onLanguage:glua'
2023-09-19 01:18:40.582 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
2023-09-19 01:18:40.587 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
2023-09-19 01:18:40.595 [info] ExtensionService#_doActivateExtension ms-vsliveshare.vsliveshare, startup: false, activationEvent: 'onCommand:liveshare.signin'
2023-09-19 01:18:40.662 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: false, activationEvent: 'onFileSystem:git', root cause: vscode.git
2023-09-19 01:18:40.827 [info] ExtensionService#_doActivateExtension vscode.git, startup: false, activationEvent: 'onFileSystem:git'
2023-09-19 01:18:42.004 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2023-09-19 01:18:42.009 [info] ExtensionService#_doActivateExtension icrawl.discord-vscode, startup: true, activationEvent: '*'
2023-09-19 01:18:42.015 [info] ExtensionService#_doActivateExtension mhutchie.git-graph, startup: true, activationEvent: '*'
2023-09-19 01:18:42.037 [info] ExtensionService#_doActivateExtension naumovs.color-highlight, startup: true, activationEvent: '*'
2023-09-19 01:18:42.040 [info] ExtensionService#_doActivateExtension oderwat.indent-rainbow, startup: true, activationEvent: '*'
2023-09-19 01:18:42.041 [info] ExtensionService#_doActivateExtension WakaTime.vscode-wakatime, startup: true, activationEvent: '*'
2023-09-19 01:18:42.267 [info] Eager extensions activated
2023-09-19 01:18:42.378 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2023-09-19 01:18:42.381 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
2023-09-19 01:18:42.387 [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished'
2023-09-19 01:18:42.393 [info] ExtensionService#_doActivateExtension GitHub.copilot, startup: false, activationEvent: 'onStartupFinished'
2023-09-19 01:18:42.426 [info] ExtensionService#_doActivateExtension GitHub.copilot-labs, startup: false, activationEvent: 'onStartupFinished'
2023-09-19 01:18:42.777 [info] ExtensionService#_doActivateExtension PKief.material-icon-theme, startup: false, activationEvent: 'onStartupFinished'
2023-09-19 01:18:42.781 [info] ExtensionService#_doActivateExtension shardulm94.trailing-spaces, startup: false, activationEvent: 'onStartupFinished'
2023-09-19 01:18:42.801 [info] ExtensionService#_doActivateExtension usernamehw.errorlens, startup: false, activationEvent: 'onStartupFinished'
2023-09-19 01:20:43.445 [error] TypeError: Cannot read properties of null (reading 'finishShutdown')
    at JSStreamSocket.finishShutdown (node:internal/js_stream_socket:160:12)
    at node:internal/js_stream_socket:147:14
    at processTicksAndRejections (node:internal/process/task_queues:81:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)

Tried using the extension bisect, but it did not give me any useful info

@callumok2004 callumok2004 changed the title Extension host crashing after latest version (Canary) Extension host crashing on latest version (Insiders) Sep 19, 2023
@justinmk3
Copy link

Possible reappearance of #188676 ?

@winstliu
Copy link
Member

winstliu commented Sep 25, 2023

I'm seeing this consistently when running extension tests - haven't managed to narrow it down yet to a repro case I can share, but it's definitely HTTP-related.
EDIT: Ah, looks like it's fixed by nodejs/node#49400?

@alexdima
Copy link
Member

alexdima commented Dec 5, 2023

Could you please attempt capturing a crash dump? Here are steps: https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-a-crash-report

@alexdima alexdima added the info-needed Issue requires more information from poster label Dec 5, 2023
@justinmk3
Copy link

This issue disappeared in our CI after #193798 was merged.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 19, 2024
@aiday-mar aiday-mar added this to the December / January 2024 milestone Feb 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

5 participants