Bug 401460

Summary: Semantic analyzer incomplete with cache
Product: [Applications] kdevelop Reporter: Philippe Leduc <ledphilippe>
Component: Language Support: CPP (Clang-based)Assignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.3.1   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Philippe Leduc 2018-11-27 09:23:21 UTC
SUMMARY
Starting kdevelop wiuthout clearing the cache lead to a partial semantic analysis: a lot of symbols are undefined and cannot be autocompleted.
This is not the case if the cache is cleared by launching kdevelop with CLEAR_DUCHAIN_DIR=1

STEPS TO REPRODUCE
1. Start kdevelop with a clear cache
2. Stop kdevelop
3. Start kdevelop normally

OBSERVED RESULT
Semantic analysis incomplete and incoherent with a clear cache startup.

EXPECTED RESULT
Semantic analysis identical to a clear cache startup.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian testing 4.18.0-2-amd64 (but was the same on Debian stable - stretch)
(available in About System)
KDE Plasma Version: 5.13.5
KDE Frameworks Version: 5.49.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Window system: xcb
Comment 1 Philippe Leduc 2019-01-03 08:52:13 UTC
Same problem with 5.3.1