Summary: | Plasma crashes in QQuickWindowPrivate::sendFilteredPointerEventImpl() | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Patrick Silva <bugseforuns> |
Component: | generic-crash | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | alexklimovich, andrew.loucky, asturm, barinovegor, dany-theboss, dastuchar, dlgllhn, forestix, glifwentry, gudvinr+kde, guimarcalsilva, ibrahiimm.f, jessygarand4, jp.dev24, kenwgreen, krypppek, leo, mclavabukkitde, med.medin.2014, nate, notmart, pehg_, r.arswendo.r, roblokazyt, scalvin, shankar58989, swarnendu_cse, thebat7, todo.ciencia.y.electronica, z_mikowski |
Priority: | VHI | Keywords: | drkonqi, wayland |
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=440429 https://bugs.kde.org/show_bug.cgi?id=462841 https://bugs.kde.org/show_bug.cgi?id=470705 |
||
Latest Commit: | https://invent.kde.org/qt/qt/qtwayland/commit/31241d7fb6a7ffb8f56bc8ac35ed9f3bc61735b5 | Version Fixed In: | latest release of the KDE Qt patch collection |
Sentry Crash Report: |
Description
Patrick Silva
2021-11-26 10:45:37 UTC
Exact steps to reproduce: 1. open the Widgets Explorer on Wayland 2. drag a widget to desktop, do not release the mouse button and hover over the widget Explorer until the cursor changes to 'not allowed' shape (notice that the Widget Explorer became greyed out) 4. close the Widget Explorer: Plasma crashes 5. open an app via Kickoff or icon on desktop: Plasma crashes again Those steps make this 100% reproducible for me. Backtrace: (gdb) bt #0 QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) (this=0x7e33d0, event=0x6c28e30, receiver=0x5a830a0, filteringParent=<optimized out>) at items/qquickwindow.cpp:3212 #1 0x00007ffff75a247d in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) (this=0x7e33d0, event=<optimized out>, receiver=<optimized out>, filteringParent=<optimized out>) at items/qquickwindow.cpp:3315 #2 0x00007ffff75a247d in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) (this=0x7e33d0, event=<optimized out>, receiver=<optimized out>, filteringParent=<optimized out>) at items/qquickwindow.cpp:3315 #3 0x00007ffff75a247d in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) (this=0x7e33d0, event=<optimized out>, receiver=<optimized out>, filteringParent=<optimized out>) at items/qquickwindow.cpp:3315 #4 0x00007ffff759c282 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) (this=this@entry=0x7e33d0, pointerEvent=0x6c28e30) at items/qquickwindow.cpp:2003 #5 0x00007ffff759cd23 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) (this=0x7e33d0, event=0x6c28e30) at items/qquickwindow.cpp:2612 #6 0x00007ffff5a09425 in QWindow::event(QEvent*) (this=0xb004b0, ev=<optimized out>) at kernel/qwindow.cpp:2438 #7 0x00007ffff6445443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0xb004b0, e=0x7fffffffcea0) at kernel/qapplication.cpp:3632 #8 0x00007ffff55ac7d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0xb004b0, event=0x7fffffffcea0) at kernel/qcoreapplication.cpp:1064 #9 0x00007ffff59fdb98 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x7fff3031ec30) at kernel/qguiapplication.cpp:2275 #10 0x00007ffff59ddc9c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:1169 #11 0x00007ffff3966684 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5WaylandClient.so.5 #12 0x00007ffff3b77130 in g_main_dispatch (context=0x501530) at ../glib/gmain.c:3381 #13 g_main_context_dispatch (context=0x501530) at ../glib/gmain.c:4099 #14 0x00007ffff3bcc208 in g_main_context_iterate.constprop.0 (context=context@entry=0x501530, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175 #15 0x00007ffff3b74933 in g_main_context_iteration (context=0x501530, may_block=1) at ../glib/gmain.c:4240 #16 0x00007ffff55fdbb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x4fdb10, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #17 0x00007ffff55ab1e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffd230, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #18 0x00007ffff55b3724 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #19 0x00007ffff59f2c40 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1860 #20 0x00007ffff64453b9 in QApplication::exec() () at kernel/qapplication.cpp:2824 #21 0x000000000041f750 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/nate/kde/src/plasma-workspace/shell/main.cpp:238 Same backtrace as Bug 440429, but that's in System Settings. *** Bug 434868 has been marked as a duplicate of this bug. *** *** Bug 434868 has been marked as a duplicate of this bug. *** can reproduce on master Can confirm. I'm also unable to reproduce with Plasma 5.24 beta on Arch Linux. can you try to update QtWayland from the kde patches? the commit 0b15d7f Delay deletion of QDrag that one fixes the issue for me, so recent, patched Qt is needed Oh, I misread your comment 5, sorry. I can't reproduce on my two systems, but I'm reopening because you can on yours. Marking as an upstream issue since it's already fixed in Qt. *** Bug 448533 has been marked as a duplicate of this bug. *** *** Bug 440429 has been marked as a duplicate of this bug. *** *** Bug 444102 has been marked as a duplicate of this bug. *** *** Bug 450176 has been marked as a duplicate of this bug. *** *** Bug 451019 has been marked as a duplicate of this bug. *** *** Bug 451947 has been marked as a duplicate of this bug. *** *** Bug 451956 has been marked as a duplicate of this bug. *** is the upstream fix present on neon unstable? A crash duplicate of this happened yesterday on my neon unstable. Since the supposed fix commit is in the patch collection, and you're using Neon which has the latest version of it, I guess this isn't fixed after all. *** Bug 458405 has been marked as a duplicate of this bug. *** *** Bug 459235 has been marked as a duplicate of this bug. *** *** Bug 459275 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/qt/qt/qtwayland/-/merge_requests/55 Git commit 31241d7fb6a7ffb8f56bc8ac35ed9f3bc61735b5 by Fushan Wen. Committed on 22/09/2022 at 11:58. Pushed by davidedmundson into branch 'kde/5.15'. Call `finishDrag()` in `QWaylandDataDevice::dragSourceCancelled()` Drags can either get finished or cancelled. If a drag is finished successfully we call finish on the QBasicDrag instance, which quits the nested event loop. This patch adds the connection for cancelled drags. See also: https://bugs.kde.org/show_bug.cgi?id=446111 Pick-to: 6.4 6.2 5.15 Change-Id: Ib93040648da88a433d647c87adcb7a7fabcaef6c Reviewed-by: Liang Qi <liang.qi@qt.io> (cherry picked from commit c92282b865efcf8c571bb52b5f96d8ad260a1cda) M +1 -0 src/client/qwaylanddatadevice.cpp https://invent.kde.org/qt/qt/qtwayland/commit/31241d7fb6a7ffb8f56bc8ac35ed9f3bc61735b5 *** Bug 459862 has been marked as a duplicate of this bug. *** *** Bug 460666 has been marked as a duplicate of this bug. *** *** Bug 460942 has been marked as a duplicate of this bug. *** *** Bug 461004 has been marked as a duplicate of this bug. *** *** Bug 464100 has been marked as a duplicate of this bug. *** *** Bug 465452 has been marked as a duplicate of this bug. *** *** Bug 466424 has been marked as a duplicate of this bug. *** *** Bug 466689 has been marked as a duplicate of this bug. *** *** Bug 469287 has been marked as a duplicate of this bug. *** (In reply to Nate Graham from comment #32) > Is this fix available on Plasma 5.27.6 ? Because my Plasma settings keeps crashing while applying global themes with (I think) similar backtrace. (In reply to medin from comment #33) > (In reply to Nate Graham from comment #32) > > > Is this fix available on Plasma 5.27.6 ? Because my Plasma settings keeps > crashing while applying global themes with (I think) similar backtrace. Version fixed in: "latest release of the KDE Qt patch collection" (more precisely, fixed within QtWayland) Consult your distribution to make sure to update Qt. *** Bug 472173 has been marked as a duplicate of this bug. *** *** Bug 471915 has been marked as a duplicate of this bug. *** *** Bug 474519 has been marked as a duplicate of this bug. *** *** Bug 474831 has been marked as a duplicate of this bug. *** *** Bug 475070 has been marked as a duplicate of this bug. *** *** Bug 475230 has been marked as a duplicate of this bug. *** *** Bug 476399 has been marked as a duplicate of this bug. *** *** Bug 478092 has been marked as a duplicate of this bug. *** *** Bug 479981 has been marked as a duplicate of this bug. *** *** Bug 481613 has been marked as a duplicate of this bug. *** *** Bug 482263 has been marked as a duplicate of this bug. *** *** Bug 486597 has been marked as a duplicate of this bug. *** *** Bug 487421 has been marked as a duplicate of this bug. *** |