Skip to content
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

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

Closed
sourishkrout opened this issue Oct 24, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@sourishkrout
Copy link
Member

sourishkrout commented Oct 24, 2022

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 sourishkrout added the bug Something isn't working label Oct 24, 2022
@sourishkrout sourishkrout changed the title Remote extension host crashes after ~10s of opening a markdown file Remote extension host (devcontainer/codespaces) crashes after ~10s of opening a markdown file Oct 24, 2022
@sourishkrout sourishkrout changed the title Remote extension host (devcontainer/codespaces) crashes after ~10s of opening a markdown file Remote extension host (both in local devcontainer or codespaces) crashes after ~10s of opening a markdown file Oct 24, 2022
@sourishkrout sourishkrout changed the title Remote extension host (both in local devcontainer or codespaces) crashes after ~10s of opening a markdown file Remote extension host (both in local devcontainer and codespaces) crashes after ~10s of opening a markdown file Oct 24, 2022
@christian-bromann christian-bromann self-assigned this Oct 26, 2022
@christian-bromann
Copy link
Contributor

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.

@joseeantonior
Copy link

@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.

@sourishkrout
Copy link
Member Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants