mattermost / desktop

Mattermost Desktop application for Windows, Mac and Linux
Apache License 2.0
2.03k stars 829 forks source link

[Bug]: Interface frozen on Windows 11 24h2 #3180

Open cyberm8 opened 4 weeks ago

cyberm8 commented 4 weeks ago

Checks before filing an issue

Mattermost Desktop Version

5.9.0

Operating System

Windows 11 24h2 x64

Mattermost Server Version

9.11.1

Steps to reproduce

Open Mattermost Desktop.

Expected behavior

Clicking on the Mattermost Desktop shortcut opens Mattermost Desktop.

Observed behavior

Mattermost Desktop opens but the GUI is completely frozen.

Also there is popup saying "Get an application to open the link, your computer does not have an application that can open this link [...]."

image

Closing completely Mattermost and reopening it fixes the issue.

Log Output

[2024-10-23 10:10:00.663] [error] Logger Log level set to: info
[2024-10-23 10:10:00.791] [warn]  [Config] app-update.yml does not exist, disabling auto-updates
[2024-10-23 10:10:01.317] [info]  [App.Config] config.autostart has been configured: true
[2024-10-23 10:10:01.660] [info]  [App.Config] config.autostart has been configured: true
[2024-10-23 10:10:01.872] [error] Logger Log level set to: info
[2024-10-23 10:10:01.983] [warn]  [Config] app-update.yml does not exist, disabling auto-updates
[2024-10-23 10:10:02.336] [info]  [ServerDropdownView] init
[2024-10-23 10:10:02.483] [error] [MainWindow] failed to load Error: ERR_FAILED (-2) loading 'mattermost-desktop://renderer/index.html'
    at rejectAndCleanup (node:electron/js2c/browser_init:2:78713)
    at finishListener (node:electron/js2c/browser_init:2:78875)
    at WebContents.stopLoadingListener (node:electron/js2c/browser_init:2:79262)
    at WebContents.emit (node:events:519:28)
[2024-10-23 10:10:03.637] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-10-23 10:10:03.797] [info]  [ServerDropdownView] init
[2024-10-23 10:10:03.932] [info]  [i18nManager] Set new language fr
[2024-10-23 10:10:03.946] [error] [MainWindow] Unable to send the message to the main window for message type update-downloads-dropdown
[2024-10-23 10:10:03.964] [info]  [App.Config] config.autostart has been configured: true
[2024-10-23 10:10:04.417] [info]  [App.Config] config.autostart has been configured: true
[2024-10-23 10:10:04.496] [error] [MainWindow] Unable to send the message to the main window for message type reload-config
[2024-10-23 10:10:06.173] [info]  [App.Config] config.autostart has been configured: true
[2024-10-23 10:11:01.482] [error] Logger Log level set to: info
[2024-10-23 10:11:01.604] [warn]  [Config] app-update.yml does not exist, disabling auto-updates
[2024-10-23 10:11:38.112] [error] [WebContentsEventM...] [HIDDEN] [TAB_MESSAGING] Renderer process for a webcontent is no longer available: killed
[2024-10-23 10:11:38.132] [error] [App.App] "child-process-gone" The child process has crashed. Details:  {
  type: 'Utility',
  reason: 'killed',
  exitCode: 1,
  serviceName: 'network.mojom.NetworkService',
  name: 'Network Service'
}
[2024-10-23 10:11:38.251] [error] [App.App] "child-process-gone" The child process has crashed. Details:  { type: 'GPU', reason: 'killed', exitCode: 1, serviceName: 'GPU' }
[2024-10-23 10:11:48.833] [error] Logger Log level set to: info
[2024-10-23 10:11:48.936] [warn]  [Config] app-update.yml does not exist, disabling auto-updates
[2024-10-23 10:11:49.393] [info]  [App.Config] config.autostart has been configured: true
[2024-10-23 10:11:49.774] [info]  [App.Config] config.autostart has been configured: true
[2024-10-23 10:11:51.497] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-10-23 10:11:51.671] [info]  [ServerDropdownView] init
[2024-10-23 10:11:51.781] [info]  [i18nManager] Set new language fr
[2024-10-23 10:11:51.906] [info]  [App.Config] config.autostart has been configured: true
[2024-10-23 10:11:51.952] [error] [MainWindow] Unable to send the message to the main window for message type update-downloads-dropdown
[2024-10-23 10:11:52.317] [info]  [App.Config] config.autostart has been configured: true
[2024-10-23 10:11:54.328] [info]  [App.Config] config.autostart has been configured: true

Additional Information

The issue, AFAWK, only occurs on Windows 11 24h2 (we are slowing migrating from Windows 10 to Windows 11 (24h2). It's quite rare (<5 users out of 30), from time to time.

Mattermost is installed with the MSI via GPO. GPO are used to set the server URL.

It may be a Windows 11 issue, but at least it is documented here.

devinbinnie commented 3 weeks ago

@cyberm8 Can you turn on Debug level logging in the Settings modal and reproduce and provide logs? Looks like somehow something is failing to load internally.

cyberm8 commented 3 weeks ago

Will do. I cannot reproduce that on demand though.

cyberm8 commented 3 weeks ago

The bug occurred today at around 2.03pm-2.05pm. main_debug.log