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

segfault on wayland #1040

Closed
532910 opened this issue Jun 30, 2023 · 12 comments
Closed

segfault on wayland #1040

532910 opened this issue Jun 30, 2023 · 12 comments

Comments

@532910
Copy link

532910 commented Jun 30, 2023

Steps to reproduce

No Nightly as in #1026
No mixed-scaled dual monitor as in #873

I dist-upgarded debian sid about a week ago and element segfaults on start now.
I tried to investigate this issue with strace and packages downgrade, but without success ):

Outcome

% element-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland
/home/sergio/.config/Element exists: yes
/home/sergio/.config/Riot exists: no
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
Fetching translation json for locale: en
Resetting the UI components after locale change
Resetting the UI components after locale change
Changing application language to en
Fetching translation json for locale: en
Resetting the UI components after locale change
zsh: segmentation fault  element-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland

Operating system

debian sid

Application version

1.11.34

How did you install the app?

https://packages.element.io/debian

Homeserver

No response

Will you send logs?

Yes

@pm4rcin
Copy link

pm4rcin commented Jun 30, 2023

Which DE are you using? Here's some workarounds #1026 (comment)

@532910
Copy link
Author

532910 commented Jun 30, 2023

sway

with for_window [app_id="Element"] floating enable got blank window with lots of GL errors on console

image

@532910
Copy link
Author

532910 commented Jun 30, 2023

so this is not a workaround

jitsi-meet-electron 2023.5.3 works fine

@pm4rcin
Copy link

pm4rcin commented Jun 30, 2023

@532910 could you try flatpak version?

@532910
Copy link
Author

532910 commented Jun 30, 2023

flatpak -- no way

@53c70r
Copy link

53c70r commented Aug 14, 2023

@532910 could you try flatpak version?

Tested on flatpak, also broken.

@53c70r
Copy link

53c70r commented Aug 14, 2023

Which DE are you using? Here's some workarounds #1026 (comment)

Can confirm, this "fixes" the problem in flatpak and snap.

@532910
Copy link
Author

532910 commented Aug 14, 2023

The workaround "for_window [app_id="Element"] floating enable" does not work for me

@twouters
Copy link

twouters commented Sep 6, 2023

i just delete the window state before launching element-desktop with rm -f ~/.config/Element/window-state.json, it prevents crashes during startup on my system.

@532910
Copy link
Author

532910 commented Sep 6, 2023

removing window-state.json changes nothing for me:

% rm ~/.config/Element/window-state.json 
% element-desktop --enable-features=UseOzonePlatform --ozone-platform-hint=auto
/home/sergio/.config/Element exists: yes
/home/sergio/.config/Riot exists: no
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
[304291:0906/125238.357919:ERROR:browser_main_loop.cc(274)] Gtk: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
Changing application language to en-us
Fetching translation json for locale: en-us
Resetting the UI components after locale change
zsh: segmentation fault  element-desktop --enable-features=UseOzonePlatform --ozone-platform-hint=auto

@pm4rcin
Copy link

pm4rcin commented Sep 14, 2023

Tested today and crashes are gone. Since Element updated electron to 26 it's working. I had the same problem with Tutanota flatpak.

@532910
Copy link
Author

532910 commented Sep 14, 2023

1.11.42 works fine

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

5 participants