Bug 466730 - System Setting Crash when Multi-Monitor Docking Station plugged in.
Summary: System Setting Crash when Multi-Monitor Docking Station plugged in.
Status: RESOLVED DUPLICATE of bug 446987
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.27.6
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, multiscreen
Depends on:
Blocks:
 
Reported: 2023-03-02 18:35 UTC by Pierre Racz
Modified: 2023-07-26 03:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.27.3


Attachments
New crash information added by DrKonqi (3.54 KB, text/plain)
2023-03-03 00:02 UTC, Pierre Racz
Details
New crash information added by DrKonqi (3.53 KB, text/plain)
2023-03-03 00:11 UTC, Pierre Racz
Details
New crash information added by DrKonqi (3.54 KB, text/plain)
2023-03-03 00:15 UTC, Pierre Racz
Details
New crash information added by DrKonqi (3.52 KB, text/plain)
2023-07-10 14:59 UTC, Yurii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Racz 2023-03-02 18:35:44 UTC
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 0x00007f1836fe071b in KXmlGuiWindow::setupGUI(QSize const&, QFlags<KXmlGuiWindow::StandardWindowOption>, QString const&) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#27 0x00007f1836fe0863 in KXmlGuiWindow::setupGUI(QFlags<KXmlGuiWindow::StandardWindowOption>, QString const&) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#28 0x000055e73c05f23f in ?? ()
#29 0x000055e73c05aff1 in ?? ()
#30 0x00007f1834e23510 in __libc_start_call_main (main=main@entry=0x55e73c05a610, argc=argc@entry=1, argv=argv@entry=0x7ffea6270c08) at ../sysdeps/nptl/libc_start_call_main.h:58
#31 0x00007f1834e235c9 in __libc_start_main_impl (main=0x55e73c05a610, argc=1, argv=0x7ffea6270c08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffea6270bf8) at ../csu/libc-start.c:381
#32 0x000055e73c05b9f5 in ?? ()
[Inferior 1 (process 6849) detached]

Reported using DrKonqi
Comment 1 Pierre Racz 2023-03-02 18:52:56 UTC
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"
Comment 2 Nate Graham 2023-03-02 22:06:31 UTC
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!
Comment 3 Pierre Racz 2023-03-03 00:00:35 UTC
I can reproduce it with KDE 5.27.2
plasmashell 5.27.2
Qt: 5.15.6
KDE Frameworks: 5.103.0
Comment 4 Pierre Racz 2023-03-03 00:02:53 UTC
Created attachment 156939 [details]
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
Comment 5 Pierre Racz 2023-03-03 00:11:49 UTC
Created attachment 156940 [details]
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
Comment 6 Pierre Racz 2023-03-03 00:15:14 UTC
Created attachment 156941 [details]
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
Comment 7 Pierre Racz 2023-04-02 20:17:02 UTC
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".
Comment 8 Pierre Racz 2023-04-02 20:31:45 UTC
Bug is resolved in 
plasmashell 5.27.3
Qt: 5.15.6
KDE Frameworks: 5.104.0
Comment 9 Nate Graham 2023-04-02 23:33:43 UTC
Fantastic, thanks for following up!
Comment 10 Yurii 2023-07-10 14:59:07 UTC
Created attachment 160222 [details]
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
Comment 11 Yurii 2023-07-14 11:24:29 UTC
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.
Comment 12 Nate Graham 2023-07-25 21:22:57 UTC

*** This bug has been marked as a duplicate of bug 446987 ***
Comment 13 Yurii 2023-07-26 03:44:13 UTC
Hello Nate,

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