completion.py stuck in endless loop @ 100% CPU
See original GitHub issueEnvironment data
- VS Code version: 1.45.0
- Extension version (available under the Extensions sidebar): XXX
- OS and version: 2020.4.76186
- Python version: 3.7.2 - source build w/ “configure --prefix=$SYSROOT -with-ensurepip=install --with-system-expat”
- Type of virtual environment used: N/A
- Relevant/affected Python packages and their versions: N/A
- Relevant/affected Python-related VS Code extensions and their versions: N/A
- Jedi or Language Server? (i.e. what is
"python.jediEnabled"
set to; more info #3977): XXX - Value of the
python.languageServer
setting: XXX
Expected behaviour
completion should finish after a while.
Actual behaviour
completion.py stuck in endless loop @ 100% CPU
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
- Start up VS Code with any python project in above environment. Happens almost every time.
Logs
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:13
Top Results From Across the Web
Infinite Loop / Livelock (stuck with high CPU load) on ...
Hey there, We are seeing an issue with the Oracle.ManagedDataAccess.Core framework.
Read more >High CPU usage for a python while loop: even when sleeping ...
I figure out this problem, when i wrote a program for a game. And i realized even if i create a while infinite...
Read more >Compiler process gets stuck in infinite loop at 100% CPU load
So the process is apparently stuck in an infinite loop doing nothing. This is the command line according to Process Explorer: C:\Program Files\Microsoft...
Read more >Debugging 100% CPU workers - Google Groups
I've been having an issue where workers get stuck at 100% CPU usage and stop taking requests. ... Some special Lua code path...
Read more >CPU utilization of the rpm process stays at 100 % on RHEL 6
Some of the stuck rpm processes show 100% CPU utilization. ... Because one process is now stuck in an infinite loop while holding...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Usage of
PyLance
as Language Server fixed the issue for me, and completion is way better!@marknelson Please open up a separate issue for that. You may need to configure certain things for it to work.