Bug 406865

Summary: KDevelop frequently hangs on text or mouse input
Product: [Applications] kdevelop Reporter: Aaron Williams <aaronw>
Component: All editorsAssignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.1.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Aaron Williams 2019-04-25 01:26:38 UTC
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
Comment 1 Kevin Funk 2019-04-25 06:22:37 UTC
Could you start KDevelop from the terminal and observe it's terminal output? Maybe it gives an indicitation where it's hanging?
Comment 2 Milian Wolff 2019-04-25 07:34:15 UTC
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