-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin keeps consuming a core #981
Comments
Are either of you able to share a project or code file that reproduces this error? All I can tell from the sample is that the IntelliSense engine is parsing the file. |
Encountered the same problem just now while exploring the flexible array member feature in C struct. After tried a while, narrowed down the problem to be occurring with below code: #include <stdio.h>
typedef struct Pixel {
int r;
int g;
int b;
} px;
typedef struct Matrix {
int width;
int height;
px pixel[][];
} matrix;
int main(int argc, char *argv[])
{
return 0;
} the line |
To reproduce it with my project:
Then Cmd+p and open upnp.http.functions.cpp The bootstrap script will take a while as it sets up all the project dependencies (ffmpeg, libpng, libjpeg, boost, ... ) but is necessary as it puts all the third party headers in place. This does require cmake, autotools, yasm, a working compiler, ... in order for the bootstrap to succeed |
In my case, reproduce as follows:
OS Version: macOS 10.12.6 |
Thanks everyone! I'll take a look at these samples. |
@heraclitusq, the code you posted results in an infinite loop in the front end compiler. I passed your case on to the compiler team. @dirkvdb and @virgo-coder, I can reproduce your issues as well, but haven't determined the root cause yet. |
Thanks @bobbrow . |
@dirkvdb and @virgo-coder, your cases are the same bug, but a different infinite loop than @heraclitusq. I am passing your issue over to the compiler team as well. |
@bobbrow Thanks :) |
👍 on this issue. Unfortunately i have to defer to a different IDE :-( |
0.13.1 has a patch for the issues reported in this thread until I get a proper fix from the compiler team. |
Thanks! |
OS: MacOS Sierra 10.12.6
VSCode: 1.15.1
CppTools: 0.12.3
When I open my project in vscode the intellisense process starts using all the cpu and never stops. Even if I leave it running for hours.
The little red flame in the bottom right says "Parsing..."
Hovering over a symbol says: "Loading..."
But it never exits this state. If I shutdown vscode the Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin process keeps running and consuming a core until I do a Force quit.
Below is my config and I also attached a sample of the intellisense process.
If you need more info the issue is 100% reproducible, so just let me know.
Sample of Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin.txt
The text was updated successfully, but these errors were encountered: