-
Notifications
You must be signed in to change notification settings - Fork 10.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
rocketchat crash with nodejs-8.10.0 #10060
Comments
Hi @himBeere At the moment Rocket.Chat only supports 8.9.4. 8.10.0 would be considered a unsupported version for the time being. I'm sure this will change in the near future as 8.10.0 is the current LTS release. The team has only recently moved to the 8.x release of NodeJS and with a project so large there are a lot of factors to be taken into account when changing versions like waiting for the projects many dependencies to support the newer releases as well. I'll take a look at why it might be crashing but at the moment this would be considered a non issue. |
@rocket-cat close I'm going to close this issue for the time being . The dev team is aware of the issue as there's been a few other posts but for the moment you will need to stick with the supported version until they get a chance to update it. If you feel this issue should remain open then please respond back to me here and I'll re open it for you. We appreciate you taking the time to report the issue to the team. Thanks :) |
Ok, thanks. Good to know. |
Hello to your dev' team, Please, fix the node version in the Docker image:
The image can not be used. Thanks to you :) |
Oh. and maybe as a side note. Ubuntu nodejs.8.x ppa delivers 8.10 as default right now. |
You are seriously kidding, right? The official Rocket.Chat docker images already got 8.10 and the available 8.x repositories for Ubuntu Xenial also provide only 8.10... So how should somebody keep Rocket.Chat running in that situation? Edit: Also pretty cool that you have not added ANY note to https://github.com/RocketChat/Rocket.Chat/blob/develop/HISTORY.md about the new version requirement... |
So..who has the nodejs bug report number handy ? nodejs should not crash at all.. |
And there is not any useable tag available at https://hub.docker.com/r/library/node/tags/ :( |
@jnweiger but I can't get it installed with the deb repo on xenial. |
@tboerger You have to install it with
and then prevent it from being upgraded again somehow. At least that's what i did. Pinned the package with puppet. |
@crrodriguez i built nodejs with debug option and get this:
This should help I guess? |
@crrodriguez And here is the nodejs issue: nodejs/node#19274 |
Maybe I should just install the debug package, that have not been updated. |
This looks like something from one v8 Isolate is used in another Isolate. |
I was wrong. This rather looks like the parser is running on a thread it is not supposed to be on. |
https://github.com/dockhippie/rocketchat/blob/master/Dockerfile#L34-L36 Not really nice, but at least it should hopefully fix the issue for now... |
We (@abernix and I, who work at Meteor) believe we've identified the problem, and have recommended a solution to Node/V8: nodejs/node#19274 (comment) |
… 8-browsers is not supported by Rocket.Chat (see RocketChat#10060)
… 8-browsers is not supported by Rocket.Chat (see RocketChat#10060)
has this issue been fixed at all without using an old version of node? |
rumor has it, the fix will be in nodejs-8.11.2 |
Hi There, NodeJS 8.11.4 seems to be out. Did anyone tried out and could tell me if if worth the upgrade ? $ n --lts |
The segmentation fault demonstrated here has been fixed since Node.js 8.11.2. If you want to avoid this segmentation fault, you should certainly upgrade! |
Thanks @abernix, Actually I gave it a try before posting and the LTS version (8.11.4) doesn't work and throw me a seg. fault directly (no need to wait a -always different- amount of time before the crash). |
Description:
Just updated to nodejs 8.10.0. Rocketchat 0.62.1 crashes immediately with segmenation fault.
Switching back to nodejs 8.9.4 solves the issue.
Server Setup Information:
Steps to Reproduce:
Expected behavior:
Rocketchat should run.
Actual behavior:
Rocketchat crashed
Relevant logs:
No Server logs. Nodejs process crashes and is not able to create log entries.
The text was updated successfully, but these errors were encountered: