Bug 406865 - KDevelop frequently hangs on text or mouse input
Summary: KDevelop frequently hangs on text or mouse input
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: All editors (other bugs)
Version First Reported In: 5.1.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-25 01:26 UTC by Aaron Williams
Modified: 2019-04-25 07:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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