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

Random freeze in Ubuntu 19.04 #85231

Closed
totszwai opened this issue Nov 20, 2019 · 13 comments
Closed

Random freeze in Ubuntu 19.04 #85231

totszwai opened this issue Nov 20, 2019 · 13 comments
Assignees
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues linux Issues with VS Code on Linux snap Issues related to the snap package upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Milestone

Comments

@totszwai
Copy link

Issue Type: Bug

Latest VSCode, disabled a couple of extensions, these are the bare minimum I am using. Updated to the latest recommended video driver.
Using c_state=1, disabled gpu... I don't know what else I could try to workaround these freezes.

VS Code version: Code 1.40.1 (8795a98, 2019-11-13T16:49:30.162Z)
OS version: Linux x64 5.0.0-36-generic snap

System Info
Item Value
CPUs Intel(R) Xeon(R) Silver 4108 CPU @ 1.80GHz (16 x 800)
GPU Status 2d_canvas: unavailable_software
flash_3d: disabled_software
flash_stage3d: disabled_software
flash_stage3d_baseline: disabled_software
gpu_compositing: disabled_software
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: disabled_off
rasterization: disabled_software
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: disabled_software
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
Load (avg) 2, 1, 1
Memory (System) 15.37GB (9.82GB free)
Process Argv --force-user-env --no-sandbox --unity-launch --no-sandbox
Screen Reader no
VM 0%
Extensions (4)
Extension Author (truncated) Version
vscode-eslint dba 1.9.1
tslint eg2 1.0.44
vscode-scss-formatter sib 1.4.2
code-spell-checker str 1.7.20
@deepak1556
Copy link
Collaborator

deepak1556 commented Nov 27, 2019

Can you launch with code --verbose from the terminal and attach the log when you see the freeze ?

@deepak1556 deepak1556 added linux Issues with VS Code on Linux info-needed Issue requires more information from poster freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues labels Nov 27, 2019
@deepak1556
Copy link
Collaborator

Currently we have reports of crash from snap install #84233 , might be related. Do you see the same issue when you use the deb package https://code.visualstudio.com/ ?

@deepak1556 deepak1556 added the snap Issues related to the snap package label Nov 27, 2019
@MauriceBuiten
Copy link

MauriceBuiten commented Nov 28, 2019

I have the same issues with Ubuntu 18.04.3 LTS and VS Code version: 1.40.2

I uninstalled the snap version and installed from .deb but it still freezes after random time.

So I don't think it has anything to do with snap.

I reverted back to VS Code 1.39.2 and everything works fine.

The bug was introduced with version 1.40

@deepak1556
Copy link
Collaborator

@MauriceBuiten can you launch with code --verbose and attach the log when it freezes.

@MauriceBuiten
Copy link

Well, I have to 'hard-reset' my laptop after it completely freezes. Its just wont react to anything anymore. Is the log still retrieveable after restart?

@vadjs
Copy link

vadjs commented Jan 16, 2020

I have exactly same situation.
Before last VS Code update i had freezes very rare - probably once per several days. After last VS Code update i have deadly PC freezes every 10 minutes.

@vadjs
Copy link

vadjs commented Jan 17, 2020

@deepak1556 deb package has this problem too.

@totszwai
Copy link
Author

totszwai commented Jan 17, 2020

BTW, I've since switched to use Insider version and haven't experience the issue... so something from the Code-Insider is not getting carry over to the normal version.

@MauriceBuiten
Copy link

Ok, after trying to turn off extensions, I found out that when I turn of the Microsoft TSLint extension, I no longer have crashes so far. So for me that was the culprit.

So for some reason after VS code updated to 1.40 it has issues with the Microsoft TSLint extension.

@deepak1556
Copy link
Collaborator

@MauriceBuiten do you see issue with the extension in the insiders build https://code.visualstudio.com/insiders/ ?

@MauriceBuiten
Copy link

MauriceBuiten commented Feb 13, 2020

@deepak1556 I have used the insiders version for 2 days now with Microsoft TSLint running, and I have not experienced any freezes so far.

So its looking good!

@deepak1556
Copy link
Collaborator

Thanks for testing @MauriceBuiten , I believe the issue you were facing is #85919

@totszwai @vadjs can you confirm how does it look on your machine with latest insiders ?

@deepak1556 deepak1556 added fixed-in-electron-7 and removed info-needed Issue requires more information from poster labels Feb 14, 2020
@deepak1556 deepak1556 added this to the February 2020 milestone Feb 14, 2020
@deepak1556 deepak1556 added the upstream Issue identified as 'upstream' component related (exists outside of VS Code) label Feb 14, 2020
@deepak1556
Copy link
Collaborator

Closing issue for milestone #91278, fix should be available in stable soon.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2020
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 linux Issues with VS Code on Linux snap Issues related to the snap package upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

5 participants
@deepak1556 @totszwai @vadjs @MauriceBuiten and others