https://bugs.kde.org/show_bug.cgi?id=482800

            Bug ID: 482800
           Summary: Kate freezes if an open file with Linux device
                    information has been modified externally
    Classification: Applications
           Product: kate
           Version: 24.02.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Keywords: qt6, reproducible, usability
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: xalt7x.serv...@gmail.com
  Target Milestone: ---

SUMMARY
Application freezes if user has opened file from the /sys directory, and this
file was changed externally.
For example, user disables CPU core , changes I/O Disk scheduler or tweaks some
device parameter
Freezing also occurs if the file contents are overwritten with the same value.

STEPS TO REPRODUCE
1. Open /sys/devices/system/cpu/cpu1/online using KWrite or Kate
2. Open terminal (either Kate built-in or external application)
3. Execute the command below to overwrite the file value
echo 1 | sudo tee /sys/devices/system/cpu/cpu1/online

OBSERVED RESULT
KWrite/Kate window freezes

EXPECTED RESULT
KWrite/Kate window shouldn't freeze

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Fedora Kinoite 40
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
If I modify file within Kate/KWrite, it can't be saved (even though I provide a
correct password for administrator authentication). The error says that "The
document could no be saved, as it was no possible to write to ...".  That's
also the case with files inside /proc directory (e.g.
/proc/sys/vm/page-cluster), though Kate doesn't freeze if those files are
changed externally.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to