https://bugs.kde.org/show_bug.cgi?id=427496
Bug ID: 427496 Summary: KWin crashes when disconnecting the second monitor Product: kwin Version: 5.19.5 Platform: Neon Packages OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: kwin-bugs-n...@kde.org Reporter: e...@moskvin.ca Target Milestone: --- Application: kwin_x11 (5.19.5) Qt Version: 5.15.0 Frameworks Version: 5.74.0 Operating System: Linux 5.6.7-050607-generic x86_64 Windowing system: X11 Distribution: KDE neon User Edition 5.19 -- Information about the crash: - What I was doing when the application crashed: It crashes when I dissconnect the external monitor from the laptop. The monitor is connected via HDMI. - Custom settings of the application: Tiling mode is enabled. The crash can be reproduced every time. -- Backtrace: Application: KWin (kwin_x11), signal: Segmentation fault [KCrash Handler] #4 0x00007f0309a69dbd in std::__atomic_base<int>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=0x64) at /usr/include/c++/9/bits/atomic_base.h:413 #5 QAtomicOps<int>::loadRelaxed<int>(std::atomic<int> const&) (_q_value=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:239 #6 QBasicAtomicInteger<int>::loadRelaxed() const (this=0x64) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:107 #7 QtPrivate::RefCount::isShared() const (this=0x64) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:101 #8 QMap<KWin::Group*, KWin::Layer>::detach() (this=0x563feb663ce0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:357 #9 QMap<KWin::Group*, KWin::Layer>::find(KWin::Group* const&) (akey=<optimized out>, this=0x563feb663ce0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:861 #10 KWin::Workspace::constrainedStackingOrder() (this=this@entry=0x563fea81a410) at ./layers.cpp:519 #11 0x00007f0309a6a818 in KWin::Workspace::updateStackingOrder(bool) (propagate_new_clients=false, this=0x563fea81a410) at ./layers.cpp:121 #12 KWin::Workspace::updateStackingOrder(bool) (this=0x563fea81a410, propagate_new_clients=propagate_new_clients@entry=false) at ./layers.cpp:114 #13 0x00007f0309b4948d in KWin::X11Client::setFrameGeometry(QRect const&, KWin::AbstractClient::ForceGeometry_t) (this=0x563fea94dcd0, rect=..., force=KWin::AbstractClient::NormalGeometrySet) at ./workspace.h:801 #14 0x00007f03099b5cd4 in KWin::AbstractClient::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x563fea94dcd0, _c=_c@entry=QMetaObject::WriteProperty, _id=_id@entry=27, _a=_a@entry=0x7ffd7b3fab90) at ./obj-x86_64-linux-gnu/kwin_autogen/EWIEGA46WW/moc_abstract_client.cpp:836 #15 0x00007f03099bbecb in KWin::AbstractClient::qt_metacall(QMetaObject::Call, int, void**) (this=this@entry=0x563fea94dcd0, _c=_c@entry=QMetaObject::WriteProperty, _id=27, _a=_a@entry=0x7ffd7b3fab90) at ./obj-x86_64-linux-gnu/kwin_autogen/EWIEGA46WW/moc_abstract_client.cpp:886 #16 0x00007f03099bbf5a in KWin::X11Client::qt_metacall(QMetaObject::Call, int, void**) (this=0x563fea94dcd0, _c=QMetaObject::WriteProperty, _id=<optimized out>, _a=0x7ffd7b3fab90) at ./obj-x86_64-linux-gnu/kwin_autogen/EWIEGA46WW/moc_x11client.cpp:269 #17 0x00007f0306d218a5 in QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const (this=<optimized out>, target=<optimized out>, value=<optimized out>, flags=...) at ../../include/QtQml/5.15.0/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:379 #18 0x00007f0306d1d3c4 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) (object=<optimized out>, property=..., value=..., context=<optimized out>, flags=...) at qml/qqmlproperty.cpp:1301 #19 0x00007f0306c3a2ac in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) (engine=0x563fea945940, object=0x563fea94dcd0, property=0x563feb421898, value=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:120 #20 0x00007f0306c3adbe in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) (engine=0x563fea945940, qmlContext=<optimized out>, object=0x563fea94dcd0, name=<optimized out>, revisionMode=QV4::QObjectWrapper::IgnoreRevision, value=...) at jsruntime/qv4qobjectwrapper.cpp:435 #21 0x00007f0306c3af37 in QV4::QObjectWrapper::virtualPut(QV4::Managed*, QV4::PropertyKey, QV4::Value const&, QV4::Value*) () at /usr/include/c++/9/bits/atomic_base.h:413 #22 0x00007f0306bb842c in QV4::Object::put(QV4::StringOrSymbol*, QV4::Value const&, QV4::Value*) (receiver=0x7f02e63beb38, v=..., name=0x7f02e63beb40, this=0x7f02e63beb38) at ../../include/QtQml/5.15.0/QtQml/private/../../../../../src/qml/jsruntime/qv4string_p.h:167 #23 QV4::Lookup::setterFallback(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value&, QV4::Value const&) (l=<optimized out>, engine=0x563fea945940, object=..., value=...) at jsruntime/qv4lookup.cpp:497 #24 0x00007f0306c667c2 in QV4::Runtime::SetLookupStrict::call(QV4::Function*, QV4::Value const&, int, QV4::Value const&) (f=<optimized out>, base=..., index=<optimized out>, value=...) at jsruntime/qv4runtime.cpp:1128 #25 0x00007f02c004a945 in () #26 0x0000000000000000 in () [Inferior 1 (process 930607) detached] Possible duplicates by query: bug 427021, bug 425205, bug 422092, bug 421762, bug 421244. Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.