Bug 485792 - Gigabytes of log spam after cutting and pasting a file
Summary: Gigabytes of log spam after cutting and pasting a file
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.02.2
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-19 12:38 UTC by nttkde
Modified: 2024-11-01 14:50 UTC (History)
8 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nttkde 2024-04-19 12:38:47 UTC
Today I noticed that my syslog had quickly grown to 8GB in size, filled with repeating log spam caused by cutting and pasting a file in Dolphin.

(First, there seems to be some debug output remains from Dolphin ("true, actions, urly") which isn't the problem but does normally occur sometimes in log output.)
The main problem is four repeating lines from kf.coreaddons,kf.coreaddons,qt.dbus.integration,kf.coreaddons, spammed dozens (or hundreds) times per second:

dolphin[5737]: true
dolphin[5737]: actions!!!
dolphin[5737]: true
dolphin[5737]: actions!!!
dolphin[5737]: urly!!! QUrl("admin:///mnt/SSD/some/folder somewhere/")
dolphin[5737]: kf.kio.workers.file: copy() QUrl("file:///home/ntt/Lataukset/Screenshot 2024-04-17 something.png") to QUrl("file:///mnt/SSD/some/folder somewhere/Screenshot 2024-04-17 something.png") mode= 420
dolphin[5737]: kf.kio.workers.file: copy() QUrl("file:///home/ntt/Lataukset/Screenshot 2024-04-17 something file 2.png") to QUrl("file:///mnt/SSD/some/folder somewhere/Screenshot 2024-04-17 something file 2.png") mode= 420
plasmashell[3799]: kf.coreaddons: Failed to open "/home/ntt/Lataukset/Screenshot 2024-04-17 something.png" Tiedostoa tai hakemistoa ei ole
plasmashell[3799]: kf.coreaddons: Failed to open "/home/ntt/Lataukset/Screenshot 2024-04-17 something file 2.png" Tiedostoa tai hakemistoa ei ole
plasmashell[3799]: qt.dbus.integration: QDBusConnection: error: could not send message to service "org.freedesktop.portal.Documents" path "/org/freedesktop/portal/documents" interface "org.freedesktop.portal.FileTransfer" member "AddFiles": Marshalling failed: Invalid file descriptor passed in arguments
plasmashell[3799]: kf.coreaddons: Some files could not be exported.  QDBusError("org.freedesktop.DBus.Error.Failed", "Marshalling failed: Invalid file descriptor passed in arguments")
plasmashell[3799]: kf.coreaddons: Failed to open "/home/ntt/Lataukset/Screenshot 2024-04-17 something.png" Tiedostoa tai hakemistoa ei ole
plasmashell[3799]: kf.coreaddons: Failed to open "/home/ntt/Lataukset/Screenshot 2024-04-17 something file 2.png" Tiedostoa tai hakemistoa ei ole
plasmashell[3799]: qt.dbus.integration: QDBusConnection: error: could not send message to service "org.freedesktop.portal.Documents" path "/org/freedesktop/portal/documents" interface "org.freedesktop.portal.FileTransfer" member "AddFiles": Marshalling failed: Invalid file descriptor passed in arguments
plasmashell[3799]: kf.coreaddons: Some files could not be exported.  QDBusError("org.freedesktop.DBus.Error.Failed", "Marshalling failed: Invalid file descriptor passed in arguments")
plasmashell[3799]: kf.coreaddons: Failed to open "/home/ntt/Lataukset/Screenshot 2024-04-17 something.png" Tiedostoa tai hakemistoa ei ole
plasmashell[3799]: kf.coreaddons: Failed to open "/home/ntt/Lataukset/Screenshot 2024-04-17 something file 2.png" Tiedostoa tai hakemistoa ei ole
plasmashell[3799]: qt.dbus.integration: QDBusConnection: error: could not send message to service "org.freedesktop.portal.Documents" path "/org/freedesktop/portal/documents" interface "org.freedesktop.portal.FileTransfer" member "AddFiles": Marshalling failed: Invalid file descriptor passed in arguments
plasmashell[3799]: kf.coreaddons: Some files could not be exported.  QDBusError("org.freedesktop.DBus.Error.Failed", "Marshalling failed: Invalid file descriptor passed in arguments")
.
.
.

"Tiedostoa tai hakemistoa ei ole" in the log output means File or forder does not exist.

Closing Dolphin seems to stop the log spam.
Seems like a regression after KDE6 upgrade, I didn't notice it before.


Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 5.15.0-102-generic (64-bit)
Graphics Platform: Wayland
Comment 1 Frisk 2024-05-04 19:34:42 UTC
I'm facing the same issue which I've only noticed by degraded system performance due to plasmashell using 30% of CPU. I've looked at journalctl and saw repeated lines same as other reporter. Closing Dolphin ceased the log spam and increased CPU usage.

Repeated lines:
maj 04 21:21:59 plasmashell[1361]: qt.dbus.integration: QDBusConnection: error: could not send message to service "org.freedesktop.portal.Documents" path "/org/freedesktop/portal/documents" interface "org.freedesktop.portal.FileT>
maj 04 21:21:59 plasmashell[1361]: kf.coreaddons: Some files could not be exported.  QDBusError("org.freedesktop.DBus.Error.Failed", "Marshalling failed: Invalid file descriptor passed in arguments")
maj 04 21:21:59 plasmashell[1361]: kf.coreaddons: Failed to open "/home/username/sandbox/Desktop/2024-05-04_20-36.png" No such file or directory

Using Plasma 6.0.4
Dolphin in version 24.02.2-2 on Arch Linux/Endevour OS
Linux kernel 6.8.9-arch1-1
Comment 2 kde 2024-06-21 12:40:48 UTC
Same problem here. Especially after cut and paste files to a NFS mount.
50% cpu until I close Dolphin.
Same output in the journal.

Arch + Wayland, KDE up to date.
Comment 3 liusen 2024-07-02 14:23:36 UTC
Same problem. 

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.5-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
Memory: 14.3 GiB of RAM
Graphics Processor: AMD Radeon 780M
Manufacturer: MECHREVO
Product Name: WUJIE14 PRO
System Version: WUJIE14
Comment 4 Frisk 2024-08-04 18:11:43 UTC
Still happening in dolphin 24.05.2.
Comment 5 nttkde 2024-09-08 18:25:23 UTC
Update:
Now my system stats are the following:

Dolphin version: 24.08.0
Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 5.15.0-119-generic (64-bit)
Graphics Platform: Wayland

...and while I can still see the error in syslog, it no longer seems to spam it indefinitely, but appears just once.
Comment 6 David Edmundson 2024-11-01 14:46:43 UTC
This is part of kio-admin:

dolphin[5737]: true
dolphin[5737]: actions!!!

https://lxr.kde.org/source/system/kio-admin/src/fileaction/fileaction.cpp#0032

This should get fixed
Comment 7 David Edmundson 2024-11-01 14:49:38 UTC
Edit, they were removed already. This cache is just old.