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

Incessant crashes on Fedora 36 #280

Closed
GovanifY opened this issue Jun 26, 2022 · 12 comments
Closed

Incessant crashes on Fedora 36 #280

GovanifY opened this issue Jun 26, 2022 · 12 comments

Comments

@GovanifY
Copy link

GovanifY commented Jun 26, 2022

Possibly a duplicate of element-hq/element-web#256 , that was already closed by the time I opened this issue.

Element's flatpak is unusable on Fedora 36 KDE (Wayland), Plasma 5.24.5, and keeps consistently crashing, as shown below:

$ coredumpctl list
TIME PID UID GID SIG COREFILE EXE SIZE
Sat 2022-06-25 10:18:38 CEST 5484 1000 1000 SIGTRAP present /app/Element/element-desktop 31.4M
Sat 2022-06-25 10:38:11 CEST 5897 1000 1000 SIGTRAP present /app/Element/element-desktop 14.9M
Sat 2022-06-25 11:17:49 CEST 3982 1000 1000 SIGTRAP present /app/Element/element-desktop 17.8M
Sun 2022-06-26 14:48:40 CEST 11317 1000 1000 SIGTRAP present /app/Element/element-desktop 16.2M
Sun 2022-06-26 19:04:34 CEST 38829 1000 1000 SIGTRAP present /app/Element/element-desktop 20.4M
Sun 2022-06-26 19:08:11 CEST 39391 1000 1000 SIGTRAP present /app/Element/element-desktop 20.0M
Sun 2022-06-26 19:18:55 CEST 40930 1000 1000 SIGTRAP present /app/Element/element-desktop 28.6M

Relevant last lines of logs before a crash:

[43:0626/191755.313088:ERROR:gl_surface_presentation_[helper.cc](http://helper.cc/)(260)] GetVSyncParametersIfAvailable() failed for 3 times! 
[52:0626/191855.913544:ERROR:broker_[posix.cc](http://posix.cc/)(40)] Recvmsg error: Connection reset by peer (104)
/app/bin/element: line 10:     3 Trace/breakpoint trap   (core dumped) env TMPDIR="$XDG_RUNTIME_DIR/app/${FLATPAK_ID:-im.riot.Riot}" zypak-wrapper /app/Element/element-desktop $FLAGS "$@"

Thanks in advance for looking into it!

@GovanifY
Copy link
Author

I've had the person who I'm filing those issues for run the flatpak with ozonewayland, so far it seems to work.
Will keep updated on whether this changes anything!

@GovanifY
Copy link
Author

The issue does still seem to appear with OzoneWayland, so it's unrelated to that at the very least, should be easy to repro.

@returntrip
Copy link

returntrip commented Aug 3, 2022

I have the same issue on Fedora 36 running Sway:

[44:0803/231349.676257:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[44:0803/231409.943668:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[44:0803/231612.455148:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
/app/bin/element: line 10:     3 Trace/breakpoint trap   (core dumped) env TMPDIR="$XDG_RUNTIME_DIR/app/${FLATPAK_ID:-im.riot.Riot}" zypak-wrapper /app/Element/element-desktop $FLAGS "$@"

@andrewschott
Copy link

Another person on Fedora 36 and sway having core dump issues:

flatpak run im.riot.Riot
/home/andrew/.var/app/im.riot.Riot/config/Element exists: no
/home/andrew/.var/app/im.riot.Riot/config/Riot exists: yes
Using legacy user data path: /home/andrew/.var/app/im.riot.Riot/config/Riot
LaunchProcess: failed to execvp:
xdg-settings
[3:0903/024654.809570:ERROR:ozone_platform_x11.cc(247)] Missing X server or $DISPLAY
[3:0903/024654.809614:ERROR:env.cc(226)] The platform failed to initialize.  Exiting.
/app/bin/element: line 10:     3 Segmentation fault      (core dumped) env TMPDIR="$XDG_RUNTIME_DIR/app/${FLATPAK_ID:-im.riot.Riot}" zypak-wrapper /app/Element/element-desktop $FLAGS "$@"
printenv DISPLAY
:0

@xrishox
Copy link

xrishox commented Sep 19, 2022

i'm on the fedora 37 beta and am also experience frequent crashes

@Novimatrem
Copy link

I believe this issue is related to element-hq/element-desktop#691 -

I am having the same issue on Fedora 37, with the Element flatpak im.riot.Riot v1.11.16, after logging into my newish account that I've used for a month straight. Disabling the encrypted search index in the settings stopped the crashes for me also. I had to rush to disable the option quickly before the client crashed.
It's not great that after only a month of account usage, this issue causes the client to crash after only a few seconds, out of nowhere.

I don't believe it's an issue with the flatpak specifically, but was told to report this here.

@nuke-web3
Copy link

Same issue on Debian element-hq/element-desktop#691

@jellersby
Copy link

Having this same issue on Arch.
Version 1.11.16.

$ flatpak run -v im.riot.Riot
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/jellersby/.local/share/flatpak
F: Opening user flatpak installation at path /home/jellersby/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Skipping parental controls check for app/im.riot.Riot/x86_64/stable since parental controls are disabled globally
F: Opening user flatpak installation at path /home/jellersby/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: /var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/22.08/5d128770a411052d02065ac6baed827e5f02fa03c20c7a36d64951e33b2bb7b9/files/lib32 does not exist
F: Cleaning up unused container id 3396240303
F: Cleaning up per-app-ID state for im.riot.Riot
F: Cleaning up unused container id 2885880384
F: Cleaning up per-app-ID state for im.riot.Riot
F: Allocated instance id 2365862029
F: Add defaults in dir /im/riot/Riot/
F: Add locks in dir /im/riot/Riot/
F: Allowing wayland access
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/jellersby/.config/pulse/client.conf': Error opening file /home/jellersby/.config/pulse/client.conf: No such file or directory
F: Running 'bwrap --args 41 xdg-dbus-proxy --args=43'
F: Running 'bwrap --args 40 element'
/home/jellersby/.var/app/im.riot.Riot/config/Element exists: yes
/home/jellersby/.var/app/im.riot.Riot/config/Riot exists: no
LaunchProcess: failed to execvp:
xdg-settings
Gtk-Message: 21:05:29.955: Failed to load module "canberra-gtk-module"
[3:1213/210530.039679: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:1213/210530.039735: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
Changing application language to en-us
Fetching translation json for locale: en-us
Resetting the UI components after locale change
Resetting the UI components after locale change
Changing application language to en-us
Fetching translation json for locale: en-us
Resetting the UI components after locale change
Error getting the event index passphrase out of the secret store [Error: org.freedesktop.DBus.Error.ServiceUnknown]
/app/bin/element: line 10:     3 Trace/breakpoint trap   (core dumped) env TMPDIR="$XDG_RUNTIME_DIR/app/${FLATPAK_ID:-im.riot.Riot}" zypak-wrapper /app/Element/element-desktop $FLAGS "$@"

@salim-b
Copy link

salim-b commented Jan 5, 2023

Same issue on Ubuntu 22.04 (with dedicated AMD graphics processor using the amdgpu driver):

Logs:
$ flatpak run -v im.riot.Riot
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/salim/.local/share/flatpak
F: Opening user flatpak installation at path /home/salim/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Skipping parental controls check for app/im.riot.Riot/x86_64/stable since parental controls are disabled globally
F: Opening user flatpak installation at path /home/salim/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: /var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/22.08/5d128770a411052d02065ac6baed827e5f02fa03c20c7a36d64951e33b2bb7b9/files/lib32 does not exist
F: Cleaning up unused container id 829876854
F: Cleaning up per-app-ID state for im.riot.Riot
F: Cleaning up unused container id 2239101049
F: Cleaning up per-app-ID state for im.riot.Riot
F: Allocated instance id 3165411881
F: Add defaults in dir /im/riot/Riot/
F: Add locks in dir /im/riot/Riot/
F: Allowing homedir access
F: Allowing wayland access
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/salim/.config/pulse/client.conf': Error opening file /home/salim/.config/pulse/client.conf: No such file or directory
F: Running '/usr/libexec/flatpak-bwrap --args 40 /usr/libexec/flatpak-dbus-proxy --args=42'
F: Running '/usr/libexec/flatpak-bwrap --args 40 element'
/home/salim/.var/app/im.riot.Riot/config/Element exists: yes
/home/salim/.var/app/im.riot.Riot/config/Riot exists: no
LaunchProcess: failed to execvp:
xdg-settings
Gtk-Message: 13:01:22.925: Failed to load module "canberra-gtk-module"
Gtk-Message: 13:01:22.926: Failed to load module "canberra-gtk-module"
[3:0105/130122.939697: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:0105/130122.939747: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
Changing application language to de
Fetching translation json for locale: de
Resetting the UI components after locale change
Resetting the UI components after locale change
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
Changing application language to de
Fetching translation json for locale: de
Resetting the UI components after locale change
[44:0105/130127.025418:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
/app/bin/element: line 10:     3 Trace/breakpoint trap   (core dumped) env TMPDIR="$XDG_RUNTIME_DIR/app/${FLATPAK_ID:-im.riot.Riot}" zypak-wrapper /app/Element/element-desktop $FLAGS "$@"
Output of sudo lshw -c video:
  *-display                 
       description: VGA compatible controller
       product: Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:2f:00.0
       logical name: /dev/fb0
       version: c4
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=amdgpu latency=0 mode=5120x1440 resolution=5120,1440 visual=truecolor xres=5120 yres=1440
       resources: iomemory:7c0-7bf iomemory:7e0-7df irq:100 memory:7c00000000-7dffffffff memory:7e00000000-7e0fffffff ioport:e000(size=256) memory:fcd00000-fcd7ffff memory:fcd80000-fcd9ffff

Some more info:

  • On the same machine with Ubuntu 20.04 (which still used X11 instead of Wayland), it didn't crash.

  • On the same machine with Ubuntu 22.04 using the official DEB package, it doesn't crash.

  • On another machine with Ubuntu 22.04, but Intel graphics using the i915 driver, the Flatpak doesn't crash now also crashes (but with a different error):

    Logs:
    $ flatpak run -v im.riot.Riot
    F: No installations directory in /etc/flatpak/installations.d. Skipping
    F: Opening system flatpak installation at path /var/lib/flatpak
    F: Opening user flatpak installation at path /home/salim/.local/share/flatpak
    F: Opening user flatpak installation at path /home/salim/.local/share/flatpak
    F: Opening system flatpak installation at path /var/lib/flatpak
    F: Skipping parental controls check for app/im.riot.Riot/x86_64/stable since parental controls are disabled globally
    F: Opening user flatpak installation at path /home/salim/.local/share/flatpak
    F: Opening system flatpak installation at path /var/lib/flatpak
    F: /var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/22.08/73aacf135b1aa8580880f3132b85cda64d3b681149b0ae50a8b1c9ade74d6533/files/lib32 does not exist
    F: Cleaning up unused container id 1253044645
    F: Cleaning up per-app-ID state for im.riot.Riot
    F: Cleaning up unused container id 4087412763
    F: Cleaning up per-app-ID state for im.riot.Riot
    F: Allocated instance id 3411306982
    F: Add defaults in dir /im/riot/Riot/
    F: Add locks in dir /im/riot/Riot/
    F: Allowing homedir access
    F: Allowing wayland access
    F: Allowing x11 access
    F: Allowing pulseaudio access
    F: Pulseaudio user configuration file '/home/salim/.config/pulse/client.conf': Error opening file /home/salim/.config/pulse/client.conf: No such file or directory
    F: Running 'bwrap --args 40 xdg-dbus-proxy --args=43'
    F: Running 'bwrap --args 40 element'
    /home/salim/.var/app/im.riot.Riot/config/Element exists: yes
    /home/salim/.var/app/im.riot.Riot/config/Riot exists: no
    LaunchProcess: failed to execvp:
    xdg-settings
    [3:0226/195855.262221: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:0226/195855.262262: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
    [51:0226/195855.289813:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is egl, ANGLE is 
    Fetching translation json for locale: en_EN
    Changing application language to de
    Fetching translation json for locale: de
    Resetting the UI components after locale change
    Resetting the UI components after locale change
    Changing application language to de
    Fetching translation json for locale: de
    Resetting the UI components after locale change
    [3:0226/195855.946219:ERROR:nss_util.cc(232)] Error initializing NSS with a persistent database (sql:/home/salim/.pki/nssdb): NSS error code: -8126
    [3:0226/195909.121232:ERROR:wayland_event_watcher.cc(36)] libwayland: wl_surface@33: error 0: gtk_shell::get_gtk_surface already requested
    
    /app/bin/element: line 16:     3 Trace/breakpoint trap   (core dumped) env TMPDIR="$XDG_RUNTIME_DIR/app/${FLATPAK_ID:-im.riot.Riot}" zypak-wrapper /app/Element/element-desktop $FLAGS "$@"
    

@axelsimon
Copy link

I've been getting the same for the past 10 days or so, started happening after i started a re-indexing of locally stored messages to be able to search encrypted messages, for what it's worth.

Resetting the UI components after locale change
[44:0110/112201.031034:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[52:0110/112228.625943:ERROR:broker_posix.cc(40)] Recvmsg error: Connection reset by peer (104)
/app/bin/element: line 10:     3 Trace/breakpoint trap   (core dumped) env TMPDIR="$XDG_RUNTIME_DIR/app/${FLATPAK_ID:-im.riot.Riot}" zypak-wrapper /app/Element/element-desktop $FLAGS "$@"

The flatpak is completely unusable for me currently, had to switch to the web client in Firefox.

@CicadaCinema
Copy link

I'm not sure whether the bugs/crashes due to encrypted message search are being inadvertently mixed in with bugs/crashes due to Wayland ( for example, #335 (comment) is a crash due to Wayland, also on Fedora).

See my comment here #339 (comment) about the encrypted search issue.

@SISheogorath
Copy link
Collaborator

Closing since current crashes are hopefully unrelated to this issue.

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

No branches or pull requests