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

Integrated terminal hangs whole window if big strings are printed in one go #110070

Closed
ghost opened this issue Nov 6, 2020 · 1 comment
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues terminal General terminal issues that don't fall under another label

Comments

@ghost
Copy link

ghost commented Nov 6, 2020

  • VSCode Version:
$ code --version
1.50.1
d2e414d9e4239a252d1ab117bd7067f125afd80a
x64
  • OS Version: Ubuntu 20.04

Steps to Reproduce:

  1. Open integrated terminal
  2. Give it a command to print a long enough string.
  3. It will hang midway.

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

So, I have a program which I wanted to test and so I made it print out some data to the terminal. Apparantly, it was 40kB worth of base64 encoded data. But the task never got completed because vscode window hanged midway. I tried it several times ( Even with extensions disabled and closing all other background apps). The same thing works just fine in a normal terminal.

Screenshots

With Extensions:
Screenshot from 2020-11-06 16-07-56

Extensions disabled:
Screenshot from 2020-11-06 16-13-23

Ok, I understand that its a rare use case but I don't think it was supposed to go this way.

@rzhao271 rzhao271 added bug Issue identified by VS Code Team member as probable bug freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues terminal General terminal issues that don't fall under another label labels Nov 6, 2020
@Tyriar
Copy link
Member

Tyriar commented Nov 6, 2020

/duplicate xtermjs/xterm.js#1515 #108317

@Tyriar Tyriar closed this as completed Nov 6, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues terminal General terminal issues that don't fall under another label
Projects
None yet
Development

No branches or pull requests

3 participants
@Tyriar @rzhao271 and others