Rocket.Chat.Electron icon indicating copy to clipboard operation
Rocket.Chat.Electron copied to clipboard

Rocket.chat-Client freezes and crashes under Ubuntu 18.04 with Mate GUI

Open pixxelspotter opened this issue 6 years ago • 11 comments

My Setup

  • Operating System: Ubuntu 18.04.4

  • App Version: 2.17.7, 2.17.9 and 2.19.11

  • Installation type: .deb

  • [x] I have tested with the latest version

  • [x] I can simulate the issue easily

Description

The client freezes(white screen) and sometimes crashes when working, the freezing sometimes stops after some minutes, sometimes the client crashes completely. We also use Version 2.17.7 under Ubuntu 16.04.6 with no issues.

Current Behavior

The client freezes(white screen) and sometimes crashes when working, the freezing sometimes stops after some minutes, sometimes the client crashes completely. Strace shows me this: (rocketchat-desktop:8912): libnotify-WARNING **: 11:09:28.919: Failed to connect to proxy ) = 111

Expected Behavior

No freezes and crashes.

pixxelspotter avatar Sep 03 '20 10:09 pixxelspotter

Failed to connect to proxy

I think you should investigate that

ankar84 avatar Sep 04 '20 06:09 ankar84

Failed to connect to proxy

I think you should investigate that

i have freezes when switching between chats and sometimes it even crashes and i have to quit it an restart it. I don't see where the proxy comes in. Could you tell me how to fix it?

pixxelspotter avatar Sep 07 '20 08:09 pixxelspotter

Any chance of this being a GPU-related issue? Check if running the app from command line with the flag --disable-gpu is in anyway different.

tassoevan avatar Sep 16 '20 13:09 tassoevan

Any chance of this being a GPU-related issue? Check if running the app from command line with the flag --disable-gpu is in anyway different.

Starting it with --disable-gpu fromthe commandline still produces this error: (rocketchat-desktop:1947): libnotify-WARNING **: 07:18:55.868: Failed to connect to proxy , the freezing got a little less oftenbut is still there and crashes i didnt notice by this time

pixxelspotter avatar Sep 17 '20 05:09 pixxelspotter

I don't see where the proxy comes in. Could you tell me how to fix it?

Can you show me result of command env | grep proxy in your terminal? And then try to add your Rocket Chat server address to no_proxy environment variable.

ankar84 avatar Sep 17 '20 06:09 ankar84

I don't see where the proxy comes in. Could you tell me how to fix it?

Can you show me result of command env | grep proxy in your terminal? And then try to add your Rocket Chat server address to no_proxy environment variable.

env | grep proxy shows an empty response After adding it to the no_proxy env variable i still get: (rocketchat-desktop:4218): libnotify-WARNING **: 09:10:51.868: Failed to connect to proxy I also still have freezes and white screens when swtich between channels or chats

pixxelspotter avatar Sep 17 '20 07:09 pixxelspotter

With Version 3.0.7 it will only start while using the Disable GPU Setting. Starting it without disabling the GPU it will remain grey and you cant do anything.

pixxelspotter avatar Dec 01 '20 13:12 pixxelspotter

With Version 3.0.7 it will only start while using the Disable GPU Setting. Starting it without disabling the GPU it will remain grey and you cant do anything.

@tassoevan can this be fixed in the next version that we can finally upgrade to the new OS version?

pixxelspotter avatar Dec 11 '20 08:12 pixxelspotter

Interesting. I wanna make the disabling of GPU a persistent setting for situations like this one, but I wonder if this is related to the Electron version we're using.

tassoevan avatar Dec 11 '20 14:12 tassoevan

@tassoevan I can't tell you if it related to the Electron version. But fixing this issues is key for us, so we can finally update our systems

pixxelspotter avatar Dec 14 '20 13:12 pixxelspotter

We are facing the same problem both in Windows and macOS (less than windows but still) where on launch or randomly the RocketChat app window became grey/black and only with a force reload it came back. Disabling GPU also works to fix the problem and also launches the app faster too. If I set the --disable-gpu in the Windows launcher to test. We're using it less on browsers and I can't remember if I saw someone complaining about it.

My environment:

Version 3.12.1 Apps Engine Version 1.23.0 Node Version v12.18.4 Database Migration 218 (March 9, 2021 8:08 AM MongoDB 4.0.23 / mmapv1 (oplog Enabled) Commit Details HEAD: (f2817c056) Branch: HEAD

paulopera avatar Mar 16 '21 13:03 paulopera