https://bugs.kde.org/show_bug.cgi?id=495261

            Bug ID: 495261
           Summary: Parsing CMake crashes KDevelop
    Classification: Applications
           Product: kdevelop
           Version: 6.0.240802
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: mwoehlke.fl...@gmail.com
  Target Milestone: ---

SUMMARY
Something about CMake's sources makes KDevelop's code parser unhappy.

STEPS TO REPRODUCE
1. Obtain a copy of the CMake sources
(https://gitlab.kitware.com/cmake/cmake.git)
2. Import CMake as a project into KDevelop
3. Wait

OBSERVED RESULT
KDevelop invariably crashes before fully parsing the project.

EXPECTED RESULT
KDevelop doesn't crash.

SOFTWARE/OS VERSIONS
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Unfortunately, I don't have a better (simpler) test case, nor have I been able
to get a useful-looking stack trace. However, this has been happening for quite
some time, and seems to be something peculiar to CMake's sources, as I have not
had issues with other projects. The only work-around is to cancel project
parsing.

At present, this is 100% reproducible and I've experienced it on multiple
machines. I seem to recall prior versions would sometimes complete parsing
successfully after many restarts, but I have not managed to do so recently.

I am using kdevelop-24.08.2-1.fc40.x86_64 with all packages up to date as of
~2024-10-20. Please let me know what other version information would be useful.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to