Bug 421053

Summary: SystemSettings crashed when attempting to edit Plastik settings
Product: [Applications] systemsettings Reporter: Dean Jenkins <dean_jenkins>
Component: kcm_kwindecorationAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: holsterbau, kde, nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.17.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 5.18.6
Sentry Crash Report:

Description Dean Jenkins 2020-05-05 11:15:36 UTC
Application: systemsettings5 (5.17.5)

Qt Version: 5.13.2
Frameworks Version: 5.68.0
Operating System: Linux 5.6.8-200.fc31.x86_64 x86_64
Distribution: "Fedora release 31 (Thirty One)"

-- Information about the crash:
- What I was doing when the application crashed:

I started systemsettings5 from the command line to view any error messages.

Using the "System Settings" GUI, navigate to Appearance -> Application Style -> Window Decorations.

Clicked on the Plastik icon to edit the settings, and crash occurs.

- Unusual behavior I noticed:

I wanted to edit the Plastik settings as the Konsole window had no border width which was annoying me.

Running systemsettings5 from the command line showed the following errors reported including a problem concerning border width.

<prompt>$ systemsettings5
QQmlEngine::setContextForObject(): Object already has a QQmlContext
Couldn't load plugin: "The shared library was not found."
QQmlEngine::setContextForObject(): Object already has a QQmlContext
file:///usr/lib64/qt5/qml/org/kde/kcm/GridDelegate.qml:206: TypeError: Cannot read property 'pointSize' of undefined
Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations.
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib64/qt5/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/lib64/qt5/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib64/qt5/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/lib64/qt5/qml/org/kde/kcm/GridDelegate.qml:206: TypeError: Cannot read property 'pointSize' of undefined
file:///usr/lib64/qt5/qml/org/kde/kcm/GridDelegate.qml:206: TypeError: Cannot read property 'pointSize' of undefined
file:///usr/lib64/qt5/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib64/qt5/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib64/qt5/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/lib64/qt5/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib64/qt5/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib64/qt5/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib64/qt5/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/lib64/qt5/qml/org/kde/kcm/GridDelegate.qml:206: TypeError: Cannot read property 'pointSize' of undefined
file:///usr/lib64/qt5/qml/org/kde/kcm/GridDelegate.qml:206: TypeError: Cannot read property 'pointSize' of undefined
file:///usr/lib64/qt5/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib64/qt5/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib64/qt5/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/lib64/qt5/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib64/qt5/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib64/qt5/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib64/qt5/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/lib64/qt5/qml/org/kde/kcm/GridDelegate.qml:206: TypeError: Cannot read property 'pointSize' of undefined
Qt WebEngine seems to be initialized from a plugin. Please set Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute before constructing QGuiApplication.
file:///usr/lib64/qt5/qml/org/kde/kcm/GridDelegate.qml:206: TypeError: Cannot read property 'pointSize' of undefined
file:///usr/lib64/qt5/qml/org/kde/kcm/GridDelegate.qml:206: TypeError: Cannot read property 'pointSize' of undefined
Object 0x5613ef9f5c80 destroyed while one of its QML signal handlers is in progress.
Most likely the object was deleted synchronously (use QObject::deleteLater() instead), or the application is running a nested event loop.
This behavior is NOT supported!
file:///usr/lib64/qt5/qml/org/kde/kcm/GridDelegate.qml:155: function() { [native code] }
KCrash: Application 'systemsettings5' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

[1]+  Stopped                 systemsettings5
<prompt>$ QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 9 and type 'Read', disabling...

Note that the above sequence including clicking on the "Breeze" icon to accept those settings before switching back to trying to edit the Plastik settings which crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0e11a83800 (LWP 11324))]

Thread 7 (Thread 0x7f0de73fe700 (LWP 11334)):
#0  0x00007f0e15bfd41c in read () from /lib64/libc.so.6
#1  0x00007f0e13eb45bf in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#2  0x00007f0e13e6c3b7 in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x00007f0e13e6c812 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#4  0x00007f0e13e6c9a3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007f0e161928a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f0e1613c23b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007f0e15f8ccd5 in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007f0e15234399 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#9  0x00007f0e15f8de26 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#10 0x00007f0e147c04e2 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f0e15c0c6a3 in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f0de7fff700 (LWP 11333)):
#0  0x00007f0e15c01a3f in poll () from /lib64/libc.so.6
#1  0x00007f0e13e6c86e in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f0e13e6c9a3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f0e161928a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f0e1613c23b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f0e15f8ccd5 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f0e15234399 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#7  0x00007f0e15f8de26 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f0e147c04e2 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f0e15c0c6a3 in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f0df91cc700 (LWP 11329)):
#0  0x00007f0e13eb8af8 in g_mutex_unlock () from /lib64/libglib-2.0.so.0
#1  0x00007f0e13e6c241 in g_main_context_check () from /lib64/libglib-2.0.so.0
#2  0x00007f0e13e6c812 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#3  0x00007f0e13e6c9a3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007f0e161928a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f0e1613c23b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f0e15f8ccd5 in QThread::exec() () from /lib64/libQt5Core.so.5
#7  0x00007f0e15234399 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#8  0x00007f0e15f8de26 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#9  0x00007f0e147c04e2 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f0e15c0c6a3 in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f0e015a6700 (LWP 11328)):
#0  0x00007f0e15c01a3f in poll () from /lib64/libc.so.6
#1  0x00007f0e13e6c86e in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f0e13e6c9a3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f0e161928a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f0e1613c23b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f0e15f8ccd5 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f0e15234399 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#7  0x00007f0e15f8de26 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f0e147c04e2 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f0e15c0c6a3 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f0e03807700 (LWP 11326)):
#0  0x00007f0e15bfd41c in read () from /lib64/libc.so.6
#1  0x00007f0e13eb45bf in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#2  0x00007f0e13e6c3b7 in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x00007f0e13e6c812 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#4  0x00007f0e13e6c9a3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007f0e161928a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f0e1613c23b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007f0e15f8ccd5 in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007f0e16418f6a in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#9  0x00007f0e15f8de26 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#10 0x00007f0e147c04e2 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f0e15c0c6a3 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f0e04757700 (LWP 11325)):
#0  0x00007f0e15c01a3f in poll () from /lib64/libc.so.6
#1  0x00007f0e1477f38a in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f0e14780fea in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f0e04954d48 in QXcbEventQueue::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f0e15f8de26 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f0e147c04e2 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f0e15c0c6a3 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f0e11a83800 (LWP 11324)):
[KCrash Handler]
#6  0x00007f0e15b47625 in raise () from /lib64/libc.so.6
#7  0x00007f0e15b308d9 in abort () from /lib64/libc.so.6
#8  0x00007f0e15f57b25 in QMessageLogger::fatal(char const*, ...) const () from /lib64/libQt5Core.so.5
#9  0x00007f0e15183baf in QQmlData::destroyed(QObject*) () from /lib64/libQt5Qml.so.5
#10 0x00007f0e1616f2dd in QObject::~QObject() () from /lib64/libQt5Core.so.5
#11 0x00007f0e155f8308 in QQuickItem::~QQuickItem() () from /lib64/libQt5Quick.so.5
#12 0x00007f0dfa21bae2 in QQmlPrivate::QQmlElement<QQuickButton>::~QQmlElement() () from /usr/lib64/qt5/qml/QtQuick/Templates.2/libqtquicktemplates2plugin.so
#13 0x00007f0e16168624 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#14 0x00007f0e155f5253 in QQuickItem::event(QEvent*) () from /lib64/libQt5Quick.so.5
#15 0x00007f0e16b4dab6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#16 0x00007f0e16b57150 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#17 0x00007f0e1613d448 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#18 0x00007f0e1614048b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#19 0x00007f0e16192af7 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#20 0x00007f0e13e6c570 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#21 0x00007f0e13e6c900 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#22 0x00007f0e13e6c9a3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#23 0x00007f0e16192885 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#24 0x00007f0e1613c23b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#25 0x00007f0e16d54d2d in QDialog::exec() () from /lib64/libQt5Widgets.so.5
#26 0x00007f0dee00edfa in KDecoration2::Preview::PreviewBridge::configure() () from /usr/lib64/qt5/qml/org/kde/kwin/private/kdecoration/libkdecorationprivatedeclarative.so
#27 0x00007f0dee007d62 in KDecoration2::Preview::PreviewBridge::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/qt5/qml/org/kde/kwin/private/kdecoration/libkdecorationprivatedeclarative.so
#28 0x00007f0dee009b73 in KDecoration2::Preview::PreviewBridge::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt5/qml/org/kde/kwin/private/kdecoration/libkdecorationprivatedeclarative.so
#29 0x00007f0e151d8755 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const () from /lib64/libQt5Qml.so.5
#30 0x00007f0e150c8d1c in CallMethod(QQmlObjectOrGadget const&, int, int, int, int*, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () from /lib64/libQt5Qml.so.5
#31 0x00007f0e150cad69 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () from /lib64/libQt5Qml.so.5
#32 0x00007f0e150cbb8e in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () from /lib64/libQt5Qml.so.5
#33 0x00007f0e150e8fc6 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#34 0x00007f0e150eaf9f in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) () from /lib64/libQt5Qml.so.5
#35 0x00007f0e150777bf in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5
#36 0x00007f0e15200b37 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib64/libQt5Qml.so.5
#37 0x00007f0e151a156c in QQmlBoundSignalExpression::evaluate(void**) () from /lib64/libQt5Qml.so.5
#38 0x00007f0e151a2738 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#39 0x00007f0e151e40dd in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#40 0x00007f0e151818e5 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () from /lib64/libQt5Qml.so.5
#41 0x00007f0e1616739f in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#42 0x00007f0e03b4f6d6 in QQuickAction::triggered(QObject*) () from /lib64/libQt5QuickTemplates2.so.5
#43 0x00007f0e03b503e6 in QQuickActionPrivate::trigger(QObject*, bool) () from /lib64/libQt5QuickTemplates2.so.5
#44 0x00007f0e03b506e2 in QQuickAction::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libQt5QuickTemplates2.so.5
#45 0x00007f0e03b50de3 in QQuickAction::qt_metacall(QMetaObject::Call, int, void**) () from /lib64/libQt5QuickTemplates2.so.5
#46 0x00007f0e1517ce9a in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libQt5Qml.so.5
#47 0x00007f0e151d8755 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const () from /lib64/libQt5Qml.so.5
#48 0x00007f0e150c8d1c in CallMethod(QQmlObjectOrGadget const&, int, int, int, int*, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () from /lib64/libQt5Qml.so.5
#49 0x00007f0e150cad69 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () from /lib64/libQt5Qml.so.5
#50 0x00007f0e150cbd81 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () from /lib64/libQt5Qml.so.5
#51 0x00007f0e150e8fc6 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#52 0x00007f0e150eaf9f in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) () from /lib64/libQt5Qml.so.5
#53 0x00007f0e150777bf in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5
#54 0x00007f0e15200b37 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib64/libQt5Qml.so.5
#55 0x00007f0e151a156c in QQmlBoundSignalExpression::evaluate(void**) () from /lib64/libQt5Qml.so.5
#56 0x00007f0e151a2738 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#57 0x00007f0e151e40dd in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#58 0x00007f0e151818e5 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () from /lib64/libQt5Qml.so.5
#59 0x00007f0e1616739f in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#60 0x00007f0e03b4e488 in QQuickAbstractButtonPrivate::handleRelease(QPointF const&) () from /lib64/libQt5QuickTemplates2.so.5
#61 0x00007f0e03b6bc09 in QQuickControl::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5QuickTemplates2.so.5
#62 0x00007f0e155f5088 in QQuickItem::event(QEvent*) () from /lib64/libQt5Quick.so.5
#63 0x00007f0e16b4dab6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#64 0x00007f0e16b57150 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#65 0x00007f0e1613d448 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#66 0x00007f0e156105e5 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () from /lib64/libQt5Quick.so.5
#67 0x00007f0e15611ceb in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () from /lib64/libQt5Quick.so.5
#68 0x00007f0e15612a99 in QQuickWindowPrivate::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Quick.so.5
#69 0x00007f0e165c0bcd in QWindow::event(QEvent*) () from /lib64/libQt5Gui.so.5
#70 0x00007f0e15613fe9 in QQuickWindow::event(QEvent*) () from /lib64/libQt5Quick.so.5
#71 0x00007f0e16b4dab6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#72 0x00007f0e16b57150 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#73 0x00007f0e1613d448 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#74 0x00007f0e158f7b4b in QQuickWidget::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5QuickWidgets.so.5
#75 0x00007f0e16b90c4e in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#76 0x00007f0e158f7cf3 in QQuickWidget::event(QEvent*) () from /lib64/libQt5QuickWidgets.so.5
#77 0x00007f0e16b4dab6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#78 0x00007f0e16b573a3 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#79 0x00007f0e1613d448 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#80 0x00007f0e16b564b7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#81 0x00007f0e16bacc5d in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#82 0x00007f0e16bafc5c in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#83 0x00007f0e16b4dab6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#84 0x00007f0e16b57150 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#85 0x00007f0e1613d448 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#86 0x00007f0e165b6b13 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#87 0x00007f0e165b830b in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib64/libQt5Gui.so.5
#88 0x00007f0e1659467b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#89 0x00007f0e04955d5e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#90 0x00007f0e13e6c570 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#91 0x00007f0e13e6c900 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#92 0x00007f0e13e6c9a3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#93 0x00007f0e16192885 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#94 0x00007f0e1613c23b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#95 0x00007f0e16144116 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#96 0x00005613eb86086e in main ()
[Inferior 1 (process 11324) detached]

Possible duplicates by query: bug 420989, bug 420826, bug 420407, bug 420176, bug 420063.

Reported using DrKonqi
Comment 1 Kai Uwe Broulik 2020-05-06 13:15:21 UTC
Git commit 5ea54eda5d1f91428933d338ea8b950aea86d43a by Kai Uwe Broulik.
Committed on 06/05/2020 at 13:15.
Pushed by broulik into branch 'Plasma/5.18'.

[kcmkwin/kwindecoration] Don't exec() QDialog

Using nested event loops with QML is always troublesome.
FIXED-IN: 5.18.6

Differential Revision: https://phabricator.kde.org/D29473

M  +22   -10   kcmkwin/kwindecoration/declarative-plugin/previewbridge.cpp
M  +3    -1    kcmkwin/kwindecoration/declarative-plugin/previewbridge.h
M  +2    -1    kcmkwin/kwindecoration/package/contents/ui/Themes.qml

https://commits.kde.org/kwin/5ea54eda5d1f91428933d338ea8b950aea86d43a
Comment 2 Nate Graham 2021-03-31 17:23:25 UTC
*** Bug 435116 has been marked as a duplicate of this bug. ***