SUMMARY STEPS TO REPRODUCE 1. Copy files from an external drive to the internal 2. While the copy launch applications/games with graphic effects(also maybe possible without; idk) 3. The graphic will hang, it freezes often and come back OBSERVED RESULT Grahpic effects are buggy EXPECTED RESULT No lags SOFTWARE/OS VERSIONS Linux/KDE Plasma: 19.04 (available in About System) KDE Plasma Version: 5.16.4 KDE Frameworks Version: 5.60.0 Qt Version: 5.12.2 Kernel: 5.2.6 ADDITIONAL INFORMATION Its an nvidia gpu with the newest driver Possible duplicate of: 339179 or 401916
I can confirm this bug on Arch Linux with Intel iGPU. Here are the steps to reproduce the bug (in my case): 1. Create /tmp/bar_dir 2. Copy 100+ jpg files (around 1 MB per file) from HDD to /tmp/bar_dir 3. Create /tmp/bar_dir/foo_dir 4. Copy 80+ jpg files from /tmp/bar_dir to /tmp/bar_dir/foo_dir 5. Delete /tmp/bar_dir It seems that during Steps 1-4, Dolphin does not hang. But when deleting the directory, Dolphin freezes.
If you can reproduce the freeze, please try to follow the steps in https://community.kde.org/Dolphin/FAQ/Freeze and provide a backtrace. Thanks for your help.
Created attachment 122062 [details] Dolphin backtrace I noticed that there were 2000+ lines of "QXcbClipboard: SelectionRequest too old" when Dolphin freezed.
Thanks, copying the relevant part inline: Thread 1 (Thread 0x7ffff0385800 (LWP 9552)): #0 0x00007ffff4474415 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007ffff5c2c5a0 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/libQt5Core.so.5 #2 0x00007ffff5c2c692 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #3 0x00007ffff60e852d in ?? () from /usr/lib/libQt5DBus.so.5 #4 0x00007ffff782b173 in KUiServerJobTracker::registerJob(KJob*) () from /usr/lib/libKF5JobWidgets.so.5 #5 0x00007ffff79301e1 in ?? () from /usr/lib/libKF5KIOWidgets.so.5 #6 0x00007ffff76bdd02 in ?? () from /usr/lib/libKF5KIOCore.so.5 #7 0x00007ffff76bd636 in KIO::del(QList<QUrl> const&, QFlags<KIO::JobFlag>) () from /usr/lib/libKF5KIOCore.so.5 #8 0x00007ffff7c878f0 in DolphinView::deleteSelectedItems() () from /usr/lib/libdolphinprivate.so.5 #9 0x00007ffff5e1fb70 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #10 0x00007ffff6879e93 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5 #11 0x00007ffff687c624 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5 #12 0x00007ffff687cf10 in QAction::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #13 0x00007ffff68804d5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #14 0x00007ffff6889a21 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #15 0x00007ffff5df39c2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #16 0x00007ffff6291ef0 in QShortcutMap::dispatchEvent(QKeyEvent*) () from /usr/lib/libQt5Gui.so.5 #17 0x00007ffff6291fd3 in QShortcutMap::tryShortcut(QKeyEvent*) () from /usr/lib/libQt5Gui.so.5 #18 0x00007ffff62443d4 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from /usr/lib/libQt5Gui.so.5 #19 0x00007ffff626276e in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/libQt5Gui.so.5 #20 0x00007ffff626803f in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5 #21 0x00007ffff624037c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5 #22 0x00007fffefe3bfec in ?? () from /usr/lib/libQt5XcbQpa.so.5 #23 0x00007ffff385dcf4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #24 0x00007ffff385fb11 in ?? () from /usr/lib/libglib-2.0.so.0 #25 0x00007ffff385fb51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #26 0x00007ffff5e4b9a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #27 0x00007ffff5df25ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #28 0x00007ffff5dfa326 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #29 0x00007ffff7eee87b in kdemain () from /usr/lib/libkdeinit5_dolphin.so #30 0x00007ffff7d12ee3 in __libc_start_main () from /usr/lib/libc.so.6 #31 0x000055555555505e in _start ()
So it looks like plasmashell is getting overwhelmed with job tracker requests resulting in Dolphin waiting forever on KUiServerJobTracker::registerJob to finish.
I'd like ti add an stack, but I am on vacation.
So. Just to complete it, I also made another report: https://hastebin.com/situqopami.shell It is just a part of it but It looks like waiting. Confirmed with 5.17
Acutally I can reproduce this really well and it is really annoying. Some things I have notices over the time: - It is not specific to dolphin, the whole plasma ui hangs (including all applications, so it migth be a kwin or frameworks problem). - I can create a high disk usage with any tool or just force plasma and all its components to not be able to have a high throughpoint - Prefectly recreateable with a really slow virtual machine A general thing is: the lower the io, the more it hangs. If I (e.g. start kde neon via pxe) and remove/stop the nfs server, the whole ui hangs completely until the server is back up again.
https://bugs.kde.org/show_bug.cgi?id=469533
*** This bug has been marked as a duplicate of bug 469532 ***
*** This bug has been marked as a duplicate of bug 469753 ***