[dolphin] [Bug 468673] New: Memory leak when pasting files in administrato mode
Jaime Antonio Gonzalez
bugzilla_noreply at kde.org
Wed Apr 19 07:03:44 BST 2023
https://bugs.kde.org/show_bug.cgi?id=468673
Bug ID: 468673
Summary: Memory leak when pasting files in administrato mode
Classification: Applications
Product: dolphin
Version: 22.12.3
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: dolphin-bugs-null at kde.org
Reporter: enigma1052666 at gmail.com
CC: kfm-devel at kde.org
Target Milestone: ---
I wanted to get the new Partition Manager icon so badly that I downloaded it
from gitlab, and went to the specified path: /usr/share/icons/breeze/apps/48/
which I needed to open in admin mode to be able to paste the icon there. Less
than 30 seconds after pasting it, RAM usage skyrocketed and computer froze.
STEPS TO REPRODUCE
1. Right click a file and select "copy" (you can try with a svg icon, like I
did)
2. Open a protected path like /usr/share/icons/
3. Right click in an empty space and select open as administrator
4. Paste the icon/file, you will be prompted to put your password
5. As soon as the copy operation finishes, memory usage starts to skyrocked
leading to a computer lockup
OBSERVED RESULT
Computer totally frozen because the system runs out of RAM
EXPECTED RESULT
It shouldn't leak memory so much and so fast.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.8
ADDITIONAL INFORMATION
When running Dolphin through Konsole it spams this:
RESULT 0 "Unknown error code 0\n\nPlease send a full bug report at
https://bugs.kde.org."
void AdminWorker::entry(const KIO::UDSEntry&) [ "UDS_NAME"="quassel.svg"
"UDS_FILE_TYPE"=32768 "UDS_ACCESS"=420 "UDS_SIZE"=2012 "UDS_USER"="root"
"UDS_GROUP"="root" "UDS_MODIFICATION_TIME"=1680252896
"UDS_ACCESS_TIME"=1681334995 "UDS_CREATION_TIME"=1681334996 ]
RESULT 0 "Unknown error code 0\n\nPlease send a full bug report at
https://bugs.kde.org."
void AdminWorker::entry(const KIO::UDSEntry&) [ "UDS_NAME"="quassel.svg"
"UDS_FILE_TYPE"=32768 "UDS_ACCESS"=420 "UDS_SIZE"=2012 "UDS_USER"="root"
"UDS_GROUP"="root" "UDS_MODIFICATION_TIME"=1680252896
"UDS_ACCESS_TIME"=1681334995 "UDS_CREATION_TIME"=1681334996 ]
virtual KIO::WorkerResult AdminWorker::get(const QUrl&)
"/org/kde/kio/admin/get/904"
RESULT 0 "Unknown error code 0\n\nPlease send a full bug report at
https://bugs.kde.org."
void AdminWorker::entry(const KIO::UDSEntry&) [ "UDS_NAME"="quiterss.svg"
"UDS_FILE_TYPE"=32768 "UDS_ACCESS"=420 "UDS_SIZE"=2992 "UDS_USER"="root"
"UDS_GROUP"="root" "UDS_MODIFICATION_TIME"=1680252896
"UDS_ACCESS_TIME"=1681334995 "UDS_CREATION_TIME"=1681334996 ]
RESULT 0 "Unknown error code 0\n\nPlease send a full bug report at
https://bugs.kde.org."
virtual KIO::WorkerResult AdminWorker::get(const QUrl&)
"/org/kde/kio/admin/get/905"
RESULT 0 "Unknown error code 0\n\nPlease send a full bug report at
https://bugs.kde.org."
void AdminWorker::entry(const KIO::UDSEntry&) [ "UDS_NAME"="qupzilla.svg"
"UDS_FILE_TYPE"=32768 "UDS_ACCESS"=420 "UDS_SIZE"=2183 "UDS_USER"="root"
"UDS_GROUP"="root" "UDS_MODIFICATION_TIME"=1680252896
"UDS_ACCESS_TIME"=1681334995 "UDS_CREATION_TIME"=1681334996 ]
RESULT 0 "Unknown error code 0\n\nPlease send a full bug report at
https://bugs.kde.org."
virtual KIO::WorkerResult AdminWorker::get(const QUrl&)
"/org/kde/kio/admin/get/906"
RESULT 0 "Unknown error code 0\n\nPlease send a full bug report at
https://bugs.kde.org."
void AdminWorker::entry(const KIO::UDSEntry&) [ "UDS_NAME"="r.svg"
"UDS_FILE_TYPE"=32768 "UDS_ACCESS"=420 "UDS_SIZE"=8380 "UDS_USER"="root"
"UDS_GROUP"="root" "UDS_MODIFICATION_TIME"=1680252896
"UDS_ACCESS_TIME"=1681334995 "UDS_CREATION_TIME"=1681334996 ]
RESULT 0 "Unknown error code 0\n\nPlease send a full bug report at
https://bugs.kde.org."
void AdminWorker::entry(const KIO::UDSEntry&) [ "UDS_NAME"="r.svg"
"UDS_FILE_TYPE"=32768 "UDS_ACCESS"=420 "UDS_SIZE"=8380 "UDS_USER"="root"
"UDS_GROUP"="root" "UDS_MODIFICATION_TIME"=1680252896
"UDS_ACCESS_TIME"=1681334995 "UDS_CREATION_TIME"=1681334996 ]
virtual KIO::WorkerResult AdminWorker::get(const QUrl&)
"/org/kde/kio/admin/get/907"
void AdminWorker::entry(const KIO::UDSEntry&) [
"UDS_NAME"="phonon-gstreamer.svg" "UDS_FILE_TYPE"=32768 "UDS_ACCESS"=420
"UDS_SIZE"=3396 "UDS_USER"="root" "UDS_GROUP"="root"
"UDS_MODIFICATION_TIME"=1680252896 "UDS_ACCESS_TIME"=1681334995
"UDS_CREATION_TIME"=1681334996 ]
RESULT 0 "Unknown error code 0\n\nPlease send a full bug report at
https://bugs.kde.org."
void AdminWorker::entry(const KIO::UDSEntry&) [
"UDS_NAME"="phonon-gstreamer.svg" "UDS_FILE_TYPE"=32768 "UDS_ACCESS"=420
"UDS_SIZE"=3396 "UDS_USER"="root" "UDS_GROUP"="root"
"UDS_MODIFICATION_TIME"=1680252896 "UDS_ACCESS_TIME"=1681334995
"UDS_CREATION_TIME"=1681334996 ]
RESULT 0 "Unknown error code 0\n\nPlease send a full bug report at
https://bugs.kde.org."
RESULT 0 "Unknown error code 0\n\nPlease send a full bug report at
https://bugs.kde.org."
virtual KIO::WorkerResult AdminWorker::get(const QUrl&)
"/org/kde/kio/admin/get/908"
kf.kio.workers.file: readData() returned -1
void AdminWorker::entry(const KIO::UDSEntry&) [ "UDS_NAME"="rbackend.svg"
"UDS_LINK_DEST"="r.svg" "UDS_FILE_TYPE"=32768 "UDS_ACCESS"=420 "UDS_SIZE"=8380
"UDS_USER"="root" "UDS_GROUP"="root" "UDS_MODIFICATION_TIME"=1680252896
"UDS_ACCESS_TIME"=1681334995 "UDS_CREATION_TIME"=1681334996 ]
RESULT 0 "Unknown error code 0\n\nPlease send a full bug report at
https://bugs.kde.org."
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list