question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extension server killed unexpectedly

See original GitHub issue
  • code-server version: server/1.32.0-282 linux-x64 node-v8.15.0
  • OS Version: Debian 9, Linux Kernel 2.6.32 on OVZ

Steps to Reproduce

  1. Try to download an extension and stop it midway
  2. The extension host process will die eventually with SIGKILL
Mar 16 15:40:26 s code-server[2299]: INFO  Starting shared process [1/5]... {"error":"Exited with null"}
  1. Tried to run the extension host process manually and got this:
root@s:~# /usr/bin/code-server --bootstrap-fork vs/workbench/services/extensions/node/extensionHostProcess --args ["--type=extensionHost"] --data-dir /root/.local/share/code-server
SyntaxError: Unexpected number in JSON at position 2
    at JSON.parse (<anonymous>)
    at v.run (/usr/bin/code-server:549:49455)
    at <anonymous>

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
nol166commented, Mar 21, 2019

We have a new binary coming soon that should reduce memory consumption by at least 50%

0reactions
sr229commented, Sep 12, 2019

Fixed by GH-857.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extension host killed · Issue #827 · shanalikhan/code-settings ...
Describe the bug After the last update of VSCode (1.33.0), code-settings-sync is killing the Extension Host. Visual Studio Code Version ...
Read more >
Service worker killed even with extension page port open
First, we have an extension page (chrome-extension://blahblah/page.html) opened in a tab that has a port connected to the extension service worker.
Read more >
Receiving error message 'Extension host terminated ...
I keep getting this error "Extension host terminated unexpectedly." and I have tried removing all of my extensions, reinstalling the program, ...
Read more >
ServiceWorker is shut down every 5 minutes for manifest V3 ...
The service worker shutting down ends up killing the native host. We have enterprise extension that deals with compliance use cases such as...
Read more >
Python programs suddenly get killed - Unix Stack Exchange
There's nothing to be done here, I'm afraid. The process is being killed by the OOM killer (Out Of Memory Killer), which is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found