Bugzilla – Bug 1216269
telegram-desktop segfaults after upgrading to QT6
Last modified: 2023-12-20 09:50:21 UTC
Hello, After latest tumbleweed update that introduced QT6, telegram-desktop segfaults. Executing from console gives this: ** (telegram-desktop:10539): WARNING **: 11:53:50.643: Unable to load patched fonts with Qt workarounds, expect font issues. QPainter::begin: Paint device returned engine == 0, type: 2 QWidget::render: Cannot render with an inactive painter qt.svg: Error while inflating gzip file: SVG format check failed Segmentation fault (core dumped) And in dmesg there is this: telegram-deskto[5052]: segfault at 0 ip 00007f72f0962d22 sp 00007f72d0bfc6c0 error 4 in libQt6Svg.so.6.6.0[7f72f094a000+3a000] likely on CPU 3 (core 4, socket 0) I can provide any additional information needed. Tumbleweed version is: VERSION_ID="20231013" Regards.
While upstream claims to have updated to Qt 6.6.0 on Linux (see https://github.com/telegramdesktop/tdesktop/commit/9116328f29e56cfcd1297ba11ee9d96d1c934e13), they still downgrade internally to qtsvg 6.5.3, so we have to wait for them to fully update to Qt 6.6.0!
This is a regression introduced with Qt 6.6.0 as can be seen here https://bugreports.qt.io/browse/QTBUG-117944 A fix will be made available with Qt 6.6.1
This patch fixes the issue: https://codereview.qt-project.org/gitweb?p=qt/qtsvg.git;a=patch;h=edc8ca7f1e45302223b4b7962a57a30918f84c8d
I created https://build.opensuse.org/request/show/1118054 with the backported fix.
This is an autogenerated message for OBS integration: This bug (1216269) was mentioned in https://build.opensuse.org/request/show/1118069 Factory / qt6-svg
*** Bug 1216256 has been marked as a duplicate of this bug. ***
Tumbleweed snapshot 20231017 contains the fixed package libQt6Svg6-6.6.0-2.1.x86_64.rpm and bug reporter Stratos Zolotas confirmed that it works: Just upgraded. Works again. Thanks everyone! I therefore close this bug as RESOLVED FIXED