Bug 418898

Summary: When using Qt 5.15, Plasmashell crashes inQQmlComponentPrivate::requiredProperties() when "Edit Panel" is selected
Product: [Plasma] plasmashell Reporter: Daniel Felipe <switchtegra>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: ashcon50, bero, bugseforuns, kde, nate, notmart, plasma-bugs, trw2006
Priority: NOR Keywords: drkonqi
Version: 5.18.3   
Target Milestone: 1.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: frameworks 5.70
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Daniel Felipe 2020-03-15 21:27:05 UTC
Application: plasmashell (5.18.3)

Qt Version: 5.15.0
Frameworks Version: 5.68.0
Operating System: Linux 5.6.0-1-MANJARO x86_64
Windowing system: X11
Distribution: Manjaro Linux

-- Information about the crash:
- What I was doing when the application crashed: I was about to edit my panel to remove something when i clicked edit panel Plasmashell crashed (it happens everytime i try to edit the panel), it seems to be caused by the QT 5.15 update as downgrading to 5.14 fixes the issue

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0c10212840 (LWP 1160))]

Thread 7 (Thread 0x7f0bdffff700 (LWP 1235)):
#0  0x00007f0c12b8e072 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#1  0x00007f0c12b8e6c6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f0c12b8e871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f0c14ada28c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f0c14a7edbc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f0c1489fd02 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f0c162de0e9 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f0c148a0e96 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f0c1394346f in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f0c145243d3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f0bf1ba8700 (LWP 1217)):
#0  0x00007f0c145154fc in read () at /usr/lib/libc.so.6
#1  0x00007f0c12b3d8c0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f0c12b8d001 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f0c12b8e748 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f0c12b8e871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f0c14ada28c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f0c14a7edbc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f0c1489fd02 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f0bf20b416b in KCupsConnection::run() () at /usr/lib/libkcupslib.so
#9  0x00007f0c148a0e96 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f0c1394346f in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f0c145243d3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f0bfd647700 (LWP 1213)):
#0  0x00007f0c14519abf in poll () at /usr/lib/libc.so.6
#1  0x00007f0c12b8e7a0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f0c12b8e871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f0c14ada28c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f0c14a7edbc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f0c1489fd02 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f0c1658179b in  () at /usr/lib/libQt5Quick.so.5
#7  0x00007f0c148a0e96 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f0c1394346f in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f0c145243d3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f0c0d56c700 (LWP 1212)):
#0  0x00007f0c14ada9f8 in  () at /usr/lib/libQt5Core.so.5
#1  0x00007f0c12b8cee2 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#2  0x00007f0c12b8e748 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f0c12b8e871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f0c14ada28c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f0c14a7edbc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f0c1489fd02 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f0c162de0e9 in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007f0c148a0e96 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f0c1394346f in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f0c145243d3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f0c0e7d1700 (LWP 1189)):
#0  0x00007f0c14519abf in poll () at /usr/lib/libc.so.6
#1  0x00007f0c12b8e7a0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f0c12b8e871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f0c14ada28c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f0c14a7edbc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f0c1489fd02 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f0c15b97b38 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f0c148a0e96 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f0c1394346f in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f0c145243d3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f0c0f43e700 (LWP 1183)):
#0  0x00007f0c14519abf in poll () at /usr/lib/libc.so.6
#1  0x00007f0c16aab63b in  () at /usr/lib/libxcb.so.1
#2  0x00007f0c16aad37b in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f0c0fde3f11 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f0c148a0e96 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f0c1394346f in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f0c145243d3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f0c10212840 (LWP 1160)):
[KCrash Handler]
#6  0x00007f0c16225b37 in QQmlComponentPrivate::requiredProperties() () at /usr/lib/libQt5Qml.so.5
#7  0x00007f0c16229525 in QQmlComponentPrivate::completeCreate() () at /usr/lib/libQt5Qml.so.5
#8  0x00007f0c16f38bc7 in  () at /usr/lib/libKF5PlasmaQuick.so.5
#9  0x00007f0c16f390e7 in PlasmaQuick::ConfigView::ConfigView(Plasma::Applet*, QWindow*) () at /usr/lib/libKF5PlasmaQuick.so.5
#10 0x000055fbef2ca1dc in  ()
#11 0x00007f0c14ab702e in  () at /usr/lib/libQt5Core.so.5
#12 0x00007f0c169f6b73 in Plasma::Containment::configureRequested(Plasma::Applet*) () at /usr/lib/libKF5Plasma.so.5
#13 0x00007f0c14ab702e in  () at /usr/lib/libQt5Core.so.5
#14 0x00007f0c169f6b73 in Plasma::Containment::configureRequested(Plasma::Applet*) () at /usr/lib/libKF5Plasma.so.5
#15 0x00007f0c169f5ce3 in  () at /usr/lib/libKF5Plasma.so.5
#16 0x00007f0c14ab7060 in  () at /usr/lib/libQt5Core.so.5
#17 0x00007f0c1558bf53 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007f0c1558e63c in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007f0c1571bcc3 in  () at /usr/lib/libQt5Widgets.so.5
#20 0x00007f0c157236bc in  () at /usr/lib/libQt5Widgets.so.5
#21 0x00007f0c15724703 in QMenu::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#22 0x00007f0c155d602e in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#23 0x00007f0c15726d6c in QMenu::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#24 0x00007f0c155923c2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007f0c1559b7e8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007f0c14a801fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#27 0x00007f0c1559a906 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007f0c155f1d18 in  () at /usr/lib/libQt5Widgets.so.5
#29 0x00007f0c155f4524 in  () at /usr/lib/libQt5Widgets.so.5
#30 0x00007f0c155923c2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#31 0x00007f0c1559b599 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#32 0x00007f0c14a801fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#33 0x00007f0c14e52c94 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#34 0x00007f0c14e543a6 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#35 0x00007f0c14e2cbbc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#36 0x00007f0c0fde4f4c in  () at /usr/lib/libQt5XcbQpa.so.5
#37 0x00007f0c12b8c9be in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#38 0x00007f0c12b8e831 in  () at /usr/lib/libglib-2.0.so.0
#39 0x00007f0c12b8e871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#40 0x00007f0c14ada270 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#41 0x00007f0c14a7edbc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#42 0x00007f0c14a86f14 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#43 0x000055fbef2b3018 in  ()
#44 0x00007f0c1444c023 in __libc_start_main () at /usr/lib/libc.so.6
#45 0x000055fbef2b323e in _start ()
[Inferior 1 (process 1160) detached]

Possible duplicates by query: bug 418690, bug 415459, bug 410172, bug 410067, bug 407631.

Reported using DrKonqi
Comment 1 Patrick Silva 2020-03-16 10:49:04 UTC
I also can reproduce this crash with Qt 5.15 on Arch Linux.
Comment 2 Ashcon Mohseninia 2020-03-16 11:44:03 UTC
Created attachment 126829 [details]
New crash information added by DrKonqi

plasmashell (5.18.3) using Qt 5.15.0

- What I was doing when the application crashed:

Wanted to duplicate my panel on a seperate display. Right clicked my current panel on the desktop, and clicked edit panel. Crash occured.

-- Backtrace (Reduced):
#6  0x00007f9fe2d4eb37 in QQmlComponentPrivate::requiredProperties() () at /usr/lib/libQt5Qml.so.5
#7  0x00007f9fe2d52525 in QQmlComponentPrivate::completeCreate() () at /usr/lib/libQt5Qml.so.5
#8  0x00007f9fe3a3dbc7 in  () at /usr/lib/libKF5PlasmaQuick.so.5
#9  0x00007f9fe3a3e0e7 in PlasmaQuick::ConfigView::ConfigView(Plasma::Applet*, QWindow*) () at /usr/lib/libKF5PlasmaQuick.so.5
#10 0x0000557dd17b9040 in  ()
Comment 3 archetech 2020-03-23 22:02:16 UTC
I also can reproduce this crash with Qt 5.15 beta 1 and 2.   Source build of whole KDE and qt on LFScratch base.
Comment 4 David Edmundson 2020-04-15 07:23:18 UTC
Should be avoided by 0417bf61d53a61879702aa6e5bc64d1da557db27 in p-f


Also, to anyone who said "using Qt5.15.0" please be very careful about putting misinformation in bug reports. 

It's obvious now that you're not using something unreleased, but if I was to look at this in 3 months I would be in a confused state - especially if this was something fixed upstream in Qt before the final release.
Comment 5 Patrick Silva 2020-04-15 20:42:48 UTC
*** Bug 420133 has been marked as a duplicate of this bug. ***