SUMMARY I am working on a Linux kernel project hand have a couple of dozen files open. I am only working on one file, however, with a vertical split screen. Frequently while editing, KDevelop will just hang, sometimes for up to a couple of minutes. Top does not show any significant CPU usage, though KDevelop is using around 1.8GB of memory (the system has 96GB of RAM). Both mouse and keyboard action are frozen until it eventually unfreezes itself. STEPS TO REPRODUCE 1. Create a kernel project 2. Open and edit a file 3. Watch KDevelop periodically freeze while editing. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: OpenSUSE 15.0 with latest KDE (available in About System) KDE Plasma Version: 5.15.4 KDE Frameworks Version: 5.57 Qt Version: 5.12.3 ADDITIONAL INFORMATION
Could you start KDevelop from the terminal and observe it's terminal output? Maybe it gives an indicitation where it's hanging?
please attach a debugger in such cases, then interrupt on freeze and get us a backtrace alternatively, use a profiler like hotspot, then enable off-CPU profiling and look for long freezes in the main thread