Bug 436075 - crash while tab box open when window added/removed
Summary: crash while tab box open when window added/removed
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-23 03:47 UTC by Janet Blackquill
Modified: 2023-01-17 13:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
stack trace (4.87 KB, text/plain)
2021-04-23 03:47 UTC, Janet Blackquill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Janet Blackquill 2021-04-23 03:47:08 UTC
Created attachment 137820 [details]
stack trace

kwin crashes whenever a window is created/destroyed while the tab box is open.
Comment 1 Vlad Zahorodnii 2021-04-23 11:57:51 UTC
I cannot reproduce this crash.
Comment 2 Nate Graham 2021-04-23 16:03:29 UTC
#0  0x00007f6b8e2c77c6 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator->() const (this=0x8)
    at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/tools/qscopedpointer.h:118
#1  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > const>(QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > const&) (ptr=...)
    at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/global/qglobal.h:1143
#2  QOpenGLContext::d_func() const (this=0x0) at ../../include/QtGui/../../../../../src/Qt5/qtbase/src/gui/kernel/qopenglcontext.h:152
#3  QOpenGLContext::functions() const (this=0x0) at /home/jpontaoski/kde/src/Qt5/qtbase/src/gui/kernel/qopenglcontext.cpp:739
#4  0x00007f6b90508e6d in QSGDefaultPainterNode::updateRenderTarget() (this=0x3169f30) at /home/jpontaoski/kde/src/Qt5/qtdeclarative/src/quick/scenegraph/util/qsgdefaultpainternode.cpp:252
#5  0x00007f6b90509015 in QSGDefaultPainterNode::update() (this=0x3169f30) at /home/jpontaoski/kde/src/Qt5/qtdeclarative/src/quick/scenegraph/util/qsgdefaultpainternode.cpp:209
#6  0x00007f6b905781a6 in QQuickPaintedItem::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) (this=0x31e02a0, oldNode=<optimized out>, data=<optimized out>)
    at /home/jpontaoski/kde/src/Qt5/qtdeclarative/src/quick/items/qquickpainteditem.cpp:610
#7  0x00007f6b90566f50 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) (this=0x1e2d8d0, item=0x31e02a0) at /home/jpontaoski/kde/src/Qt5/qtdeclarative/src/quick/items/qquickwindow.cpp:3872
#8  0x00007f6b905677cb in QQuickWindowPrivate::updateDirtyNodes() (this=this@entry=0x1e2d8d0) at /home/jpontaoski/kde/src/Qt5/qtdeclarative/src/quick/items/qquickwindow.cpp:3617
#9  0x00007f6b90568ccc in QQuickWindowPrivate::syncSceneGraph() (this=this@entry=0x1e2d8d0) at /home/jpontaoski/kde/src/Qt5/qtdeclarative/src/quick/items/qquickwindow.cpp:524
#10 0x00007f6b904f111e in QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*) (this=0x1c18c70, window=<optimized out>) at /home/jpontaoski/kde/src/Qt5/qtdeclarative/src/quick/scenegraph/qsgrenderloop.cpp:751
#11 0x00007f6b90575b27 in QQuickWindow::event(QEvent*) (this=0x217c490, e=0x7ffc215e2d10) at /home/jpontaoski/kde/src/Qt5/qtdeclarative/src/quick/items/qquickwindow.cpp:1858
#12 0x00007f6b01358fc2 in PlasmaQuick::Dialog::event(QEvent*) (this=0x217c490, event=0x7ffc215e2d10) at /home/jpontaoski/kde/src/plasma-framework/src/plasmaquick/dialog.cpp:1356
#13 0x00007f6b8ef1a29f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x217c490, e=0x7ffc215e2d10)
    at /home/jpontaoski/kde/src/Qt5/qtbase/src/widgets/kernel/qapplication.cpp:3632
#14 0x00007f6b8de73d8a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x217c490, event=0x7ffc215e2d10) at /home/jpontaoski/kde/src/Qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1064
#15 0x00007f6b8e279135 in QPlatformWindow::deliverUpdateRequest() (this=<optimized out>) at /home/jpontaoski/kde/src/Qt5/qtbase/src/gui/kernel/qplatformwindow.cpp:789
#16 QPlatformWindow::windowEvent(QEvent*) (this=<optimized out>, event=<optimized out>) at /home/jpontaoski/kde/src/Qt5/qtbase/src/gui/kernel/qplatformwindow.cpp:476
#17 0x00007f6b8ef20655 in QApplication::notify(QObject*, QEvent*) (this=0x7ffc215e3230, receiver=0x217c490, e=0x7ffc215e2f20) at /home/jpontaoski/kde/src/Qt5/qtbase/src/widgets/kernel/qapplication.cpp:2874
#18 0x00007f6b8de73d8a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x217c490, event=0x7ffc215e2f20) at /home/jpontaoski/kde/src/Qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1064
#19 0x00007f6b8dec6fb3 in QTimerInfoList::activateTimers() (this=this@entry=0x5b1d38) at /home/jpontaoski/kde/src/Qt5/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:643
#20 0x00007f6b8dec481c in QEventDispatcherUNIXPrivate::activateTimers() (this=this@entry=0x5b1cb0) at /home/jpontaoski/kde/src/Qt5/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:249
#21 0x00007f6b8dec54df in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...)
    at /home/jpontaoski/kde/src/Qt5/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:516
#22 0x000000000049d01d in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...)
    at /home/jpontaoski/kde/src/Qt5/qtbase/src/platformsupport/eventdispatchers/qunixeventdispatcher.cpp:63
#23 0x00007f6b8de728bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc215e30a0, flags=..., flags@entry=...) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/global/qflags.h:69
#24 0x00007f6b8de7a4ec in QCoreApplication::exec() () at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/global/qflags.h:121
#25 0x0000000000471c68 in main(int, char**) (argc=5, argv=0x7ffc215e3ab8) at /home/jpontaoski/kde/src/kwin/src/main_wayland.cpp:802

(always paste the backtrace so that the text is searchable)
Comment 3 David Edmundson 2023-01-17 13:31:00 UTC
I also cannot reproduce and the crash is deep in Qt. 
As this is old with no duplicates, we'll close it for now, but please reopen if this can be reproduced with up-to-date Qt.