Closed OOOHA closed 3 years ago
(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
And the Mac mini with M1 has the issue too.
Can you open devtools and paste the log output from Console
when you see this crash.
I have run the Extension:Bisect tool and it has been unable to identify a problematic extension.
VS Code Version: Version: 1.52.1 Commit: ea3859d4ba2f3e577a159bc91e3074c5d85c0523 Mac OSX 11.1 Big Sur MacBook Pro (I7 - 15 inch 2016)
I have attached my console log from DevTools as well.
vs_code_console_log.txt
Any ideas?
@phishee from your log the extension host just got a normal exit and not a crash
Extension host terminated unexpectedly. Code: 0 Signal: null
This is usually that some antivirus software tries to kill the process, might want to check on that.
Thanks for the heads-up on the AV. I believe that may be the culprit as I think IT may have installed something new recently.
After upgrading to Big Sur I started to run into this issue as well. I have never seen this issue prior to upgrading. I tried uninstalling and reinstalling all the extensions as well as vscode and still see issues.
Here's a screenshot of console.logs I see:
System Info:
MAC OS: Big Sur 11.1
Model Name: MacBook Pro
Model Identifier: MacBookPro15,1
Processor Name: 8-Core Intel Core i9
Processor Speed: 2.4 GHz
Memory: 16 GB
Having this issue on m1 macbook, happens two or three times over three hours or so, cant put my finger on it but seems to happen when vs code looses focus i.e when i switch to browser and then go back it has crashed.
Having the same issue. Here is a log from the console:
Edit
Version: 1.53.0-insider
Commit: b99487f4168ba70369edfb8629303be0d3979d4b
Date: 2021-02-02T00:13:59.390Z
Electron: 11.2.1
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Darwin arm64 20.3.0
Update Mine was also caused by bracket pair colorizer 2
just updated my big sur(m1) and also vscode now the extension host crashes silently!! it is very disconcerting when you go to commit your changes and vscode tells you you need to initialise a repository in the current folder. I wounder what would happen if i actually tried? actually it seems the extension host no longer loads correctly at all and is not crashing, it seems even after vscode quit and restart its actually not working or partly broken.
ahh, I found out how to test the extensions as they are loading, Bracket-Pair-Colorizer-2 was causing the extension host to completely crash out on startup of vscode
@nickstock and others on m1 seeing extension host crash, issue is tracked at https://github.com/microsoft/vscode/issues/115646. Please follow it for udpates.
As #115646 is closed, I am posting my comment here as I am seeing the same error ("Extension Host Terminated Unexpectedly")
I'm using VSCode with Salesforce. MacBook Pro M1 with Big Sur V11.0 VSCode version 1.53.0 I only have 14 extensions installed - the standard Salesforce ones, VSCode LiveShare, ESLint and a Salesforce Documenter. Restarting the extension host using the button that pops up works, as does closing & reopening the project, but this is proving very frustrating. I can't tell in these posts if this issue is fixed or not, or if I have to do something to resolve it myself?
Any advice greatly appreciated!
Log Info: /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1747 Overwriting grammar scope name to file mapping for scope text.log. Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/log/syntaxes/log.tmLanguage.json. New grammar file: file:///Users/simonmolloy/.vscode/extensions/salesforce.salesforcedx-vscode-apex-replay-debugger-50.16.0/syntaxes/apexlog.tmLanguage.json register @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1747 /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1747 Overwriting grammar scope name to file mapping for scope text.html.basic. Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/html/syntaxes/html.tmLanguage.json. New grammar file: file:///Users/simonmolloy/.vscode/extensions/salesforce.salesforcedx-vscode-lightning-50.16.0/syntaxes/html.tmLanguage.json register @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1747 4/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] Cannot find en-gb, defaulting to en b @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] (node:9590) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. b @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 2/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] Cannot find en-gb, defaulting to en b @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] Activation Mode: autodetect /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] Aura Components Extension Activated /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] WorkspaceType detected: 4 3/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] Cannot find en-gb, defaulting to en b @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] Activation Mode: autodetect /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] Lightning Web Components Extension Activated /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] WorkspaceType detected: 4 /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] SFDX CLI Extension Activated 5/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] Cannot find en-gb, defaulting to en b @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] Listening on port 63009 /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1961 [[object Object]]The "file" argument must be of type string. Received null $onExtensionRuntimeError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1961 /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1961 TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string. Received null at validateString (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/internal/validators.js:120) at normalizeSpawnArguments (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/child_process.js:415) at Object.spawn (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/child_process.js:551) at Server. (/Users/simonmolloy/.vscode/extensions/salesforce.salesforce-vscode-slds-1.4.0/client/out/sldsLanguageClient.js:151) at Object.onceWrapper (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/events.js:421) at Server.emit (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/events.js:315) at emitListeningNT (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/net.js:1347) at processTicksAndRejections (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/internal/process/task_queues.js:83) $onExtensionRuntimeError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1961 4/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string. Received null at validateString (internal/validators.js:120:11) at normalizeSpawnArguments (child_process.js:415:3) at Object.spawn (child_process.js:551:16) at Server. (/Users/simonmolloy/.vscode/extensions/salesforce.salesforce-vscode-slds-1.4.0/client/out/sldsLanguageClient.js:151:41) at Object.onceWrapper (events.js:421:28) at Server.emit (events.js:315:20) at emitListeningNT (net.js:1347:10) at processTicksAndRejections (internal/process/task_queues.js:83:21) b @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 4/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] Cannot find en-gb, defaulting to en b @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] Apex Debugger Extension Activated /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] Setting up ISV Debugger environment variables /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] Configured file watcher for .sfdx/sfdx-config.json /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] Apex Replay Debugger Extension Activated /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] Project is not for ISV Debugger /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:60 [Extension Host] Deleted environment variables SFDX_DEFAULTUSERNAME and SFDX_INSTANCE_URL /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:738 SFDX: Deploy Source to Org failed to run onDidChangeNotification @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:738 /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1734 Extension host terminated unexpectedly. Code: null Signal: SIGSEGV _onExtensionHostCrashed @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1734 /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:618 ERR Extension host terminated unexpectedly. The following extensions were running: vscode.microsoft-authentication, vscode.emmet, vscode.html-language-features, HugoOM.sfdx-autoheader, salesforce.salesforcedx-vscode-core, vscode.debug-auto-launch, vscode.git, ms-vsliveshare.vsliveshare, vscode.npm, salesforce.salesforcedx-vscode-lightning, dbaeumer.vscode-eslint, salesforce.salesforcedx-vscode-lwc, ms-vscode.js-debug, vscode.github-authentication, salesforce.salesforce-vscode-slds, salesforce.salesforcedx-vscode-apex, salesforce.salesforcedx-vscode-visualforce, salesforce.salesforcedx-vscode-apex-debugger, salesforce.salesforcedx-vscode-apex-replay-debugger, vscode.github, ms-vsliveshare.vsliveshare-audio, vscode.merge-conflict, vscode.testing-editor-contributions, vscode.typescript-language-features, vscode.configuration-editing, vscode.json-language-features, vscode.extension-editing /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:738 Extension host terminated unexpectedly. onDidChangeNotification @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:738 bootstrap-window.js:1 [uncaught exception]: Error: This socket has been ended by the other party g @ bootstrap-window.js:1 bootstrap-window.js:1 Error: This socket has been ended by the other party at Socket.writeAfterFIN [as write] (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/net.js:455) at v.write (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2653) at v._writeNow (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:76) at Immediate. (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:76) at processImmediate (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/internal/timers.js:456) g @ bootstrap-window.js:1 events.js:292 Uncaught Error: This socket has been ended by the other party at Socket.writeAfterFIN [as write] (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/net.js:455) at v.write (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2653) at v._writeNow (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:76) at Immediate. (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:76) at processImmediate (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/internal/timers.js:456) bootstrap-window.js:1 [uncaught exception]: Error: This socket has been ended by the other party g @ bootstrap-window.js:1 bootstrap-window.js:1 Error: This socket has been ended by the other party at Socket.writeAfterFIN [as write] (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/net.js:455) at v.write (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2653) at v._writeNow (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:76) at v.flush (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:76) at v.dispose (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:76) at Object.S [as dispose] (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:14) at i.dispose (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:76) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2659 g @ bootstrap-window.js:1 events.js:292 Uncaught Error: This socket has been ended by the other party at Socket.writeAfterFIN [as write] (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/net.js:455) at v.write (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2653) at v._writeNow (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:76) at v.flush (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:76) at v.dispose (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:76) at Object.S [as dispose] (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:14) at i.dispose (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:76) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2659
@OOOHA can you check if the issue is present with latest insiders https://code.visualstudio.com/insiders
I have installed Insiders this morning - I will monitor it and see if the crashes still occur.
@derekschinke which platform ? Please paste the output from devtools https://github.com/microsoft/vscode/issues/114714#issuecomment-769956907
@deepak1556 The latest version has the problem too. And it will pop up as soon as I open VSCode.
And The same problem occurs on the M1 Mac mini running Mac OS 11.2.2 with the latest arm64 VSCode version.
@OOOHA can you provide the output from devtools console when it happens, also can you attach the crash report following these steps https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-and-symbolicating-local-crash-reports
@OOOHA I ended up having to completely delete everything related to VSCode from my M1 Mac, and then install the latest stable with M1 support.
@derekschinke Which version did you install? I did the same thing with you and I installed the arm64 version.Should I try the universal version? I've got the same error on both kind of Mac
@deepak1556 it says "zsh: parse error near `\n' "but didn't lead me to any folder. Or did I did it in the wrong way?
Can you share what you tried ? It should be something like,
code --crash-reporter-directory /tmp/vscode-crash
@deepak1556 I ran code --crash-reporter-directory
I ran code --crash-reporter-directory in Terminal. Is that correct ?
Yes that is correct, if the extension host crashes, a report will be generated under the directory you had provided for the --crash-reporter-directory
cli option.
I ran code --crash-reporter-directory in Terminal. Is that correct ?
Yes that is correct, if the extension host crashes, a report will be generated under the directory you had provided for the
--crash-reporter-directory
cli option.
No matter how many time I tried it always give me the same output "sh: parse error near `\n'". What should I do?
Can you share a screen recording of what you tried.
@deepak1556 Here comes the Video.
<absolute path>
was just a template, it should be replaced with some writable path, for ex: /tmp/vscode-crash
. The command should be like https://github.com/microsoft/vscode/issues/114714#issuecomment-794904367
@deepak1556 Sorry, I am so stupid. 😅 But there are no output by using code --crash-reporter-directory /tmp/vscode-crash
Can you provide the output of code --verbose
Looks like you already have instances of code opened, can you kill all open vscode instances and try https://github.com/microsoft/vscode/issues/114714#issuecomment-794904367
I have killed all open vscode instances but still give me the same output.
Using code --crash-reporter-directory /tmp/vscode-crash
will not give any output in the command line. It should launch the app as normal, you can continue to use it and once you see that extension host is terminated, quit the app and check the folder /tmp/vscode-crash
for contents and attach them here.
vscode-crash.zip @deepak1556 Thank you for teaching me step by step. Here comes the result.
Thanks for the attachment, but the crash log is empty. Did you see Extension Host Terminated
message before you quit the app ?
Yes I quit after the error. I'lol try it later today to see if it's still empty.
It might also be the case the extension host was gracefully exited rather than a crash, once you see the error can you open devtools which can be done by
It's been quite good since the latest update from last Friday. I'll try it once it happened.
It just happened. I don't know if I did it right.
workbench.desktop.main.js:1857 [ms-vsonline.vsonline]: menuBar/webNavigation
is not a valid menu identifier
_logMessageInConsole @ workbench.desktop.main.js:1857
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.java.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/java/syntaxes/java.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-javac-0.2.37/lib/java.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.go.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/go/syntaxes/go.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/go.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.cpp.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/cpp/syntaxes/cpp.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/cpp.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.ruby.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/ruby/syntaxes/ruby.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/ruby.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.rust.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/rust/syntaxes/rust.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/rust.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.ts.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/typescript.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope go.mod.
Old grammar file: file:///Users/macbookpro/.vscode/extensions/golang.go-0.23.2/syntaxes/go.mod.tmGrammar.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/golang.go-nightly-2021.3.1813/syntaxes/go.mod.tmGrammar.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope go.sum.
Old grammar file: file:///Users/macbookpro/.vscode/extensions/golang.go-0.23.2/syntaxes/go.sum.tmGrammar.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/golang.go-nightly-2021.3.1813/syntaxes/go.sum.tmGrammar.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.cpp.embedded.macro.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/cpp/syntaxes/cpp.embedded.macro.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/cpp.embedded.macro.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.cpp.
Old grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/cpp.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/cpp.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.c.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/cpp/syntaxes/c.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/c.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.objcpp.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/objective-c/syntaxes/objective-c%2B%2B.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/objcpp.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.objc.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/objective-c/syntaxes/objective-c.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/objc.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.java.
Old grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-javac-0.2.37/lib/java.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/redhat.java-0.76.0/syntaxes/java.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:62 [Extension Host] (node:4712) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] Congratulations, your extension "code-gnu-global" is now active!
workbench.desktop.main.js:62 [Extension Host] Activating tree-sitter...
workbench.desktop.main.js:62 [Extension Host] activating extension
workbench.desktop.main.js:62 [Extension Host] starting language server
workbench.desktop.main.js:62 [Extension Host] Command: global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp" running...
workbench.desktop.main.js:62 [Extension Host] Looking for parseable documents...
workbench.desktop.main.js:62 [Extension Host] Found all parseable documents.
workbench.desktop.main.js:62 [Extension Host] Parsing documents and looking for CSS class definitions...
workbench.desktop.main.js:1857 Activating extension 'golang.go-nightly' failed: command 'go.workspace.isTrusted.toggle' already exists.
_logMessageInConsole @ workbench.desktop.main.js:1857
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp"/bin/sh: global: command not found global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp"
(exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Summary:
workbench.desktop.main.js:62 [Extension Host]% 1 parseable documents found
workbench.desktop.main.js:62 [Extension Host]% 0 CSS class definitions found
workbench.desktop.main.js:62 [Extension Host]% 0 unique CSS class definitions found
workbench.desktop.main.js:62 [Extension Host]% 0 failed attempts to parse. List of the documents:
workbench.desktop.main.js:62 [Extension Host]
workbench.desktop.main.js:62 [Extension Host] VSCode Account: the extension commands already exist.
3workbench.desktop.main.js:62 [Extension Host] Command: global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp" running...
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp"/bin/sh: global: command not found global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp"
(exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp"/bin/sh: global: command not found global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp"
(exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp"/bin/sh: global: command not found global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp"
(exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Command: global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp" running...
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host] Command: global -x "^i." running...
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp"/bin/sh: global: command not found global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp"
(exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^i."/bin/sh: global: command not found global -x "^i.*"
(exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] [vscode-icons] v11.2.0 activated!
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host]% Object
5workbench.desktop.main.js:62 [Extension Host] Command: global -x "^#includeglobal -x "^#include<iostream>.*"
(exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include(exited with error code 127) v @ workbench.desktop.main.js:62 workbench.desktop.main.js:62 [Extension Host] undefined workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include<iostream>.*"/bin/sh: global: command not found
global -x "^#includeglobal -x "^#include<iostream>.*"
(exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include(exited with error code 127) v @ workbench.desktop.main.js:62 workbench.desktop.main.js:62 [Extension Host] undefined workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include<iostream>.*"/bin/sh: global: command not found
global -x "^#includeglobal -x "^#include<iostream>.*"
(exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include(exited with error code 127) v @ workbench.desktop.main.js:62 workbench.desktop.main.js:62 [Extension Host] undefined workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include<iostream>.*"/bin/sh: global: command not found
global -x "^#includeglobal -x "^#include<iostream>.*"
(exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include(exited with error code 127) v @ workbench.desktop.main.js:62 workbench.desktop.main.js:62 [Extension Host] undefined workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include<iostream>.*"/bin/sh: global: command not found
global -x "^#includeglobal -x "^#include<iostream>.*"
(exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include(exited with error code 127) v @ workbench.desktop.main.js:62 workbench.desktop.main.js:62 [Extension Host] undefined workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include<iostream>.*"/bin/sh: global: command not found
global -x "^#include(exited with error code 127) v @ workbench.desktop.main.js:62 workbench.desktop.main.js:62 [Extension Host] undefined workbench.desktop.main.js:62 [Extension Host] Command: global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp" running... workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp"/bin/sh: global: command not found
global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp"` (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host] Command: global -x "^#include(exited with error code 127) v @ workbench.desktop.main.js:62 workbench.desktop.main.js:62 [Extension Host] undefined workbench.desktop.main.js:62 [Extension Host]% Object workbench.desktop.main.js:62 [Extension Host] Command: global -x "^int.*" running... workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^int.*"/bin/sh: global: command not found
global -x "^int."` (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host] Command: global -x "^in." running...
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^in."/bin/sh: global: command not found `global -x "^in."(exited with error code 127) v @ workbench.desktop.main.js:62 workbench.desktop.main.js:62 [Extension Host] undefined workbench.desktop.main.js:62 [Extension Host]% Object workbench.desktop.main.js:62 [Extension Host] Command: global -x "^i.*" running... workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^i.*"/bin/sh: global: command not found
global -x "^i."` (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host] Command: global -x "^i." running...
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^i."/bin/sh: global: command not found `global -x "^i."(exited with error code 127) v @ workbench.desktop.main.js:62 workbench.desktop.main.js:62 [Extension Host] undefined workbench.desktop.main.js:62 [Extension Host]% Object workbench.desktop.main.js:62 [Extension Host] Command: global -x "^s.*" running... workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^s.*"/bin/sh: global: command not found
global -x "^s."` (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host] Command: global -x "^sys." running...
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^sys."/bin/sh: global: command not found `global -x "^sys."(exited with error code 127) v @ workbench.desktop.main.js:62 workbench.desktop.main.js:62 [Extension Host] undefined workbench.desktop.main.js:62 [Extension Host]% Object workbench.desktop.main.js:62 [Extension Host] Command: global -x "^syst.*" running... workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^syst.*"/bin/sh: global: command not found
global -x "^syst."` (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host] Command: global -x "^syste." running...
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^syste."/bin/sh: global: command not found `global -x "^syste."(exited with error code 127) v @ workbench.desktop.main.js:62 workbench.desktop.main.js:62 [Extension Host] undefined workbench.desktop.main.js:626 ERR An unknown error occurred. Please consult the log for more details. workbench.desktop.main.js:62 [Extension Host] Command: global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp" running... workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp"/bin/sh: global: command not found
global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp"(exited with error code 127) v @ workbench.desktop.main.js:62 workbench.desktop.main.js:62 [Extension Host] undefined workbench.desktop.main.js:62 [Extension Host]% Object workbench.desktop.main.js:62 [Extension Host] Command: global -x "^i.*" running... workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^i.*"/bin/sh: global: command not found
global -x "^i.*"` (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:626 ERR Error: No authentication provider 'microsoft' is currently registered.
at A.getSessions (workbench.desktop.main.js:1850)
at async fi.getAccounts (workbench.desktop.main.js:2014)
at async fi.update (workbench.desktop.main.js:2014)
at async fi.initialize (workbench.desktop.main.js:2014)
at async fi.waitAndInitialize (workbench.desktop.main.js:2014)
workbench.desktop.main.js:626 WARN Settings Sync: Accounts are not initialized
workbench.desktop.main.js:626 ERR An unknown error occurred. Please consult the log for more details.
workbench.desktop.main.js:1857 Extension host terminated unexpectedly. Code: 7 Signal: null
_onExtensionHostCrashed @ workbench.desktop.main.js:1857
workbench.desktop.main.js:626 ERR Extension host terminated unexpectedly. The following extensions were running: vscode.microsoft-authentication, austin.code-gnu-global, cschlosser.doxdocgen, georgewfraser.vscode-tree-sitter, mitaki28.vscode-clang, ms-vscode.cpptools, vscode.debug-auto-launch, vscode.git, CoenraadS.bracket-pair-colorizer, CoenraadS.bracket-pair-colorizer-2, donjayamanne.githistory, ecmel.vscode-html-css, EditorConfig.EditorConfig, GitHub.vscode-pull-request-github, mhutchie.git-graph, ms-vsliveshare.vsliveshare, ms-vsonline.vsonline, ritwickdey.LiveServer, streetsidesoftware.code-spell-checker, vscode-icons-team.vscode-icons, Zignd.html-css-class-completion, golang.go, golang.go-nightly, vscode.github-authentication, ms-vscode.js-debug, vscode.emmet, vscode.merge-conflict, vscode.testing-editor-contributions, alefragnani.Bookmarks, dbaeumer.vscode-eslint, eamodio.gitlens, esbenp.prettier-vscode, formulahendry.code-runner, Gruntfuggly.todo-tree, ms-vscode-remote.remote-containers, ms-vscode-remote.remote-wsl, vscode.github, ms-vsliveshare.vsliveshare-audio
workbench.desktop.main.js:731 Extension host terminated unexpectedly.
onDidChangeNotification @ workbench.desktop.main.js:731
bootstrap-window.js:259 [uncaught exception]: Error: This socket has been ended by the other party
g @ bootstrap-window.js:259
bootstrap-window.js:262 Error: This socket has been ended by the other party
at Socket.writeAfterFIN [as write] (net.js:455)
at b.write (workbench.desktop.main.js:2760)
at b._writeNow (workbench.desktop.main.js:76)
at Immediate.
Exit Code 7 means an runtime error was thrown by one of the extensions, can you perform a bisect to narrow the problematic extension https://code.visualstudio.com/blogs/2021/02/16/extension-bisect
Seems like here is the problem. I'll note if it happens again. I have report the issue#310. @deepak1556 Thank you so much!
@deepak1556 It starts happening on my Windows device.(With the Extension above has disabled) Should I open another Bug report or just paste the info onto here?
You can add the data here, attach the logs from devtools.
I'm also seeing it on MacOS BigSur
. I ran Bisect and got:
Extension Bisect is done but no extension has been identified. This might be a problem with Code.
Here's my devtools(I tried to do the code crash tmp dir, but nothing got written there):
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.sql.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/sql/syntaxes/sql.tmLanguage.json.
New grammar file: file:///Users/nlarusstone/.vscode/extensions/ms-ossdata.vscode-postgresql-0.3.0/syntaxes/SQL.plist
register @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1870
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:62 [Extension Host] (node:88515) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
v @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:62
DevTools failed to load SourceMap: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/2b9aebd5354a3629c3aba0a5f5df49f43d6689f8/core/vs/workbench/workbench.desktop.main.js.map: Load canceled due to load timeout
workbench.desktop.main.js:1857 Extension host terminated unexpectedly. Code: null Signal: SIGBUS
_onExtensionHostCrashed @ workbench.desktop.main.js:1857
_onExtensionHostCrashed @ workbench.desktop.main.js:2766
_onExtensionHostCrashOrExit @ workbench.desktop.main.js:1857
(anonymous) @ workbench.desktop.main.js:1857
fire @ workbench.desktop.main.js:57
_onExtHostProcessExit @ workbench.desktop.main.js:2765
(anonymous) @ workbench.desktop.main.js:2765
emit @ events.js:315
ChildProcess._handle.onexit @ internal/child_process.js:275
workbench.desktop.main.js:626 ERR Extension host terminated unexpectedly. The following extensions were running: vscode.microsoft-authentication, vscode.debug-auto-launch, vscode.git, GitHub.vscode-pull-request-github, vscodevim.vim, ms-toolsai.jupyter, vscode.github-authentication, vscode.github, ms-vscode.js-debug, ms-python.python, vscode.emmet, vscode.merge-conflict, vscode.testing-editor-contributions, eamodio.gitlens
workbench.desktop.main.js:731 Extension host terminated unexpectedly.
onDidChangeNotification @ workbench.desktop.main.js:731
(anonymous) @ workbench.desktop.main.js:731
fire @ workbench.desktop.main.js:57
addNotification @ workbench.desktop.main.js:733
notify @ workbench.desktop.main.js:1725
prompt @ workbench.desktop.main.js:1725
_onExtensionHostCrashed @ workbench.desktop.main.js:2766
_onExtensionHostCrashOrExit @ workbench.desktop.main.js:1857
(anonymous) @ workbench.desktop.main.js:1857
fire @ workbench.desktop.main.js:57
_onExtHostProcessExit @ workbench.desktop.main.js:2765
(anonymous) @ workbench.desktop.main.js:2765
emit @ events.js:315
ChildProcess._handle.onexit @ internal/child_process.js:275
bootstrap-window.js:259 [uncaught exception]: Error: This socket has been ended by the other party
g @ bootstrap-window.js:259
(anonymous) @ bootstrap-window.js:51
emit @ events.js:315
window.onerror @ electron/js2c/renderer_init.js:117
_.globals.onerror @ workbench.desktop.main.js:635
bootstrap-window.js:262 Error: This socket has been ended by the other party
at Socket.writeAfterFIN [as write] (net.js:455)
at b.write (workbench.desktop.main.js:2760)
at b._writeNow (workbench.desktop.main.js:76)
at b.flush (workbench.desktop.main.js:76)
at b.dispose (workbench.desktop.main.js:76)
at Object.S [as dispose] (workbench.desktop.main.js:14)
at i.dispose (workbench.desktop.main.js:76)
at workbench.desktop.main.js:2766
g @ bootstrap-window.js:262
(anonymous) @ bootstrap-window.js:51
emit @ events.js:315
window.onerror @ electron/js2c/renderer_init.js:117
_.globals.onerror @ workbench.desktop.main.js:635
events.js:292 Uncaught Error: This socket has been ended by the other party
at Socket.writeAfterFIN [as write] (net.js:455)
at b.write (workbench.desktop.main.js:2760)
at b._writeNow (workbench.desktop.main.js:76)
at b.flush (workbench.desktop.main.js:76)
at b.dispose (workbench.desktop.main.js:76)
at Object.S [as dispose] (workbench.desktop.main.js:14)
at i.dispose (workbench.desktop.main.js:76)
at workbench.desktop.main.js:2766
SIGBUS
should have generated a report, @nlarusstone what is the command you tried for generating the crash logs.
code --crash-reporter-directory /tmp/vscode-crash
, but it doesn't generate any files:
platform ❯ tree /tmp/vscode-crash 130 ↵ nlarusstone@Nicholass-MacBook-Pro
/tmp/vscode-crash
├── completed
├── new
├── pending
└── settings.dat
3 directories, 1 file
There is not much we can do here without a crash report, does this crash happen reliably ? Can you paste you vscode app info from the about dialog.
You can add the data here, attach the logs from devtools.
Thank you so much again!!! Is this the logs you wanted?
[2021-03-24 12:12:27.624] [exthost] [info] extension host started
[2021-03-24 12:12:27.837] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication {"startup":false,"extensionId":{"value":"vscode.microsoft-authentication","_lower":"vscode.microsoft-authentication"},"activationEvent":"onAuthenticationRequest:microsoft"}
[2021-03-24 12:12:27.838] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/microsoft-authentication/dist/extension.js
[2021-03-24 12:12:27.857] [exthost] [info] ExtensionService#_doActivateExtension austin.code-gnu-global {"startup":false,"extensionId":{"value":"austin.code-gnu-global","_lower":"austin.code-gnu-global"},"activationEvent":"onLanguage:cpp"}
[2021-03-24 12:12:27.857] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/austin.code-gnu-global-0.2.2/out/src/extension
[2021-03-24 12:12:28.067] [exthost] [info] ExtensionService#_doActivateExtension cschlosser.doxdocgen {"startup":false,"extensionId":{"value":"cschlosser.doxdocgen","_lower":"cschlosser.doxdocgen"},"activationEvent":"onLanguage:cpp"}
[2021-03-24 12:12:28.067] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/cschlosser.doxdocgen-1.1.0/out/extension
[2021-03-24 12:12:28.937] [exthost] [info] ExtensionService#_doActivateExtension georgewfraser.vscode-tree-sitter {"startup":false,"extensionId":{"value":"georgewfraser.vscode-tree-sitter","_lower":"georgewfraser.vscode-tree-sitter"},"activationEvent":"onLanguage:cpp"}
[2021-03-24 12:12:28.937] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/out/extension.js
[2021-03-24 12:12:29.075] [exthost] [info] ExtensionService#_doActivateExtension mitaki28.vscode-clang {"startup":false,"extensionId":{"value":"mitaki28.vscode-clang","_lower":"mitaki28.vscode-clang"},"activationEvent":"onLanguage:cpp"}
[2021-03-24 12:12:29.075] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/mitaki28.vscode-clang-0.2.3/out/src/extension
[2021-03-24 12:12:29.128] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.cpptools {"startup":false,"extensionId":{"value":"ms-vscode.cpptools","_lower":"ms-vscode.cpptools"},"activationEvent":"onLanguage:cpp"}
[2021-03-24 12:12:29.128] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/ms-vscode.cpptools-1.3.0-insiders/dist/main
[2021-03-24 12:12:29.374] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch {"startup":true,"extensionId":{"value":"vscode.debug-auto-launch","_lower":"vscode.debug-auto-launch"},"activationEvent":""}
[2021-03-24 12:12:29.374] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/debug-auto-launch/dist/extension
[2021-03-24 12:12:29.380] [exthost] [info] ExtensionService#_doActivateExtension vscode.git {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":""}
[2021-03-24 12:12:29.380] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/git/dist/main
[2021-03-24 12:12:29.418] [exthost] [info] ExtensionService#_doActivateExtension CoenraadS.bracket-pair-colorizer {"startup":true,"extensionId":{"value":"CoenraadS.bracket-pair-colorizer","_lower":"coenraads.bracket-pair-colorizer"},"activationEvent":""}
[2021-03-24 12:12:29.418] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/coenraads.bracket-pair-colorizer-1.0.61/out/src/extension
[2021-03-24 12:12:29.607] [exthost] [info] ExtensionService#_doActivateExtension CoenraadS.bracket-pair-colorizer-2 {"startup":true,"extensionId":{"value":"CoenraadS.bracket-pair-colorizer-2","_lower":"coenraads.bracket-pair-colorizer-2"},"activationEvent":""}
[2021-03-24 12:12:29.607] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/coenraads.bracket-pair-colorizer-2-0.2.0/out/src/extension
[2021-03-24 12:12:29.806] [exthost] [info] ExtensionService#_doActivateExtension donjayamanne.githistory {"startup":true,"extensionId":{"value":"donjayamanne.githistory","_lower":"donjayamanne.githistory"},"activationEvent":""}
[2021-03-24 12:12:29.806] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/donjayamanne.githistory-0.6.16/dist/src/extension
[2021-03-24 12:12:29.934] [exthost] [info] ExtensionService#_doActivateExtension ecmel.vscode-html-css {"startup":true,"extensionId":{"value":"ecmel.vscode-html-css","_lower":"ecmel.vscode-html-css"},"activationEvent":""}
[2021-03-24 12:12:29.934] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/ecmel.vscode-html-css-1.10.2/dist/extension.js
[2021-03-24 12:12:29.980] [exthost] [info] ExtensionService#_doActivateExtension EditorConfig.EditorConfig {"startup":true,"extensionId":{"value":"EditorConfig.EditorConfig","_lower":"editorconfig.editorconfig"},"activationEvent":""}
[2021-03-24 12:12:29.980] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/editorconfig.editorconfig-0.16.4/out/editorConfigMain.js
[2021-03-24 12:12:30.199] [exthost] [info] ExtensionService#_doActivateExtension GitHub.vscode-pull-request-github {"startup":true,"extensionId":{"value":"GitHub.vscode-pull-request-github","_lower":"github.vscode-pull-request-github"},"activationEvent":""}
[2021-03-24 12:12:30.199] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/github.vscode-pull-request-github-0.24.0/dist/extension
[2021-03-24 12:12:30.373] [exthost] [info] ExtensionService#_doActivateExtension mhutchie.git-graph {"startup":true,"extensionId":{"value":"mhutchie.git-graph","_lower":"mhutchie.git-graph"},"activationEvent":""}
[2021-03-24 12:12:30.373] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/mhutchie.git-graph-1.29.0/out/extension.js
[2021-03-24 12:12:30.625] [exthost] [info] ExtensionService#_doActivateExtension ms-vsliveshare.vsliveshare {"startup":true,"extensionId":{"value":"ms-vsliveshare.vsliveshare-audio","_lower":"ms-vsliveshare.vsliveshare-audio"},"activationEvent":""}
[2021-03-24 12:12:30.625] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.4018/out/prod/extension-prod
[2021-03-24 12:12:30.885] [exthost] [info] ExtensionService#_doActivateExtension ritwickdey.LiveServer {"startup":true,"extensionId":{"value":"ritwickdey.LiveServer","_lower":"ritwickdey.liveserver"},"activationEvent":""}
[2021-03-24 12:12:30.885] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/ritwickdey.liveserver-5.6.1/out/src/extension
[2021-03-24 12:12:35.800] [exthost] [info] ExtensionService#_doActivateExtension streetsidesoftware.code-spell-checker {"startup":true,"extensionId":{"value":"streetsidesoftware.code-spell-checker","_lower":"streetsidesoftware.code-spell-checker"},"activationEvent":""}
[2021-03-24 12:12:35.800] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/streetsidesoftware.code-spell-checker-1.10.2/dist/extension.js
[2021-03-24 12:12:35.923] [exthost] [info] ExtensionService#_doActivateExtension vscode-icons-team.vscode-icons {"startup":true,"extensionId":{"value":"vscode-icons-team.vscode-icons","_lower":"vscode-icons-team.vscode-icons"},"activationEvent":"*"}
[2021-03-24 12:12:35.923] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/vscode-icons-team.vscode-icons-11.2.0/dist/src/vscode-icons.bundle.js
[2021-03-24 12:12:36.767] [exthost] [info] ExtensionService#_doActivateExtension felixfbecker.php-intellisense {"startup":true,"extensionId":{"value":"felixfbecker.php-intellisense","_lower":"felixfbecker.php-intellisense"},"activationEvent":"workspaceContainsTimeout:/*.php"}
[2021-03-24 12:12:36.767] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/felixfbecker.php-intellisense-2.3.14/out/extension
[2021-03-24 12:12:37.813] [exthost] [info] ExtensionService#_doActivateExtension golang.go {"startup":true,"extensionId":{"value":"golang.go","_lower":"golang.go"},"activationEvent":"workspaceContainsTimeout:*/.go"}
[2021-03-24 12:12:37.813] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/golang.go-0.23.2/dist/goMain.js
[2021-03-24 12:12:38.189] [exthost] [info] ExtensionService#_doActivateExtension golang.go-nightly {"startup":true,"extensionId":{"value":"golang.go-nightly","_lower":"golang.go-nightly"},"activationEvent":"workspaceContainsTimeout:/.go"}
[2021-03-24 12:12:38.189] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/golang.go-nightly-2021.3.2221/dist/goMain.js
[2021-03-24 12:12:38.585] [exthost] [info] ExtensionService#_doActivateExtension ms-dotnettools.csharp {"startup":true,"extensionId":{"value":"ms-dotnettools.csharp","_lower":"ms-dotnettools.csharp"},"activationEvent":"workspaceContainsTimeout:.csproj,.sln,.csx,*.cake,/*.csproj,*/.sln,/*.csx,/*.cake"}
[2021-03-24 12:12:38.586] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/ms-dotnettools.csharp-1.23.9/dist/extension
[2021-03-24 12:12:38.706] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.cmake-tools {"startup":true,"extensionId":{"value":"ms-vscode.cmake-tools","_lower":"ms-vscode.cmake-tools"},"activationEvent":"workspaceContainsTimeout:/CMakeLists.txt"}
[2021-03-24 12:12:38.706] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/ms-vscode.cmake-tools-1.6.0/dist/main
[2021-03-24 12:12:39.064] [exthost] [info] ExtensionService#_doActivateExtension vscjava.vscode-maven {"startup":true,"extensionId":{"value":"vscjava.vscode-maven","_lower":"vscjava.vscode-maven"},"activationEvent":"workspaceContainsTimeout:/pom.xml"}
[2021-03-24 12:12:39.064] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/.vscode/extensions/vscjava.vscode-maven-0.28.0/dist/extension
[2021-03-24 12:12:39.327] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication {"startup":false,"extensionId":{"value":"vscode.github-authentication","_lower":"vscode.github-authentication"},"activationEvent":"onAuthenticationRequest:github"}
[2021-03-24 12:12:39.327] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/henry/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github-authentication/dist/extension.js
[2021-03-24 12:12:39.710] [exthost] [error] Activating extension golang.go-nightly failed due to an error:
[2021-03-24 12:12:39.713] [exthost] [error] Error: command 'go.workspace.isTrusted.toggle' already exists
at S.registerCommand (c:\Users\henry\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:87:102511)
at Object.registerCommand (c:\Users\henry\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:95:21352)
at Object.
Issue Type: Bug
I am using Mac OS Big Sur 11.1 with Macbook Pro 2017(intel i5). VScode always pop up the issue"Extension host terminated unexpectedly." especially while I use C++.
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:30:02.420Z) OS version: Darwin x64 20.2.0
System Info
|Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (4 x 2300)| |GPU Status|2d_canvas: enabledflash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|4, 5, 4| |Memory (System)|8.00GB (0.87GB free)| |Process Argv|--crash-reporter-id 3f12e0b1-128d-4528-9fb3-29fc2b9c754f| |Screen Reader|no| |VM|0%|
Extensions (62)
Extension|Author (truncated)|Version ---|---|--- html-snippets|abu|0.2.1 Bookmarks|ale|12.1.4 code-gnu-global|aus|0.2.2 bracket-pair-colorizer|Coe|1.0.61 bracket-pair-colorizer-2|Coe|0.2.0 doxdocgen|csc|1.1.0 c-cpp-compile-run|dan|1.0.13 vscode-eslint|dba|2.1.14 githistory|don|0.6.14 gitlens|eam|11.1.3 vscode-html-css|ecm|1.9.1 EditorConfig|Edi|0.16.4 prettier-vscode|esb|5.8.0 git-project-manager|fel|1.7.1 php-debug|fel|1.14.5 php-intellisense|fel|2.3.14 php-pack|fel|1.0.2 vscode-firefox-debug|fir|2.9.1 code-runner|for|0.11.2 vscode-javac|geo|0.2.37 vscode-tree-sitter|geo|0.1.26 vscode-pull-request-github|Git|0.22.0 go|gol|0.21.0 go-nightly|gol|2021.1.2021 todo-tree|Gru|0.0.196 CppSnippets|har|0.0.15 better-cpp-syntax|jef|1.15.5 flutter-tree|mar|1.0.0 git-graph|mhu|1.28.0 Angular-BeastCode|Mik|10.0.3 vscode-clang|mit|0.2.3 csharp|ms-|1.23.8 python|ms-|2020.12.424452561 vscode-pylance|ms-|2021.1.2 jupyter|ms-|2020.12.414227025 remote-containers|ms-|0.154.2 remote-ssh|ms-|0.62.0 remote-ssh-edit|ms-|0.62.0 remote-wsl|ms-|0.52.0 vscode-remote-extensionpack|ms-|0.20.0 cmake-tools|ms-|1.5.3 cpptools|ms-|1.1.3 cpptools-extension-pack|ms-|1.0.0 vsliveshare|ms-|1.0.3484 vsliveshare-audio|ms-|0.1.91 vsonline|ms-|1.0.3076 debugger-for-chrome|msj|4.12.11 java|red|0.74.0 LiveServer|rit|5.6.1 document-tree|sac|1.0.1 code-spell-checker|str|1.10.2 open-in-browser|tec|2.0.0 cmake|twx|0.0.17 windows-terminal|Tyr|0.6.0 vscodeintellicode|Vis|1.2.10 vscode-java-debug|vsc|0.30.0 vscode-java-dependency|vsc|0.17.0 vscode-java-pack|vsc|0.12.1 vscode-java-test|vsc|0.27.0 vscode-maven|vsc|0.27.1 vscode-icons|vsc|11.1.0 html-css-class-completion|Zig|1.20.0 (1 theme extensions excluded)A/B Experiments
``` vsliv368:30146709 vsreu685:30147344 openlogontheside:30221877 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492:30211401 wsl2promptcf:30224613 pythonvsdeb440:30242242 unusedpromptcf:30224611 folderexplorer:30224614 openfilemenucf:30224648 pythonvsded773cf:30236630 vstes627:30244334 pythonvspyt875:30247033 ```