Closed jaqmol closed 4 years ago
Judging from the error message, tsserver died due to a segmentation error. There might be many reasons for why that happened, from faulty hardware to cosmic rays to buggy code in Node.js.
If this is a one-off thing, it's benign enough to ignore.
If things like this happen often, the most likely reason would be faulty hardware or corrupted Node.js installation, but it is possible to debug this further if you're so inclined, by setting window.atom_typescript_debug = true
in the Atom dev console and watching what exact sequence of commands leads to a crash. If it seems random, again, the most probable cause would be faulty hardware or corrupted Node installation, otherwise might be worth constructing a testcase and reporting it upstream.
It's not random, it happens quite often since a crash I had after installing a certain plugin that froze my machine entirely. I already tried to re-install node from nvm without any noticeable betterment. I guess I have to wipe the complete initial node installation.
a certain plugin that froze my machine entirely
I would suspect file corruption in that case.
complete initial node installation
Bear in mind, depending on the details of your setup, which I can't know, Atom may be using its own Node installation. Atom-TypeScript runs tsserver via Atom's Node. So you might also want to try reinstalling Atom.
This issue has been marked as stale because it did not have any activity for the last 90 days or more. Remove the stale label or comment or this will be closed in 14 days
[Enter steps to reproduce:]
Atom: 1.44.0 x64 Electron: 4.2.7 OS: Ubuntu 19.10 Thrown From: atom-typescript package 13.5.1
Stack Trace
Atom-Typescript error: terminated on signal: SIGSEGV
Commands
Non-Core Packages