Bug 450707 - Wayland crash when trying to add widget to panel
Summary: Wayland crash when trying to add widget to panel
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.24.1
Platform: Kubuntu Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, wayland
Depends on:
Blocks:
 
Reported: 2022-02-22 16:16 UTC by Ivar Erikson
Modified: 2022-04-10 04:35 UTC (History)
2 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 Ivar Erikson 2022-02-22 16:16:26 UTC
Application: plasmashell (5.24.1)

Qt Version: 5.15.2
Frameworks Version: 5.91.0
Operating System: Linux 5.13.0-30-generic x86_64
Windowing System: Wayland
Distribution: Ubuntu 21.10
DrKonqi: 5.24.1 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Tried adding the Activity Bar widget to my panel.

- Unusual behavior I noticed:
The entire desktop crashed. Then reappeared (restarted itself?). Then I'm unable to add widgets, i.e. nothing happens when I right click > Add widget.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted

[KCrash Handler]
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140424554960064) at pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=140424554960064) at pthread_kill.c:80
#6  __GI___pthread_kill (threadid=140424554960064, signo=signo@entry=6) at pthread_kill.c:91
#7  0x00007fb727c1b476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007fb727c017b7 in __GI_abort () at abort.c:79
#9  0x00007fb7280a6ba3 in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fb7262bce45 in ?? () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#11 0x00007fb7262cd06a in QtWaylandClient::QWaylandDisplay::flushRequests() () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#12 0x00007fb728306a88 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fb7283285db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fb7282cda9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fb7286f5f07 in QBasicDrag::drag(QDrag*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#16 0x00007fb7286f3339 in QDragManager::drag(QDrag*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#17 0x00007fb7286f368f in QDrag::exec(QFlags<Qt::DropAction>, Qt::DropAction) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#18 0x00007fb6ed938415 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/draganddrop/libdraganddropplugin.so
#19 0x00007fb6ed938fd4 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/draganddrop/libdraganddropplugin.so
#20 0x00007fb729d346e8 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#21 0x00007fb729d3b665 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#22 0x00007fb729d3cf6f in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#23 0x00007fb7286c2515 in QWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#24 0x00007fb728fc06b3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007fb7282cf16a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007fb7286b6257 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#27 0x00007fb72868b9bc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#28 0x00007fb7263055b4 in ?? () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#29 0x00007fb7266ef8bb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fb726742f08 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fb7266ed003 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fb728328548 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007fb7282cda9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007fb7282d6024 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x0000556acb6dcda9 in ?? ()
#36 0x00007fb727c02fd0 in __libc_start_call_main (main=main@entry=0x556acb6dbf50, argc=argc@entry=1, argv=argv@entry=0x7ffd64050748) at ../sysdeps/nptl/libc_start_call_main.h:58
#37 0x00007fb727c0307d in __libc_start_main_impl (main=0x556acb6dbf50, argc=1, argv=0x7ffd64050748, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd64050738) at ../csu/libc-start.c:409
#38 0x0000556acb6dcec5 in ?? ()
[Inferior 1 (process 1681) detached]

Possible duplicates by query: bug 450663, bug 450646, bug 450320, bug 450112, bug 449027.

Reported using DrKonqi
Comment 1 Nate Graham 2022-02-22 19:45:05 UTC
Thank you for the bug report! Unfortunately the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong:

> #18 0x00007fb6ed938415 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/draganddrop/libdraganddropplugin.so
> #19 0x00007fb6ed938fd4 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/draganddrop/libdraganddropplugin.so

Could you please install debug symbols for Plasma, reproduce the crash, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports


> Then I'm unable to add widgets, i.e. nothing happens when I right click > Add widget.
This is likely Bug 439159.
Comment 2 Bug Janitor Service 2022-03-09 04:35:44 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 3 Ivar Erikson 2022-03-09 07:57:27 UTC
Sorry for the lack of response. I can't quite figure out how to get the debug package(s). Tried installing kdelibs5-dbgsym (sudo apt install kdelibs5-dbgsym), as mentioned on the wiki, but that came up with no package found. Tried apt-cache search:

USER - > apt-cache search kdelibs5*
libkf5kdelibs4support-data - Porting aid from KDELibs4.
libkf5kdelibs4support-dev - development files for kde4support
libkf5kdelibs4support5 - Porting aid from KDELibs4.
libkf5kdelibs4support5-bin - Porting aid from KDELibs4.

The wiki page isn't very helpful, since not even the example of kdepim-dbg comes up when I try to use apt-cache search, and I'm not quite sure which application that was the culprit. sudo apt install libdraganddropplugin-dbgsym doesn't yield anything.
When the crash occured, I got a list of something, but it wasn't really clear what I was supposed to do with them. 

On a side note, the crash/bug handler could benefit from contain info on what packages you need to install (i.e. hand-holding for). Currently it's "Please install debug symbols, here's a list of files" but that only showed file paths to some file or other, not "these are the packages you need to install".

Is there some sort of "plasma mega debug package" I can install to get every debug symbol I might need? :D
Comment 4 Nate Graham 2022-03-09 14:31:21 UTC
You're probably having a hard time finding kdelibs5 because no such thing exists; for Qt 5, the old kdelibs package was split into 70-something individual "frameworks" packages.

The debug packages you'll need are for Plasma itself; try searching for `plasma-workspace` and `plasma-desktop`.
Comment 5 Ivar Erikson 2022-03-11 07:36:04 UTC
Can't find anything dgbsym for those either :|

USER - > apt-cache search plasma-desktop*
kde-plasma-desktop - KDE Plasma Desktop and minimal set of applications
kubuntu-settings-desktop - Settings and artwork for the Kubuntu (Desktop)
plasma-desktop - Tools and widgets for the desktop
plasma-desktop-data - Tools and widgets for the desktop data files
plasma-desktop-dev - Tools and widgets for the desktop

USER - > apt-cache search plasma-workspace*
plasma-workspace - Plasma Workspace for KF5
plasma-workspace-data - Plasma Workspace for KF5 - data files
plasma-workspace-dev - Plasma Workspace for KF5 devel files
plasma-workspace-wallpapers - Wallpapers for Plasma 5
plasma-workspace-wayland - Plasma Workspace for KF5 - Wayland integration


USER - > apt-cache search plasma-workspace-*
plasma-workspace - Plasma Workspace for KF5
plasma-workspace-data - Plasma Workspace for KF5 - data files
plasma-workspace-dev - Plasma Workspace for KF5 devel files
plasma-workspace-wallpapers - Wallpapers for Plasma 5
plasma-workspace-wayland - Plasma Workspace for KF5 - Wayland integration
Comment 6 Nate Graham 2022-03-11 15:08:23 UTC
Sorry, I don't know enough about Kubuntu to help any further. Perhaps you could ask in a Kubuntu-specific help forum.
Comment 7 Bug Janitor Service 2022-03-26 04:35:19 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 8 Bug Janitor Service 2022-04-10 04:35:01 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!