Bug 404187 - Global menu plasmoid in multi-screen is crashing all Qt applications
Summary: Global menu plasmoid in multi-screen is crashing all Qt applications
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Menu widget (show other bugs)
Version: 5.14.5
Platform: Other Linux
: NOR crash
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-10 21:27 UTC by Michail Vourlakos
Modified: 2021-02-26 10:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michail Vourlakos 2019-02-10 21:27:35 UTC
SUMMARY


STEPS TO REPRODUCE
1. Add a Plasma Application menu bar
2. Activate two screens in a multi-screen environment
3. Try to execute any Qt application, it will crash

OBSERVED RESULT
When trying to open any Qt application that contains a menu, that application crashes on startup

EXPECTED RESULT
The application to open correctly

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Tumbleweed
(available in About System)
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.12.0

ADDITIONAL INFORMATION
Crash Report:

Thread 1 (Thread 0x7fbd4abf4980 (LWP 4716)):
[KCrash Handler]
#6  0x00007fbd50457030 in QWidget::hide() () from /usr/lib64/libQt5Widgets.so.5
#7  0x00007fbd505ab8ad in ?? () from /usr/lib64/libQt5Widgets.so.5
#8  0x00007fbd505af931 in QMenuBar::changeEvent(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#9  0x00007fbd5046db4d in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#10 0x00007fbd505afa47 in QMenuBar::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#11 0x00007fbd5042e591 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#12 0x00007fbd50435b50 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#13 0x00007fbd4fa3d359 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#14 0x00007fbd5045eb19 in QWidgetPrivate::updateFont(QFont const&) () from /usr/lib64/libQt5Widgets.so.5
#15 0x00007fbd5046df8d in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#16 0x00007fbd505afa47 in QMenuBar::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007fbd5042e591 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007fbd50435b50 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007fbd4fa3d359 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#20 0x00007fbd504883b6 in ?? () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007fbd504883ea in ?? () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007fbd5048844d in ?? () from /usr/lib64/libQt5Widgets.so.5
#23 0x00007fbd4fa670ab in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#24 0x00007fbd4fe28bff in QWindow::screenChanged(QScreen*) () from /usr/lib64/libQt5Gui.so.5
#25 0x00007fbd4fe29433 in QWindowPrivate::emitScreenChangedRecursion(QScreen*) () from /usr/lib64/libQt5Gui.so.5
#26 0x00007fbd4fe305d6 in QWindowPrivate::setTopLevelScreen(QScreen*, bool) () from /usr/lib64/libQt5Gui.so.5
#27 0x00007fbd50460336 in QWidgetPrivate::create_sys(unsigned long long, bool, bool) () from /usr/lib64/libQt5Widgets.so.5
#28 0x00007fbd5046068d in QWidget::create(unsigned long long, bool, bool) () from /usr/lib64/libQt5Widgets.so.5
#29 0x00007fbd505ad2a9 in ?? () from /usr/lib64/libQt5Widgets.so.5
#30 0x00007fbd505ad405 in ?? () from /usr/lib64/libQt5Widgets.so.5
#31 0x00007fbd505739ba in QMainWindow::menuBar() const () from /usr/lib64/libQt5Widgets.so.5
#32 0x00007fbd50c2fe00 in KXMLGUIBuilder::createContainer(QWidget*, int, QDomElement const&, QAction*&) () from /usr/lib64/libKF5XmlGui.so.5
#33 0x00007fbd50c42463 in ?? () from /usr/lib64/libKF5XmlGui.so.5
#34 0x00007fbd50c47608 in ?? () from /usr/lib64/libKF5XmlGui.so.5
#35 0x00007fbd50c47c1b in ?? () from /usr/lib64/libKF5XmlGui.so.5
#36 0x00007fbd50c47d42 in ?? () from /usr/lib64/libKF5XmlGui.so.5
#37 0x00007fbd50c3faf7 in KXMLGUIFactory::addClient(KXMLGUIClient*) () from /usr/lib64/libKF5XmlGui.so.5
#38 0x00007fbd5116f10c in KParts::MainWindow::createShellGUI(bool) () from /usr/lib64/libKF5Parts.so.5
#39 0x000055b92935e347 in ?? ()
#40 0x000055b92935aad9 in main ()
[Inferior 1 (process 4716) detached]
Comment 1 David Edmundson 2021-02-25 22:49:46 UTC
Is this still an issue?

I've not seen any dupes which surprises me given it sounds quite major and easy to hit.
Comment 2 Michail Vourlakos 2021-02-26 10:57:01 UTC
I believe it is ok now...