Bug 1215178 - qt6-base-6.4.2-150500.3+ leads to qt6-creator hang
Summary: qt6-base-6.4.2-150500.3+ leads to qt6-creator hang
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: KDE Workspace (Plasma) (show other bugs)
Version: Leap 15.5
Hardware: x86-64 openSUSE Leap 15.5
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Antonio Larrosa
QA Contact: E-mail List
URL: https://bugreports.qt.io/browse/QTCRE...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-09 10:57 UTC by Andrey Novikov
Modified: 2023-12-07 13:01 UTC (History)
8 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 Andrey Novikov 2023-09-09 10:57:13 UTC
With the current revision of libQt6Gui6-6.4.2-150500.3.7.4 from the official openSUSE repos, the qt6-creator-9.0.2 hangs when showing the Issues pane and consumes all memory in an infinite loop. The bug is the same as described on https://bugreports.qt.io/browse/QTCREATORBUG-28593 and connected with https://bugreports.qt.io/browse/QTBUG-109474

This is a regression in Qt6Gui cased by patch https://codereview.qt-project.org/c/qt/qtbase/+/435080 for Qt-6.5 branch. As per changelog, this patch was also applied to the qt6-base-6.4.2 from the "Updates from SUSE Linux Enterprise 15" repository (source file `0002-QTextLayout-fix-maximumWidth-for-a-text-containing-line.patch`). Thus, the problem appears now in Qt-6.4 branch including qt6-creator hang.

Downgrading libQt6Gui6-6.4.2 to the original revision of libQt6Gui6-6.4.2-150500.1.14 from the Main OpenSUSE repository do resolves the issue with Qt6-creator.

The problematic qt6base patch 435080 was superseded in the upstream via https://codereview.qt-project.org/c/qt/qtbase/+/453906 . Hope, this can be backported to the 6.4.2 as well. Or, the bad 435080 patch can be just removed altogether.
Comment 1 Antonio Larrosa 2023-09-21 15:53:47 UTC
Nice detailed description and patch for this issue. It would be nice if all bug reports were like this. I submitted the fix to SLE-15-SP4 and SLE-15-SP5. Thanks!
Comment 4 Andrey Novikov 2023-11-01 17:00:20 UTC
Any news on this?
Comment 5 Olivier Tilloy 2023-12-04 16:11:52 UTC
The release request targeting SLE 15 SP5 has been pending a QA review since 2023-09-29.
Comment 6 Maintenance Automation 2023-12-07 12:30:05 UTC
SUSE-RU-2023:4688-1: An update that has one fix can now be installed.

Category: recommended (moderate)
Bug References: 1215178
Sources used:
openSUSE Leap 15.5 (src): qt6-base-6.4.2-150500.3.10.1, qt6-base-docs-6.4.2-150500.3.10.1
Desktop Applications Module 15-SP5 (src): qt6-base-6.4.2-150500.3.10.1
SUSE Package Hub 15 15-SP5 (src): qt6-base-6.4.2-150500.3.10.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 7 Maintenance Automation 2023-12-07 12:30:07 UTC
SUSE-RU-2023:4687-1: An update that has one fix can now be installed.

Category: recommended (moderate)
Bug References: 1215178
Sources used:
openSUSE Leap 15.4 (src): qt6-base-6.2.2-150400.4.9.1, qt6-base-docs-6.2.2-150400.4.9.1
SUSE Package Hub 15 15-SP4 (src): qt6-base-6.2.2-150400.4.9.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Andrey Novikov 2023-12-07 13:01:59 UTC
The crash in qt6-creator is fixed now. Thanks!