-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Random SIGSEGV #23
Comments
This bug may have been fixed in |
I'll test it. I still have the same project thus still have the problem. I've attached a log below where you can see the app launch times that precedes the crashes and their frequency. I believe these are all of the crashes I've had. I also forgot to mention that after an every crash I also have a core dump file generated that could potentially be analyzed to find the problem. I'm just not sure what data is in there and how sensitive it is to share it. But since there is a new version to test I think it is not that important for now.
p.s. The app is up 24/7 and there are still around the same amount of players |
Nevermind, I'm not going to test it right now. With the new version I've got this issue which I couldn't fix in an easy way. This issue makes |
Issue with a non working haxball.js 2.2.0 doesn't appear in Ubuntu 22.04.3 |
I left haxball for now. Room works but it is not being updated. If something would need to get changed I might give this a try |
This problem is old, and I don't really want to investigate it and try some time consuming things to fix it because I'm not really bothered of it.
Around a half of a year ago I've launched a room with the
haxball.js
under the hood and the app was crashing randomly, and some time later I've noticed by accident the "SIGSEGV" error inside a logs of my apps launcher,pm2
.Specifically:
"/home/username/.pm2/pm2.log"
2023-02-25T18:07:02: PM2 log: App [hax-host:4] exited with code [0] via signal [SIGSEGV]
Then from this article I've found the problem is probably because of this module that is being used by
haxball.js
, and since I was usingnodejs v16
I've switched tonodejs v14
because it's listed here. Sadly this did not fix the problem, but it seems to be betterApproximately, with a
nodejs 16.15.0
I had 4 crashes in 4 months, and with anodejs 14.21.3
I had 2 crashes in 3.5 months. The crashes are seems to be happening only when the room is being played, not when the room is empty.The room activity, approximately, is 10+ people, 6+ hours a day, and the last months activity is definitely higher than it was in first months, so I guess if I'll switch back to
node v16
I'll probably get more crashes than it was when there was less activity. Maybe, or maybe not, idkI think that I could try to use another versions of node, or maybe try another JavaScript runtimes (deno, bun), or another linux build or distribution, but this crashes are so rare, this might take a years to debug this problem in that way. The problem is still annoying though
cat /etc/os-release
output:The text was updated successfully, but these errors were encountered: