Bug 434372

Summary: kwin crashes inKWin::AbstractClient::destroyDecoration() when minimize window
Product: [Plasma] kwin Reporter: Marco <umarcomasucci>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 5.21.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marco 2021-03-13 21:34:26 UTC
Application: kwin_x11 (5.21.2)

Qt Version: 5.15.2
Frameworks Version: 5.79.0
Operating System: Linux 5.4.101-1-MANJARO x86_64
Windowing System: X11
Drkonqi Version: 5.21.2
Distribution: Manjaro Linux

-- Information about the crash:
- What I was doing when the application crashed:
minimize konsole window
- Custom settings of the application:
Description:    Manjaro Linux
Release:        20.2.1
script kwin: hide inactive borders; tiling extension

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Aborted

[KCrash Handler]
#4  0x00007fe23fc44ef5 in raise () at /usr/lib/libc.so.6
#5  0x00007fe23fc2e862 in abort () at /usr/lib/libc.so.6
#6  0x00007fe2400429ac in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fe23eb1d651 in QQmlData::destroyed(QObject*) () at /usr/lib/libQt5Qml.so.5
#8  0x00007fe24029cc01 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#9  0x00007fe23f0d62e7 in  () at /usr/lib/libQt5Quick.so.5
#10 0x00007fe2402920be in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#11 0x00007fe24029cf25 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#12 0x00007fe23f0d66e7 in  () at /usr/lib/libQt5Quick.so.5
#13 0x00007fe2402920be in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#14 0x00007fe24029cf25 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#15 0x00007fe23f0d7230 in  () at /usr/lib/libQt5Quick.so.5
#16 0x00007fe2402920be in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#17 0x00007fe24029cf25 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#18 0x00007fe23f0d66e7 in  () at /usr/lib/libQt5Quick.so.5
#19 0x00007fe2402920be in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#20 0x00007fe24029cf25 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#21 0x00007fe23f0d66e7 in  () at /usr/lib/libQt5Quick.so.5
#22 0x00007fe2402920be in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#23 0x00007fe24029cf25 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#24 0x00007fe23eb32eca in QQmlContext::~QQmlContext() () at /usr/lib/libQt5Qml.so.5
#25 0x00007fe2304e9b91 in  () at /usr/lib/qt/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#26 0x00007fe2304e9bc9 in  () at /usr/lib/qt/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#27 0x00007fe2415cd1db in KWin::AbstractClient::destroyDecoration() () at /usr/lib/libkwin.so.5
#28 0x00007fe24172ad5e in KWin::X11Client::destroyDecoration() () at /usr/lib/libkwin.so.5
#29 0x00007fe241725e5a in KWin::X11Client::updateDecoration(bool, bool) () at /usr/lib/libkwin.so.5
#30 0x00007fe241716ca8 in KWin::X11Client::setNoBorder(bool) () at /usr/lib/libkwin.so.5
#31 0x00007fe2415c2f8b in KWin::AbstractClient::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/libkwin.so.5
#32 0x00007fe2415c3077 in KWin::X11Client::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/libkwin.so.5
#33 0x00007fe24027497e in QMetaProperty::write(QObject*, QVariant const&) const () at /usr/lib/libQt5Core.so.5
#34 0x00007fe23f9f446c in  () at /usr/lib/libQt5Script.so.5
#35 0x00007fe23f920644 in  () at /usr/lib/libQt5Script.so.5
#36 0x00007fe23f9ff1af in  () at /usr/lib/libQt5Script.so.5
#37 0x00007fe23f8f957b in  () at /usr/lib/libQt5Script.so.5
#38 0x00007fe17c00186b in  ()
#39 0x0000000000000001 in  ()
#40 0x00007fe200646e40 in  ()
#41 0x00007fe200acb1d8 in  ()
#42 0x0000000000000016 in  ()
#43 0x0000000000000001 in  ()
#44 0x0000000000000001 in  ()
#45 0x0000000000000001 in  ()
#46 0x00007fe2406f572b in QGuiApplication::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/libQt5Gui.so.5
#47 0x00007fe23fa78268 in  () at /usr/lib/libQt5Script.so.5
#48 0x00007fe200ac9800 in  ()
#49 0x00007fe200ac4738 in  ()
#50 0x00007fe200ac4750 in  ()
#51 0x00007fe23fa78268 in  () at /usr/lib/libQt5Script.so.5
#52 0x00007fe200643cc0 in  ()
#53 0x0000559b25deb278 in  ()
#54 0x00007fe2006c1000 in  ()
#55 0x00007fe23f8b202c in  () at /usr/lib/libQt5Script.so.5
#56 0x00007fe23f9445dd in  () at /usr/lib/libQt5Script.so.5
#57 0x00007fe23f9fce48 in  () at /usr/lib/libQt5Script.so.5
#58 0x00007fe23fa00461 in  () at /usr/lib/libQt5Script.so.5
#59 0x00007fe24029eac2 in  () at /usr/lib/libQt5Core.so.5
#60 0x00007fe2415d1144 in KWin::AbstractClient::setActive(bool) () at /usr/lib/libkwin.so.5
#61 0x00007fe2415de4b8 in KWin::Workspace::setActiveClient(KWin::AbstractClient*) () at /usr/lib/libkwin.so.5
#62 0x00007fe2415e138b in KWin::Workspace::activateNextClient(KWin::AbstractClient*) () at /usr/lib/libkwin.so.5
#63 0x00007fe2417186e1 in KWin::X11Client::internalHide() () at /usr/lib/libkwin.so.5
#64 0x00007fe2417220a7 in KWin::X11Client::doMinimize() () at /usr/lib/libkwin.so.5
#65 0x00007fe2415cbc75 in KWin::AbstractClient::minimize(bool) () at /usr/lib/libkwin.so.5
#66 0x00007fe23f659caf in KDecoration2::Decoration::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/libkdecorations2.so.5
#67 0x00007fe2304e7607 in  () at /usr/lib/qt/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#68 0x00007fe23eb6856e in  () at /usr/lib/libQt5Qml.so.5
#69 0x00007fe23ea4d947 in  () at /usr/lib/libQt5Qml.so.5
#70 0x00007fe23ea4ff3a in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at /usr/lib/libQt5Qml.so.5
#71 0x00007fe23ea6bb37 in  () at /usr/lib/libQt5Qml.so.5
#72 0x00007fe23ea6e68f in  () at /usr/lib/libQt5Qml.so.5
#73 0x00007fe23ea08d2e in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /usr/lib/libQt5Qml.so.5
#74 0x00007fe23eb84916 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /usr/lib/libQt5Qml.so.5
#75 0x00007fe23eb3762d in QQmlBoundSignalExpression::evaluate(void**) () at /usr/lib/libQt5Qml.so.5
#76 0x00007fe23eb37b11 in  () at /usr/lib/libQt5Qml.so.5
#77 0x00007fe23eb6800d in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib/libQt5Qml.so.5
#78 0x00007fe24029e905 in  () at /usr/lib/libQt5Core.so.5
#79 0x00007fe23efc3383 in QQuickMouseArea::clicked(QQuickMouseEvent*) () at /usr/lib/libQt5Quick.so.5
#80 0x00007fe23efc4c50 in QQuickMouseArea::setPressed(Qt::MouseButton, bool, Qt::MouseEventSource) () at /usr/lib/libQt5Quick.so.5
#81 0x00007fe23efc5f24 in QQuickMouseArea::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Quick.so.5
#82 0x00007fe23ef5c058 in QQuickItem::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#83 0x00007fe240de1752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#84 0x00007fe240267a2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#85 0x00007fe23ef78898 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () at /usr/lib/libQt5Quick.so.5
#86 0x00007fe23ef79c4c in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () at /usr/lib/libQt5Quick.so.5
#87 0x00007fe2406ffb95 in QWindow::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#88 0x00007fe240de1752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#89 0x00007fe240267a2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#90 0x00007fe23fae51f8 in KWin::EffectQuickView::forwardMouseEvent(QEvent*) () at /usr/lib/libkwineffects.so.13
#91 0x00007fe2304ee88c in  () at /usr/lib/qt/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#92 0x00007fe23f65da81 in KDecoration2::Decoration::event(QEvent*) () at /usr/lib/libkdecorations2.so.5
#93 0x00007fe240de1752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#94 0x00007fe240267a2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#95 0x00007fe241629a25 in KWin::X11Client::buttonReleaseEvent(unsigned int, int, int, int, int, int, int) () at /usr/lib/libkwin.so.5
#96 0x00007fe24162a854 in KWin::X11Client::windowEvent(xcb_generic_event_t*) () at /usr/lib/libkwin.so.5
#97 0x00007fe24162afbe in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib/libkwin.so.5
#98 0x00007fe240264ed7 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib/libQt5Core.so.5
#99 0x00007fe23a0696f3 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/libQt5XcbQpa.so.5
#100 0x00007fe23a06ac69 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5XcbQpa.so.5
#101 0x00007fe23a08e54e in  () at /usr/lib/libQt5XcbQpa.so.5
#102 0x00007fe2402663ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#103 0x00007fe24026e844 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#104 0x0000559b2498d412 in  ()
#105 0x00007fe23fc2fb25 in __libc_start_main () at /usr/lib/libc.so.6
#106 0x0000559b2498d94e in _start ()
[Inferior 1 (process 1463188) detached]

Possible duplicates by query: bug 430028, bug 430006, bug 429965, bug 429726, bug 423964.

Reported using DrKonqi
Comment 1 Marco 2021-03-13 21:38:38 UTC
It happen only when "hide inactive borders" is active
Comment 2 Nate Graham 2021-03-15 23:33:20 UTC
Missing debug symbols for these:

#25 0x00007fe2304e9b91 in  () at /usr/lib/qt/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#26 0x00007fe2304e9bc9 in  () at /usr/lib/qt/plugins/org.kde.kdecoration2/kwin5_aurorae.so

Since this is 100% reproducible, could you install debug symbols for those, reproduce the crash, and attach a new log? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports.

Thanks!
Comment 3 Bug Janitor Service 2021-03-30 04:33:34 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2021-04-14 04:33:19 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!