Rocket.chat.electron: Rocketchat crash when restoring from tray

Created on 11 Dec 2019  Β·  28Comments  Β·  Source: RocketChat/Rocket.Chat.Electron

My Setup

  • Operating System: Windows 10
  • App Version: 2.17.0 and 2.17.1
  • Installation type: windows exe

  • [x] I have tested with the latest version
  • [x] I can simulate the issue easily

Description

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

rocketchat

windows bug

All 28 comments

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:

  • most of the time, clicking on icon brings back the main window which is already in not responding mode, and dies just after this in a few seconds
  • the app is running (checked multiple times in task manager) in the background, but there are no notifications/messages presented to user, nothing happens

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

Was this page helpful?
0 / 5 - 0 ratings