Repository navigation
Closed
Labels
area-editor-*User-facing catch-allUser-facing catch-allbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugneeds PRReady to be worked onReady to be worked onverifiedVerification succeededVerification succeeded
Milestone
Description
Please note I have a Mac M1, with sufficient RAM and I believe this is a fairly fast enough machine, however
VS Code hangs, and found the following logs in the console window.
I can see the following messages in the console window in VS Code
INFO Extension host (LocalProcess pid: 91550) is unresponsive.
localProcessExtensionHost.ts:273 Extension Host
localProcessExtensionHost.ts:274 Debugger attached.
log.ts:417 INFO UNRESPONSIVE extension host: starting to profile NOW
log.ts:437 ERR
at determineExtensionFromCallStack (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:116247)
log.ts:437 ERR
at readFileSync (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:1868057)
at c (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:671008)
at p (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:671327)
at (anonymous) (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:383360)
log.ts:437 ERR
at open
at openSync (node:fs:596:18)
at func (node:electron/js2c/node_init:2:2050)
at readFileSync (node:fs:470:22)
at (anonymous) (node:electron/js2c/node_init:2:9407)
at readFileSync (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:1868057)
at c (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:671008)
at p (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:671327)
at (anonymous) (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:383360)
log.ts:437 ERR
at (anonymous) (node:electron/js2c/node_init:2:9407)
at readFileSync (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:1868057)
at c (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:671008)
at p (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:671327)
at (anonymous) (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:383360)
log.ts:437 ERR
at splitPath (node:electron/js2c/node_init:2:681)
at (anonymous) (node:electron/js2c/node_init:2:9407)
at readFileSync (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:1868057)
at c (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:671008)
at p (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:671327)
at (anonymous) (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:383360)
log.ts:427 WARN UNRESPONSIVE extension host: 'ms-python.python' took 85.33076491088812% of 4274.253ms, saved PROFILE here: 'file:///var/folders/_7/7q__vcg961x5x6k8313dvzq40000gn/T/exthost-ea01a0.cpuprofile'
INFO UNRESPONSIVE extension host: starting to profile NOW
log.ts:437 ERR
at determineExtensionFromCallStack (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:116247)
log.ts:437 ERR
at readFileSync (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:1868057)
at p (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:671327)
at (anonymous) (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:383360)
log.ts:437 ERR
at open
at openSync (node:fs:596:18)
at func (node:electron/js2c/node_init:2:2050)
at readFileSync (node:fs:470:22)
at (anonymous) (node:electron/js2c/node_init:2:9407)
at readFileSync (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:1868057)
at p (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:671327)
at (anonymous) (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:383360)
log.ts:437 ERR
at p (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:671327)
at (anonymous) (file:///Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/extension.js:2:383360)
log.ts:427 WARN UNRESPONSIVE extension host: 'ms-python.python' took 88.06868686868687% of 4446.588ms, saved PROFILE here: 'file:///var/folders/_7/7q__vcg961x5x6k8313dvzq40000gn/T/exthost-e0d69f.cpuprofile'
Metadata
Metadata
Assignees
Labels
area-editor-*User-facing catch-allUser-facing catch-allbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugneeds PRReady to be worked onReady to be worked onverifiedVerification succeededVerification succeeded
Activity
DonJayamanne commentedon Feb 28, 2024
exthost-e0d69f.cpuprofile.txt
exthost-ea01a0.cpuprofile.txt
Python.log
DonJayamanne commentedon Feb 28, 2024
Ran into this again after upgrading VS COde, and clearing Python cache.
Python interpreter picker didnt show up for a few seconds, thats what lead me to believe the ext host is frozen
DonJayamanne commentedon Feb 28, 2024
Remove sync file operation to unblock ext host (#22997)
karrtikr commentedon Feb 29, 2024
Another costly sync I/O operation: https://github.com/microsoft/vscode-python/pull/21377/files#r1508133207
Do not use readSync everytime telemetry is sent (#23011)
Remove sync file operation to unblock ext host (microsoft/vscode-pyth…
Do not use readSync everytime telemetry is sent (microsoft/vscode-pyt…
Remove sync file operation to unblock ext host (microsoft/vscode-pyth…
Do not use readSync everytime telemetry is sent (microsoft/vscode-pyt…