-
Notifications
You must be signed in to change notification settings - Fork 96
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
Linux 5.5.x: IPC/file-system operations seems to get sporadically freezed #253
Comments
I also noticed that after the recent system updates the
The |
In all the 4 reported cases of weird app behavior on Arch-based systems the 5.5.x Linux kernel was used (5.5.2 and 5.5.3). |
I was able to find in the syslog mentioning libraries like
That's a Dart stuff of curse, but another blind guess is that @nodejs / @electron might experience similar epoll-related issues. That would explain the guess posted above in the first message:
|
I would be interested to see if someone who recently reported EM v4.2.2 use issues/freezes/timeouts on Arch + 5.5.x kernel could run |
I found the following:
There were several instances of crashes like that. |
Might be related kernel issue https://bugzilla.kernel.org/show_bug.cgi?id=205933 (picked from flutter issues tracker). |
Also possibly related task electron/electron#22291. It would explain why ElectronMail build based on Electron v8 works for @lachlantula, @gourdcaptain, @srappan. The lib https://www.archlinux.org/packages/core/x86_64/glibc/ landed to Arch repo on Feb 11 /
|
Electron v8 based release https://github.com/vladimiry/ElectronMail/releases/tag/v4.3.0 got published. So closing the issue for now as there has been no freezing issues reported if Electron v8 based build was used. |
Referencing relevant messages:
Thanks @bedwardly-down for such a thorough investigation. |
You're quite welcome. The little info you gave me went a long way and to be fair, that investigation was a bit frustrating but fun. i think I'd like to contribute more in that regard. I also use Protonmail as my main email service, so I'll try your client out and see what i can do here. |
Looks like 5.7 kernel doesn't experience the issue. So using either 5.4 LTS or 5.7 is a solution. |
5.6.13 up seems to have fixed the issue for Joplin (the other Electron app that had this issue). There were two epoll related commits submitted by the maintainers that created the original problem commit. Hopefully, no one will mess with this further in the kernel. |
Summary: there is no reliable solution for the issue at the moment except for reverting to the 5.4 kernel.
I just tried to toggle the
Start minimized to tray
option on the "General" app settings block and got theInvocation timeout of calling "patchBaseConfig" method on "electron-mail:ipcMain-api" channel with 25000ms timeout
error message which I expected to see since I visually saw that the form remains blocked which means the flag toggling process is still in progress.The issue occurred after the computer got out from the suspend mode.
Toggling the
Start minimized to tray
flag simply sends the signal to the main process, then the main process updates theconfig.json
and sends the updated version back.So far the issue has been noticed only on Arch Linux based systems (see also #250 and #252). The app instability issues started to happen a few days ago (on Feb 8-12), so seems to be caused by recent system update since the app is a static thing (was not updated).
Toggling the
Start minimized to tray
flag is just one case I noticed but it looks like the inter-process communication is affected as a whole thing (see #250 and #252). The wild guess is that the file system access involvement is a required but not limited condition for an issue occurring (access to FS gets freezed and so IPC request doesn't respond within the timeout).CC @lachlantula, @gourdcaptain, @srappan. Not sure if this issue is similar to issue you reported just recently, since I use @electron v8 based build but you were using released build which is @electron v7 based.
The text was updated successfully, but these errors were encountered: