System Setting Crash when Multi-Monitor Docking Station plugged in

Bug #2017736 reported by Marius B. Kotsbak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Systemsettings
Invalid
High
systemsettings (Ubuntu)
New
Undecided
Unassigned

Bug Description

Upstream bugreport: https://bugs.kde.org/show_bug.cgi?id=466730

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: systemsettings 4:5.27.4.1-0ubuntu1
ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
Uname: Linux 6.2.0-20-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Wed Apr 26 09:23:04 2023
InstallationDate: Installed on 2022-10-21 (186 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
SourcePackage: systemsettings
UpgradeStatus: Upgraded to lunar on 2023-04-21 (4 days ago)

Revision history for this message
In , Pracz-7 (pracz-7) wrote :
Download full text (4.0 KiB)

Application: systemsettings (5.25.5)

Qt Version: 5.15.6
Frameworks Version: 5.98.0
Operating System: Linux 5.19.0-35-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.10
DrKonqi: 5.25.5 [KCrashBackend]

-- Information about the crash:
When a "Dell Thunderbolt Docking Station (WD22TB4)" is plugged into the USB-C port of my laptop (HP_Spectre_x360_Convertible_13-aw2xxx),
the system's setting application crashes.

Actually other system applications, such as the "info center" also crash repeatably.

The Docking Station is plugged into an ATEN-CS17916 KVM Switch.
The USB Peripherals are
* Dell Keyboard
* Dell Mouse

The HDMI display is an "ASUS VP28U"
Resolution on the External Monitor: 2560x1440 60hz
Resolution on the Internal Monitor: 2560x1440 60hz
Scaling on both monitors is 1.5

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault

[KCrash Handler]
#4 0x00007f18365976b9 in QWidget::hide() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5 0x00007f1836700c35 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6 0x00007f18367057d1 in QMenuBar::changeEvent(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7 0x00007f18365aeb1f in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8 0x00007f183656bf32 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9 0x00007f18358bae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f183659fef2 in QWidgetPrivate::updateFont(QFont const&) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f18365af09e in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f183656bf32 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f18358bae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f18365c7ce6 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f18365c7d16 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f18365c7de6 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f18358f372c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f1835d45b03 in QWindow::screenChanged(QScreen*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#19 0x00007f1835d46373 in QWindowPrivate::emitScreenChangedRecursion(QScreen*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#20 0x00007f18365a10c5 in QWidgetPrivate::create() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f18365a141f in QWidget::create(unsigned long long, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f18367031b3 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f1836703589 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f18366c4fd2 in QMainWindow::menuBar() const () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f1836fdfd9a in KXmlGuiWindow::createGUI(QString const&) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#26 0x00007f1836fe0...

Read more...

Revision history for this message
In , Pracz-7 (pracz-7) wrote :

Problems goes away when Global Scale set to 100%.
Problem is present when Global Scale is 150%.

This set in:
System Settings > Hardware / Display and Monitor > Display Configuration > Global Scale [ Slider and input field ]
    Save display properties : "For any display arrangement"

Revision history for this message
In , Nate-b (nate-b) wrote :

I'm afraid Plasma 5.25 is unfortunately no longer eligible for support or maintenance. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one. Please update to Plasma 5.27 as soon as your distro offers it to you. If you need support for Plasma 5.25, please contact your distro, who bears the responsibility of providing support for older non-LTS releases.

If you can reproduce the issue after upgrading to Plasma 5.27, feel free to re-open this bug report.

Thanks for understanding!

Revision history for this message
In , Pracz-7 (pracz-7) wrote :

I can reproduce it with KDE 5.27.2
plasmashell 5.27.2
Qt: 5.15.6
KDE Frameworks: 5.103.0

Revision history for this message
In , Pracz-7 (pracz-7) wrote :

Created attachment 156939
New crash information added by DrKonqi

systemsettings (5.27.2) using Qt 5.15.6

Here is the crash report updated for KDE 5.27.2
plasmashell 5.27.2
Qt: 5.15.6
KDE Frameworks: 5.103.0

-- Backtrace (Reduced):
#4 0x00007f71933976b9 in QWidget::hide() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
[...]
#6 0x00007f71935057d1 in QMenuBar::changeEvent(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7 0x00007f71933aeb1f in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8 0x00007f719336bf32 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9 0x00007f71924bae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5

Revision history for this message
In , Pracz-7 (pracz-7) wrote :

Created attachment 156940
New crash information added by DrKonqi

systemsettings (5.27.2) using Qt 5.15.6

Here is the problem reproduced with KDE 5.27.2
plasmashell 5.27.2
Qt: 5.15.6
KDE Frameworks: 5.103.0

-- Backtrace (Reduced):
#4 0x00007f3cc01976b9 in QWidget::hide() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
[...]
#6 0x00007f3cc03057d1 in QMenuBar::changeEvent(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7 0x00007f3cc01aeb1f in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8 0x00007f3cc016bf32 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9 0x00007f3cbf4bae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5

Revision history for this message
In , Pracz-7 (pracz-7) wrote :

Created attachment 156941
New crash information added by DrKonqi

systemsettings (5.27.2) using Qt 5.15.6

Here is the report of the problem using KDE 5.27.2
plasmashell 5.27.2
Qt: 5.15.6
KDE Frameworks: 5.103.0

-- Backtrace (Reduced):
#4 0x00007fe0d2b976b9 in QWidget::hide() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
[...]
#6 0x00007fe0d2d057d1 in QMenuBar::changeEvent(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7 0x00007fe0d2baeb1f in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8 0x00007fe0d2b6bf32 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9 0x00007fe0d1cbae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5

Revision history for this message
In , Pracz-7 (pracz-7) wrote :

On 3/5/23 11:31, Pierre wrote:
Ref: https://bugs.kde.org/show_bug.cgi?id=466730

Hello Nate,
I was able to reproduced the KDE Plasma crash in the version 5.27.2 as
you requested.

It is a very deterministic bug and easy to reproduce: set the scaling to
150%, connect a USB-C monitor and try to reopen "System Settings".

Revision history for this message
In , Pracz-7 (pracz-7) wrote :

Bug is resolved in
plasmashell 5.27.3
Qt: 5.15.6
KDE Frameworks: 5.104.0

Revision history for this message
In , Nate-b (nate-b) wrote :

Fantastic, thanks for following up!

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :
Changed in systemsettings:
importance: Unknown → High
status: Unknown → Fix Released
Revision history for this message
In , Yurii-zinko (yurii-zinko) wrote :

Created attachment 160222
New crash information added by DrKonqi

systemsettings (5.27.6) using Qt 5.15.10

The bug still persists in Plasma 5.27.6 although it's already marked as duplicate

-- Backtrace (Reduced):
#4 0x00007f44bad97f29 in QWidget::hide() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
[...]
#6 0x00007f44baf09830 in QMenuBar::changeEvent(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7 0x00007f44badaf916 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8 0x00007f44bad6c763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9 0x00007f44ba0bcdda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5

Changed in systemsettings:
status: Fix Released → Confirmed
Revision history for this message
In , Yurii-zinko (yurii-zinko) wrote :

Hi everybody. I'm new here so i don't even know if such message is appropriate to but i'll take the risk. Just wanted to ask if somebody taking a look at it right now or planning to? I'm asking because this bug seems very serious and critical IMHO. It basically makes my docking station a useless brick i can't neither work with nor return. There is a workaround for this issue, by the way: enabling Nvidia Prime Performance mode helps, but since Nvidia drivers are bad it makes my whole system very laggy.

Revision history for this message
In , Nate-b (nate-b) wrote :

*** This bug has been marked as a duplicate of bug 446987 ***

Changed in systemsettings:
status: Confirmed → Invalid
Revision history for this message
In , Yurii-zinko (yurii-zinko) wrote :

Hello Nate,

The new bug report is created here like you asked: https://bugs.kde.org/show_bug.cgi?id=472642

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.