audreyt / ethercalc

Node.js port of Multi-user SocialCalc
https://ethercalc.net
Other
2.97k stars 539 forks source link

Segmentation fault (core dumped) #748

Open mbressman opened 3 years ago

mbressman commented 3 years ago

Am running EtherCalc on Ubuntu 18.04. All of a sudden it's started crashing a lot. I have it set to run as a background service, bu when I run it as a command from the shell and then start using it, it crashes with this error:

Segmentation fault (core dumped)

Couldn't find anything else in the list of issues on here about this error - any thoughts or suggestions? Thanks!

mbressman commented 3 years ago

Just tried to launch it again and got this:

Starting backend using webworker-threads events.js:183      throw er; // Unhandled 'error' event      ^

Error: listen EADDRINUSE 0.0.0.0:8000      at Object._errnoException (util.js:1022:11)      at _exceptionWithHostPort (util.js:1044:20)      at Server.setupListenHandle [as _listen2] (net.js:1367:14)      at listenInCluster (net.js:1408:12)      at doListen (net.js:1517:7)      at _combinedTickCallback (internal/process/next_tick.js:141:11)      at process._tickCallback (internal/process/next_tick.js:180:9)      at Function.Module.runMain (module.js:695:11)      at startup (bootstrap_node.js:188:16)      at bootstrap_node.js:609:3

eddyparkinson commented 3 years ago

Error: listen EADDRINUSE 0.0.0.0:8000

this suggests somethings else is running on port 8000. also not sure why the IP number is 0.0.0.0 ... looks odd

mbressman commented 3 years ago

Very strange since I don't run anything else really on that virtual server, but maybe somehow I was running EtherCalc as the background process when I launched it again in the shell?

Any thoughts on the "Segmentation fault (core dumped)" error?

Thanks!

eddyparkinson commented 3 years ago

Webworkers

It will run without webworkers, webworker is optional. I think I disabled webworkers on my version because of some issue.

Segmentation fault

Any thoughts on the "Segmentation fault (core dumped)" error?

Have you got the full output, as well as the error? I don't know of anyone reporting this error.