Bug 312314 - KDevelop crash when adding include directory to project CMakeList.txt file [KUrl::KUrl, KDevelop::ProjectBaseItem::url, CMakeManager::parse]
Summary: KDevelop crash when adding include directory to project CMakeList.txt file [K...
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.4.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 313919 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-12-28 18:16 UTC by A. A. Keene
Modified: 2014-07-20 02:01 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (29.42 KB, text/plain)
2014-06-28 14:20 UTC, Romário Rios
Details

Note You need to log in before you can comment on or make changes to this bug.
Description A. A. Keene 2012-12-28 18:16:26 UTC
Application: kdevelop (4.4.1)
KDE Platform Version: 4.9.3
Qt Version: 4.8.3
Operating System: Linux 3.5.0-17-generic x86_64
Distribution: Linux Mint 14 Nadia

-- Information about the crash:
I'm in the process of learning KDevelop/CMake, and I had created an empty project that I was attempting to build a set of CMake files to use some already existing source.  After I'd added a command to add one of the existing directories as an include directory, I  performed a build, and KDevelop crashed.   I have not yet modified the project's main.cpp to use any of the files, just pointing the main CMake to the directory using a relative path for inclusion. (../../../../source/dirName)

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
[Current thread is 1 (Thread 0x7f65f7a75780 (LWP 26971))]

Thread 17 (Thread 0x7f65ed2bc700 (LWP 26973)):
#0  0x00007f6606a2e303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6600e1bd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6600e1c1e2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f65f3b064a6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f6600e3f645 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6605da8e9a in start_thread (arg=0x7f65ed2bc700) at pthread_create.c:308
#6  0x00007f6606a39cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f65de906700 (LWP 26974)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f6607d2ffa7 in wait (time=1000, this=0x38753e0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x295cba0, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f6603e9df8b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x295cb80) at ../../language/duchain/duchain.cpp:282
#4  0x00007f6607d2faec in QThreadPrivate::start (arg=0x295cb80) at thread/qthread_unix.cpp:338
#5  0x00007f6605da8e9a in start_thread (arg=0x7f65de906700) at pthread_create.c:308
#6  0x00007f6606a39cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f65c7e9a700 (LWP 26977)):
#0  0x00007f6606a478fb in pthread_mutex_unlock (mutex=0x7f65c0000a60) at forward.c:184
#1  0x00007f6600e58e51 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6600e1bc9e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6600e1bea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6607e5ac16 in QEventDispatcherGlib::processEvents (this=0x7f65c00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f6607e2b2bf in QEventLoop::processEvents (this=this@entry=0x7f65c7e99e00, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f6607e2b548 in QEventLoop::exec (this=0x7f65c7e99e00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f6607d2cb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f6607d2faec in QThreadPrivate::start (arg=0x43f9910) at thread/qthread_unix.cpp:338
#9  0x00007f6605da8e9a in start_thread (arg=0x7f65c7e9a700) at pthread_create.c:308
#10 0x00007f6606a39cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f65c7699700 (LWP 26978)):
#0  0x00007f6606a2e303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6600e1bd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6600e1bea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6607e5ac16 in QEventDispatcherGlib::processEvents (this=0x7f65b80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f6607e2b2bf in QEventLoop::processEvents (this=this@entry=0x7f65c7698e00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6607e2b548 in QEventLoop::exec (this=0x7f65c7698e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6607d2cb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f6607d2faec in QThreadPrivate::start (arg=0x42477f0) at thread/qthread_unix.cpp:338
#8  0x00007f6605da8e9a in start_thread (arg=0x7f65c7699700) at pthread_create.c:308
#9  0x00007f6606a39cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f65c6e98700 (LWP 26983)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f660321fcd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f660321fd09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f6605da8e9a in start_thread (arg=0x7f65c6e98700) at pthread_create.c:308
#4  0x00007f6606a39cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f65c613f700 (LWP 26984)):
#0  0x00007f6605dac05d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f65bc000a60) at pthread_mutex_unlock.c:290
#2  0x00007f6600e58e51 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6600e1b60b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6600e1bcab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6600e1bea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f6607e5ac16 in QEventDispatcherGlib::processEvents (this=0x7f65bc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f6607e2b2bf in QEventLoop::processEvents (this=this@entry=0x7f65c613edd0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f6607e2b548 in QEventLoop::exec (this=0x7f65c613edd0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f6607d2cb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f6607e0b9af in QInotifyFileSystemWatcherEngine::run (this=0x585f8a0) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f6607d2faec in QThreadPrivate::start (arg=0x585f8a0) at thread/qthread_unix.cpp:338
#12 0x00007f6605da8e9a in start_thread (arg=0x7f65c613f700) at pthread_create.c:308
#13 0x00007f6606a39cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f65b77fe700 (LWP 27078)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f65fdf62b2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f65fdf62c39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f6605da8e9a in start_thread (arg=0x7f65b77fe700) at pthread_create.c:308
#4  0x00007f6606a39cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f65b7fff700 (LWP 27084)):
#0  0x00007f660523414e in __GI_clock_gettime (clock_id=1, tp=0x7f65b7ffeb70) at ../sysdeps/unix/clock_gettime.c:116
#1  0x00007f6607d859c4 in do_gettime (frac=0x7f65b7ffeb58, sec=0x7f65b7ffeb50) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00007f6607e5b41d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f65b0001250) at kernel/qeventdispatcher_unix.cpp:343
#4  0x00007f6607e5b763 in QTimerInfoList::timerWait (this=0x7f65b0001250, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0x00007f6607e5a2cc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f65b7ffec44) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007f6607e5a375 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00007f6600e1b618 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f6600e1bcab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f6600e1bea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f6607e5ac16 in QEventDispatcherGlib::processEvents (this=0x7f65b0002700, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x00007f6607e2b2bf in QEventLoop::processEvents (this=this@entry=0x7f65b7ffee00, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f6607e2b548 in QEventLoop::exec (this=0x7f65b7ffee00, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007f6607d2cb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#14 0x00007f6607d2faec in QThreadPrivate::start (arg=0x4279510) at thread/qthread_unix.cpp:338
#15 0x00007f6605da8e9a in start_thread (arg=0x7f65b7fff700) at pthread_create.c:308
#16 0x00007f6606a39cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f65b6023700 (LWP 27130)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6607d3004b in wait (time=18446744073709551615, this=0x61c1990) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x610c640, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f65fe9510e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x61c3ac0, th=0x6293f20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f65fe95392b in ThreadWeaver::WorkingHardState::applyForWork (this=0x628fcc0, th=0x6293f20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f65fe953944 in ThreadWeaver::WorkingHardState::applyForWork (this=0x628fcc0, th=0x6293f20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f65fe953944 in ThreadWeaver::WorkingHardState::applyForWork (this=0x628fcc0, th=0x6293f20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f65fe953944 in ThreadWeaver::WorkingHardState::applyForWork (this=0x628fcc0, th=0x6293f20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f65fe95279f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f65b6022e00, parent=0x61c3ac0, th=th@entry=0x6293f20) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007f65fe95282b in ThreadWeaver::Thread::run (this=0x6293f20) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007f6607d2faec in QThreadPrivate::start (arg=0x6293f20) at thread/qthread_unix.cpp:338
#11 0x00007f6605da8e9a in start_thread (arg=0x7f65b6023700) at pthread_create.c:308
#12 0x00007f6606a39cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f65b4fb3700 (LWP 27251)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6607d3004b in wait (time=18446744073709551615, this=0x298a300) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x23d6960, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f65fe9510e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x298a490, th=0x56e3340) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f65fe95392b in ThreadWeaver::WorkingHardState::applyForWork (this=0x23d6480, th=0x56e3340) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f65fe95279f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f65b4fb2e00, parent=0x298a490, th=th@entry=0x56e3340) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f65fe95282b in ThreadWeaver::Thread::run (this=0x56e3340) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f6607d2faec in QThreadPrivate::start (arg=0x56e3340) at thread/qthread_unix.cpp:338
#8  0x00007f6605da8e9a in start_thread (arg=0x7f65b4fb3700) at pthread_create.c:308
#9  0x00007f6606a39cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f6567fff700 (LWP 27252)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6607d3004b in wait (time=18446744073709551615, this=0x298a300) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x23d6960, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f65fe9510e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x298a490, th=0x7f6560002b60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f65fe95392b in ThreadWeaver::WorkingHardState::applyForWork (this=0x23d6480, th=0x7f6560002b60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f65fe953944 in ThreadWeaver::WorkingHardState::applyForWork (this=0x23d6480, th=0x7f6560002b60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f65fe95279f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f6567ffee00, parent=0x298a490, th=th@entry=0x7f6560002b60) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f65fe95282b in ThreadWeaver::Thread::run (this=0x7f6560002b60) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f6607d2faec in QThreadPrivate::start (arg=0x7f6560002b60) at thread/qthread_unix.cpp:338
#9  0x00007f6605da8e9a in start_thread (arg=0x7f6567fff700) at pthread_create.c:308
#10 0x00007f6606a39cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f65b5822700 (LWP 27263)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6607d3004b in wait (time=18446744073709551615, this=0x61c1990) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x610c640, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f65fe9510e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x61c3ac0, th=0x5606f00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f65fe95392b in ThreadWeaver::WorkingHardState::applyForWork (this=0x628fcc0, th=0x5606f00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f65fe953944 in ThreadWeaver::WorkingHardState::applyForWork (this=0x628fcc0, th=0x5606f00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f65fe953944 in ThreadWeaver::WorkingHardState::applyForWork (this=0x628fcc0, th=0x5606f00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f65fe95279f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f65b5821e00, parent=0x61c3ac0, th=th@entry=0x5606f00) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f65fe95282b in ThreadWeaver::Thread::run (this=0x5606f00) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f6607d2faec in QThreadPrivate::start (arg=0x5606f00) at thread/qthread_unix.cpp:338
#10 0x00007f6605da8e9a in start_thread (arg=0x7f65b5822700) at pthread_create.c:308
#11 0x00007f6606a39cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f65edd70700 (LWP 27264)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6607d3004b in wait (time=18446744073709551615, this=0x61c1990) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x610c640, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f65fe9510e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x61c3ac0, th=0x56fd920) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f65fe95392b in ThreadWeaver::WorkingHardState::applyForWork (this=0x628fcc0, th=0x56fd920) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f65fe953944 in ThreadWeaver::WorkingHardState::applyForWork (this=0x628fcc0, th=0x56fd920) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f65fe95279f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f65edd6fe00, parent=0x61c3ac0, th=th@entry=0x56fd920) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f65fe95282b in ThreadWeaver::Thread::run (this=0x56fd920) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f6607d2faec in QThreadPrivate::start (arg=0x56fd920) at thread/qthread_unix.cpp:338
#9  0x00007f6605da8e9a in start_thread (arg=0x7f65edd70700) at pthread_create.c:308
#10 0x00007f6606a39cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6555df8700 (LWP 27265)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6607d3004b in wait (time=18446744073709551615, this=0x61c1990) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x610c640, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f65fe9510e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x61c3ac0, th=0x5f5ddb0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f65fe95392b in ThreadWeaver::WorkingHardState::applyForWork (this=0x628fcc0, th=0x5f5ddb0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f65fe95279f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f6555df7e00, parent=0x61c3ac0, th=th@entry=0x5f5ddb0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f65fe95282b in ThreadWeaver::Thread::run (this=0x5f5ddb0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f6607d2faec in QThreadPrivate::start (arg=0x5f5ddb0) at thread/qthread_unix.cpp:338
#8  0x00007f6605da8e9a in start_thread (arg=0x7f6555df8700) at pthread_create.c:308
#9  0x00007f6606a39cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f65551e6700 (LWP 28181)):
[KCrash Handler]
#6  ref (this=0x4c005f00450058) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#7  QUrl::QUrl (this=0x7f65551e5bb0, other=...) at io/qurl.cpp:4263
#8  0x00007f6609cd43c9 in KUrl::KUrl (this=0x7f65551e5bb0, _u=...) at ../../kdecore/io/kurl.cpp:490
#9  0x00007f660447fb31 in KDevelop::ProjectBaseItem::url (this=<optimized out>) at ../../project/projectmodel.cpp:429
#10 0x00007f65c430b2b8 in CMakeManager::parse (this=0x5e8ff00, item=0x61b84e0) at ../../../projectmanagers/cmake/cmakemanager.cpp:737
#11 0x00007f6604486e5b in KDevelop::ImportProjectJobPrivate::import (this=0x7ebe2e0, folder=<optimized out>) at ../../project/importprojectjob.cpp:53
#12 0x00007f6604486c36 in run (this=0x56d1140) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:134
#13 QtConcurrent::RunFunctionTask<void>::run (this=0x56d1140) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:125
#14 0x00007f6607d2345d in QThreadPoolThread::run (this=0x61c2110) at concurrent/qthreadpool.cpp:107
#15 0x00007f6607d2faec in QThreadPrivate::start (arg=0x61c2110) at thread/qthread_unix.cpp:338
#16 0x00007f6605da8e9a in start_thread (arg=0x7f65551e6700) at pthread_create.c:308
#17 0x00007f6606a39cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f65548ef700 (LWP 28254)):
#0  0x00007f6606a33023 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f6607e57efa in qt_safe_select (nfds=11, fdread=0x7f65548ee070, fdwrite=0x7f65548ee0f0, fdexcept=0x0, orig_timeout=0x7f65548ee020) at kernel/qcore_unix.cpp:93
#2  0x00007f6607e06a5c in select_msecs (nfds=<optimized out>, fdread=<optimized out>, fdwrite=<optimized out>, timeout=<optimized out>) at io/qprocess_unix.cpp:1011
#3  0x00007f6607e082a6 in QProcessPrivate::waitForFinished (this=0x7f654c003270, msecs=30000) at io/qprocess_unix.cpp:1227
#4  0x00007f6607dc1f1e in QProcess::waitForFinished (this=this@entry=0x7f65548ee290, msecs=msecs@entry=30000) at io/qprocess.cpp:1759
#5  0x00007f6607dc2380 in QProcess::~QProcess (this=0x7f65548ee290, __in_chrg=<optimized out>) at io/qprocess.cpp:1151
#6  0x00007f65dc162477 in CMakeParserUtils::executeProcess (execName=..., args=...) at ../../../projectmanagers/cmake/parser/cmakeparserutils.cpp:141
#7  0x00007f65dc162c83 in CMakeParserUtils::initialVariables () at ../../../projectmanagers/cmake/parser/cmakeparserutils.cpp:75
#8  0x00007f65c4309c38 in CMakeManager::initializeProject (this=this@entry=0x5e8ff00, project=0x5e95ea0) at ../../../projectmanagers/cmake/cmakemanager.cpp:491
#9  0x00007f65c430d045 in CMakeManager::parse (this=0x5e8ff00, item=0x7ee4950) at ../../../projectmanagers/cmake/cmakemanager.cpp:731
#10 0x00007f6604486e5b in KDevelop::ImportProjectJobPrivate::import (this=0x7f077f0, folder=<optimized out>) at ../../project/importprojectjob.cpp:53
#11 0x00007f6604486c36 in run (this=0x7ef9cc0) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:134
#12 QtConcurrent::RunFunctionTask<void>::run (this=0x7ef9cc0) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:125
#13 0x00007f6607d2345d in QThreadPoolThread::run (this=0x7ee4a40) at concurrent/qthreadpool.cpp:107
#14 0x00007f6607d2faec in QThreadPrivate::start (arg=0x7ee4a40) at thread/qthread_unix.cpp:338
#15 0x00007f6605da8e9a in start_thread (arg=0x7f65548ef700) at pthread_create.c:308
#16 0x00007f6606a39cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f65f7a75780 (LWP 26971)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6607d3004b in wait (time=18446744073709551615, this=0x61c20a0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x61c1fa8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f6607d22c2f in QThreadPoolPrivate::waitForDone (this=0x61c1f20, msecs=msecs@entry=-1) at concurrent/qthreadpool.cpp:298
#4  0x00007f6607d246dd in QThreadPool::~QThreadPool (this=0x62aec40, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:440
#5  0x00007f6607d24719 in QThreadPool::~QThreadPool (this=0x62aec40, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:442
#6  0x00007f6607d24745 in QGlobalStaticDeleter<QThreadPool>::~QGlobalStaticDeleter (this=0x7f6608183fe8 <theInstance()::cleanup>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1950
#7  0x00007f6606981901 in __run_exit_handlers (status=1, listp=0x7f6606cfe6a8 <__exit_funcs>, run_list_atexit=true) at exit.c:78
#8  0x00007f6606981985 in __GI_exit (status=<optimized out>) at exit.c:100
#9  0x00007f65f4737314 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#10 0x00007f6608626fb8 in KApplication::xioErrhandler (this=0x7fff9f482760, dpy=0x23e2310) at ../../kdeui/kernel/kapplication.cpp:419
#11 0x00007f66020fd59e in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#12 0x00007f66020fb03d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007f66020ec60b in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007f6607278a7c in x11EventSourceCheck (s=0x23d4a10) at kernel/qguieventdispatcher_glib.cpp:85
#15 0x00007f6600e1b88c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f6600e1bd22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f6600e1bea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f6607e5abf6 in QEventDispatcherGlib::processEvents (this=0x239db30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#19 0x00007f6607278c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#20 0x00007f6607e2b2bf in QEventLoop::processEvents (this=this@entry=0x7fff9f482220, flags=...) at kernel/qeventloop.cpp:149
#21 0x00007f6607e2b548 in QEventLoop::exec (this=0x7fff9f482220, flags=...) at kernel/qeventloop.cpp:204
#22 0x00007f6607e30708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#23 0x000000000040e6da in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:519

This bug may be a duplicate of or related to bug 260741.

Possible duplicates by query: bug 290738.

Reported using DrKonqi
Comment 1 Kevin Funk 2013-02-02 09:00:30 UTC
*** Bug 313919 has been marked as a duplicate of this bug. ***
Comment 2 Kevin Funk 2013-12-12 08:36:10 UTC
*** Bug 328699 has been marked as a duplicate of this bug. ***
Comment 3 Kevin Funk 2013-12-17 07:45:27 UTC
*** Bug 328876 has been marked as a duplicate of this bug. ***
Comment 4 Kevin Funk 2013-12-30 19:45:35 UTC
Code changed to much recently, hoping this is fixed.

Please re-open with an up-to-date backtrace if this happens again.

Also see:
commit afd037bdcb83fc2ca34d69bc7e529e10be9388fc
Author: Aleix Pol <aleixpol@kde.org>
Date:   Thu Aug 8 19:23:08 2013 +0200

    Improve integration with the API
    
    Use ::createImportJob instead of ::parse, aggregate all jobs in a wait job
    so that the controller knows when to stop.
Comment 5 A. A. Keene 2014-01-02 23:14:01 UTC
For some reason I can't log into the KDE bug tracker system.
I verified it is fixed in KDevelop 4.4.1 using KDE Development Platform
4.10.5

uname -a
Linux MYCROFT-HOLMES 3.8.0-34-generic #49-Ubuntu SMP Tue Nov 12 18:00:10
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux



On Mon, Dec 30, 2013 at 12:45 PM, Kevin Funk <kevin@kfunk.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=312314
>
> Kevin Funk <kevin@kfunk.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|CONFIRMED                   |RESOLVED
>          Resolution|---                         |FIXED
>
> --- Comment #4 from Kevin Funk <kevin@kfunk.org> ---
> Code changed to much recently, hoping this is fixed.
>
> Please re-open with an up-to-date backtrace if this happens again.
>
> Also see:
> commit afd037bdcb83fc2ca34d69bc7e529e10be9388fc
> Author: Aleix Pol <aleixpol@kde.org>
> Date:   Thu Aug 8 19:23:08 2013 +0200
>
>     Improve integration with the API
>
>     Use ::createImportJob instead of ::parse, aggregate all jobs in a wait
> job
>     so that the controller knows when to stop.
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 6 Romário Rios 2014-06-28 14:20:15 UTC
Created attachment 87449 [details]
New crash information added by DrKonqi

kdevelop (4.6.0) on KDE Platform 4.13.1 using Qt 4.8.6

- What I was doing when the application crashed:
I don't think this is fixed, because I'm running KDevelop 4.6 and I still get a very similar crash. I was changing the cmake configurations of a project of mine, and then, when I chose I directory and applied the changes, it crashed.

-- Backtrace (Reduced):
#6  QUrl::QUrl (this=0x7fe478fbcd90, other=...) at io/qurl.cpp:4267
#7  0x00007fe543a5ac79 in KUrl::KUrl (this=0x7fe478fbcd90, _u=...) at ../../kdecore/io/kurl.cpp:490
#8  0x00007fe53e1a3191 in KDevelop::ProjectBaseItem::url (this=<optimized out>) at ../../project/projectmodel.cpp:432
#9  0x00007fe4806c13aa in CMakeImportJob::initialize (this=0x77172a0) at ../../../projectmanagers/cmake/cmakeimportjob.cpp:119
#10 0x00007fe4806c1936 in QtConcurrent::RunFunctionTask<void>::run (this=0x73f7000) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:134
Comment 7 Christoph Feck 2014-07-20 02:01:50 UTC
Romário, if this is reproducible, please file a new ticket. The issue might be related, but still different.