MicrosoftDocs / intellicode

Visual Studio IntelliCode - AI-enhanced development tools. 👋Want to submit an issue to MicrosoftDocs/intellicode? If you have a bug or an idea, read the contributing guidelines before opening an issue. For FAQ's see
https://aka.ms/vsicfaq
Creative Commons Attribution 4.0 International
749 stars 68 forks source link

Intellicode Completions Crashes Ext. Host #396

Closed ferreteleco closed 2 years ago

ferreteleco commented 2 years ago

Issue Type: Bug

Just found that my Ext. Host was crashing continuouslly. Ran extension bisect method and found Intellicode Completions as the guilty one.

Extension version: 1.0.15 VS Code version: Code 1.69.2 (3b889b090b5ad5793f524b5d1d39fda662b96a2a, 2022-07-18T16:14:10.636Z) OS version: Linux x64 5.15.0-41-generic Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 x 2800)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|5, 3, 2| |Memory (System)|15.42GB (0.91GB free)| |Process Argv|elephant_carpaccio --crash-reporter-id 6a7732dc-b4a0-4b2d-ae5a-89e8e9ea37a5| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|ubuntu| |XDG_CURRENT_DESKTOP|Unity| |XDG_SESSION_DESKTOP|ubuntu| |XDG_SESSION_TYPE|x11|
ngnlTeto commented 2 years ago

Same here. I worked on an Angular Projekt and it keep crashing the Ext. Host. After that I tried to work on an "ASP.NET - API" with VS-Code (and the extension activated) and it worked fine.

adi-FlocknGo commented 2 years ago

Same here, I work in python and most of my projects are on Django, whenever I open VS Code, this extension crashes the extension host. Had to do a chain of bisecting the extensions enabled to see if this is the one failing. Disabling Intellicode Completions solved the issue for me, but this is nonetheless an important extension for developers as it saves a ton of time and effort in rewriting a lot of boilerplate code. I would be more than happy to see the bug fixed and enable the extension again post installing the latest version which fixes this issue.

ayim commented 2 years ago

Hey folks - thanks for reporting. We're looking into it.

juihanamshet1 commented 2 years ago

Thank you for reporting this issue! @ngnlTeto @adi-FlocknGo Would you mind sharing your System Info, VS Code version, and OS version, please?

For the VS Code information, in VS Code, if you click on Help -> About, you can copy the information and paste it here.

ngnlTeto commented 2 years ago

I had this Error on this specs:

Version: 1.69.2 (user setup) Commit: 3b889b090b5ad5793f524b5d1d39fda662b96a2a Date: 2022-07-18T16:12:52.460Z Electron: 18.3.5 Chromium: 100.0.4896.160 Node.js: 16.13.2 V8: 10.0.139.17-electron.0 OS: Windows_NT x64 10.0.19042

I don't know if this information helps but, I have almost 150 Extensions. Maybe it doesn't work with another extension installed.

ColdSpirit0 commented 2 years ago

Same for me. If I close all files in vscode, then the host will start normally

juihanamshet1 commented 2 years ago

@ColdSpirit0 @ngnlTeto @adi-FlocknGo @ferreteleco Please update the extension to v1.0.16 as soon it's available to you; it includes a fix for the issue you were facing. Let us know if it's resolved on your end.

If you run into the issue again, follow these steps to send us logs: In VS Code, Ctrl + Shift + P and Run the command "Developer: Open extension logs folder". It'll open up a folder, search for "intellicode-completions" in the folder and send me the latest log file when the issue occurred.

ngnlTeto commented 2 years ago

The fix works for me.

ColdSpirit0 commented 2 years ago

It works for me too, thank you!

ferreteleco commented 2 years ago

It's working for me too, Thanks!!

juihanamshet1 commented 2 years ago

Glad to hear that! Thank you for the update