Closed jasonblais closed 7 years ago
^Both happened around the same time on pre-release.mattermost.com. However, no obvious errors in Server Logs, and no performance issues detected that could be related.
I believe the issue is not related to servers.
The error itself was added at #626 via Electron's gpu-process-crashed
event. However perhaps we should not finish the app because Electron might recover the process. electron/electron#832
Got it. Yeah I think if Electron recovers the process then we should keep the app open when possible. But otherwise having the dialog is helpful when the app does actually crash.
Given two people (out of ~4 who tried testing it) experienced the crash, it might occur quite frequently.
As written at electron/electron#832, I tried killing the gpu process by using Process Explorer. The window turned black just for a moment, then a new gpu process spawned. After that, the window is still correctly shown. After killing three times, it seems that Electron will not use the gpu process while the app is running.
So probably we can fix this issue by ignoring the event as well as before. (Probably console log is enough)
@yuya-oc I think that sounds good
I confirm (by marking "x" in the [ ] below: [x]):
Summary Desktop App randomly crashes on latest test build
Steps to reproduce
No repro steps so far.
Reproduced on
On latest test build from https://github.com/mattermost/desktop/pull/645
Observed behavior
Win10 crash report:
MacOS crash report: