FS#71745 - [telegram-desktop] subject to continuous crashes

Attached to Project: Community Packages
Opened by andrew (andrew-ld) - Thursday, 05 August 2021, 21:33 GMT
Last edited by Felix Yan (felixonmars) - Wednesday, 15 September 2021, 04:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Felix Yan (felixonmars)
Jiachen Yang (farseerfc)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 12
Private No

Details

Description: the telegram-desktop build released by archlinux since version 2.8 is subject to continuous crashes, after opening an issue in the upstream the manteiners claim that it is a packaging problem.


Additional info:
* package version: 2.9.0-4
* link to upstream bug report: https://github.com/telegramdesktop/tdesktop/issues/16673

Steps to reproduce:
- open telegram deskop
- wait %random time
- crash - stack smashing detected
This task depends upon

Closed by  Felix Yan (felixonmars)
Wednesday, 15 September 2021, 04:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  jemalloc 5.2.1-5
Comment by jayki (jayki) - Sunday, 08 August 2021, 11:18 GMT
Comment by John Smith (qwer1234) - Sunday, 08 August 2021, 18:11 GMT
The flatpak version works without any issues.
Comment by John Smith (qwer1234) - Monday, 16 August 2021, 06:14 GMT
The flatpak Telegram started crashing as well.
Comment by Felix Yan (felixonmars) - Monday, 23 August 2021, 21:49 GMT
Please try with https://pkgbuild.com/~felixonmars/test/jemalloc-1%3A5.2.1-4-x86_64.pkg.tar.zst and see if it helps.

It was built with clang (as someone suggested on the linked upstream issue).
Comment by Felix Yan (felixonmars) - Wednesday, 25 August 2021, 08:17 GMT
I have also released another jemalloc-1:5.2.1-4 to [testing] with a different approach: removing --disable-initial-exec-tls. The link above at pkgbuild.com was built with clang and this switch was not changed.

Please let me know if the crashes are still present with either approach.
Comment by John Smith (qwer1234) - Wednesday, 25 August 2021, 08:20 GMT
Seems the current Arch package doesn't crash anymore.
It has been stable for at least for a week or so.
Comment by Paulo Marcos (Myghi63) - Wednesday, 25 August 2021, 17:16 GMT
It's still crashing here
Comment by absrdspc (absrdspc) - Thursday, 26 August 2021, 09:05 GMT
Still crashes with jemalloc from testing, stacktrace is roughly same (__stack_chk_fail)
Comment by allexj (allexj) - Friday, 27 August 2021, 19:26 GMT
the telegram-desktop-bin AUR version does not crash
Comment by Felix Yan (felixonmars) - Friday, 27 August 2021, 20:30 GMT
@qwer1234 @Myghi63 @absrdspc Please also try with the https://pkgbuild.com/~felixonmars/test/jemalloc-1%3A5.2.1-4-x86_64.pkg.tar.zst version. Perhaps going with clang makes a difference here.
Comment by absrdspc (absrdspc) - Friday, 27 August 2021, 22:09 GMT
I've been testing this variant since yesterday and no crashes happened yet, though it might be too early to draw any conclusions from this
Comment by Paulo Marcos (Myghi63) - Wednesday, 01 September 2021, 14:01 GMT
Still crashing with version v3.0. I'm now installing jemalloc 5.2.1-4 to see if this fixes my problem
Comment by John Smith (qwer1234) - Wednesday, 01 September 2021, 15:12 GMT
Just crashed v3.0 with jemalloc 5.2.1-4 from Testing.
Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 04 September 2021, 19:36 GMT
Telegram apparently fixed a bunch of crashes with 3.0.1. Does it still crash for you guys?
Comment by Paulo Marcos (Myghi63) - Saturday, 04 September 2021, 19:41 GMT
I will test this new version. 3.0 was still crashy, but less times a day
Comment by Felix Yan (felixonmars) - Saturday, 04 September 2021, 20:40 GMT
Given that a lot of people still having crashes with the GCC-built -4 release, I have pushed the clang-built version to [testing] as jemalloc 1:5.2.1-5. Please let me know if this helps.
Comment by Paulo Marcos (Myghi63) - Monday, 06 September 2021, 21:03 GMT
Still Crashing with telegram-desktop v3.0.1. i'm downloading jemalloc 5.2.1-5 to see if this fixes
Comment by Paulo Marcos (Myghi63) - Tuesday, 14 September 2021, 23:58 GMT
jemalloc 5.2.1-5 fixed the problem here. Never crashed on this entire week.
Comment by Felix Yan (felixonmars) - Wednesday, 15 September 2021, 04:44 GMT
Thank you for the feedback.

jemalloc 5.2.1-5 has been moved to [extra] and I still got no report of this problem persisting with it. Please reopen if it is still a problem.

Loading...