New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 830008 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

VSCode UI not displaying

Project Member Reported by tomfitzgerald@google.com, Apr 6 2018

Issue description

Chrome version: Version 67.0.3383.0 (Official Build) dev (64-bit)
OS: Chrome

Repro steps:
1. Started a terminal
2. Opened a container
3. Installed VSCode
^^ Above is all from the dogfood instructions doc
4. $ code <- gives no UI
ps aux | grep code <- shows its running

Expected: to see vscode running
Actual: it runs but I see no UI

Possibly related:

I also can't install stuff via apt-get. I can't say 'yes' the prompt so I get an auto abort. 

tomfitzgerald@penguin:~$ sudo apt-get install wget gnupg gnupg1 gnupg2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gnupg is already the newest version (2.1.18-8~deb9u1).
gnupg set to manually installed.
The following additional packages will be installed:
  gnupg1-curl gnupg1-l10n
Suggested packages:
  libpcsclite1 parcimonie xloadimage | imagemagick | eog
The following NEW packages will be installed:
  gnupg1 gnupg1-curl gnupg1-l10n gnupg2 wget
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,290 kB of archives.
After this operation, 8,280 kB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
tomfitzgerald@penguin:~$ 

 

Comment 1 by za...@chromium.org, Apr 6 2018

Cc: za...@chromium.org reve...@chromium.org smbar...@chromium.org
The first part where code launches, but doesn't show, I think I've seen but I don't have a repro case yet.

The second part reproduces without the first. Something in vscode (electron or vscode itself) is setting stdin (/dev/pts/<pts number>) to O_NONBLOCK and not setting it back. Also doesn't repro in zsh:

zsh:
[smbarber@stretch:~]
% ./test
stdin flags are 0x8002
O_NONBLOCK is false
[smbarber@stretch:~]
% code
[smbarber@stretch:~]
% ./test
stdin flags are 0x8002
O_NONBLOCK is false

bash:
smbarber@stretch:~$ ./test
stdin flags are 0x8002
O_NONBLOCK is false
smbarber@stretch:~$ code
smbarber@stretch:~$ ./test
stdin flags are 0x8802
O_NONBLOCK is true

test program:
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>

int main(int argc, char* argv[]) {
        int ret = fcntl(STDIN_FILENO, F_GETFL);

        printf("stdin flags are 0x%x\n", ret);
        printf("O_NONBLOCK is %s\n", ret & O_NONBLOCK ? "true" : "false");

        return 0;
}
Forked off to  issue 830209  for the pseudoterminal being borked.
Status: WontFix (was: Untriaged)
Re: VS Code not showing, I think this might be linked to  crbug.com/827736  (VS Code window is sized to 0x0). Since we are tracking those two issues in separate bugs, closing this one.
Components: OS>Systems>Containers

Comment 6 by vapier@chromium.org, May 17 2018

Labels: -Restrict-View-Google

Sign in to add a comment