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

VS Code 1.54.1 (and all versions since Nov. 2020) Crashing on Startup - Mac #118188

Closed
mattreddy3 opened this issue Mar 5, 2021 · 4 comments
Closed
Assignees
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues macos Issues with VS Code on MAC/OS X

Comments

@mattreddy3
Copy link

  • VS Code Version: 1.54.1
  • OS Version: macOS Big Sur 11.2.2

Steps to Reproduce:

  1. Start VS Code, with or without extensions enabled, code --verbose --disable-extensions
  2. Crashes

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

[main 2021-03-05T10:03:22.954Z] Starting VS Code
[main 2021-03-05T10:03:22.954Z] from: /Applications/Visual Studio Code.app/Contents/Resources/app
[main 2021-03-05T10:03:22.954Z] args: {
: [],
diff: false,
add: false,
goto: false,
'new-window': false,
'reuse-window': false,
wait: false,
help: false,
'list-extensions': false,
'show-versions': false,
version: false,
verbose: true,
status: false,
'prof-startup': false,
'prof-v8-extensions': false,
'disable-extensions': true,
'disable-gpu': false,
telemetry: false,
debugRenderer: false,
logExtensionHostCommunication: false,
'skip-release-notes': false,
'disable-telemetry': false,
'disable-updates': false,
'disable-keytar': false,
'disable-crash-reporter': false,
'crash-reporter-directory': '/Users/matthewreddy/codeLogs',
'skip-add-to-recently-opened': false,
'unity-launch': false,
'open-url': false,
'file-write': false,
'file-chmod': false,
'driver-verbose': false,
force: false,
'do-not-sync': false,
trace: false,
'force-user-env': false,
'force-disable-user-env': false,
'open-devtools': false,
__sandbox: false,
'no-proxy-server': false,
nolazy: false,
'force-renderer-accessibility': false,
'ignore-certificate-errors': false,
'allow-insecure-localhost': false,
logsPath: '/Users/matthewreddy/Library/Application Support/Code/logs/20210305T110322'
}
[main 2021-03-05T10:03:22.963Z] Resolving machine identifier...
[main 2021-03-05T10:03:22.963Z] Resolved machine identifier: 38f79f50c5dabebf984dbc3a6f5296de567fb4d27acf5eb339f3544b3d6f4233
[main 2021-03-05T10:03:22.964Z] Main->SharedProcess#connect
[main 2021-03-05T10:03:22.991Z] StorageMainService: creating global storage
[main 2021-03-05T10:03:22.991Z] lifecycle (main): phase changed (value: 2)
[main 2021-03-05T10:03:22.992Z] windowsManager#open
[main 2021-03-05T10:03:22.992Z] windowsManager#open pathsToOpen [
{
backupPath: '/Users/matthewreddy/Library/Application Support/Code/Backups/1614929718839',
remoteAuthority: undefined
}
]
[main 2021-03-05T10:03:23.001Z] window#validateWindowState: validating window state on 1 display(s) { mode: 1, x: 208, y: 66, width: 1024, height: 768 }
[main 2021-03-05T10:03:23.001Z] window#validateWindowState: 1 monitor working area { x: 0, y: 25, width: 1440, height: 875 }
[main 2021-03-05T10:03:23.001Z] window#ctor: using window state { mode: 1, x: 208, y: 66, width: 1024, height: 768 }
[main 2021-03-05T10:03:23.235Z] windowsManager#open used window count 1 (workspacesToOpen: 0, foldersToOpen: 0, emptyToRestore: 1, emptyToOpen: 0)
[main 2021-03-05T10:03:23.236Z] lifecycle (main): phase changed (value: 3)
[main 2021-03-05T10:03:23.243Z] update#setState idle
[main 2021-03-05T10:03:23.244Z] resolveShellEnv(): skipped (VSCODE_CLI is set)
(node:17053) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See electron/electron#23506 for more information
[main 2021-03-05T10:03:24.090Z] resolveShellEnv(): skipped (VSCODE_CLI is set)
(node:17058) Electron: Loading non-context-aware native module in renderer: '/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node'. This is deprecated, see electron/electron#18397.
[17053:0305/110327.564694:INFO:CONSOLE(626)] "%cTRACE color: #888 [lifecycle] starting up (startup kind: 1)", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110327.565733:INFO:CONSOLE(626)] "%cTRACE color: #888 lifecycle: phase changed (value: 2)", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110327.569468:INFO:CONSOLE(626)] "%cTRACE color: #888 Renderer->SharedProcess#connect", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110327.575884:INFO:CONSOLE(626)] "%cTRACE color: #888 Skipping initializing user data in desktop", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110328.199553:INFO:CONSOLE(626)] "%cTRACE color: #888 Layout#layout, height: 768, width: 1024", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110328.262570:INFO:CONSOLE(626)] "%cTRACE color: #888 workbench configuration {"
":[],"verbose":true,"disable-extensions":true,"crash-reporter-directory":"/Users/matthewreddy/codeLogs","logsPath":"/Users/matthewreddy/Library/Application Support/Code/logs/20210305T110322","appRoot":"/Applications/Visual Studio Code.app/Contents/Resources/app","machineId":"38f79f50c5dabebf984dbc3a6f5296de567fb4d27acf5eb339f3544b3d6f4233","nodeCachedDataDir":"/Users/matthewreddy/Library/Application Support/Code/CachedData/f30a9b73e8ffc278e71575118b6bf568f04587c8","mainPid":17053,"execPath":"/Applications/Visual Studio Code.app/Contents/MacOS/Electron","userEnv":{"VSCODE_IPC_HOOK":"/Users/matthewreddy/Library/Application Support/Code/1.54.1-main.sock","VSCODE_NLS_CONFIG":"{"locale":"en-us","availableLanguages":{},"_languagePackSupport":true}"},"isInitialStartup":true,"backupPath":"/Users/matthewreddy/Library/Application Support/Code/Backups/1614929718839","windowId":1,"sessionId":"window:1","logLevel":0,"colorScheme":{"dark":false,"highContrast":false},"autoDetectHighContrast":true,"perfMarks":[{"name":"code/timeOrigin","startTime":1614938601642},{"name":"code/didStartMain","startTime":1614938601809},{"name":"code/mainAppReady","startTime":1614938602737},{"name":"code/willLoadMainBundle","startTime":1614938602766},{"name":"code/fork/willLoadCode","startTime":1614938602785},{"name":"code/registerFilesystem/file","startTime":1614938602917},{"name":"code/didLoadMainBundle","startTime":1614938602918},{"name":"code/willOpenNewWindow","startTime":1614938603210}],"partsSplashPath":"/Users/matthewreddy/Library/Application Support/Code/rapid_render.json","os":{"release":"20.3.0"}}", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110328.277868:INFO:CONSOLE(626)] "%cTRACE color: #888 lifecycle: phase changed (value: 3)", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[main 2021-03-05T10:03:28.555Z] SharedProcess: on vscode:createSharedProcessMessageChannel
[main 2021-03-05T10:03:28.555Z] resolveShellEnv(): skipped (VSCODE_CLI is set)
(node:17053) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See electron/electron#23506 for more information
[main 2021-03-05T10:03:29.023Z] menubarService#updateMenubar 1
[17053:0305/110329.752917:INFO:CONSOLE(626)] "%cTRACE color: #888 StartupGettingStarted: undefined", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[main 2021-03-05T10:03:29.868Z] resolveShellEnv(): skipped (VSCODE_CLI is set)
[17053:0305/110330.102900:INFO:CONSOLE(626)] "%cTRACE color: #888 [File Watcher (node.js)] [ADDED] /Users/matthewreddy/Library/Application Support/Code/logs/20210305T110322/output_1_20210305T110327", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[main 2021-03-05T10:03:30.363Z] SharedProcess: IPC ready
(node:17064) Electron: Loading non-context-aware native module in renderer: '/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/spdlog/build/Release/spdlog.node'. This is deprecated, see electron/electron#18397.
[main 2021-03-05T10:03:30.527Z] Main->SharedProcess#connect: connection established
[17053:0305/110330.554165:INFO:CONSOLE(25)] "%cTRACE color: #888 sharedProcess configuration {"machineId":"38f79f50c5dabebf984dbc3a6f5296de567fb4d27acf5eb339f3544b3d6f4233","windowId":2,"appRoot":"/Applications/Visual Studio Code.app/Contents/Resources/app","nodeCachedDataDir":"/Users/matthewreddy/Library/Application Support/Code/CachedData/f30a9b73e8ffc278e71575118b6bf568f04587c8","backupWorkspacesPath":"/Users/matthewreddy/Library/Application Support/Code/Backups/workspaces.json","userEnv":{"VSCODE_IPC_HOOK":"/Users/matthewreddy/Library/Application Support/Code/1.54.1-main.sock","VSCODE_NLS_CONFIG":"{"locale":"en-us","availableLanguages":{},"languagePackSupport":true}"},"args":{"":[],"diff":false,"add":false,"goto":false,"new-window":false,"reuse-window":false,"wait":false,"help":false,"list-extensions":false,"show-versions":false,"version":false,"verbose":true,"status":false,"prof-startup":false,"prof-v8-extensions":false,"disable-extensions":true,"disable-gpu":false,"telemetry":false,"debugRenderer":false,"logExtensionHostCommunication":false,"skip-release-notes":false,"disable-telemetry":false,"disable-updates":false,"disable-keytar":false,"disable-crash-reporter":false,"crash-reporter-directory":"/Users/matthewreddy/codeLogs","skip-add-to-recently-opened":false,"unity-launch":false,"open-url":false,"file-write":false,"file-chmod":false,"driver-verbose":false,"force":false,"do-not-sync":false,"trace":false,"force-user-env":false,"force-disable-user-env":false,"open-devtools":false,"__sandbox":false,"no-proxy-server":false,"nolazy":false,"force-renderer-accessibility":false,"ignore-certificate-errors":false,"allow-insecure-localhost":false,"logsPath":"/Users/matthewreddy/Library/Application Support/Code/logs/20210305T110322"},"logLevel":0}", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110330.751260:INFO:CONSOLE(25)] "%cTRACE color: #888 Started scanning system extensions", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110330.752209:INFO:CONSOLE(25)] "%cTRACE color: #888 Started scanning user extensions", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[main 2021-03-05T10:03:30.753Z] SharedProcess: Overall ready
[17053:0305/110330.988533:INFO:CONSOLE(626)] "%cTRACE color: #888 Settings Sync: Initializing accounts", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110330.990934:INFO:CONSOLE(626)] "%cTRACE color: #888 Settings Sync: Getting accounts for microsoft", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[main 2021-03-05T10:03:30.996Z] RequestService#request https://update.code.visualstudio.com/api/update/darwin-universal/stable/f30a9b73e8ffc278e71575118b6bf568f04587c8
[17053:0305/110331.023221:INFO:CONSOLE(626)] "%cTRACE color: #888 [File Watcher (node.js)] >> normalized [ADDED] /Users/matthewreddy/Library/Application Support/Code/logs/20210305T110322/output_1_20210305T110327", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110331.027175:INFO:CONSOLE(626)] "%cTRACE color: #888 Renderer->SharedProcess#connect: connection established", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110331.239253:INFO:CONSOLE(626)] "%cTRACE color: #888 [File Watcher (node.js)] [ADDED] /Users/matthewreddy/Library/Application Support/Code/logs/20210305T110322/sharedprocess.log", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110331.358112:INFO:CONSOLE(25)] "%cTRACE color: #888 Extension VSIX downlads cache dir does not exist", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110331.359041:INFO:CONSOLE(25)] "%cTRACE color: #888 Scanned user extensions: 0", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110331.486591:INFO:CONSOLE(626)] "%cTRACE color: #888 [File Watcher (node.js)] >> normalized [ADDED] /Users/matthewreddy/Library/Application Support/Code/logs/20210305T110322/sharedprocess.log", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110331.510659:INFO:CONSOLE(626)] "%cTRACE color: #888 Error while resolving configuration file 'vscode-userdata:/Users/matthewreddy/Library/Application%20Support/Code/User/settings.json': Unable to read file 'vscode-userdata:/Users/matthewreddy/Library/Application Support/Code/User/settings.json' (Error: Unable to resolve non-existing file 'vscode-userdata:/Users/matthewreddy/Library/Application Support/Code/User/settings.json')", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110331.513753:INFO:CONSOLE(626)] "%cTRACE color: #888 Error while resolving configuration file 'vscode-userdata:/Users/matthewreddy/Library/Application%20Support/Code/User/tasks.json': Unable to read file 'vscode-userdata:/Users/matthewreddy/Library/Application Support/Code/User/tasks.json' (Error: Unable to resolve non-existing file 'vscode-userdata:/Users/matthewreddy/Library/Application Support/Code/User/tasks.json')", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110331.536728:INFO:CONSOLE(626)] "%cTRACE color: #888 lifecycle: phase changed (value: 4)", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110331.539624:INFO:CONSOLE(626)] "%cTRACE color: #888 RequestService#request https://vscodeexperiments.azureedge.net/experiments/vscode-experiments.json", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110331.715645:INFO:CONSOLE(25)] "%cTRACE color: #888 Started scanning system extensions", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110331.716412:INFO:CONSOLE(25)] "%cTRACE color: #888 Started scanning user extensions", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110331.717843:INFO:CONSOLE(25)] "%cTRACE color: #888 Started scanning system extensions", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110331.718600:INFO:CONSOLE(25)] "%cTRACE color: #888 Started scanning user extensions", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110331.770056:INFO:CONSOLE(25)] "%cDEBUG background: #eee; color: #888 Writing language packs {}", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110331.959962:INFO:CONSOLE(25)] "%cTRACE color: #888 Scanned user extensions: 0", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110331.976888:INFO:CONSOLE(25)] "%cTRACE color: #888 Scanned user extensions: 0", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110332.064617:INFO:CONSOLE(626)] "%cTRACE color: #888 terminalInstance#ctor (id: 1) [object Object]", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110332.148158:INFO:CONSOLE(25)] "%cTRACE color: #888 Error: ENOENT: no such file or directory, open '/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/package.json'", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110332.153857:INFO:CONSOLE(25)] "%cTRACE color: #888 Error: ENOENT: no such file or directory, open '/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/package.json'", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110332.157322:INFO:CONSOLE(25)] "%cTRACE color: #888 Error: ENOENT: no such file or directory, open '/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/package.json'", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110332.248970:INFO:CONSOLE(626)] "%cTRACE color: #888 [File Watcher (node.js)] [ADDED] /Users/matthewreddy/Library/Application Support/Code/logs/20210305T110322/telemetry.log", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110332.250093:INFO:CONSOLE(626)] "%cTRACE color: #888 [File Watcher (node.js)] [ADDED] /Users/matthewreddy/Library/Application Support/Code/logs/20210305T110322/userDataSync.log", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110332.386069:INFO:CONSOLE(25)] "%cTRACE color: #888 Scanned system extensions: 85", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110332.386150:INFO:CONSOLE(25)] "%cTRACE color: #888 Scanned system extensions: 85", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110332.393299:INFO:CONSOLE(25)] "%cTRACE color: #888 Scanned system extensions: 85", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110332.402449:INFO:CONSOLE(25)] "%cDEBUG background: #eee; color: #888 Writing language packs {}", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110332.689758:INFO:CONSOLE(626)] "%cTRACE color: #888 [File Watcher (node.js)] >> normalized [ADDED] /Users/matthewreddy/Library/Application Support/Code/logs/20210305T110322/telemetry.log", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110332.691260:INFO:CONSOLE(626)] "%cTRACE color: #888 [File Watcher (node.js)] >> normalized [ADDED] /Users/matthewreddy/Library/Application Support/Code/logs/20210305T110322/userDataSync.log", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110333.253776:INFO:CONSOLE(626)] "%cDEBUG background: #eee; color: #888 Terminal process ready (shellProcessId: 17067)", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110333.334642:INFO:CONSOLE(626)] "%cTRACE color: #888 CommandService#executeCommand extension.js-debug.clearAutoAttachVariables", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110333.335455:INFO:CONSOLE(626)] "%cTRACE color: #888 onWillActivateByEvent: onCommand:extension.js-debug.clearAutoAttachVariables", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110333.336881:INFO:CONSOLE(626)] "%cTRACE color: #888 onWillActivateByEvent: ", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110333.583641:INFO:CONSOLE(25)] "%cTRACE color: #888 Started scanning system extensions", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110333.584395:INFO:CONSOLE(25)] "%cTRACE color: #888 Started scanning user extensions", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110333.604151:INFO:CONSOLE(25)] "%cTRACE color: #888 Scanned user extensions: 0", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110333.695655:INFO:CONSOLE(25)] "%cTRACE color: #888 Error: ENOENT: no such file or directory, open '/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/package.json'", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110333.796415:INFO:CONSOLE(25)] "%cTRACE color: #888 Scanned system extensions: 85", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js (25)
[17053:0305/110334.131579:INFO:CONSOLE(62)] "%c[Extension Host] %cGit installation not found. %c(at T (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1:81062)) color: blue color: color: grey", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (62)
[17053:0305/110334.131638:INFO:CONSOLE(626)] "%cTRACE color: #888 CommandService#executeCommand setContext", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110334.132784:INFO:CONSOLE(626)] "%cTRACE color: #888 Settings Sync: Updated accounts for microsoft", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110334.132835:INFO:CONSOLE(626)] "%cTRACE color: #888 Settings Sync: Getting accounts for github", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110334.132884:INFO:CONSOLE(626)] "%cTRACE color: #888 onWillActivateByEvent: onAuthenticationRequest:github", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
[17053:0305/110334.179317:INFO:CONSOLE(626)] "%cTRACE color: #888 MainThreadTreeViews#$registerTreeViewDataProvider jsBrowserBreakpoints [object Object]", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (626)
libc++abi.dylib: terminating with uncaught exception of type char const

[0305/110334.438870:WARNING:process_memory_mac.cc(93)] mach_vm_read(0x7ffee0df3000, 0x2000): (os/kern) invalid address (1)
[0305/110334.819110:WARNING:crash_report_exception_handler.cc(240)] UniversalExceptionRaise: (os/kern) failure (5)
667fbbca-ca51-4409-8b8b-6ea9475f4a59.dmp.zip

@vscodebot
Copy link

vscodebot bot commented Mar 5, 2021

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@deepak1556
Copy link
Collaborator

Root issue is same as #116690 (comment)

Can you check if any of the following returns successful result,

$ security find-generic-password -s vscodevscode.github-authentication
$ security find-generic-password -s vscodevscode.microsoft-authentication

If it does, can you extract the value by adding a -w to the above command

security find-generic-password -s <KEY> -w

and check if it is a valid base64 string ?

The issue should fix if you delete the keys, but I would like to analyze the root cause.

@deepak1556 deepak1556 added freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues macos Issues with VS Code on MAC/OS X labels Mar 5, 2021
@mattreddy3
Copy link
Author

Thanks for the reply - I think I follow, but let me know if I'm off and how I can better help you troubleshoot. The accessToken that came back in the stringified JSON after using the -w flag looks to be malformed when checking it in UTF-8 encoding or any sort of "auto" detect.

Something that may be related is that I have also recently (probably starting around the same time, now that I think about it) had problems on this machine with compressing a project, uploading to a remote service, and getting an error when the service tries to extract and deploy. Using the same steps, code, versions, tooling, etc. on a Windows machine works fine. I tried to fix it again last weekend and thought it might be related to EOL encoding (\n\r vs. \n) but wasn't able to confirm it.

Anyway - let me know if I can further help debug this. If I save the value in that -w command and then delete it anyway will that help you troubleshoot while also allowing me to restart my development?

@deepak1556
Copy link
Collaborator

deepak1556 commented Mar 5, 2021

Thanks for checking, if you are okay with sharing the value, can you send it to [email protected] ?

If I save the value in that -w command and then delete it anyway will that help you troubleshoot while also allowing me to restart my development?

Once you delete the value, it should fix the crash but further debugging on it is not possible. I have asked the code owner of this component to add some more logs to narrow down the issue which can help next time #116690 (comment)

@github-actions github-actions bot locked and limited conversation to collaborators Apr 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues macos Issues with VS Code on MAC/OS X
Projects
None yet
Development

No branches or pull requests

2 participants