Skip to content
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

Frequent crashes in Windows 11 v22H2 #2450

Open
tommyomw opened this issue Dec 5, 2022 · 24 comments
Open

Frequent crashes in Windows 11 v22H2 #2450

tommyomw opened this issue Dec 5, 2022 · 24 comments

Comments

@tommyomw
Copy link

tommyomw commented Dec 5, 2022

Summary

On some days(random), right after boot, Mattermost v5.2.1 autostarts in Windows 11 v22H2 and then crashes. Trying to start it again results in an instant crash (no error). After 5-10-15 attempts, it stops crashing and works for the rest of the day.

Steps to reproduce

Start Mattermost in Windows 11 - random occurance.

Expected behavior

To work without crashing.

Observed behavior (that appears unintentional)

There are "Information" Event logs stating:

Ending a Windows Installer transaction: C:\Windows\system32\config\systemprofile\AppData\Local\mdm{2ED3847B-FF54-4238-BD01-B24893454F14}.msi. Client Process Id: 8512.

Windows Installer reconfigured the product. Product Name: Mattermost. Product Version: 5.1.1. Product Language: 1033. Manufacturer: Mattermost, Inc.. Reconfiguration success or error status: 1603.

Product: Mattermost -- Configuration failed.

Possible fixes

Will double check the MDM deployment side, but this should be prevented from happening / should be fixed in the app. Windows 10 users (having the same app version and deployment settings) don't experience this issue.

@amyblais amyblais transferred this issue from mattermost/mattermost Dec 5, 2022
@devinbinnie
Copy link
Member

@tommyomw Do you have any log files from users that are experiencing this issue? If the app is crashing I'd like to see if we can pinpoint where this is happening on your systems.

As a note, I'm running Windows 11 22H2 as well and haven't been experiencing crashes.

@tommyomw
Copy link
Author

tommyomw commented Dec 6, 2022 via email

@tommyomw
Copy link
Author

tommyomw commented Dec 8, 2022 via email

@devinbinnie
Copy link
Member

@tommyomw Can you post some log files from users who have experienced these crashes? Thanks!

@tommyomw
Copy link
Author

tommyomw commented Dec 8, 2022

Mattermost.zip
Please see attached (hopefuly this works now).
main.log

@tboulis
Copy link
Contributor

tboulis commented Dec 8, 2022

@tommyomw It seems like the GPU process crashes. Can you please check if enabling (or disabling) hardware acceleration fixes the issue? Also, do the users have PCs with common specs (gpu, cpu)?

@tommyomw
Copy link
Author

tommyomw commented Dec 9, 2022 via email

@tommyomw
Copy link
Author

tommyomw commented Dec 9, 2022 via email

@devinbinnie
Copy link
Member

@tommyomw Do you have any anti-virus or other endpoint security software that could be interfering with Mattermost?

@tommyomw
Copy link
Author

tommyomw commented Dec 9, 2022 via email

@tommyomw
Copy link
Author

tommyomw commented Dec 15, 2022 via email

@tboulis
Copy link
Contributor

tboulis commented Dec 19, 2022

Hi @tommyomw, it seems like the issue is a combination of two issues. On the one side there is the identical hardware between the users and on the other side there is the MDM that might cause this. Since we don't have enough information about the crash, can you please check if there are any files named uncaughtException-XXXXXX.txt in the directory %appdata%/Mattermost and post them here?

About "use GPU hardware acceleration", please try again to disable it and restart the application. Sometimes it might not take effect immediately and without a restart

@tommyomw
Copy link
Author

tommyomw commented Dec 19, 2022 via email

@tboulis
Copy link
Contributor

tboulis commented Dec 19, 2022

@tommyomw Thank you. From these logs, there is no indication of a crash. There should be a line like [error] The GPU process has crashed .... What is the behaviour you observe? Does the application close by itself or do you see a blank screen?

@tommyomw
Copy link
Author

tommyomw commented Dec 19, 2022 via email

@tboulis
Copy link
Contributor

tboulis commented Dec 19, 2022

Got it, thanks.
Is it possible to test with a previous version, eg 5.1.1 and see if the problem persists?

@tommyomw
Copy link
Author

tommyomw commented Dec 19, 2022 via email

@tboulis
Copy link
Contributor

tboulis commented Dec 19, 2022

That makes sense @tommyomw.
Because the clients are configured by MDM, the user cannot disable autoupdates from the client side. This should be done from the registry configuration side (Group Policy Objects)

@tommyomw
Copy link
Author

tommyomw commented Dec 20, 2022 via email

@tboulis
Copy link
Contributor

tboulis commented Dec 20, 2022

@tommyomw Unfortunately, we cannot solve an issue which we cannot reproduce or do not have enough information about.
One the one side, we should have more useful logs/reports when the application crashes - it will be addressed in v5.3.0 but, on the other side, mattermost is built on top of electron, which usually has compatibility/crash issues with recently released OSs (like windows 11).

We still investigate the issue, and if something comes up we'll let you know. Thank you for your patience

@tommyomw
Copy link
Author

tommyomw commented Dec 20, 2022 via email

@devinbinnie
Copy link
Member

@tommyomw Is this still an issue for you in v5.3.1? If so, is it also an issue on the latest nightly build: https://community.mattermost.com/core/channels/desktop-builds

@tommyomw
Copy link
Author

tommyomw commented May 5, 2023 via email

@devinbinnie
Copy link
Member

@tommyomw Just wondering if this still happens on the latest version? We've done many improvements to v5.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants