code-server: Unexpected random crashes
code-serverversion: 2.1485-vsc1.38.1- OS Version: Arch Linux (rolling release)
Description

I run code-server with the command above. Everything is fine for a while. I open my browser and use it fine, but then it randomly crashes. I say random because I cannot find any pattern between the crash and possible stimuli. It can crash when I’m saving a file, or opening a project folder, or changing a setting, etc.
When it crashes, it brings me back to the terminal.
The logs don’t seem to have anything useful. One time, I ran code-server as above, and had it immediately crash when I opened the URL with param ?folder=/home/arvind/Blueshift
[2019-09-20 18:41:46.724] [remoteagent] [info] update#setState idle
[2019-09-20 18:41:46.724] [remoteagent] [trace] telemetry/optInStatus {"properties":{"common.machineId":"4efb74722d175601cc7>
[2019-09-20 18:41:46.724] [remoteagent] [trace] telemetry/optInStatus {"optIn":true}
[2019-09-20 18:41:46.724] [remoteagent] [trace] telemetry/machineIdFallback {"properties":{"common.machineId":"4efb74722d175>
[2019-09-20 18:41:46.724] [remoteagent] [trace] telemetry/machineIdFallback {"usingFallbackGuid":false}
[2019-09-20 18:41:49.856] [remoteagent] [info] request.url "/?folder=/home/arvind/Blueshift"
[2019-09-20 18:41:51.623] [remoteagent] [trace] Started scanning system extensions
I’m not sure how this can even be reproduced. But if anyone has any ideas to explore this, I’m all ears.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 37 (16 by maintainers)
I’m still not sure as to the origin of the crashes but we’re making some changes that will recover from the crashes so that you can at least refresh the page and have VS Code start up again.
--verboseis equivalent to--log trace(andtraceis more verbose thandebug). The verbose flag takes priority over the log flag. So you only need one or the other.