-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Electron window crashes about once a day (presumed OOM) #22690
Comments
happened again, this time without me being present. Was working fine, stepped away for a few minutes, crashed by the time I returned. |
... and again, this time when switching rooms. This is now indicative of a memory leak. |
This is likely fixed by matrix-org/matrix-react-sdk#9273 |
Declaring fixed by matrix-org/matrix-react-sdk#9273 - haven't seen an OOM since. |
I can confirm that there have been no crashes for a while 👍 |
Well, I'm still getting it on Pop!_OS 22.04 LTS. ..ownloads/nextcloud-container❯ flatpak uninstall --delete-data im.riot.Riot
ID Branch Op
1. [-] im.riot.Riot stable r
Uninstall complete.
Delete data for im.riot.Riot? [y/n]: y
..ownloads/nextcloud-container❯ flatpak --user install im.riot.Riot
Looking for matches…
Remotes found with refs similar to ‘im.riot.Riot’:
1) ‘flathub’ (user)
2) ‘flathub-beta’ (user)
Which do you want to use (0 to abort)? [0-2]: 1
im.riot.Riot permissions:
ipc network pulseaudio wayland x11 devices file access [1] dbus access [2] bus ownership [3]
[1] xdg-run/keyring, xdg-run/pipewire-0
[2] org.freedesktop.Notifications, org.freedesktop.ScreenSaver, org.freedesktop.portal.Fcitx, org.kde.StatusNotifierWatcher
[3] org.kde.*
ID Branch Op Remote Download
1. [✓] im.riot.Riot stable i flathub 124.1 MB / 119.4 MB
Installation complete.
..ownloads/nextcloud-container❯ flatpak run im.riot.Riot
[3:0313/163812.289457:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
/home/filbot/.var/app/im.riot.Riot/config/Element exists: no
/home/filbot/.var/app/im.riot.Riot/config/Riot exists: no
LaunchProcess: failed to execvp:
xdg-settings
Gtk-Message: 16:38:12.975: Failed to load module "canberra-gtk-module"
Gtk-Message: 16:38:12.976: Failed to load module "canberra-gtk-module"
[3:0313/163812.999529:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0313/163812.999569:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Starting auto update with base URL: https://packages.element.io/desktop/update/
Auto update not supported on this platform
Fetching translation json for locale: en_EN
Resetting the UI components after locale change
Changing application language to en-us,en,en,en
Fetching translation json for locale: en-us
Fetching translation json for locale: en
Fetching translation json for locale: en
Fetching translation json for locale: en
Resetting the UI components after locale change
[52:0313/163923.801028:ERROR:broker_posix.cc(40)] Recvmsg error: Connection reset by peer (104)
/app/bin/element: line 21: 3 Trace/breakpoint trap (core dumped) env TMPDIR="$XDG_RUNTIME_DIR/app/${FLATPAK_ID:-im.riot.Riot}" zypak-wrapper /app/Element/element-desktop $FLAGS "$@" I remember it being something about the "search" functionality causing issues. that was a year ago and I've reinstalled since then. |
Fedora 36 / Flatpak user here: I was able to trigger this by resetting the index store under Security and Privacy --> Message Search I then began to see:
The reason I messed with it was search wasn't working for encrypted channels, after resetting it it started to grow in size and appeared to be working then crashes began. I re-installed Element Desktop via:
After this I logged back and crashes persisted. After launching it a few more times I noticed the Message / Index store area now displays:
So far so good (with message index database mad about something). I'll use it throughout the day and see if this somehow circumvents or is/was related to the crashes. It appears for me the crashes are related to a functioning encrypted index message store, at least with the official latest flatpak. |
I've also been experiencing this. I noticed in my riot/element client (also on Fedora 36 installed via flatpak running the latest):
In one of my rooms, messages from another user were just reading as:
for all messages from that user. That was coupled with the fact that under Security & Privacy -> Message Search, I had what @sadsfae saw which was:
Thinking this is a problem, I pressed reset, and now my Element crashes continuously, though seems to work fine if I use a chrome browser window. This does seem to be related to the message search, and since the browser based element window keeps working, and Security & Privacy -> Message search in the chrome browser reads:
It does seem to support search being part of the problem. I was able to keep the Element/riot native client from crashing, by launching it, and going into the setting mentioned and disabling it before the client crashed. And now it's up and running. |
Something similar happens on my computer (Pop!_OS 22.04, Flatpak) on multiple versions of Element. After logging in / verifying, Element will crash very quickly. I had to try multiple times before I had enough time to disable search. Now Element has been running for hours without crashing. |
Steps to reproduce
Unclear.
Steps I took:
Outcome
What did you expect?
The app to work :p
What happened instead?
White screen of welcome.
Operating system
Windows 10
Application version
Nightly (2022-06-28)
How did you install the app?
The Internet
Homeserver
t2l.io
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: