Bug 278444 - kdevelop crashes if cmake project contains symlinks
Summary: kdevelop crashes if cmake project contains symlinks
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: CMake (show other bugs)
Version: 4.2.2
Platform: Ubuntu Linux
: VHI crash
Target Milestone: 4.2.3
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 271958 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-25 06:05 UTC by Vladislav Belov
Modified: 2011-08-21 09:21 UTC (History)
4 users (show)

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


Attachments
Attached file contains simple cmake project that causes kdevelop to crash (521 bytes, application/x-gzip)
2011-07-25 06:11 UTC, Vladislav Belov
Details
New crash information added by DrKonqi (11.91 KB, text/plain)
2011-07-27 12:54 UTC, janitor048
Details
New crash information added by DrKonqi (7.93 KB, text/plain)
2011-07-28 18:49 UTC, janitor048
Details
New crash information added by DrKonqi (16.89 KB, text/plain)
2011-08-17 13:23 UTC, Orlin Jechev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladislav Belov 2011-07-25 06:05:06 UTC
Application: kdevelop (4.2.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
If cmake project contains symlink as a subdirectory kdevelop always crashes. ..............

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb63e2710 (LWP 20067))]

Thread 13 (Thread 0xb2808b70 (LWP 20070)):
#0  0x006db416 in __kernel_vsyscall ()
#1  0x003a9834 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x00550454 in __pthread_cond_timedwait (cond=0x84e2c28, mutex=0x84e2c10, abstime=0xb28082c0) at forward.c:152
#3  0x039be3e5 in wait (this=0x84d9d34, mutex=0x84d9d38, time=1000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x84d9d34, mutex=0x84d9d38, time=1000) at thread/qwaitcondition_unix.cpp:160
#5  0x01ab975d in KDevelop::DUChainPrivate::CleanupThread::run (this=0x84d9d28) at ../../language/duchain/duchain.cpp:286
#6  0x039bdda2 in QThreadPrivate::start (arg=0x84d9d28) at thread/qthread_unix.cpp:320
#7  0x003a4e99 in start_thread (arg=0xb2808b70) at pthread_create.c:304
#8  0x0054273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 12 (Thread 0xb1fcfb70 (LWP 20080)):
#0  0x003fdd41 in clock_gettime (clock_id=1, tp=0xb1fcf000) at ../sysdeps/unix/clock_gettime.c:116
#1  0x03a13dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x03ae04f2 in updateCurrentTime (this=0x871f054, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x871f054, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x03aded32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb1fcf0dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x03adedcd in timerSourcePrepare (source=0x871f020, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x022fbfd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x022fce63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x022fd524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x03adf577 in QEventDispatcherGlib::processEvents (this=0x871e6d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x03ab1289 in QEventLoop::processEvents (this=0xb1fcf290, flags=...) at kernel/qeventloop.cpp:149
#12 0x03ab1522 in QEventLoop::exec (this=0xb1fcf290, flags=...) at kernel/qeventloop.cpp:201
#13 0x039bb2a0 in QThread::exec (this=0x864bc50) at thread/qthread.cpp:492
#14 0x03a92fdb in QInotifyFileSystemWatcherEngine::run (this=0x864bc50) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x039bdda2 in QThreadPrivate::start (arg=0x864bc50) at thread/qthread_unix.cpp:320
#16 0x003a4e99 in start_thread (arg=0xb1fcfb70) at pthread_create.c:304
#17 0x0054273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 11 (Thread 0xb17ceb70 (LWP 20090)):
#0  0x006db416 in __kernel_vsyscall ()
#1  0x00533f76 in __poll (fds=0x886d138, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0230d84b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x022fd1af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x022fd524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x03adf577 in QEventDispatcherGlib::processEvents (this=0x886bfd8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x03ab1289 in QEventLoop::processEvents (this=0xb17ce290, flags=...) at kernel/qeventloop.cpp:149
#7  0x03ab1522 in QEventLoop::exec (this=0xb17ce290, flags=...) at kernel/qeventloop.cpp:201
#8  0x039bb2a0 in QThread::exec (this=0x8856eb0) at thread/qthread.cpp:492
#9  0x03a92fdb in QInotifyFileSystemWatcherEngine::run (this=0x8856eb0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x039bdda2 in QThreadPrivate::start (arg=0x8856eb0) at thread/qthread_unix.cpp:320
#11 0x003a4e99 in start_thread (arg=0xb17ceb70) at pthread_create.c:304
#12 0x0054273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 10 (Thread 0xaf5a9b70 (LWP 20160)):
#0  0x006db416 in __kernel_vsyscall ()
#1  0x00533f76 in __poll (fds=0x81db928, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0230d84b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x022fd1af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x022fd524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x03adf577 in QEventDispatcherGlib::processEvents (this=0x88278c8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x03ab1289 in QEventLoop::processEvents (this=0xaf5a9290, flags=...) at kernel/qeventloop.cpp:149
#7  0x03ab1522 in QEventLoop::exec (this=0xaf5a9290, flags=...) at kernel/qeventloop.cpp:201
#8  0x039bb2a0 in QThread::exec (this=0x89a48d8) at thread/qthread.cpp:492
#9  0x03a92fdb in QInotifyFileSystemWatcherEngine::run (this=0x89a48d8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x039bdda2 in QThreadPrivate::start (arg=0x89a48d8) at thread/qthread_unix.cpp:320
#11 0x003a4e99 in start_thread (arg=0xaf5a9b70) at pthread_create.c:304
#12 0x0054273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xaeda0b70 (LWP 20161)):
#0  0x006db416 in __kernel_vsyscall ()
#1  0x003a948c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x005503fd in __pthread_cond_wait (cond=0xb77477f0, mutex=0xb77477d8) at forward.c:139
#3  0xb7191b57 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0x003a4e99 in start_thread (arg=0xaeda0b70) at pthread_create.c:304
#5  0x0054273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xadd84b70 (LWP 20221)):
#0  0x006db416 in __kernel_vsyscall ()
#1  0x003a948c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x005503fd in __pthread_cond_wait (cond=0x9008788, mutex=0x9008770) at forward.c:139
#3  0x039be467 in wait (this=0x901ce50, mutex=0x8888320, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x901ce50, mutex=0x8888320, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x06f527e0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x901ce38, th=0x9014a18) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x06f5547c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8fcd1e8, th=0x9014a18) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x06f5242b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x901ce38, th=0x9014a18) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x06f5556a in ThreadWeaver::WorkingHardState::applyForWork (this=0x8fcd1e8, th=0x9014a18) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x06f52373 in ThreadWeaver::WeaverImpl::applyForWork (this=0x901ce38, th=0x9014a18, previous=0x9002d30) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x06f53f9e in ThreadWeaver::ThreadRunHelper::run (this=0xadd842f4, parent=0x901ce38, th=0x9014a18) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x06f5405b in ThreadWeaver::Thread::run (this=0x9014a18) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x039bdda2 in QThreadPrivate::start (arg=0x9014a18) at thread/qthread_unix.cpp:320
#13 0x003a4e99 in start_thread (arg=0xadd84b70) at pthread_create.c:304
#14 0x0054273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xacd82b70 (LWP 20231)):
#0  0x003a87af in __pthread_mutex_unlock_usercnt (mutex=0x9052ca4, decr=1) at pthread_mutex_unlock.c:77
#1  0x00550656 in pthread_mutex_unlock (mutex=0x9052ca4) at forward.c:184
#2  0x022fc712 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x022fd03a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x022fd524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x03adf577 in QEventDispatcherGlib::processEvents (this=0x8fe1d50, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x03ab1289 in QEventLoop::processEvents (this=0xacd822c0, flags=...) at kernel/qeventloop.cpp:149
#7  0x03ab1522 in QEventLoop::exec (this=0xacd822c0, flags=...) at kernel/qeventloop.cpp:201
#8  0x039bb2a0 in QThread::exec (this=0x900b1f0) at thread/qthread.cpp:492
#9  0x01bc5608 in KDevelop::CompletionWorkerThread::run (this=0x900b1f0) at ../../language/codecompletion/codecompletionmodel.cpp:80
#10 0x039bdda2 in QThreadPrivate::start (arg=0x900b1f0) at thread/qthread_unix.cpp:320
#11 0x003a4e99 in start_thread (arg=0xacd82b70) at pthread_create.c:304
#12 0x0054273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xac581b70 (LWP 20232)):
#0  operator!= (s=0x905a500, timeout=0xac58109c) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:75
#1  postEventSourcePrepare (s=0x905a500, timeout=0xac58109c) at kernel/qeventdispatcher_glib.cpp:265
#2  0x03adf069 in postEventSourceCheck (source=0x905a500) at kernel/qeventdispatcher_glib.cpp:270
#3  0x022fc71d in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x022fd03a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x022fd524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x03adf577 in QEventDispatcherGlib::processEvents (this=0x904d488, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#7  0x03ab1289 in QEventLoop::processEvents (this=0xac5812c0, flags=...) at kernel/qeventloop.cpp:149
#8  0x03ab1522 in QEventLoop::exec (this=0xac5812c0, flags=...) at kernel/qeventloop.cpp:201
#9  0x039bb2a0 in QThread::exec (this=0x8ff58b0) at thread/qthread.cpp:492
#10 0x01bc5608 in KDevelop::CompletionWorkerThread::run (this=0x8ff58b0) at ../../language/codecompletion/codecompletionmodel.cpp:80
#11 0x039bdda2 in QThreadPrivate::start (arg=0x8ff58b0) at thread/qthread_unix.cpp:320
#12 0x003a4e99 in start_thread (arg=0xac581b70) at pthread_create.c:304
#13 0x0054273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xab51db70 (LWP 20241)):
#0  0x006db416 in __kernel_vsyscall ()
#1  0x003a948c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x005503fd in __pthread_cond_wait (cond=0x29552b0, mutex=0x2955298) at forward.c:139
#3  0x0283c817 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x29501c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x0283c851 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x29501c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x003a4e99 in start_thread (arg=0xab51db70) at pthread_create.c:304
#6  0x0054273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xaa57fb70 (LWP 20317)):
#0  0x006db416 in __kernel_vsyscall ()
#1  0x003a948c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x005503fd in __pthread_cond_wait (cond=0x83fc748, mutex=0x83fc730) at forward.c:139
#3  0x039be467 in wait (this=0x83fb4a0, mutex=0x8195798, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x83fb4a0, mutex=0x8195798, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x06f527e0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x83fb488, th=0x915a350) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x06f5547c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x83e2f78, th=0x915a350) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x06f5242b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x83fb488, th=0x915a350) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x06f5556a in ThreadWeaver::WorkingHardState::applyForWork (this=0x83e2f78, th=0x915a350) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x06f52373 in ThreadWeaver::WeaverImpl::applyForWork (this=0x83fb488, th=0x915a350, previous=0x920ab80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x06f53f9e in ThreadWeaver::ThreadRunHelper::run (this=0xaa57f2f4, parent=0x83fb488, th=0x915a350) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x06f5405b in ThreadWeaver::Thread::run (this=0x915a350) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x039bdda2 in QThreadPrivate::start (arg=0x915a350) at thread/qthread_unix.cpp:320
#13 0x003a4e99 in start_thread (arg=0xaa57fb70) at pthread_create.c:304
#14 0x0054273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa9d7eb70 (LWP 20318)):
#0  0x006db416 in __kernel_vsyscall ()
#1  0x003a948c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x005503fd in __pthread_cond_wait (cond=0x83fc748, mutex=0x83fc730) at forward.c:139
#3  0x039be467 in wait (this=0x83fb4a0, mutex=0x8195798, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x83fb4a0, mutex=0x8195798, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x06f527e0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x83fb488, th=0x90f6060) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x06f5547c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x83e2f78, th=0x90f6060) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x06f5242b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x83fb488, th=0x90f6060) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x06f5556a in ThreadWeaver::WorkingHardState::applyForWork (this=0x83e2f78, th=0x90f6060) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x06f52373 in ThreadWeaver::WeaverImpl::applyForWork (this=0x83fb488, th=0x90f6060, previous=0x901eff8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x06f53f9e in ThreadWeaver::ThreadRunHelper::run (this=0xa9d7e2f4, parent=0x83fb488, th=0x90f6060) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x06f5405b in ThreadWeaver::Thread::run (this=0x90f6060) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x039bdda2 in QThreadPrivate::start (arg=0x90f6060) at thread/qthread_unix.cpp:320
#13 0x003a4e99 in start_thread (arg=0xa9d7eb70) at pthread_create.c:304
#14 0x0054273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xad583b70 (LWP 20474)):
[KCrash Handler]
#7  0x001ee596 in __dynamic_cast () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#8  0x025166ba in ?? () from /usr/lib/kde4/kdevcmakemanager.so
#9  0x0061cdb5 in import (this=0x9a59a58, folder=0x8fcd1a8) at ../../project/importprojectjob.cpp:53
#10 KDevelop::ImportProjectJobPrivate::import (this=0x9a59a58, folder=0x8fcd1a8) at ../../project/importprojectjob.cpp:57
#11 0x0061c824 in QtConcurrent::VoidStoredMemberFunctionPointerCall1<void, KDevelop::ImportProjectJobPrivate, KDevelop::ProjectFolderItem*, KDevelop::ProjectFolderItem*>::runFunctor (this=0x8ffb330) at /usr/include/qt4/QtCore/qtconcurrentstoredfunctioncall.h:426
#12 0x0061c97e in QtConcurrent::RunFunctionTask<void>::run (this=0x8ffb330) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
#13 0x039b1866 in QThreadPoolThread::run (this=0x8f96388) at concurrent/qthreadpool.cpp:106
#14 0x039bdda2 in QThreadPrivate::start (arg=0x8f96388) at thread/qthread_unix.cpp:320
#15 0x003a4e99 in start_thread (arg=0xad583b70) at pthread_create.c:304
#16 0x0054273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb63e2710 (LWP 20067)):
#0  0x006db416 in __kernel_vsyscall ()
#1  0x003a948c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x005503fd in __pthread_cond_wait (cond=0x90171f8, mutex=0x90171e0) at forward.c:139
#3  0x039be467 in wait (this=0x901eb8c, mutex=0x901eb78, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x901eb8c, mutex=0x901eb78, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x039b0f33 in QThreadPoolPrivate::waitForDone (this=0x901eb28) at concurrent/qthreadpool.cpp:295
#6  0x039b1e50 in QThreadPool::~QThreadPool (this=0x9016e78, __in_chrg=<value optimized out>) at concurrent/qthreadpool.cpp:428
#7  0x039b1eb2 in QThreadPool::~QThreadPool (this=0x9016e78, __in_chrg=<value optimized out>) at concurrent/qthreadpool.cpp:430
#8  0x039b23ca in QGlobalStaticDeleter<QThreadPool>::~QGlobalStaticDeleter (this=0x3bee618, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1822
#9  0x004a1a6f in __run_exit_handlers (status=1, listp=0x5cf324, run_list_atexit=true) at exit.c:78
#10 0x004a1acf in exit (status=1) at exit.c:100
#11 0x049d3fdb in qt_xio_errhandler () at kernel/qapplication_x11.cpp:781
#12 0x00e4111a in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#13 0x00e41156 in ?? () from /usr/lib/libkdeui.so.5
#14 0x01296166 in _XIOError () from /usr/lib/i386-linux-gnu/libX11.so.6
#15 0x0129381f in _XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#16 0x012844eb in XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#17 0x04a14fc5 in x11EventSourceCheck (s=0x80d5740) at kernel/qguieventdispatcher_glib.cpp:85
#18 0x022fc71d in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#19 0x022fd03a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#20 0x022fd524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#21 0x03adf577 in QEventDispatcherGlib::processEvents (this=0x8092aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#22 0x04a151e5 in QGuiEventDispatcherGlib::processEvents (this=0x8092aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x03ab1289 in QEventLoop::processEvents (this=0xbfb8ef94, flags=...) at kernel/qeventloop.cpp:149
#24 0x03ab1522 in QEventLoop::exec (this=0xbfb8ef94, flags=...) at kernel/qeventloop.cpp:201
#25 0x03ab5ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#26 0x0495c8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#27 0x08053005 in _start ()

Possible duplicates by query: bug 276275, bug 271969, bug 271451, bug 267936, bug 267813.

Reported using DrKonqi
Comment 1 Vladislav Belov 2011-07-25 06:11:15 UTC
Created attachment 62169 [details]
Attached file contains simple cmake project that causes kdevelop to crash
Comment 2 Milian Wolff 2011-07-25 10:35:25 UTC
aleix, please take a look at that
Comment 3 janitor048 2011-07-27 12:54:10 UTC
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
Comment 4 janitor048 2011-07-28 18:49:10 UTC
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
Comment 5 Orlin Jechev 2011-08-17 13:23:37 UTC
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
Comment 6 Olivier.jg 2011-08-18 05:37:39 UTC
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
Comment 7 Olivier.jg 2011-08-21 09:21:51 UTC
*** Bug 271958 has been marked as a duplicate of this bug. ***