vscode-runme icon indicating copy to clipboard operation
vscode-runme copied to clipboard

Remote extension host (both in local devcontainer and codespaces) crashes after ~10s of opening a markdown file

Open sourishkrout opened this issue 3 years ago • 1 comments

Appears to work fine and then closes the editor and restarts the remote extension host (crashed?) all of the sudden. It'll continue to crash the remote extension hosts which triggers an error notification telling the user how many times it has crashed in the last 5 min.

Unclear why it's crashing and why it can't recover. There's no discernible error message that indicates why this would be happening. Requires thorough debugging.

sourishkrout avatar Oct 24 '22 13:10 sourishkrout

Some investigations have shown that extension initialises correctly but ones a markdown file is opened some memory leak creeps up and causes the extension host to crash. Experiments with VS Code on Docker as well as Gitpod where the problem was not reproducible (for me). I filed a ticket to the GitHub support team to see if they could provide some help. I'ld suggest to wait for their response as it would not be straight forward to debug this problem.

christian-bromann avatar Nov 01 '22 18:11 christian-bromann

@sourishkrout Do we have any insights as to whether the GH ticket had a reply? Otherwise we might want to take another peek at this and see if it's worth exploring. Or if we completely changed how we handle this.

joseeantonior avatar Oct 30 '23 20:10 joseeantonior

@sourishkrout Do we have any insights as to whether the GH ticket had a reply? Otherwise we might want to take another peek at this and see if it's worth exploring. Or if we completely changed how we handle this.

This is fixed by moving from a WASM to GRPC (aka "runme kernel") interface.

sourishkrout avatar Oct 31 '23 17:10 sourishkrout