Summary: | SIGSEGV in getFilteredDeclarations() while scanning files in cmake project | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Mark <mpictor> |
Component: | Build tools: CMake | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aleixpol, flo.ruijt |
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | 4.3.0 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
URL: | git://github.com/stepcode/stepcode.git | ||
Latest Commit: | http://commits.kde.org/kdevelop/8eb885b8e6874cee800aff98063956160c8b2490 | Version Fixed In: | |
Sentry Crash Report: |
Description
Mark
2013-05-05 21:10:17 UTC
I can confirm that this repository crashes kdevelop. Interestingly even DrKonqi isn't shown. My current version of kdevelop is 7a047f7d553e and kdevplatform ba87ffa6943fad2a I mentioned on #kdevelop that I wasn't sure whether the problem was with CMake or not. However, I have located a commit that seems to be the problem, and it only changes one file, a CMakeLists.txt: https://github.com/stepcode/stepcode/commit/1ce677914e93 Commits before that do not cause a crash. KDevelop crashes on that commit and anything later. Git commit 8eb885b8e6874cee800aff98063956160c8b2490 by Aleix Pol. Committed on 08/05/2013 at 15:18. Pushed by apol into branch '4.5'. New implementation for get_filename_component(PATH) We were not doing the exact same thing as cmake, in case it was a false relative directory. It lead to problems with weird uses of get_filename_components M +5 -3 projectmanagers/cmake/parser/cmakeprojectvisitor.cpp M +6 -1 projectmanagers/cmake/tests/cmake_cmakeprojectvisitor_test.cpp http://commits.kde.org/kdevelop/8eb885b8e6874cee800aff98063956160c8b2490 |