Bug 459235 - Plasma crashed after closing Widget Explorer on Wayland
Summary: Plasma crashed after closing Widget Explorer on Wayland
Status: RESOLVED DUPLICATE of bug 446111
Alias: None
Product: plasmashell
Classification: Plasma
Component: Widget Explorer (show other bugs)
Version: 5.25.90
Platform: unspecified Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, wayland
Depends on:
Blocks:
 
Reported: 2022-09-16 19:12 UTC by Patrick Silva
Modified: 2022-09-23 16:20 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2022-09-16 19:12:03 UTC
Application: plasmashell (5.25.90)

Qt Version: 5.15.6
Frameworks Version: 5.98.0
Operating System: Linux 5.19.8-arch1-1 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 5.25.90 [KCrashBackend]

-- Information about the crash:
open widget explorer on Wayland, drag analog clock to desktop but do not release the mouse button and press ESC - now the widget explorer is greyed out. Close the widget explorer, Plasma crashes.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f7eca053e54 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) () at /usr/lib/libQt5Quick.so.5
#5  0x00007f7eca053d47 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) () at /usr/lib/libQt5Quick.so.5
#6  0x00007f7eca053d47 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) () at /usr/lib/libQt5Quick.so.5
#7  0x00007f7eca053d47 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) () at /usr/lib/libQt5Quick.so.5
#8  0x00007f7eca04da19 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () at /usr/lib/libQt5Quick.so.5
#9  0x00007f7eca04e4d2 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () at /usr/lib/libQt5Quick.so.5
#10 0x00007f7ec8955c45 in QWindow::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#11 0x00007f7ec9178b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007f7ec848cb68 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#13 0x00007f7ec893f13c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#14 0x00007f7ec8928985 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#15 0x00007f7ec815e4a5 in  () at /usr/lib/libQt5WaylandClient.so.5
#16 0x00007f7ec69e0b2b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#17 0x00007f7ec6a36e79 in  () at /usr/lib/libglib-2.0.so.0
#18 0x00007f7ec69de252 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#19 0x00007f7ec84d74ec in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#20 0x00007f7ec848530c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#21 0x00007f7ec848fe39 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#22 0x00005634d66550e7 in  ()
#23 0x00007f7ec7c3c290 in  () at /usr/lib/libc.so.6
#24 0x00007f7ec7c3c34a in __libc_start_main () at /usr/lib/libc.so.6
#25 0x00005634d6655495 in  ()
[Inferior 1 (process 46030) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2022-09-16 21:28:38 UTC
No KDE code is implicated in the backtrace.
Comment 2 Fushan Wen 2022-09-18 01:55:11 UTC
Need debuginfo for qtdeclarative
Comment 3 Fushan Wen 2022-09-18 02:08:47 UTC
(gdb) bt
#0  QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) (this=0x81ff30, event=0x6aa2800, receiver=0x917540, filteringParent=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.5+kde19-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:3211
#1  0x00007ffff7562599 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) (this=0x81ff30, event=<optimized out>, receiver=<optimized out>, filteringParent=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.5+kde19-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:3314
#2  0x00007ffff7562599 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) (this=0x81ff30, event=<optimized out>, receiver=<optimized out>, filteringParent=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.5+kde19-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:3314
#3  0x00007ffff7562599 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) (this=0x81ff30, event=<optimized out>, receiver=<optimized out>, filteringParent=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.5+kde19-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:3314
#4  0x00007ffff7569412 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) (this=this@entry=0x81ff30, pointerEvent=0x6aa2800) at /usr/src/debug/libqt5-qtdeclarative-5.15.5+kde19-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:2002
#5  0x00007ffff756ac79 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) (this=0x81ff30, event=0x6aa2800) at /usr/src/debug/libqt5-qtdeclarative-5.15.5+kde19-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:2611
#6  0x00007ffff5864a15 in QWindow::event(QEvent*) (this=0xb9b810, ev=<optimized out>) at kernel/qwindow.cpp:2438
#7  0x00007ffff7f4039f in PlasmaQuick::Dialog::event(QEvent*) (this=0xb9b810, event=0x7fffffffd320) at /mnt/data/home/qydw/Develop/KDE/Frameworks/plasma-framework/src/plasmaquick/dialog.cpp:1609
#8  0x00007ffff61a341e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0xb9b810, e=0x7fffffffd320) at kernel/qapplication.cpp:3637
#9  0x00007ffff53f7fb8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0xb9b810, event=0x7fffffffd320) at kernel/qcoreapplication.cpp:1064
#10 0x00007ffff58589b5 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x7fffe4007810) at kernel/qguiapplication.cpp:2282
#11 0x00007ffff582c33c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:1169
#12 0x00007ffff4a71780 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at qeventdispatcher_glib.cpp:74
#13 0x00007ffff36fdeb0 in g_main_dispatch (context=0x7fffec005010) at ../glib/gmain.c:3417
#14 g_main_context_dispatch (context=context@entry=0x7fffec005010) at ../glib/gmain.c:4135
#15 0x00007ffff36fe268 in g_main_context_iterate (context=context@entry=0x7fffec005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4211
#16 0x00007ffff36fe2fc in g_main_context_iteration (context=0x7fffec005010, may_block=1) at ../glib/gmain.c:4276
#17 0x00007ffff544f456 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x53f690, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#18 0x00007ffff53f6a2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffd650, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#19 0x00007ffff53feb96 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#20 0x00007ffff584be0c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1867
#21 0x00007ffff61a3395 in QApplication::exec() () at kernel/qapplication.cpp:2829
#22 0x00000000004247bd in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /mnt/data/home/qydw/Develop/KDE/Plasma/plasma-workspace/shell/main.cpp:227
Comment 4 Nate Graham 2022-09-18 02:46:36 UTC

*** This bug has been marked as a duplicate of bug 446111 ***
Comment 5 Bug Janitor Service 2022-09-18 07:39:36 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1155
Comment 6 Fushan Wen 2022-09-23 16:20:30 UTC
Git commit 0ff2170c473afd038432783c670288b04847d3e1 by Fushan Wen.
Committed on 23/09/2022 at 16:18.
Pushed by fusionfuture into branch 'master'.

desktoppackage: port to QML Drag in AppletDelegate
FIXED-IN: 5.26

M  +168  -163  desktoppackage/contents/explorer/AppletDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/commit/0ff2170c473afd038432783c670288b04847d3e1