Bug 354164

Summary: Going twice to effects kcm in systemsettings causes abort
Product: [Plasma] kwin Reporter: Martin Flöser <mgraesslin>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: alexey.min, wettererscheinung, xavier.besnard
Priority: NOR Flags: mgraesslin: ReviewRequest+
Version: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
URL: https://git.reviewboard.kde.org/r/125737/
See Also: https://bugs.kde.org/show_bug.cgi?id=352259
https://bugs.kde.org/show_bug.cgi?id=34439
Latest Commit: Version Fixed In: 5.4.3
Sentry Crash Report:

Description Martin Flöser 2015-10-21 09:49:39 UTC
systemsettings(14714)/(default) qt_assert: ASSERT: "value.isString()" in file jsruntime/qv4runtime.cpp, line 439

Program received signal SIGABRT, Aborted.
0x00007ffff28e7107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff28e7107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff28e84e8 in __GI_abort () at abort.c:89
#2  0x00007ffff35d2291 in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1578
#3  0x00007ffff35ce95c in QMessageLogger::fatal (this=0x7fffffff3920, msg=0x7ffff38ee270 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:781
#4  0x00007ffff35c7b90 in qt_assert (assertion=0x7ffff1f9276a "value.isString()", file=0x7ffff1f92710 "jsruntime/qv4runtime.cpp", line=439) at global/qglobal.cpp:2966
#5  0x00007ffff1ddb5eb in QV4::RuntimeHelpers::convertToObject (engine=0x139a400, value=...) at jsruntime/qv4runtime.cpp:439
#6  0x00007ffff1ddcc6e in QV4::Runtime::getProperty (engine=0x139a400, object=..., nameIndex=136) at jsruntime/qv4runtime.cpp:682
#7  0x00007ffff1dca362 in QV4::Moth::VME::run (this=0x7fffffff41d7, engine=0x139a400, code=0x7fffcc15f830 "\357\230\334\361\377\177", storeJumpTable=0x0) at jsruntime/qv4vme_moth.cpp:487
#8  0x00007ffff1dce656 in QV4::Moth::VME::exec (engine=0x139a400, code=0x7fffcc15f6c8 "\366\251\334\361\377\177") at jsruntime/qv4vme_moth.cpp:925
#9  0x00007ffff1d58eb3 in QV4::SimpleScriptFunction::call (that=0x7fffd3424010, callData=0x7fffd3424018) at jsruntime/qv4functionobject.cpp:564
#10 0x00007ffff1c93e14 in QV4::Object::call (this=0x7fffd3424010, d=0x7fffd3424018) at ../../include/QtQml/5.5.1/QtQml/private/../../../../../src/qml/jsruntime/qv4object_p.h:305
#11 0x00007ffff1e93cac in QQmlJavaScriptExpression::evaluate (this=0x2b7a690, context=0x1392ad0, function=..., callData=0x7fffd3424018, isUndefined=0x7fffffff4553) at qml/qqmljavascriptexpression.cpp:158
#12 0x00007ffff1e939a5 in QQmlJavaScriptExpression::evaluate (this=0x2b7a690, context=0x1392ad0, function=..., isUndefined=0x7fffffff4553) at qml/qqmljavascriptexpression.cpp:116
#13 0x00007ffff1e9c484 in QQmlBinding::update (this=0x2b7a670, flags=...) at qml/qqmlbinding.cpp:194
#14 0x00007ffff1e9cfac in QQmlBinding::update (this=0x2b7a670) at qml/qqmlbinding_p.h:97
#15 0x00007ffff1e9cab2 in QQmlBinding::expressionChanged (e=0x2b7a690) at qml/qqmlbinding.cpp:260
#16 0x00007ffff1e94d67 in QQmlJavaScriptExpressionGuard_callback (e=0x15ddbb0) at qml/qqmljavascriptexpression.cpp:361
#17 0x00007ffff1e72d0f in QQmlNotifier::emitNotify (endpoint=0x0, a=0x0) at qml/qqmlnotifier.cpp:94
#18 0x00007ffff1dfb3f6 in QQmlData::signalEmitted (object=0x33914f0, index=30, a=0x0) at qml/qqmlengine.cpp:763
#19 0x00007ffff384d31e in QMetaObject::activate (sender=0x33914f0, signalOffset=29, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3599
#20 0x00007ffff1df7906 in QQmlVMEMetaObject::activate (this=0x3391720, object=0x33914f0, index=44, args=0x0) at qml/qqmlvmemetaobject.cpp:1325
#21 0x00007ffff1df5436 in QQmlVMEMetaObject::metaCall (this=0x3391720, c=QMetaObject::WriteProperty, _id=42, a=0x7fffffff6860) at qml/qqmlvmemetaobject.cpp:841
#22 0x00007ffff1bb7432 in QAbstractDynamicMetaObject::metaCall (this=0x3391720, c=QMetaObject::WriteProperty, _id=42, a=0x7fffffff6860)
    at /home/martin/src/qt5/qtbase/include/QtCore/5.5.1/QtCore/private/../../../../../src/corelib/kernel/qobject_p.h:421
#23 0x00007ffff1df5e91 in QQmlVMEMetaObject::metaCall (this=0x2ca1900, c=QMetaObject::WriteProperty, _id=42, a=0x7fffffff6860) at qml/qqmlvmemetaobject.cpp:969
#24 0x00007ffff1bb7432 in QAbstractDynamicMetaObject::metaCall (this=0x2ca1900, c=QMetaObject::WriteProperty, _id=42, a=0x7fffffff6860)
    at /home/martin/src/qt5/qtbase/include/QtCore/5.5.1/QtCore/private/../../../../../src/corelib/kernel/qobject_p.h:421
#25 0x00007ffff3817ce1 in QMetaObject::metacall (object=0x33914f0, cl=QMetaObject::WriteProperty, idx=42, argv=0x7fffffff6860) at kernel/qmetaobject.cpp:294
#26 0x00007ffff1e14605 in QQmlPropertyPrivate::write (object=0x33914f0, property=..., value=..., context=0x3391390, flags=...) at qml/qqmlproperty.cpp:1308
#27 0x00007ffff1e13f47 in QQmlPropertyPrivate::writeValueProperty (object=0x33914f0, core=..., value=..., context=0x3391390, flags=...) at qml/qqmlproperty.cpp:1237
#28 0x00007ffff1e163ab in QQmlPropertyPrivate::writeBinding (object=0x33914f0, core=..., context=0x3391390, expression=0x3391bd0, result=..., isUndefined=false, flags=...) at qml/qqmlproperty.cpp:1597
#29 0x00007ffff1e9c567 in QQmlBinding::update (this=0x3391bb0, flags=...) at qml/qqmlbinding.cpp:198
#30 0x00007ffff1e9cfac in QQmlBinding::update (this=0x3391bb0) at qml/qqmlbinding_p.h:97
#31 0x00007ffff1e9cab2 in QQmlBinding::expressionChanged (e=0x3391bd0) at qml/qqmlbinding.cpp:260
#32 0x00007ffff1e94d67 in QQmlJavaScriptExpressionGuard_callback (e=0x15dd948) at qml/qqmljavascriptexpression.cpp:361
#33 0x00007ffff1e72d0f in QQmlNotifier::emitNotify (endpoint=0x0, a=0x0) at qml/qqmlnotifier.cpp:94
#34 0x00007ffff1dfb3f6 in QQmlData::signalEmitted (object=0x3391fc0, index=31, a=0x0) at qml/qqmlengine.cpp:763
#35 0x00007ffff384d31e in QMetaObject::activate (sender=0x3391fc0, signalOffset=31, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3599
#36 0x00007ffff384d120 in QMetaObject::activate (sender=0x3391fc0, m=0x7ffff2688b20 <QQuickLoader::staticMetaObject>, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3578
#37 0x00007ffff2432687 in QQuickLoader::itemChanged (this=0x3391fc0) at .moc/moc_qquickloader_p.cpp:321
#38 0x00007ffff2431370 in QQuickLoaderPrivate::incubatorStateChanged (this=0x2ca0700, status=QQmlIncubator::Ready) at items/qquickloader.cpp:666
#39 0x00007ffff24312e4 in QQuickLoaderIncubator::statusChanged (this=0x30f9e70, status=QQmlIncubator::Ready) at items/qquickloader.cpp:654
#40 0x00007ffff1e1f2ea in QQmlIncubatorPrivate::changeStatus (this=0x30f9e90, s=QQmlIncubator::Ready) at qml/qqmlincubator.cpp:701
---Type <return> to continue, or q <return> to quit---
#41 0x00007ffff1e1eab7 in QQmlIncubatorPrivate::incubate (this=0x30f9e90, i=...) at qml/qqmlincubator.cpp:368
#42 0x00007ffff1e1dd0e in QQmlEnginePrivate::incubate (this=0x13882d0, i=..., forContext=0x30f9db0) at qml/qqmlincubator.cpp:87
#43 0x00007ffff1e1a6d3 in QQmlComponent::create (this=0x15bfe90, incubator=..., context=0x2ca7160, forContext=0x0) at qml/qqmlcomponent.cpp:1068
#44 0x00007ffff24317a4 in QQuickLoaderPrivate::_q_sourceLoaded (this=0x2ca0700) at items/qquickloader.cpp:714
#45 0x00007ffff2430f10 in QQuickLoaderPrivate::load (this=0x2ca0700) at items/qquickloader.cpp:597
#46 0x00007ffff24319bf in QQuickLoader::componentComplete (this=0x3391fc0) at items/qquickloader.cpp:806
#47 0x00007ffff1ead859 in QQmlObjectCreator::finalize (this=0x31869c0, interrupt=...) at qml/qqmlobjectcreator.cpp:1207
#48 0x00007ffff1e1a094 in QQmlComponentPrivate::complete (enginePriv=0x13882d0, state=0x30b89a0) at qml/qqmlcomponent.cpp:928
#49 0x00007ffff1e1a17c in QQmlComponentPrivate::completeCreate (this=0x30b8900) at qml/qqmlcomponent.cpp:964
#50 0x00007ffff1e1a12c in QQmlComponent::completeCreate (this=0x1544040) at qml/qqmlcomponent.cpp:957
#51 0x00007ffff1e19953 in QQmlComponent::create (this=0x1544040, context=0x2bdd5f0) at qml/qqmlcomponent.cpp:791
#52 0x00007ffff24396e6 in QQuickView::continueExecute (this=0x134d440) at items/qquickview.cpp:476
#53 0x00007ffff2438617 in QQuickViewPrivate::execute (this=0x15c38c0) at items/qquickview.cpp:124
#54 0x00007ffff2438a2c in QQuickView::setSource (this=0x134d440, url=...) at items/qquickview.cpp:253
#55 0x00007fffd5c20a65 in KWin::Compositing::EffectView::init (this=0x134d440, type=KWin::Compositing::EffectView::DesktopEffectsView) at /home/martin/src/kf5/kde/workspace/kwin/kcmkwin/kwincompositing/model.cpp:613
#56 0x00007fffd5c207a8 in KWin::Compositing::EffectView::EffectView (this=0x134d440, type=KWin::Compositing::EffectView::DesktopEffectsView, parent=0x0) at /home/martin/src/kf5/kde/workspace/kwin/kcmkwin/kwincompositing/model.cpp:592
#57 0x00007fffd5c3072e in KWinCompositingKCM::KWinCompositingKCM (this=0x1381fc0, parent=0x2c9f620, args=..., viewType=KWin::Compositing::EffectView::DesktopEffectsView)
    at /home/martin/src/kf5/kde/workspace/kwin/kcmkwin/kwincompositing/main.cpp:259
#58 0x00007fffd5c35a25 in KWinDesktopEffects::KWinDesktopEffects (this=0x1381fc0, parent=0x2c9f620, args=...) at /home/martin/src/kf5/kde/workspace/kwin/kcmkwin/kwincompositing/main.cpp:56
#59 0x00007fffd5c367c7 in KPluginFactory::createInstance<KWinDesktopEffects, QWidget> (parentWidget=0x0, parent=0x2c9f620, args=...) at /opt/kf5/include/KF5/KCoreAddons/kpluginfactory.h:477
#60 0x00007ffff3ba76ce in KPluginFactory::create (this=0x1385870, iface=0x7ffff69c92c8 <qt_meta_stringdata_KCModule+360> "KCModule", parentWidget=0x0, parent=0x2c9f620, args=..., keyword=...)
    at /home/martin/src/kf5/frameworks/kcoreaddons/src/lib/plugin/kpluginfactory.cpp:145
#61 0x00007ffff7981cfb in KPluginFactory::create<KCModule> (this=0x1385870, parentWidget=0x0, parent=0x2c9f620, keyword=..., args=...) at /opt/kf5/include/KF5/KCoreAddons/kpluginfactory.h:519
#62 0x00007ffff79817d7 in KService::createInstance<KCModule> (this=0x869230, parentWidget=0x0, parent=0x2c9f620, args=..., error=0x7fffffff9b20) at /opt/kf5/include/KF5/KService/kservice.h:526
#63 0x00007ffff79812b8 in KService::createInstance<KCModule> (this=0x869230, parent=0x2c9f620, args=..., error=0x7fffffff9b20) at /opt/kf5/include/KF5/KService/kservice.h:501
#64 0x00007ffff797fe5f in KCModuleLoader::loadModule (mod=..., report=KCModuleLoader::Inline, parent=0x2c9f620, args=...) at /home/martin/src/kf5/frameworks/kcmutils/src/kcmoduleloader.cpp:92
#65 0x00007ffff79894f2 in KCModuleProxyPrivate::loadModule (this=0x14e8ae0) at /home/martin/src/kf5/frameworks/kcmutils/src/kcmoduleproxy.cpp:109
#66 0x00007ffff798908a in KCModuleProxy::realModule (this=0x2c9f620) at /home/martin/src/kf5/frameworks/kcmutils/src/kcmoduleproxy.cpp:82
#67 0x00007ffff7989d30 in KCModuleProxy::showEvent (this=0x2c9f620, ev=0x7fffffffabf0) at /home/martin/src/kf5/frameworks/kcmutils/src/kcmoduleproxy.cpp:195
#68 0x00007ffff5105f0d in QWidget::event (this=0x2c9f620, event=0x7fffffffabf0) at kernel/qwidget.cpp:8890
#69 0x00007ffff50b6616 in QApplicationPrivate::notify_helper (this=0x648dc0, receiver=0x2c9f620, e=0x7fffffffabf0) at kernel/qapplication.cpp:3716
#70 0x00007ffff50b6474 in QApplication::notify (this=0x7fffffffdb90, receiver=0x2c9f620, e=0x7fffffffabf0) at kernel/qapplication.cpp:3681
#71 0x00007ffff380ef9e in QCoreApplication::notifyInternal (this=0x7fffffffdb90, receiver=0x2c9f620, event=0x7fffffffabf0) at kernel/qcoreapplication.cpp:965
#72 0x00007ffff50a6af7 in QCoreApplication::sendEvent (receiver=0x2c9f620, event=0x7fffffffabf0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#73 0x00007ffff5103166 in QWidgetPrivate::show_helper (this=0x148a380) at kernel/qwidget.cpp:7819
#74 0x00007ffff5102b7e in QWidgetPrivate::show_recursive (this=0x148a380) at kernel/qwidget.cpp:7690
#75 0x00007ffff51044e2 in QWidgetPrivate::showChildren (this=0x30a5ea0, spontaneous=false) at kernel/qwidget.cpp:8186
#76 0x00007ffff5102fb1 in QWidgetPrivate::show_helper (this=0x30a5ea0) at kernel/qwidget.cpp:7766
#77 0x00007ffff510404a in QWidget::setVisible (this=0x135a5b0, visible=true) at kernel/qwidget.cpp:8105
#78 0x00007ffff5102a7f in QWidget::show (this=0x135a5b0) at kernel/qwidget.cpp:7667
#79 0x00007ffff51044f0 in QWidgetPrivate::showChildren (this=0x31852d0, spontaneous=false) at kernel/qwidget.cpp:8188
#80 0x00007ffff5102fb1 in QWidgetPrivate::show_helper (this=0x31852d0) at kernel/qwidget.cpp:7766
#81 0x00007ffff510404a in QWidget::setVisible (this=0x15ce160, visible=true) at kernel/qwidget.cpp:8105
---Type <return> to continue, or q <return> to quit---
#82 0x00007ffff5102a7f in QWidget::show (this=0x15ce160) at kernel/qwidget.cpp:7667
#83 0x00007ffff50e9484 in QStackedLayout::setCurrentIndex (this=0x7a7280, index=2) at kernel/qstackedlayout.cpp:319
#84 0x00007ffff50e9695 in QStackedLayout::setCurrentWidget (this=0x7a7280, widget=0x15ce160) at kernel/qstackedlayout.cpp:374
#85 0x00007ffff52a7c44 in QStackedWidget::setCurrentWidget (this=0x7701c0, widget=0x15ce160) at widgets/qstackedwidget.cpp:244
#86 0x00007ffff5852c09 in KPageViewPrivate::_k_pageSelected (this=0x12719c0, index=..., previous=...) at /home/martin/src/kf5/frameworks/kwidgetsaddons/src/kpageview.cpp:246
#87 0x00007ffff5853aa7 in KPageView::qt_static_metacall (_o=0x860980, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffffffb420) at /opt/build/kf5/frameworks/kwidgetsaddons/src/moc_kpageview.cpp:115
#88 0x00007ffff384d915 in QMetaObject::activate (sender=0x1370ba0, signalOffset=3, local_signal_index=0, argv=0x7fffffffb420) at kernel/qobject.cpp:3713
#89 0x00007ffff384d120 in QMetaObject::activate (sender=0x1370ba0, m=0x7ffff3b02680 <QItemSelectionModel::staticMetaObject>, local_signal_index=0, argv=0x7fffffffb420) at kernel/qobject.cpp:3578
#90 0x00007ffff37c5467 in QItemSelectionModel::selectionChanged (this=0x1370ba0, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:473
#91 0x00007ffff37c41e0 in QItemSelectionModel::emitSelectionChanged (this=0x1370ba0, newSelection=..., oldSelection=...) at itemmodels/qitemselectionmodel.cpp:1857
#92 0x00007ffff37c17a2 in QItemSelectionModel::select (this=0x1370ba0, selection=..., command=...) at itemmodels/qitemselectionmodel.cpp:1288
#93 0x00007ffff585724a in KDEPrivate::SelectionModel::select (this=0x1370ba0, selection=..., command=...) at /home/martin/src/kf5/frameworks/kwidgetsaddons/src/kpageview_p.cpp:631
#94 0x00007ffff53b7c58 in QListView::setSelection (this=0x87b470, rect=..., command=...) at itemviews/qlistview.cpp:1352
#95 0x00007ffff5392d7d in QAbstractItemView::mousePressEvent (this=0x87b470, event=0x7fffffffc9a0) at itemviews/qabstractitemview.cpp:1733
#96 0x00007ffff5105331 in QWidget::event (this=0x87b470, event=0x7fffffffc9a0) at kernel/qwidget.cpp:8671
#97 0x00007ffff523612d in QFrame::event (this=0x87b470, e=0x7fffffffc9a0) at widgets/qframe.cpp:540
#98 0x00007ffff52d5aa6 in QAbstractScrollArea::viewportEvent (this=0x87b470, e=0x7fffffffc9a0) at widgets/qabstractscrollarea.cpp:1200
#99 0x00007ffff5392868 in QAbstractItemView::viewportEvent (this=0x87b470, event=0x7fffffffc9a0) at itemviews/qabstractitemview.cpp:1685
#100 0x00007ffff52d6d53 in QAbstractScrollAreaPrivate::viewportEvent (this=0x1380b50, event=0x7fffffffc9a0) at widgets/qabstractscrollarea_p.h:102
#101 0x00007ffff52d6e1c in QAbstractScrollAreaFilter::eventFilter (this=0x1485b50, o=0x13a0130, e=0x7fffffffc9a0) at widgets/qabstractscrollarea_p.h:118
#102 0x00007ffff380f31b in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x648dc0, receiver=0x13a0130, event=0x7fffffffc9a0) at kernel/qcoreapplication.cpp:1072
#103 0x00007ffff50b65ed in QApplicationPrivate::notify_helper (this=0x648dc0, receiver=0x13a0130, e=0x7fffffffc9a0) at kernel/qapplication.cpp:3712
#104 0x00007ffff50b4590 in QApplication::notify (this=0x7fffffffdb90, receiver=0x13a0130, e=0x7fffffffc9a0) at kernel/qapplication.cpp:3276
#105 0x00007ffff380ef9e in QCoreApplication::notifyInternal (this=0x7fffffffdb90, receiver=0x13a0130, event=0x7fffffffc9a0) at kernel/qcoreapplication.cpp:965
#106 0x00007ffff50b95f1 in QCoreApplication::sendSpontaneousEvent (receiver=0x13a0130, event=0x7fffffffc9a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:227
#107 0x00007ffff50b2fa9 in QApplicationPrivate::sendMouseEvent (receiver=0x13a0130, event=0x7fffffffc9a0, alienWidget=0x13a0130, nativeWidget=0x87b470, buttonDown=0x7ffff5748730 <qt_button_down>, lastMouseReceiver=..., 
    spontaneous=true) at kernel/qapplication.cpp:2770
#108 0x00007ffff5130673 in QWidgetWindow::handleMouseEvent (this=0x139dc10, event=0x7fffffffd580) at kernel/qwidgetwindow.cpp:555
#109 0x00007ffff512f386 in QWidgetWindow::event (this=0x139dc10, event=0x7fffffffd580) at kernel/qwidgetwindow.cpp:210
#110 0x00007ffff50b6616 in QApplicationPrivate::notify_helper (this=0x648dc0, receiver=0x139dc10, e=0x7fffffffd580) at kernel/qapplication.cpp:3716
#111 0x00007ffff50b3d75 in QApplication::notify (this=0x7fffffffdb90, receiver=0x139dc10, e=0x7fffffffd580) at kernel/qapplication.cpp:3160
#112 0x00007ffff380ef9e in QCoreApplication::notifyInternal (this=0x7fffffffdb90, receiver=0x139dc10, event=0x7fffffffd580) at kernel/qcoreapplication.cpp:965
#113 0x00007ffff4953ee9 in QCoreApplication::sendSpontaneousEvent (receiver=0x139dc10, event=0x7fffffffd580) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:227
#114 0x00007ffff494cff0 in QGuiApplicationPrivate::processMouseEvent (e=0x14e99c0) at kernel/qguiapplication.cpp:1789
#115 0x00007ffff494c58a in QGuiApplicationPrivate::processWindowSystemEvent (e=0x14e99c0) at kernel/qguiapplication.cpp:1581
#116 0x00007ffff4934c65 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:625
#117 0x00007fffe8d8ad42 in userEventSourceDispatch (source=0x6968c0) at eventdispatchers/qeventdispatcher_glib.cpp:70
#118 0x00007fffebf8bfe7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#119 0x00007fffebf8c240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#120 0x00007fffebf8c2ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#121 0x00007ffff38850d9 in QEventDispatcherGlib::processEvents (this=0x693c50, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#122 0x00007fffe8d8af66 in QPAEventDispatcherGlib::processEvents (this=0x693c50, flags=...) at eventdispatchers/qeventdispatcher_glib.cpp:115
#123 0x00007ffff380bb5c in QEventLoop::processEvents (this=0x7fffffffdab0, flags=...) at kernel/qeventloop.cpp:128
---Type <return> to continue, or q <return> to quit---
#124 0x00007ffff380be50 in QEventLoop::exec (this=0x7fffffffdab0, flags=...) at kernel/qeventloop.cpp:204
#125 0x00007ffff380f67c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#126 0x00007ffff494c3ba in QGuiApplication::exec () at kernel/qguiapplication.cpp:1527
#127 0x00007ffff50b374f in QApplication::exec () at kernel/qapplication.cpp:2976
#128 0x000000000042582c in main ()

Reproducible: Always

Steps to Reproduce:
1. open systemsettings
2. Desktop Behavior
3. Desktop Effects
4. All Settings
4. repeat steps 2 and 3


Actual Results:  
Crash

Expected Results:  
no crash

run with 
QV4_NO_SSA=1 QV4_NO_OPT=1 QV4_FORCE_INTERPRETER=1 QML_DISABLE_OPTIMIZER=1

to get better result. Possible related Qt bug: https://bugreports.qt.io/browse/QTBUG-44895
Comment 1 Thomas Lübking 2015-10-21 10:07:39 UTC
possible cause and fix: https://codereview.qt-project.org/#/c/111932
Comment 2 Christoph Feck 2015-10-21 10:08:47 UTC
Steps to reproduce match bug 351763.
Comment 3 Martin Flöser 2015-10-21 10:14:34 UTC
(In reply to Thomas Lübking from comment #1)
> possible cause and fix: https://codereview.qt-project.org/#/c/111932

nope, I have that one in my Qt :-( But will nevertheless trigger a new Qt 5.5. build to verify.
Comment 4 Martin Flöser 2015-10-21 11:01:09 UTC
I found the reason for the crash:
rootContext()->setContextProperty("engine", this);

Will now try to remove that ;-)
Comment 5 Martin Flöser 2015-10-21 11:08:20 UTC
The problem is not the "this" pointer as I thought: setting twice a contextProperty is the problem.
Comment 6 Alexey Min 2015-10-21 11:17:04 UTC
Does this bug look smilar to bug #353795 - https://bugs.kde.org/show_bug.cgi?id=353795#c1 ?
Comment 7 Martin Flöser 2015-10-21 11:29:41 UTC
*** Bug 353795 has been marked as a duplicate of this bug. ***
Comment 8 Martin Flöser 2015-10-21 14:45:56 UTC
Git commit 76cd1fdc3411142991096adf8da9d7e74536f671 by Martin Gräßlin.
Committed on 21/10/2015 at 11:28.
Pushed by graesslin into branch 'Plasma/5.4'.

[kcmeffects] Do not use root context properties

Apparently it's not allowed to set root context properties multiple
times. If one goes to systemsettings, opens effects kcm, closes it
and opens it again it crashes due to setting a context property with
same name again.

This change eliminates the need for the context property by modifying
the property of the QML objects directly.
Related: bug 351763
FIXED-IN: 5.4.3
REVIEW: 125737

M  +2    -1    kcmkwin/kwincompositing/model.cpp
M  +0    -2    kcmkwin/kwincompositing/model.h
M  +0    -1    kcmkwin/kwincompositing/qml/EffectView.qml

http://commits.kde.org/kwin/76cd1fdc3411142991096adf8da9d7e74536f671
Comment 9 Thomas Lübking 2016-04-17 06:09:34 UTC
*** Bug 361873 has been marked as a duplicate of this bug. ***
Comment 10 Thomas Lübking 2016-04-17 06:14:33 UTC
(In reply to Martin Gräßlin from comment #8)

> Apparently it's not allowed to set root context properties multiple

Apparently that not it.
According to bug #353795, QV4::Heap::String seems dangeling in QV4::String::toQString - the statemachine memory management is broken (thus recent changes to a new allocator implementation n Qt 5.6) and one cannot fix that with voodoo.
Comment 11 Thomas Lübking 2016-05-05 20:16:35 UTC
*** Bug 362718 has been marked as a duplicate of this bug. ***