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 keep being terminated even though all extensions are disabled. #241085

Open
Sgt-Harry opened this issue Feb 18, 2025 · 2 comments
Open
Assignees

Comments

@Sgt-Harry
Copy link

Sgt-Harry commented Feb 18, 2025

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.97.2
  • Commit: e54c774
  • Date: 2025-02-12T23:20:35.343Z
  • Electron: 32.2.7
  • ElectronBuildId: 10982180
  • Chromium: 128.0.6613.186
  • Node.js: 20.18.1
  • V8: 12.8.374.38-electron.0
  • OS: Linux x64 6.8.0-52-generic

Image

Logger Info

WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-selfhost-test-provider' wants API proposal 'attributableCoverage' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
warn @ workbench.desktop.main.js:34
workbench.desktop.main.js:34 WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.python' wants API proposal 'contribIssueReporter' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
warn @ workbench.desktop.main.js:34
workbench.desktop.main.js:34 WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.debugpy' wants API proposal 'contribIssueReporter' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
warn @ workbench.desktop.main.js:34
workbench.desktop.main.js:34 WARN Via 'product.json#extensionEnabledApiProposals' extension 'redhat.java' wants API proposal 'documentPaste' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
warn @ workbench.desktop.main.js:34
14
An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
workbench.desktop.main.js:34 INFO Started local extension host with pid 34138.
workbench.desktop.main.js:34 INFO Settings Sync: Account status changed from uninitialized to unavailable
workbench.desktop.main.js:3253 Extension Host
workbench.desktop.main.js:3253 double free or corruption (out)
workbench.desktop.main.js:3249 Extension host (LocalProcess pid: 34138) terminated unexpectedly. Code: 134, Signal: unknown
zb @ workbench.desktop.main.js:3249
workbench.desktop.main.js:34 ERR Extension host (LocalProcess pid: 34138) terminated unexpectedly. The following extensions were running: vscode.github-authentication, vscode.git-base, vscode.git, vscode.github, vscode.debug-auto-launch, vscode.merge-conflict
error @ workbench.desktop.main.js:34
workbench.desktop.main.js:34 INFO Automatically restarting the extension host.
workbench.desktop.main.js:34 INFO Started local extension host with pid 34179.
workbench.desktop.main.js:3253 Extension Host
workbench.desktop.main.js:3253 double free or corruption (out)
workbench.desktop.main.js:3249 Extension host (LocalProcess pid: 34179) terminated unexpectedly. Code: 134, Signal: unknown
zb @ workbench.desktop.main.js:3249
workbench.desktop.main.js:34 ERR Extension host (LocalProcess pid: 34179) terminated unexpectedly. The following extensions were running: vscode.github-authentication, vscode.git-base, vscode.git, vscode.github, vscode.debug-auto-launch, vscode.merge-conflict
error @ workbench.desktop.main.js:34
workbench.desktop.main.js:34 INFO Automatically restarting the extension host.
workbench.desktop.main.js:34 INFO Started local extension host with pid 34205.
workbench.desktop.main.js:3253 Extension Host
workbench.desktop.main.js:3253 double free or corruption (out)
workbench.desktop.main.js:3249 Extension host (LocalProcess pid: 34205) terminated unexpectedly. Code: 134, Signal: unknown
zb @ workbench.desktop.main.js:3249
workbench.desktop.main.js:34 ERR Extension host (LocalProcess pid: 34205) terminated unexpectedly. The following extensions were running: vscode.github-authentication, vscode.git-base, vscode.git, vscode.github, vscode.debug-auto-launch, vscode.merge-conflict
error @ workbench.desktop.main.js:34
workbench.desktop.main.js:3199 Extension host terminated unexpectedly 3 times within the last 5 minutes.
c @ workbench.desktop.main.js:3199
workbench.html:1 Access to fetch at 'https://default.exp-tas.com/vscode/ab' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
default.exp-tas.com/vscode/ab:1
Failed to load resource: net::ERR_FAILED
workbench.html:1 Access to fetch at 'https://main.vscode-cdn.net/extensions/chat.json' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
main.vscode-cdn.net/…ensions/chat.json:1
Failed to load resource: net::ERR_FAILED
workbench.desktop.main.js:34 WARN Failed to fetch chat participant registry TypeError: Failed to fetch
at k6s (workbench.desktop.main.js:3204:15961)
at workbench.desktop.main.js:3204:17187
at Wct.c (workbench.desktop.main.js:640:17578)
at Wct.request (workbench.desktop.main.js:3204:17179)
at l4e.l (workbench.desktop.main.js:641:9754)
at l4e.k (workbench.desktop.main.js:641:9608)
at new l4e (workbench.desktop.main.js:641:9587)
at Rgt.o (workbench.desktop.main.js:1346:1586)
at workbench.desktop.main.js:1346:3306
at _te.d (workbench.desktop.main.js:30:77606)
warn @ workbench.desktop.main.js:34
workbench.desktop.main.js:34 INFO [perf] Render performance baseline is 40ms
2
workbench.desktop.main.js:3242 The Web Worker Extension Host did not start in 60s, that might be a problem.
(anonymous) @ workbench.desktop.main.js:3242
2
workbench.desktop.main.js:34 WARN Settings pattern "issueReporter.*" doesn't match any settings
warn @ workbench.desktop.main.js:34
workbench.html:1 Access to fetch at 'https://main.vscode-cdn.net/extensions/chat.json' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
main.vscode-cdn.net/…ensions/chat.json:1
Failed to load resource: net::ERR_FAILED
workbench.desktop.main.js:34 WARN Failed to fetch chat participant registry TypeError: Failed to fetch
at k6s (workbench.desktop.main.js:3204:15961)
at workbench.desktop.main.js:3204:17187
at Wct.c (workbench.desktop.main.js:640:17578)
at Wct.request (workbench.desktop.main.js:3204:17179)
at l4e.l (workbench.desktop.main.js:641:9754)
at l4e.k (workbench.desktop.main.js:641:9608)
at workbench.desktop.main.js:641:9718
warn @ workbench.desktop.main.js:34

@aeschli
Copy link
Contributor

aeschli commented Feb 18, 2025

Can you see anything intersting in the Dev Tools console or in the Output views?

@Sgt-Harry
Copy link
Author

Can you see anything intersting in the Dev Tools console or in the Output views?

Yes Here,

Console Info 1 WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-selfhost-test-provider' wants API proposal 'attributableCoverage' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned. workbench.desktop.main.js:34 WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.python' wants API proposal 'contribIssueReporter' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned. workbench.desktop.main.js:34 WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.debugpy' wants API proposal 'contribIssueReporter' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned. workbench.desktop.main.js:34 WARN Via 'product.json#extensionEnabledApiProposals' extension 'redhat.java' wants API proposal 'documentPaste' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned. workbench.desktop.main.js:34 INFO Started local extension host with pid 55293. workbench.html:1 [.WebGL-0xb8002b8600]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels workbench.html:1 [.WebGL-0xb8002b8600]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels workbench.html:1 [.WebGL-0xb8002b8600]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels workbench.desktop.main.js:34 INFO Settings Sync: Account status changed from uninitialized to unavailable workbench.html:1 [.WebGL-0xb8002b8600]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels (this message will no longer repeat) workbench.desktop.main.js:34 INFO [perf] Render performance baseline is 39ms workbench.html:1 Access to fetch at 'https://default.exp-tas.com/vscode/ab' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. default.exp-tas.com/vscode/ab:1 Failed to load resource: net::ERR_FAILED workbench.html:1 Access to fetch at 'https://main.vscode-cdn.net/extensions/chat.json' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. main.vscode-cdn.net/…ensions/chat.json:1 Failed to load resource: net::ERR_FAILED workbench.desktop.main.js:34 WARN Failed to fetch chat participant registry TypeError: Failed to fetch at k6s (workbench.desktop.main.js:3204:15961) at workbench.desktop.main.js:3204:17187 at Wct.c (workbench.desktop.main.js:640:17578) at Wct.request (workbench.desktop.main.js:3204:17179) at l4e.l (workbench.desktop.main.js:641:9754) at l4e.k (workbench.desktop.main.js:641:9608) at new l4e (workbench.desktop.main.js:641:9587) at Rgt.o (workbench.desktop.main.js:1346:1586) at workbench.desktop.main.js:1346:3306 at _te.d (workbench.desktop.main.js:30:77606) workbench.html:1 Access to fetch at 'https://www.vscode-unpkg.net/_gallery/ms-python/debugpy/latest' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. www.vscode-unpkg.net…on/debugpy/latest:1 Failed to load resource: net::ERR_FAILED

at first, when i start with --disable-extensions

there are only some proxy problems which makes the vscode not be able to install the newest extension( could this be a problem?).

and if i enable any of the extension.
the extension host will be shut down.

Console Info 2 NFO Started local extension host with pid 55990. workbench.desktop.main.js:34 ERR No registered selector for ID: ms-vscode.npm-command workbench.desktop.main.js:3253 Extension Host workbench.desktop.main.js:3253 double free or corruption (out) workbench.desktop.main.js:3249 Extension host (LocalProcess pid: 55990) terminated unexpectedly. Code: 134, Signal: unknown workbench.desktop.main.js:34 ERR Extension host (LocalProcess pid: 55990) terminated unexpectedly. The following extensions were running: vscode.github-authentication, vscode.emmet, vscode.configuration-editing, vscode.extension-editing, vscode.json-language-features, vscode.npm, vscode.typescript-language-features workbench.desktop.main.js:3199 Extension host terminated unexpectedly 3 times within the last 5 minutes.

@vs-code-engineering vs-code-engineering bot added the stale Issues that have not been triaged in an appropriate amount of time label Feb 26, 2025
@benibenj benibenj removed their assignment Feb 27, 2025
@benibenj benibenj removed triage-needed stale Issues that have not been triaged in an appropriate amount of time labels Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants