Rocketchat keep crashing after restoration after it has be minimized.
Steps to reproduce:
1/ Open the Rocketchat window
2/ Minimize by clicking on the top-right dash line (minimize button)
3/ Put the mouse on the rocketchat icon until the "No unread messages" popup appears.
3/ Click
The Rocketchat window will not pop up. Another click on the tray icon and the window will be restored... and crash immediately !
Tested with version 2.17.0 and 2.17.1

Wasn't able to replicate on Windows 10 1909.
Confirm that bug.
Replicated it at Windows 10 1909
Application Logs:
ΠΠΌΡ ΡΠ±ΠΎΠΉΠ½ΠΎΠ³ΠΎ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ: Rocket.Chat.exe, Π²Π΅ΡΡΠΈΡ: 2.17.1.1277, ΠΌΠ΅ΡΠΊΠ° Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ: 0x5de579fe
ΠΠΌΡ ΡΠ±ΠΎΠΉΠ½ΠΎΠ³ΠΎ ΠΌΠΎΠ΄ΡΠ»Ρ: Rocket.Chat.exe, Π²Π΅ΡΡΠΈΡ: 2.17.1.1277, ΠΌΠ΅ΡΠΊΠ° Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ: 0x5de579fe
ΠΠΎΠ΄ ΠΈΡΠΊΠ»ΡΡΠ΅Π½ΠΈΡ: 0xc0000005
Π‘ΠΌΠ΅ΡΠ΅Π½ΠΈΠ΅ ΠΎΡΠΈΠ±ΠΊΠΈ: 0x0000000002177a44
ΠΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡ ΡΠ±ΠΎΠΉΠ½ΠΎΠ³ΠΎ ΠΏΡΠΎΡΠ΅ΡΡΠ°: 0x1244
ΠΡΠ΅ΠΌΡ Π·Π°ΠΏΡΡΠΊΠ° ΡΠ±ΠΎΠΉΠ½ΠΎΠ³ΠΎ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ: 0x01d5b09689ec7255
ΠΡΡΡ ΡΠ±ΠΎΠΉΠ½ΠΎΠ³ΠΎ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ: C:\Program Files\Rocket.Chat\Rocket.Chat.exe
ΠΡΡΡ ΡΠ±ΠΎΠΉΠ½ΠΎΠ³ΠΎ ΠΌΠΎΠ΄ΡΠ»Ρ: C:\Program Files\Rocket.Chat\Rocket.Chat.exe
ΠΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡ ΠΎΡΡΠ΅ΡΠ°: 883a0f9e-f086-49ab-9cf9-22928bbf5d47
ΠΠΎΠ»Π½ΠΎΠ΅ ΠΈΠΌΡ ΡΠ±ΠΎΠΉΠ½ΠΎΠ³ΠΎ ΠΏΠ°ΠΊΠ΅ΡΠ°:
ΠΠΎΠ΄ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ, ΡΠ²ΡΠ·Π°Π½Π½ΠΎΠ³ΠΎ ΡΠΎ ΡΠ±ΠΎΠΉΠ½ΡΠΌ ΠΏΠ°ΠΊΠ΅ΡΠΎΠΌ:
ΠΠΎΠ½ΡΠ΅ΠΉΠ½Π΅Ρ ΠΎΡΠΈΠ±ΠΊΠΈ 1905221252209474781, ΡΠΈΠΏ 4
ΠΠΌΡ ΡΠΎΠ±ΡΡΠΈΡ: APPCRASH
ΠΡΠΊΠ»ΠΈΠΊ: ΠΠ΅Ρ Π΄Π°Π½Π½ΡΡ
ΠΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡ CAB: 0
Π‘ΠΈΠ³Π½Π°ΡΡΡΠ° ΠΏΡΠΎΠ±Π»Π΅ΠΌΡ:
P1: Rocket.Chat.exe
P2: 2.17.1.1277
P3: 5de579fe
P4: Rocket.Chat.exe
P5: 2.17.1.1277
P6: 5de579fe
P7: c0000005
P8: 0000000002177a44
P9:
P10:
ΠΠ»ΠΎΠΆΠ΅Π½Π½ΡΠ΅ ΡΠ°ΠΉΠ»Ρ:
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERB7EC.tmp.dmp
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERBA6D.tmp.WERInternalMetadata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERBA8D.tmp.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERBA8B.tmp.csv
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERBAAC.tmp.txt
ΠΡΠΈ ΡΠ°ΠΉΠ»Ρ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ Π·Π΄Π΅ΡΡ:
\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchiveAppCrash_Rocket.Chat.exe_22e89c4c58f407031479cbad05c3fc85d831e1f_53573ca7_6a121da8-0898-4434-9ca9-88be83ebd99d
Π‘ΠΈΠΌΠ²ΠΎΠ» Π°Π½Π°Π»ΠΈΠ·Π°:
ΠΠΎΠ²ΡΠΎΡΠ½ΡΠΉ ΠΏΠΎΠΈΡΠΊ ΡΠ΅ΡΠ΅Π½ΠΈΡ: 0
ΠΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡ ΠΎΡΡΠ΅ΡΠ°: 883a0f9e-f086-49ab-9cf9-22928bbf5d47
Π‘ΠΎΡΡΠΎΡΠ½ΠΈΠ΅ ΠΎΡΡΠ΅ΡΠ°: 268435456
Π₯ΡΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ ΠΊΠΎΠ½ΡΠ΅ΠΉΠ½Π΅Ρ: 8ee1ffe2d5e8e4038a70b4a274787cdd
ΠΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡ GUID CAB: 0
ΠΠΌΡ ΡΠ±ΠΎΠΉΠ½ΠΎΠ³ΠΎ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ: Rocket.Chat.exe, Π²Π΅ΡΡΠΈΡ: 2.17.1.1277, ΠΌΠ΅ΡΠΊΠ° Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ: 0x5de579fe
ΠΠΌΡ ΡΠ±ΠΎΠΉΠ½ΠΎΠ³ΠΎ ΠΌΠΎΠ΄ΡΠ»Ρ: Rocket.Chat.exe, Π²Π΅ΡΡΠΈΡ: 2.17.1.1277, ΠΌΠ΅ΡΠΊΠ° Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ: 0x5de579fe
ΠΠΎΠ΄ ΠΈΡΠΊΠ»ΡΡΠ΅Π½ΠΈΡ: 0xc000041d
Π‘ΠΌΠ΅ΡΠ΅Π½ΠΈΠ΅ ΠΎΡΠΈΠ±ΠΊΠΈ: 0x0000000002177a44
ΠΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡ ΡΠ±ΠΎΠΉΠ½ΠΎΠ³ΠΎ ΠΏΡΠΎΡΠ΅ΡΡΠ°: 0x1244
ΠΡΠ΅ΠΌΡ Π·Π°ΠΏΡΡΠΊΠ° ΡΠ±ΠΎΠΉΠ½ΠΎΠ³ΠΎ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ: 0x01d5b09689ec7255
ΠΡΡΡ ΡΠ±ΠΎΠΉΠ½ΠΎΠ³ΠΎ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ: C:\Program Files\Rocket.Chat\Rocket.Chat.exe
ΠΡΡΡ ΡΠ±ΠΎΠΉΠ½ΠΎΠ³ΠΎ ΠΌΠΎΠ΄ΡΠ»Ρ: C:\Program Files\Rocket.Chat\Rocket.Chat.exe
ΠΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡ ΠΎΡΡΠ΅ΡΠ°: fb386dfd-5a72-494c-97fe-4b06bbe8ba30
ΠΠΎΠ»Π½ΠΎΠ΅ ΠΈΠΌΡ ΡΠ±ΠΎΠΉΠ½ΠΎΠ³ΠΎ ΠΏΠ°ΠΊΠ΅ΡΠ°:
ΠΠΎΠ΄ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ, ΡΠ²ΡΠ·Π°Π½Π½ΠΎΠ³ΠΎ ΡΠΎ ΡΠ±ΠΎΠΉΠ½ΡΠΌ ΠΏΠ°ΠΊΠ΅ΡΠΎΠΌ:
ΠΠΎΠ½ΡΠ΅ΠΉΠ½Π΅Ρ ΠΎΡΠΈΠ±ΠΊΠΈ 1470455316813197866, ΡΠΈΠΏ 4
ΠΠΌΡ ΡΠΎΠ±ΡΡΠΈΡ: APPCRASH
ΠΡΠΊΠ»ΠΈΠΊ: ΠΠ΅Ρ Π΄Π°Π½Π½ΡΡ
ΠΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡ CAB: 0
Π‘ΠΈΠ³Π½Π°ΡΡΡΠ° ΠΏΡΠΎΠ±Π»Π΅ΠΌΡ:
P1: Rocket.Chat.exe
P2: 2.17.1.1277
P3: 5de579fe
P4: Rocket.Chat.exe
P5: 2.17.1.1277
P6: 5de579fe
P7: c000041d
P8: 0000000002177a44
P9:
P10:
ΠΠ»ΠΎΠΆΠ΅Π½Π½ΡΠ΅ ΡΠ°ΠΉΠ»Ρ:
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERC44F.tmp.dmp
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERC51C.tmp.WERInternalMetadata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERC53C.tmp.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERC53C.tmp.csv
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERC55C.tmp.txt
ΠΡΠΈ ΡΠ°ΠΉΠ»Ρ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ Π·Π΄Π΅ΡΡ:
\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchiveAppCrash_Rocket.Chat.exe_164f317acc56f940601049cbe93a8f9d39495e4e_53573ca7_fb39a24a-2d41-475f-bc42-70fb8ea83523
Π‘ΠΈΠΌΠ²ΠΎΠ» Π°Π½Π°Π»ΠΈΠ·Π°:
ΠΠΎΠ²ΡΠΎΡΠ½ΡΠΉ ΠΏΠΎΠΈΡΠΊ ΡΠ΅ΡΠ΅Π½ΠΈΡ: 0
ΠΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡ ΠΎΡΡΠ΅ΡΠ°: fb386dfd-5a72-494c-97fe-4b06bbe8ba30
Π‘ΠΎΡΡΠΎΡΠ½ΠΈΠ΅ ΠΎΡΡΠ΅ΡΠ°: 268435456
Π₯ΡΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ ΠΊΠΎΠ½ΡΠ΅ΠΉΠ½Π΅Ρ: 39f3237701237ea8a4681b51e0bc322a
ΠΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡ GUID CAB: 0
I was able to replicate the issue with latest version (2.17.1)
Env: WIN 10 Pro 1903
Having same issue on Windows 10 Pro 1909. (2.17.1)
Also happening to me on Windows 10 Pro 10.0.18362
Win10 1809 crash.
It's quite serious. Hurry to repair.
Thanks.
Same on two clients, only with 2.17.1:
1x Win 10 Pro 1809
1x Win 10 Pro 1903
Happening with 2.17.2 on Windows 10 Pro 1909.
I got several crashes on Windows 8 since I upgraded to 2.17(.2?). But it only happens in certain cases (a minority of the time).
I am under the impression that this happens only after Rocket.Chat was minimized for some time. I cannot be more precise at this time.
I still do not know if time from minimization itself is a factor, but I just had another crash less than 15 minutes after I had last closed Rocket.Chat.
Sounds like this needs attn...
This is happening at least once a day on multiple client machines in our organization. Someone, please address. It would be a shame that an otherwise great chat solution goes down due to continued stability issues with its client. I am curious, less notable items are assigned and tagged. Why is that not the case with this obviously major issue?
+1
This client feels like an unwanted child. We've switched from electron client to the browser again. Every release is somehow broken on diverse things. It's a pity. :/
This is happening at least once a day on multiple client machines in our organization. Someone, please address. It would be a shame that an otherwise great chat solution goes down due to continued stability issues with its client. I am curious, less notable items are assigned and tagged. Why is that not the case with this obviously major issue?
Lack of a reliable reproduction method is always a huge complication.
Actually, it reproduces quite reliably. I understand that a video would help little though, as the description already points out that it happens when restoring from tray.
π super annoying problem, most of the time the user is unaware that the messages are not delivered becuase the app hangs in the background
@detoxhby I'm afraid you're looking at the wrong ticket. This issue is a crash, not a hang.
@Chealer it crashes at the moment you click on the tray icon, but it hangs in the background till you do that. The client still going to report online status to everyone, and makes the impression that the target person just don't want to anwser, but in fact he/she is not aware of what happening because the app still seems running.
That is correct. It happens as @detoxhby reports. You have to hover your mouse over the tray icon a few times for it to finally go away and the program finally terminate. I am curious, chealer, are you a code contributor, or are you just trying to do a service by trying to screen the reports? (I mean no disrespect. I am just trying to establish your involvement).
@bkraul I am affected by this bug. What @detoxhby says is that Rocket.Chat "hangs" after it crashed. I'll try checking next time I get a crash, but I suppose that's not an actual hang, it's just a systray "artifact" which - I agree - could confuse inexperienced users (I do get the same behavior).
@Chealer to clarify the situation, it's not just the tray icon being there after the app have died silently.
There are 2 simptons that make me think the app hangs:
Based on electron's multi-process architecture, this could happen in a non-native "hang" way, where the whole process stops executing. It's just either part that processes and/or renders the UI.
So far, the behavior is no longer happening on 2.17.3. Have had the app installed for the last 3 days, and have constantly clicked the tray icon to restore, with no crashes. About to try the newer versions. Haven't seen any specific work to target the issue, however I know some dependencies have been updated. That's the ray of light...
I am only on 2.17.2, but it has also been a few days without crashes for me, which is much better than what it used to be.
With version 2.17.3 the application does not crash anymore.
In version 2.17.3 and 2.17.5 I couldn't reproduce that bug anymore.
I think that bug was fixed in 2.17.3
Thanks @tassoevan
I got a new crash on 2.17.2. I confirm that in fact Rocket.Chat initially hangs, and after that prompt, it crashes. Yet, 2 Rocket.Chat.exe processes remain after exiting.
If this was fixed in 2.17.3, that was probably unintended, but there's 1 commit which might have fixed: https://github.com/RocketChat/Rocket.Chat.Electron/commit/145c04d45a1c11c3f4d4e1e825748b3f03fa7f91
I just upgraded to 2.17.5 and will report if I experience again.
I'm having the same problem in 2.17.9 version