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: dolphin-bugs-n...@kde.org
          Reporter: alanas...@mail.ru
                CC: kfm-de...@kde.org
  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 watching all bug changes.

Reply via email to