Bug 401460 - Semantic analyzer incomplete with cache
Summary: Semantic analyzer incomplete with cache
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (Clang-based) (show other bugs)
Version: 5.3.1
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-27 09:23 UTC by Philippe Leduc
Modified: 2019-01-03 08:52 UTC (History)
0 users

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


Attachments

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