microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.6k stars 29.03k forks source link

closing a polyglot (Jupyter, .NET Interactive) notebook causes one or more runaway `dotnet` processes on Ubuntu #170777

Closed BryanWilhite closed 1 year ago

BryanWilhite commented 1 year ago

Does this issue occur when all extensions are disabled?: No This issue is caused by the Polyglot Notebooks extension (currently in Preview)

VS Code Version:

code --version
1.74.2
e8a3071ea4344d9d48ef8a4df2c097372b0c5161
x64

OS Version:

OS: Ubuntu 22.04.1 LTS x86_64 
Host: MINIPC PB50 0602 
Kernel: 5.15.0-57-generic 
Uptime: 3 hours, 36 mins 
Packages: 2641 (dpkg), 52 (snap) 
Shell: bash 5.1.16 
Resolution: 2560x1440 
DE: GNOME 
WM: Mutter 
WM Theme: Yaru-dark 
Theme: Yaru-olive-dark [GTK2/3] 
Icons: Yaru-olive [GTK2/3] 
Terminal: gnome-terminal 
CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.300GHz 
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series 
Memory: 6787MiB / 30020MiB 

Steps to Reproduce:

  1. Open a folder containing *.ipynb files in VSCode
  2. Open an *.ipynb file by double-clicking on it
  3. Verify that a the notebook kernel is loaded and the expected content is visible
  4. Close the *.ipynb file in VSCode
  5. Close VSCode

You should see one or more orphaned/runaway processes like this (in System Monitor):

image

BryanWilhite commented 1 year ago

sorry, this issue is already in play here: https://github.com/dotnet/interactive/issues/2527