Summary: | Plasma crashesh when I try to delete an activity | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Plamen <plamen> |
Component: | general | Assignee: | David Edmundson <kde> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | nfsnfs, p.r.worrall, plasma-bugs |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.19.5 | ||
Target Milestone: | 1.0 | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/commit/41de7160674b3c76293209cf34acedd0af8d8dec | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
Backtrace |
Description
Plamen
2020-09-24 13:23:24 UTC
Created attachment 131999 [details]
New crash information added by DrKonqi
plasmashell (5.19.5) using Qt 5.15.1
- Unusual behavior I noticed:
Crash when I tried to delete an actvitiy
- Custom settings of the application:
Create a test activity and delete it;
-- Backtrace (Reduced):
#6 0x00007fb174b5ec37 in qt_message_fatal (message=<synthetic pointer>..., context=...) at global/qlogging.cpp:1914
#7 QMessageLogger::fatal (this=this@entry=0x7ffd4b21ec30, msg=msg@entry=0x7fb1765b9e68 "Object %p destroyed while one of its QML signal handlers is in progress.\nMost likely the object was deleted synchronously (use QObject::deleteLater() instead), or the application is running a nested e"...) at global/qlogging.cpp:893
#8 0x00007fb176496148 in QQmlData::destroyed (this=0x7ffd4b21ec30, object=0x558caac04380) at /usr/include/qt5/QtCore/qarraydata.h:208
#9 0x00007fb174dad531 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1001
#10 0x00007fb176a5b7d5 in QQmlPrivate::QQmlElement<QQuickFocusScope>::~QQmlElement (this=0x558caac04380, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-2.1.x86_64/include/QtQml/../../src/qml/qml/qqmlprivate.h:142
Fully Repeatable on Neon User Edition: Operating System: KDE neon 5.20 KDE Plasma Version: 5.20.3 KDE Frameworks Version: 5.75.0 Qt Version: 5.15.1 Kernel Version: 5.4.0-53-generic OS Type: 64-bit Processors: 2 × AMD A6-6400K APU with Radeon(tm) HD Graphics Memory: 7.7 GiB of RAM Graphics Processor: AMD CEDAR Create a test activity Try to delete it Plasma crashes Test Activity not deleted Created attachment 133309 [details]
Backtrace
This crash occurs when trying to delete an activity using the trash-can button on the activity switcher. Using System Settings=>Workspace Behaviour=>Activities I can delete activities OK A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/341 Git commit 1be25decb52d5502ff8d922c02a3205ceee1143a by Nicolas Fella, on behalf of Willyanto Willyanto. Committed on 08/02/2021 at 16:05. Pushed by nicolasfella into branch 'master'. Fix crash when deleting activity from activity manager When deleting activity from activity manager, the delete button is destroyed while handling onClicked signal. This happens because ActivitySettings.deleteActivity() is calling QMessageBox::question() that waits for user confirmation. Change deleteActivity call to use QMetaObject with QueuedConnection as the connectivity type. This allows the delete button to be destroyed without having to wait for user confirmation. Related: bug 427593 M +7 -5 kcms/activities/imports/activitysettings.cpp https://invent.kde.org/plasma/plasma-desktop/commit/1be25decb52d5502ff8d922c02a3205ceee1143a Git commit 41de7160674b3c76293209cf34acedd0af8d8dec by Nicolas Fella, on behalf of Willyanto Willyanto. Committed on 08/02/2021 at 16:08. Pushed by nicolasfella into branch 'Plasma/5.21'. Fix crash when deleting activity from activity manager When deleting activity from activity manager, the delete button is destroyed while handling onClicked signal. This happens because ActivitySettings.deleteActivity() is calling QMessageBox::question() that waits for user confirmation. Change deleteActivity call to use QMetaObject with QueuedConnection as the connectivity type. This allows the delete button to be destroyed without having to wait for user confirmation. Related: bug 427593 (cherry picked from commit 1be25decb52d5502ff8d922c02a3205ceee1143a) M +7 -5 kcms/activities/imports/activitysettings.cpp https://invent.kde.org/plasma/plasma-desktop/commit/41de7160674b3c76293209cf34acedd0af8d8dec |