Summary: | kdevelop crashes during cmake build, after renaming source files | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | dan.barbus |
Component: | general | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | jeason133 |
Priority: | NOR | ||
Version: | 4.4.1 | ||
Target Milestone: | 4.3.0 | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdevelop/6f654f7d0e9e85b542d5f19afb1dd552e1891edb | Version Fixed In: | |
Sentry Crash Report: |
Description
dan.barbus
2013-05-04 19:16:53 UTC
Git commit 45cdc3badce74c28cf9bcd4168dd2c1f186dd0f3 by Aleix Pol. Committed on 05/05/2013 at 12:59. Pushed by apol into branch 'master'. Don't store a ProjectBaseItem in the MakeJob Use a QPersistantModelIndex instead and fetch the item only when it's needed. This way we can make sure that we don't crash if the item was deleted during the job's life. This is a bug fix, but I'm only committing to master for the moment. Related: bug 293191 M +0 -1 projectbuilders/makebuilder/makebuilder.cpp M +32 -25 projectbuilders/makebuilder/makejob.cpp M +1 -2 projectbuilders/makebuilder/makejob.h http://commits.kde.org/kdevelop/45cdc3badce74c28cf9bcd4168dd2c1f186dd0f3 *** Bug 318059 has been marked as a duplicate of this bug. *** Git commit 6f654f7d0e9e85b542d5f19afb1dd552e1891edb by Aleix Pol. Committed on 05/05/2013 at 12:59. Pushed by apol into branch '4.5'. Don't store a ProjectBaseItem in the MakeJob Use a QPersistantModelIndex instead and fetch the item only when it's needed. This way we can make sure that we don't crash if the item was deleted during the job's life. This is a bug fix, but I'm only committing to master for the moment. Related: bug 293191 Conflicts: projectbuilders/makebuilder/makejob.cpp projectbuilders/makebuilder/makejob.h M +0 -1 projectbuilders/makebuilder/makebuilder.cpp M +32 -26 projectbuilders/makebuilder/makejob.cpp M +1 -3 projectbuilders/makebuilder/makejob.h http://commits.kde.org/kdevelop/6f654f7d0e9e85b542d5f19afb1dd552e1891edb |