-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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 is no longer responding #160
Comments
I have the same issue since 0.10.1, vscode stops responde every 5mins when it starts. I am writing PHP and js, OS win7 64 bit |
I am having the same issue when working on PHP files. At first I thought it was the new linter but I deliberately set the php.validate.executablePath to an invalid binary and the freezes still happen - I can confirm that php.exe is not getting called. The next thing I tried was to disable auto save; That did not help either. I am pretty sure that I can rule out both as the cause. The next thing I did was running Process Monitor and Explorer to see if I can see anything that will lead to the freeze but I wasn't able to come up with anything. It is, however, always the same code.exe process that goes haywire. The affected process is launched with the following command:
The process hanging has the following threads running: The stack of the endlessly running thread is as follows: Using Process Monitor I didn't see anything special regarding the freezes, I am also unable to reliably reproduce this but it is happening every few minutes, however, if the editor is left alone it seems ro run fine. It's only when you actually write some code that the editor seems to freeze after a while. This is affecting me since 0.10.1 on Windows 7 x64, all possible patches applied. Edit: I also downloaded the editor's source to have another project to test this on and I experienced no freezes typing away in various files. At least on my machine this seems like it is related to PHP files. I haven't been able to test anything else besides typescript/js/PHP though. |
Also happening to me while editing PHP files, although I haven't tried other files too. I thought it was extension related, but then I removed all extensions and it's still happening. |
I'm experiencing this issue as well. Very often when working on files that are opened via WinSCP I get CPU spikes and then the program eventually freezes up and crashes. When I kill the Code process thread that is running up the CPU it levels out and doesn't crash, but Code says something about a plugin was terminated. Is there a way to backdate to an older exe version of Code? Code is no longer usable for me and I would like to be able to use the previous version until this gets fixed? Anyone know of a way to do this (go back to 0.9~)? |
@blackwire Version 0.9.2: https://az764295.vo.msecnd.net/public/0.9.2/VSCodeSetup.exe
As for my freezes: I don't have any extensions or plugins that are not shipped by default. I think you are experiencing a different problem. Killing the pluginHost fork on my machine does nothing to get it back to a working state, instead code crashes completely. |
@blackwire, i was searching for old releases but didn't found anything. |
@DerTolleEmil So, I don't have any non standard plugins either. Though, when I opened task manager and killed the process thread that was running as a part of code (not the app) that is using 30+% CPU it terminates intellisense I think, because it's no longer working after that point. |
@DerTolleEmil Thank you for the older version download! You saved my day! I can keep this open for today and get some work done without it crashing all the time. Life.. saver. |
@blackwire Are you working on PHP files or are you using another language? So far I can only reproduce this when I edit files that are interpreted as PHP code. |
@blackwire One more thing regarding auto-update: Edit your |
Is everyone else using WinSCP too? |
@matthewjohnston4 I'm not, my files are all saved locally without anything else touching them. |
@DerTolleEmil I work primarily in PHP and yes, the issue does seem to arise while I'm working in a PHP file. Also, thank you very much for the update trick! This is great. I'll wait for issues to be resolved with the new version. I really like some of the features, but I need it to be stable before I can take it. Sad too because I was excited to see the themes were working properly. I'll be patient. Again, you've saved my bacon. I'll be able to get some things accomplished today. |
@DerTolleEmil, thank you for older version. |
I got another freeze trying out a few things in a markdown file. I decided to try to reproduce the error and I did make a bit of progress but not much yet. Here is what's working so far: I created a new .php file with the following content: <?php
echo "asd";
echo "asd"
echo "asd";
?> The empty line and the missing semicolon are on purpose. I open the file and then open the editor's development console and switch to the "console" tab. All I need to do now is go to the blank line and enter a function name, for example
Unfortunately I don't have the line numbers right now because I un-minified the workbench.main.js file. However, the two log entries are printed by this code block: define("vs/base/common/winjs.base", ["./winjs.base.raw", "vs/base/common/errors"], function(e, t) {
"use strict";
function n(e) {
var n = e.detail,
r = n.id;
return n.parent ? void(n.handler && o && delete o[r]) : (o[r] = n, void(1 === Object.keys(o).length && setTimeout(function() {
var e = o;
o = {}, Object.keys(e).forEach(function(n) {
var r = e[n];
r.exception ? t.onUnexpectedError(r.exception) : r.error && t.onUnexpectedError(r.error), console.log("WARNING: Promise with no error callback:" + r.id), console.log(r), r.exception && console.log(r.exception.stack)
})
}, 0)))
} From that point on the whole autocomplete/suggestion system acts completely crazy. Most of the time it won't show anything at all but a simple Unfortunately it's not really 100% reproducible (I get it to freeze in 3 out of 10 tries or so). Also, since I am just seeing that issue #266 has been referenced here as well. I also noticed that pasting lots of code (I copied a few hundred lines of simple |
Experiencing very crashy behavior together with PHP aswell |
same issue, |
I'm facing this problem every minutes! |
This issue is under investigation, stay tuned! |
I see. So a lot of people experience this issue. Kudos to you guys for finding the cause pretty fast. :3 |
I have reviewed the change set and it looks good to me. |
kill vc process, change folder or file name~ |
@xianghongai Can you please create a new issue with reproducible steps? |
xianghongai > same error here... |
Same strange behaviour here but only since yesterday. Very annoying now that I have to go back to frontend dev. |
same has happened to me for the first time today (it happened today several times, but never before today) |
This seems to happen mostly when I am editing large css files (more than 10,000 lines) |
+1 freezing on two documents opened side by side (small html + less). Installed over 10 plugins, npm stuff. I am suspecting in the intellisense as it mostly freezes while typing stuff in the html file. Documents are small, a few hundred lines. Will try disabling plugins... EDIT: cut off 90% of plugins, did 10 resets (still was crashing), uninstall some global npm modules (as i in the debug dump file I saw some were used)... Stopped. But this is not the real sln. |
Could be intellisense or the small colour preview square (just my On Thu, Aug 11, 2016 at 1:35 PM, Vedran Mandić notifications@github.com
|
@vmandic @BeyTek Please create new issues with detailed steps. The message "Visual Studio Code is no longer responding" is shown in all cases the renderer process appears stuck to the main process and it can happen due to a large number of causes. I will lock the conversation on this issue, so we get new issues with new steps. |
Sometimes editor just freeze. Kill task helps only. Have this problem at work and home.
I noticed that this started after latest update (0.10.1).
Working in PHP files.
Windows 10 64.
The text was updated successfully, but these errors were encountered: