-
Notifications
You must be signed in to change notification settings - Fork 11.3k
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
Rocket.Chat vs. NodeJS 8.11.1 (or rather > 8.9.4): Random SEGV (segmentation violation) #10331
Comments
@TwizzyDizzy weird.. 0.63.0 in combo with Node.js 8.11.1 should have actually solved this seg fault https://github.com/meteor/meteor/blob/devel/History.md#v1611-2018-04-02 According to the meteor release which we updated to for the 0.63.0 release... Node.js 8.11.1 actually solved the seg fault. So for sure 0.63.0 in combo with Node.js 8.11.1 gave the seg fault and not some other combo? |
Hi Aaron, yes, I just replicated this: Rocket.Chat 0.63.0 vs. NodeJS 8.11.1.
... downgrade to NodeJS 8.9.4: no such behaviour anymore. Cheers |
Same here. Still crashing. Rocketchat 0.63.0 / NodeJS 8.11.1. Downgrading NodeJS to 8.9.4 solves it. cheers |
@rodrigok @sampaiodiego thoughts? This seems to be doing the complete opposite of what upgrading to 8.11.1 was supposed to give us |
Well they said the patch which should solve the problem should be in 8.11.1. Maybe it's not? Here the nodejs issue for reference. nodejs/node#19274 thanks and cheers |
meteor/meteor#9783 (comment) yup looks like they didn't include the segfault in 8.11.1 instead it might be in 8.11.2 🙄 |
How do I downgrade the NodeJs Version within the Rocketchat server (snap)? (for dummies?) .. |
I don't think you can @trstn70 .. but @geekgonecrazy released a fix yesterday, please try running |
|
Still crashing with 0.63.1 and Node 8.11.1 here. Please re-open. Revert to 8.9.4 solve the problem. We are not using the Snap release. |
If you are using 8.11.1 please downgrade node version to 8.9.4. Unfortunately until node.js releases another hot fix... We have no other choice. In snap installs we just downgraded to keep people from being effected. Docker images are already downgraded. It's only manual installs left that you have to downgrade nodejs if you did upgrade |
Also updated release notes with this note |
NodeJS 8.11.2 is out. I've just upgraded my production instance and the behaviour described in this issue does not occur anymore. This is why I am closing this issue. Cheers |
Description:
This is happening when running Rocket.Chat 0.61.2 as well as 0.63.0 on NodeJS 8.11.1. Both versions don't exhibit this behaviour when run on NodeJS 8.9.4. I had NodeJS 8.11.1 and Rocket.Chat running for a while on my testing instance, which didn't exhibit this behaviour. This leads me to think that the suspect is NodeJS 8.11.1 in combination with:
Server Setup Information:
Steps to Reproduce:
I can only guess here:
Expected behavior:
No SEGV
Actual behavior:
SEGV. Restart (due to systemd unit definition) of Rocket.Chat at random intervals
Relevant logs:
strace of the NodeJS process is available, but I will only share it as a last resort with one of the Rocket.Chat developers, as it possibly contains private/sensitive information.
Last lines in strace before SEGV:
auditd-log of failing node processes:
ANOM_ABEND
: Triggered when a processes ends abnormally (with a signal that could cause a core dump, if enabled)./var/log/messages (notice, that the times are identical to the auditd-logs above)
The text was updated successfully, but these errors were encountered: