Bug 1216269 - telegram-desktop segfaults after upgrading to QT6
Summary: telegram-desktop segfaults after upgrading to QT6
Status: RESOLVED FIXED
: 1216256 (view as bug list)
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Manfred Hollstein
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-16 09:29 UTC by Stratos Zolotas
Modified: 2023-12-20 09:50 UTC (History)
6 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stratos Zolotas 2023-10-16 09:29:03 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.
Comment 1 Manfred Hollstein 2023-10-16 10:47:13 UTC
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!
Comment 2 Manfred Hollstein 2023-10-16 14:28:37 UTC
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
Comment 4 Manfred Hollstein 2023-10-16 14:57:16 UTC
I created https://build.opensuse.org/request/show/1118054 with the backported fix.
Comment 5 OBSbugzilla Bot 2023-10-16 16:15:03 UTC
This is an autogenerated message for OBS integration:
This bug (1216269) was mentioned in
https://build.opensuse.org/request/show/1118069 Factory / qt6-svg
Comment 6 Andreas Stieger 2023-10-16 20:24:18 UTC
*** Bug 1216256 has been marked as a duplicate of this bug. ***
Comment 7 Manfred Hollstein 2023-10-18 17:38:11 UTC
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