Skip to content

VSC crashes almost immediately after launching it.  #213041

Closed as not planned
Closed as not planned
@MomSlayerGX

Description

* Didn't work

Does this issue occur when all extensions are disabled?: Yes*(I used --disable-extensions parameter in the terminal to achieve that)

  • VS Code Version: 1.89.1
  • OS Version: Debian 12 with linux kernal 6.6.15

Steps to Reproduce:

  1. Launch code through terminal or app dashboard
  2. A window of VSCode pops up with nothing in it, then it crashes after a few seconds.

Steps taken to resolve:

  1. Remove any keys related to VSC
    Result: Same issue persists, there was no key for vsc
    2: Run code without gpu or extensions by (code --disable-extensions --disable-gpu) in terminal
    Result: Nothing changed
  2. Reinstall VSC using apt/nala
    Result: Same issue persists
  3. Install insider
    Result: Same as before

Other information
image
what vsc looks like before it crashes, ignore the background text that is from --verbose

Result of --verbose with above listed parameters. Only includes some information as it is too long
`
[11029:0520/002048.564240:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
[main 2024-05-19T20:50:48.663Z] [File Watcher (node.js)] Request to start watching: /home/quack/.config/Code - Insiders/User (excludes: , includes: , filter: , correlationId: ),/home/quack/.config/Code - Insiders/User/settings.json (excludes: , includes: , filter: , correlationId: )
[main 2024-05-19T20:50:48.678Z] Starting VS Code
[main 2024-05-19T20:50:48.678Z] from: /usr/share/code-insiders/resources/app
[main 2024-05-19T20:50:48.678Z] args: {
_: [],
diff: false,
merge: false,
add: false,
goto: false,
'new-window': false,
'reuse-window': false,
wait: false,
help: false,
'list-extensions': false,
'show-versions': false,
'pre-release': false,
'update-extensions': false,
version: false,
verbose: true,
status: false,
'prof-startup': false,
'no-cached-data': false,
'prof-v8-extensions': false,
'disable-extensions': true,
'disable-lcd-text': false,
'disable-gpu': true,
'disable-chromium-sandbox': false,
sandbox: false,
telemetry: false,
debugRenderer: false,
'enable-smoke-test-driver': false,
logExtensionHostCommunication: false,
'skip-release-notes': false,
'skip-welcome': false,
'disable-telemetry': false,
'disable-updates': false,
'use-inmemory-secretstorage': false,
'disable-workspace-trust': false,
'disable-crash-reporter': false,
'crash-reporter-id': '28145a5d-fc2e-4813-b374-cb36002556a7',
'skip-add-to-recently-opened': false,
'open-url': false,
'file-write': false,
'file-chmod': false,
force: false,
'do-not-sync': false,
trace: false,
'preserve-env': false,
'force-user-env': false,
'force-disable-user-env': false,
'open-devtools': false,
'disable-gpu-sandbox': false,
'__enable-file-policy': false,
'enable-coi': false,
'no-proxy-server': false,
'no-sandbox': false,
nolazy: false,
'force-renderer-accessibility': false,
'ignore-certificate-errors': false,
'allow-insecure-localhost': false,
'disable-dev-shm-usage': false,
'profile-temp': false,
logsPath: '/home/quack/.config/Code - Insiders/logs/20240520T002048'
}
[main 2024-05-19T20:50:48.679Z] Resolving machine identifier...
[main 2024-05-19T20:50:48.680Z] Resolved machine identifier: 23f6b25a395f8a7f7a2439500703303db53daa51725a20450c251a9c9b9f0b56
[main 2024-05-19T20:50:48.680Z] Main->SharedProcess#connect
[main 2024-05-19T20:50:48.686Z] [File Watcher (node.js)] Started watching: '/home/quack/.config/Code - Insiders/User'
[main 2024-05-19T20:50:48.686Z] [File Watcher (node.js)] ignoring a path for watching who's stat info failed to resolve: /home/quack/.config/Code - Insiders/User/settings.json (error: Error: ENOENT: no such file or directory, stat '/home/quack/.config/Code - Insiders/User/settings.json')
[main 2024-05-19T20:50:48.687Z] StorageMainService: creating application storage
[main 2024-05-19T20:50:48.691Z] ElectronURLListener: waiting for window to be ready to handle URLs...
[main 2024-05-19T20:50:48.691Z] lifecycle (main): phase changed (value: 2)
[main 2024-05-19T20:50:48.691Z] windowsManager#open
[main 2024-05-19T20:50:48.692Z] windowsManager#open pathsToOpen [
{
backupPath: '/home/quack/.config/Code - Insiders/Backups/1716151208841',
remoteAuthority: undefined
}
]
[main 2024-05-19T20:50:48.692Z] windowsManager#doOpenEmpty {
restore: true,
remoteAuthority: undefined,
filesToOpen: undefined,
forceNewWindow: true
}
[main 2024-05-19T20:50:48.693Z] IPC Object URL: Registered new channel vscode:12868136-fe49-44af-a237-c05aa4a32be7.
[main 2024-05-19T20:50:48.694Z] window#validateWindowState: validating window state on 1 display(s) { mode: 1, x: 448, y: 268, width: 1024, height: 768 }
[main 2024-05-19T20:50:48.694Z] window#validateWindowState: single monitor working area { x: 0, y: 0, width: 1920, height: 1080 }
[main 2024-05-19T20:50:48.694Z] window#ctor: using window state { mode: 1, x: 448, y: 268, width: 1024, height: 768 }
[0520/002048.709956:ERROR:directory_reader_posix.cc(43)] opendir /home/quack/.config/Code - Insiders/Crashpad/attachments/59c50637-32f0-468d-96aa-3db90e3f6b9a: No such file or directory (2)
[main 2024-05-19T20:50:48.752Z] window#load: attempt to load window (id: 1)
[main 2024-05-19T20:50:48.764Z] windowsManager#open used window count 1 (workspacesToOpen: 0, foldersToOpen: 0, emptyToRestore: 1, emptyToOpen: 0)
[main 2024-05-19T20:50:48.765Z] lifecycle (main): phase changed (value: 3)
[main 2024-05-19T20:50:48.765Z] resolveShellEnv(): skipped (VSCODE_CLI is set)
[main 2024-05-19T20:50:48.766Z] update#setState idle
[0520/002048.785598:ERROR:http_transport_libcurl.cc(472)] curl_easy_perform: Couldn't connect to server (7)
[main 2024-05-19T20:50:48.795Z] resolveShellEnv(): skipped (VSCODE_CLI is set)
[11029:0520/002049.256982:ERROR:gpu_process_host.cc(993)] GPU process exited unexpectedly: exit_code=139
[11029:0520/002049.256992:WARNING:gpu_process_host.cc(1364)] The GPU process has crashed 1 time(s)
[0520/002049.394062:ERROR:directory_reader_posix.cc(43)] opendir /home/quack/.config/Code - Insiders/Crashpad/attachments/390301a3-2230-499b-b8c1-c7f748d99b98: No such file or directory (2)
[0520/002049.452297:ERROR:http_transport_libcurl.cc(472)] curl_easy_perform: Couldn't connect to server (7)
[11029:0520/002049.906181:ERROR:gpu_process_host.cc(993)] GPU process exited unexpectedly: exit_code=139
[11029:0520/002049.906190:WARNING:gpu_process_host.cc(1364)] The GPU process has crashed 2 time(s)
[0520/002050.030161:ERROR:directory_reader_posix.cc(43)] opendir /home/quack/.config/Code - Insiders/Crashpad/attachments/866378ea-cb1f-4b7e-92ff-ee7a33802a3e: No such file or directory (2)
[0520/002050.110828:ERROR:http_transport_libcurl.cc(472)] curl_easy_perform: Couldn't connect to server (7)
[11029:0520/002050.554812:ERROR:gpu_process_host.cc(993)] GPU process exited unexpectedly: exit_code=139
[11029:0520/002050.554822:WARNING:gpu_process_host.cc(1364)] The GPU process has crashed 3 time(s)
[0520/002050.676253:ERROR:directory_reader_posix.cc(43)] opendir /home/quack/.config/Code - Insiders/Crashpad/attachments/beb6966c-a6cc-4df9-a074-9500a69bf37e: No such file or directory (2)

`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

freeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issuesinfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions