Bug 421379 - Deleting or moving shortcuts/application links crashes the Plasma shell.
Summary: Deleting or moving shortcuts/application links crashes the Plasma shell.
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) (show other bugs)
Version: 5.18.5
Platform: Other Linux
: NOR crash
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-11 23:44 UTC by Jake
Modified: 2021-03-08 22:22 UTC (History)
4 users (show)

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


Attachments
system backtrace (9.36 KB, text/plain)
2020-05-12 16:43 UTC, Jake
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jake 2020-05-11 23:44:42 UTC
SUMMARY


STEPS TO REPRODUCE
1. Download Plasma 5.18.5 from Pacman
2. Place a shortcut/application link on your desktop or in a folder.
3. Delete or move the shortcut/application link.

OBSERVED RESULT
Shell crash, desktop turns black and shell restarts.

EXPECTED RESULT
The shortcut is moved/deleted.

SOFTWARE/OS VERSIONS
Linux (Arch): 9.3.0-1
Kernel: 5.4.39-1-lts
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION: 
Crash log (From Ksyslogs):
https://pastebin.com/aCtHiNz4
Comment 1 Jake 2020-05-12 16:43:34 UTC
Created attachment 128399 [details]
system backtrace

System back trace taken directly form the Crash Reporting Assistant
Comment 2 ichquick3 2020-05-12 18:20:30 UTC
I can reproduce it with the same Version of Plasma but newer Kernel.

SOFTWARE/OS VERSIONS:
Archlinux x86_64
Kernel-Version: 5.6.11-arch1-1
plasma-desktop 5.18.5
plasma-framework 5.70.0
qt5-* 5.14.2

Note:
On my system moving/deleting the files directly sometimes cause crashes too. It doesn't matter, if it is a link or a copy of the file on my System.


List of Things on my Desktop (Info:I use trizen as AUR-Manager):

Causes Crashes:
- .ino file
  .desktop file with Exec=:
  - whatsapp-nativefier-dark (from AUR)
  - multimc (from AUR)
  - minecraft-launcher (from AUR)
  - technic-launcher (from AUR)
  - lutris lutris:rungameid/138 (from lutris)
  - a few more lutris files
  - steam steam://rungameid/246620
  - /opt/brlcad/bin/mged (brlcad; from AUR)
  - scangearmp2 (from AUR)
  - iagno (from Gnome)
  - teeworlds (normally installed with pacman)

Causes no Crashes:
- .png files
- selfmade desktopfile with Exec=terminator -e "bash -c 'cd /path/;java -jar file.jar;$SHELL'"
.desktop file with Exec=/usr/bin/qdbus:
  - spectacle
.desktop file with Exec=:
  - easyeda %f (from AUR, modified by me)
  - arduino %U (normally installed with pacman)
  - netbeans %F (normally installed with pacman)
  - /usr/bin/idea %f (normally installed with pacman)
  - /usr/bin/pycharm %f (normally installed with pacman)
  - android-studio %f (from AUR)
  - ksysguard %U (normally installed with pacman)
  - stacer (from AUR)
  - /usr/bin/discord (normally installed with pacman)
  - lutris %U (normally installed with pacman)
  - gimp-2.10 %U (normally installed with pacman)

Causes sometimes crashes:
- Folder
Comment 3 ichquick3 2020-05-14 15:38:50 UTC
In my System it got fixed with the latest update/upgrade. I guess it was the update/upgrade from plasma-framework 5.70.0-1 to plasma-framework 5.70.0-2
Comment 4 Jake 2020-05-14 22:40:39 UTC
I can confirm that the bug seems to be patched after upgrading to plasma-framework 5.70.0-2
Comment 5 Marco Martin 2020-05-21 11:35:30 UTC
Thread 1 (Thread 0x7fa713293840 (LWP 831)):
[KCrash Handler]
#4  0x00007fa71954d6a3 in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007fa71954547e in QQuickItemPrivate::removeItemChangeListener(QQuickItemChangeListener*, QFlags<QQuickItemPrivate::ChangeType>) () at /usr/lib/libQt5Quick.so.5
#6  0x00007fa71968bfc0 in QQuickShaderEffectSource::~QQuickShaderEffectSource() () at /usr/lib/libQt5Quick.so.5
#7  0x00007fa71968c02a in QQuickShaderEffectSource::~QQuickShaderEffectSource() () at /usr/lib/libQt5Quick.so.5
#8  0x00007fa6ffd748db in  () at /usr/lib/qt/qml/QtGraphicalEffects/private/libqtgraphicaleffectsprivate.so
#9  0x00007fa6ffd6e4c7 in  () at /usr/lib/qt/qml/QtGraphicalEffects/private/libqtgraphicaleffectsprivate.so
#10 0x00007fa71799f5ae in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#11 0x00007fa7179a8e78 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#12 0x00007fa71954a1f4 in QQuickItem::~QQuickItem() () at /usr/lib/libQt5Quick.so.5
#13 0x00007fa71956d707 in  () at /usr/lib/libQt5Quick.so.5
#14 0x00007fa71799f5ae in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#15 0x00007fa7179a8e78 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#16 0x00007fa71954a1f4 in QQuickItem::~QQuickItem() () at /usr/lib/libQt5Quick.so.5
#17 0x00007fa71956d707 in  () at /usr/lib/libQt5Quick.so.5
#18 0x00007fa71799f5ae in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#19 0x00007fa7179a8e78 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#20 0x00007fa71954a1f4 in QQuickItem::~QQuickItem() () at /usr/lib/libQt5Quick.so.5
#21 0x00007fa71956d707 in  () at /usr/lib/libQt5Quick.so.5
#22 0x00007fa71799f5ae in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#23 0x00007fa7179a8e78 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#24 0x00007fa71954a1f4 in QQuickItem::~QQuickItem() () at /usr/lib/libQt5Quick.so.5
#25 0x00007fa71956d947 in  () at /usr/lib/libQt5Quick.so.5
#26 0x00007fa71799f5ae in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#27 0x00007fa7179a8e78 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#28 0x00007fa71954a1f4 in QQuickItem::~QQuickItem() () at /usr/lib/libQt5Quick.so.5
#29 0x00007fa71956d707 in  () at /usr/lib/libQt5Quick.so.5
#30 0x00007fa7179a2870 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#31 0x00007fa719547666 in QQuickItem::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#32 0x00007fa71846f352 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#33 0x00007fa718478829 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#34 0x00007fa7179754f2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#35 0x00007fa717977d56 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#36 0x00007fa7179ce244 in  () at /usr/lib/libQt5Core.so.5
#37 0x00007fa715e966be in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#38 0x00007fa715e98531 in  () at /usr/lib/libglib-2.0.so.0
#39 0x00007fa715e98571 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#40 0x00007fa7179cd890 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#41 0x00007fa71797405c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#42 0x00007fa71797c066 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#43 0x0000557a9ebc8018 in  ()
#44 0x00007fa717348023 in __libc_start_main () at /usr/lib/libc.so.6
#45 0x0000557a9ebc823e in _start ()
[Inferior 1 (process 831) detached]
Comment 6 Nate Graham 2021-03-08 22:22:30 UTC
Thanks!