FS#68616 - Telegram Desktop segfaults when forwarding messages

Attached to Project: Community Packages
Opened by F. Schellert (itsTyrion) - Friday, 13 November 2020, 17:06 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 03 December 2020, 07:05 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Jiachen Yang (farseerfc)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Forwarding any message in Telegram Desktop ('Community' repo), causes a short spike on the CPU load, followed by a segfault.


Additional info:
* version: 2.4.7-2
* log: https://pastebin.com/raw/qEvk4m0V
* core dump: https://itstyrion.de/random/tg-coredump.tar.xz (~ 30MB)

I tried pacman -Rns -> -Sc -> -Syu telegram-desktop for reinstalling, as well as manually removing config files from .local/share
Starting telegram with valgrind -v leads to Telegram not crashing. The official binary (GitHub release) also works.


Steps to reproduce:
For me, forwarding a message is enough.
Text only, media, links, private chat, or group as the target, doesn't matter.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Thursday, 03 December 2020, 07:05 GMT
Reason for closing:  Upstream
Comment by Sven-Hendrik Haase (Svenstaro) - Wednesday, 25 November 2020, 23:59 GMT
Can't reproduce. Forwarding works just fine. If there's no further information you can add, I'll have to close this. It may or may not be related to how we're packaging this but I suppose more users would have complained if this were a problem for more people.
Comment by David Parrish (dmp1ce) - Wednesday, 02 December 2020, 12:18 GMT
Yep. Happens for me too. I'm using Gnome and Wayland.

I noticed a crash when clicking on a second YouTube link. I would click the first link and it would open up fine in Firefox. When I clicked the second YouTube link, a short pause, and then Gnome crashes.

I'm happy to provide more details as needed.

Comment by Sven-Hendrik Haase (Svenstaro) - Wednesday, 02 December 2020, 13:12 GMT
Please try to work this out with upstream. I really have no idea what could be wrong here on a packaging side.
Comment by Amin Vakil (aminvakil) - Wednesday, 02 December 2020, 18:42 GMT
FWIW forwarding works fine for me on plasma and xorg.
Comment by David Parrish (dmp1ce) - Thursday, 03 December 2020, 02:19 GMT
I posted on Telegram issues. Someone thinks it is a Gnome bug. It probably is. I recently had issues related to mutter and graphical Snaps. https://github.com/telegramdesktop/tdesktop/issues/9841
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 03 December 2020, 07:04 GMT
Alright, I think I'll close this then as it doesn't appear to be a packaging issue. Try to get this worked out upstream.

Loading...