Summary: | kdevelop crashes if cmake project contains symlinks | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Vladislav Belov <vlbel> |
Component: | Build tools: CMake | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aleixpol, janitor048, markus.parker, o.jechev |
Priority: | VHI | ||
Version: | 4.2.2 | ||
Target Milestone: | 4.2.3 | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Attached file contains simple cmake project that causes kdevelop to crash
New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Vladislav Belov
2011-07-25 06:05:06 UTC
Created attachment 62169 [details]
Attached file contains simple cmake project that causes kdevelop to crash
aleix, please take a look at that Created attachment 62235 [details]
New crash information added by DrKonqi
kdevelop (4.2.2) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.2
- What I was doing when the application crashed:
I experience the same thing: KDevelop crashes when importing a project from a CMakeLists.txt that includes a subdirectory that is a symlink (the crash occurs after selecting a build directory from the dialogue). When replacing the symlinked directory with an actual copy, the problem does not occur.
I've tried purging the .kdevduchain directory and also removed previous sessions etc. from .kde/share/apps/kdevelop/sessions/ and .kde/share/config/kdeveloprc but this does not change the behavior.
-- Backtrace (Reduced):
#8 0x00007f94f128b85d in import (this=0xa81930, folder=<value optimized out>) at ../../project/importprojectjob.cpp:53
#9 KDevelop::ImportProjectJobPrivate::import (this=0xa81930, folder=<value optimized out>) at ../../project/importprojectjob.cpp:57
#10 0x00007f94f128b4c6 in QtConcurrent::RunFunctionTask<void>::run (this=0x2f611c0) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
#11 0x00007f94f4668188 in QThreadPoolThread::run (this=0x2f2d510) at concurrent/qthreadpool.cpp:106
#12 0x00007f94f4673175 in QThreadPrivate::start (arg=0x2f2d510) at thread/qthread_unix.cpp:320
Created attachment 62283 [details]
New crash information added by DrKonqi
kdevelop (4.2.60) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.2
As additional information: The crash also happens with the latest versions of Kdevelop and kdevplatform compiled from git. Backtrace is attached.
-- Backtrace (Reduced):
#7 0x00007fa151dc5ae2 in CMakeManager::parse (this=0x304d1d0, item=0x32c7390) at /home/oli/Software/KDevelop/kdevelop/projectmanagers/cmake/cmakemanager.cpp:616
#8 0x00007fa17b9dbced in import (this=0x30414c0, folder=<value optimized out>) at /home/oli/Software/KDevelop/kdevplatform/project/importprojectjob.cpp:53
#9 KDevelop::ImportProjectJobPrivate::import (this=0x30414c0, folder=<value optimized out>) at /home/oli/Software/KDevelop/kdevplatform/project/importprojectjob.cpp:57
#10 0x00007fa17b9db956 in QtConcurrent::RunFunctionTask<void>::run (this=0x306bf60) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
#11 0x00007fa17ea79188 in QThreadPoolThread::run (this=0x3089080) at concurrent/qthreadpool.cpp:106
Created attachment 62896 [details]
New crash information added by DrKonqi
kdevelop (4.2.0) on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1
- What I was doing when the application crashed:
Importing a cmake project that has symbolic links to a directory. Here is the structure:
jni/linux
jni/library
kni/linux/library --> ../library
-- Backtrace (Reduced):
#7 0x00007f61ffe0f962 in CMakeManager::parse (this=0x209cd90, item=0x7f61f8009f70) at /usr/src/debug/kdevelop-4.2.0/projectmanagers/cmake/cmakemanager.cpp:370
#8 0x00007f62141873c1 in import (this=0x3327340, folder=<value optimized out>) at /usr/src/debug/kdevplatform-1.2.0/project/importprojectjob.cpp:53
#9 KDevelop::ImportProjectJobPrivate::import (this=0x3327340, folder=<value optimized out>) at /usr/src/debug/kdevplatform-1.2.0/project/importprojectjob.cpp:57
#10 0x00007f6214186fc6 in QtConcurrent::RunFunctionTask<void>::run (this=0x5792050) at /usr/include/QtCore/qtconcurrentrunbase.h:120
#11 0x00007f62176e1e28 in QThreadPoolThread::run (this=0x2112010) at concurrent/qthreadpool.cpp:106
Git commit 6dd8e95cd0c494e92ceb8273a63efee66d7a36fd by Olivier JG. Committed on 18/08/2011 at 07:31. Pushed by olivierjg into branch 'master'. Include symlinks in list of entries still existing so the associated item won't get deleted. BUG: 278444 M +1 -1 projectmanagers/cmake/cmakemanager.cpp http://commits.kde.org/kdevelop/6dd8e95cd0c494e92ceb8273a63efee66d7a36fd *** Bug 271958 has been marked as a duplicate of this bug. *** |