FS#67725 - [telegram-desktop] v2.3.2 crashes with cordump on startup
Attached to Project:
Community Packages
Opened by Gunnar Bretthauer (Taijian) - Wednesday, 26 August 2020, 10:43 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 02 September 2020, 16:32 GMT
Opened by Gunnar Bretthauer (Taijian) - Wednesday, 26 August 2020, 10:43 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 02 September 2020, 16:32 GMT
|
Details
Description:
Trying to start telegram-desktop v2.3.2 I get an immediate coredump. Additional info: * package version(s): 2.3.2-1 * Core dump here: https://gist.github.com/Taijian/45beb7adb28ceed834725bfa9cba075a Steps to reproduce: Start telegram-desktop |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Wednesday, 02 September 2020, 16:32 GMT
Reason for closing: Fixed
Wednesday, 02 September 2020, 16:32 GMT
Reason for closing: Fixed
I'm using nouveau with xwayland and gnome-shell
crashbit@gt62vr-6re ~]$ telegram-desktop
(process:4054): Telegram-WARNING **: 16:07:01.475: Unfortunately, GTK integration conflicts with qgtk2 platformtheme and style. Therefore, QT_QPA_PLATFORMTHEME and QT_STYLE_OVERRIDE will be unset.
Telegram-Message: 16:07:01.477: This can be ignored by setting TDESKTOP_I_KNOW_ABOUT_GTK_INCOMPATIBILITY environment variable to any value, however, if qgtk2 theme or style is used, this will lead to a crash.
Telegram-Message: 16:07:01.477: GTK integration can be disabled by setting TDESKTOP_DISABLE_GTK_INTEGRATION to any value. Keep in mind that this will lead to clipboard issues and tdesktop will be unable to get settings from GTK (such as decoration layout, dark mode & more).
(process:4054): Telegram-WARNING **: 16:07:01.477: Application was built without embedded fonts, this may lead to font issues.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Telegram-Message: 16:07:01.605: You can disable tray icon counter with TDESKTOP_DISABLE_TRAY_COUNTER and make it look better if it is monochrome.
error: : cannot open
error: : cannot open
error: : cannot open
qt.qpa.xcb: xcb_shm_create_segment() failed for size 3346112
The X11 connection broke (error 2). Did the X11 server die?
Violació de segment (s'ha bolcat la memòria)
These are my relevant .bashrc lines:
export QT_QPA_PLATFORM=wayland-egl
export QT_WAYLAND_FORCE_DPI=physical
export QT_STYLE_OVERRIDE=gtk2
export WAYLAND_DISPLAY=wayland-0
somody: Telegram runs on X11 and ignores QT_QPA_PLATFORM unless you specify TDESKTOP_I_KNOW_ABOUT_GTK_INCOMPATIBILITY (you can actually see the information about this variable in the crashbit's message above).
The problem arrived after after today update of xorg-server-* packages.
It starts normally when I clean `~/.local/share/TelegramDesktop`, but fails again after the successful login process.
The only error messages are three "error: : cannot open"
Does any combination of compile flags or env vars make it work for any of you guys on Wayland?
https://github.com/telegramdesktop/tdesktop/issues/8506
https://gitlab.freedesktop.org/xorg/xserver/-/issues/1072
The "QT_QPA_PLATFORM=wayland" workaround only works with "Client-Side Decorations Initiative"(Turn off Telgram setting->Advanced->System integration->Use system window frame).
This should fix the issue!
Thank you!