https://bugs.kde.org/show_bug.cgi?id=505215
Bug ID: 505215
Summary: dolphin file descriptor leak when showing /tmp
Classification: Applications
Product: dolphin
Version First git-master
Reported In:
Platform: Neon
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: view-engine: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 182034
--> https://bugs.kde.org/attachment.cgi?id=182034&action=edit
backtrace of openat syscall that returned 42 (one of file descriptors that was
never closed)
STEPS TO REPRODUCE
1. open dolphin
2. navigate to /tmp
3. run `ls -v "/proc/$(pidof dolphin)/fd"` every second
OBSERVED RESULT
number of file descriptors keeps increasing
EXPECTED RESULT
number of file descriptors doesn't change
SOFTWARE/OS VERSIONS
qt: https://github.com/qt/qtbase/tree/v6.9.0
kio:
https://invent.kde.org/frameworks/kio/-/commit/a2fcfaf75c4e6f28015394df9c4e3aac9afe33f9
kcoreaddons:
https://invent.kde.org/frameworks/kcoreaddons/-/commit/dc19e779d300938adfb1a88a34fbdb2e415d8548
dolphin:
https://invent.kde.org/system/dolphin/-/commit/a35af3a0d2022a23c5a1cc30d693141a13673b8f
ADDITIONAL INFORMATION
does this code deallocate QTemporaryFile?
https://invent.kde.org/system/dolphin/-/blob/a35af3a0d2022a23c5a1cc30d693141a13673b8f/src/views/viewproperties.cpp#L45-96
--
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.