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
Visual Studio Code starts as a blank window, and stays that way. #114459
Comments
Does this only happen with insider or also stable? |
i use insiders build 99.99% of the time, so can not say if it happens with a stable build or not. |
Please try. |
The condition of insider build is becoming worse, in the past couple of hours I faced this issue 5 times. |
I am unable to open insiders. |
Can you try to run |
Can you see if it still reproduces when disabling the GPU support in VSCode? You can do that by running VSCode from the command line like this: If that helps, you can permanently configure this option via:
|
I tried with the following 2 commands however, the results in both cases are the same.
I uninstalled the insiders build and removed the directory in which it was installed. Have not deleted the .extensions directory yet. I am using the user installer. |
Can you run from the command line with |
executed |
Ok, that unfortunately does not reveal much. |
if you want the entire log i can send over email. |
Is there anything special with the file system not being standard? Or user accounts? Or AV software running? |
not really, |
Sorry for the late response, can you attach the full log for
|
@bpasero @deepak1556 ,
|
@bpasero i am facing this issue again. |
I am using this on an office laptop and not comfortable sharing the logs publically. |
@sanket-bhalerao you can find my mail here: in the info about me https://github.com/bpasero |
logs sent over mail. |
@sanket-bhalerao thanks, I forwarded the logs to @deepak1556 At first glance I do not see something obvious, in fact the workbench seems to be perfectly functional. When this log was created, was the window empty the entire time? |
Don't see any renderer crash or exception from workbench either, except for some ENOENT from shared process when syncing extensions. @bpasero does settings sync feature try to perform extension sync even when @sanket-bhalerao can you perform #114459 (comment) without enabling settings sync feature. Also for |
I've also got this issue, when starting a capture session in the Xbox Game Bar. When I start the capture the VS Code gui freezes. When closed, then reopened I get the same dark square that's referenced before. The issue disappears when ran with the |
it works, thanks |
@bpasero hi, getting this issue again after the latest update (updated just few mins ago). |
Having the same issue on:
VS Code version:
code-insiders --verbose:[main 2021-04-07T10:55:31.353Z] Starting VS Code [main 2021-04-07T10:55:31.354Z] from: /usr/share/code-insiders/resources/app [main 2021-04-07T10:55:31.354Z] 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': false, '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-id': 'f36c4516-cce9-4302-828c-929970d3eabb', '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: '/home/elias/.config/Code - Insiders/logs/20210407T125531' } [main 2021-04-07T10:55:31.355Z] Resolving machine identifier... [main 2021-04-07T10:55:31.356Z] Resolved machine identifier: 92355cab41b107a04c319aa40ad56f59fb81156b1b63d02c32283baddd417a2b [main 2021-04-07T10:55:31.360Z] Main->SharedProcess#connect [main 2021-04-07T10:55:31.380Z] StorageMainService: creating global storage [main 2021-04-07T10:55:31.380Z] lifecycle (main): phase changed (value: 2) [main 2021-04-07T10:55:31.381Z] windowsManager#open [main 2021-04-07T10:55:31.381Z] windowsManager#open pathsToOpen [ { workspace: { id: '82573d819aee4b54ea5655c12a7f1e8a', uri: [m] }, exists: true } ] [main 2021-04-07T10:55:31.382Z] IPC Object URL: Registered new channel vscode:92f037ef-38f6-412c-ae47-d952ee201c42. [main 2021-04-07T10:55:31.383Z] window#validateWindowState: validating window state on 2 display(s) { mode: 1, x: 340, y: 308, width: 1909, height: 1132 } [main 2021-04-07T10:55:31.383Z] window#validateWindowState: multi-monitor working area { x: 0, y: 44, width: 2560, height: 1396 } [main 2021-04-07T10:55:31.383Z] window#ctor: using window state { mode: 1, x: 340, y: 308, width: 1909, height: 1132 } [main 2021-04-07T10:55:31.383Z] window#ctor: vscode-file:// protocol is explicitly disabled [main 2021-04-07T10:55:31.461Z] StorageMainService: creating workspace storage (82573d819aee4b54ea5655c12a7f1e8a) [main 2021-04-07T10:55:31.461Z] windowsManager#open used window count 1 (workspacesToOpen: 0, foldersToOpen: 1, emptyToRestore: 0, emptyToOpen: 0) [main 2021-04-07T10:55:31.463Z] lifecycle (main): phase changed (value: 3) [main 2021-04-07T10:55:31.463Z] update#setState idle [main 2021-04-07T10:55:31.464Z] resolveShellEnv(): skipped (VSCODE_CLI is set) (node:9663) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See https://github.com/electron/electron/issues/23506 for more information [main 2021-04-07T10:55:31.560Z] resolveShellEnv(): skipped (VSCODE_CLI is set) [9663:0407/125531.567344:INFO:CONSOLE(1)] "Uncaught (in promise) ReferenceError: s is not defined", source: file:///usr/share/code-insiders/resources/app/out/bootstrap.js (1) I may lauch vs-code using Workaround"Fixed" by downgrading.
|
As a workaround, deleting the |
I just updte my insider instance and now I get a blnak screen. Starting with
Where is the user data dir located by default? EDIT |
@bpasero I deleted one in |
@Elias-Graf what do you get when you run |
@bpasero I think the same bootstrap error I had in the
|
Yeah looking into a solution. The easiest to get out of this is to delete the
|
Didn't work for me |
@Rc-Cookie have you updated to 1.55.1 yet? |
No, didn't know about the update |
Seems like this is happening again more details #123315 @deepak1556 might it be that the new electron also does not have a fix for this. |
Issue Type: Bug
VSCode insiders start as a blank window and stays that way. This happened to me 2-3 times in the last couple of weeks.
When this happens there are no controls visible on the window(not even the close button), I have to uninstall VSCode altogether and reinstall a fresh download to get it working again.
Also, I am not sure if this issue is VSCode insiders build or any extensions I have installed or my Windows 10 is doing something fishy with VSCode only.
I tried to reproduce this issue by disabling/enabling all the installed extensions however I could not reproduce it so won't be able to provide a concrete set of steps.
UPDATE:
VS Code version: Code - Insiders 1.53.0-insider (1a6eef3, 2021-01-15T05:15:40.826Z)
OS version: Windows_NT x64 10.0.19042
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (21)
A/B Experiments
The text was updated successfully, but these errors were encountered: