Summary: | Crash when starting build after prune [MakeJob::start, KDevelop::RunController::registerJob] | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Lukas Jirkovsky <l.jirkovsky> |
Component: | general | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aleixpol, bart, bond-cash, chris.kerr, dennis.mezhevich, glad08, hh.kde.crash, kfunk |
Priority: | VHI | ||
Version: | 4.3.60 | ||
Target Milestone: | 4.3.0 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi Crash test case Valgrind output New crash information added by DrKonqi |
Description
Lukas Jirkovsky
2012-06-23 17:43:55 UTC
I saw this crash again. This time it seems it's connected with adding "SHARED" to the target_link_libraries() by accident. I think I found the cause of this crash. It occurs when the build is started during the project reload. This happens at least in the following cases: 1. using "Project -> Prune Selection" and then using "Build Selection." 2. changing the CMakeLists.txt file and hitting build while the project is reloaded The first case can be reproduced everytime. The temporary workaround I'm using is to first use the "Configure Selection," wait until the project is reloaded and then start the build. *** Bug 303099 has been marked as a duplicate of this bug. *** confirmed hm current master doesn't seem to crash anymore, can you confirm that this has been fixed? So far I was not able to reproduce it anymore. Created attachment 77308 [details]
New crash information added by DrKonqi
kdevelop (4.4.1) on KDE Platform 4.9.5 using Qt 4.8.4
- What I was doing when the application crashed:
For me, KDevelop always automaticallyrestarts the build immediately after a prune, so this crash always happens and the workaround mentioned above doesn't work.
-- Backtrace (Reduced):
#7 0x00007f68cfe8ebad in KStandardDirs::~KStandardDirs() () from /usr/lib64/libkdecore.so.5
#8 0x00007f68a147a2c1 in MakeJob::start() () from /usr/lib64/kde4/kdevmakebuilder.so
#9 0x00007f68cf880fe4 in KDevelop::RunController::registerJob(KJob*) () from /usr/lib64/libkdevplatformshell.so.6
[...]
#11 0x00007f68cfe71b32 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#12 0x00007f68cfe71b70 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
Created attachment 78058 [details]
New crash information added by DrKonqi
kdevelop (4.4.1) on KDE Platform 4.9.5 using Qt 4.8.4
- What I was doing when the application crashed:
Choose Project->Prune selection, than Project->build all projects
-- Backtrace (Reduced):
#6 0x00007f9e49615b8e in MakeJob::start (this=0x9405720) at /usr/src/debug/kdevelop-4.4.1/projectbuilders/makebuilder/makejob.cpp:94
#7 0x00000039f3ea0275 in KDevelop::RunController::registerJob (this=0x2254c20, job=0x7f9e6d880190) at /usr/src/debug/kdevplatform-1.4.1/shell/runcontroller.cpp:566
[...]
#9 0x00000039edb33ee2 in KJob::result (this=this@entry=0x93fd340, _t1=_t1@entry=0x93fd340) at /usr/src/debug/kdelibs-4.9.5/x86_64-redhat-linux-gnu/kdecore/kjob.moc:207
#10 0x00000039edb33f20 in KJob::emitResult (this=0x93fd340) at /usr/src/debug/kdelibs-4.9.5/kdecore/jobs/kjob.cpp:318
#11 0x00007f9e493fedb7 in CMakeJob::slotCompleted (this=0x93fd340) at /usr/src/debug/kdevelop-4.4.1/projectbuilders/cmakebuilder/cmakejob.cpp:127
*** Bug 316622 has been marked as a duplicate of this bug. *** still an issue apparently, see bug 316622. Application: kdevelop (4.5.60) KDE Platform Version: 4.10.1 Qt Version: 4.8.4 Operating System: Linux 3.7.10-1-ARCH x86_64 Distribution (Platform): Archlinux Packages -- Information about the crash: - What I was doing when the application crashed: Added new cpp files and modified CMakeLists.txt accordingly. Hit F8 to rebuild, and it crashes shortly after cmake has ran. This is on latest git. The crash can be reproduced every time. -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f35b09407c0 (LWP 27545))] jump to:prev threadnext threadcrash Thread 14 (Thread 0x7f35a7835700 (LWP 27593)): #0 0x00007f35c3196d01 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f35c3422d37 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f35bfa697ff in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1b5fe40) at /home/bjanssens/src/build/aur/kdevplatform-git/src/kdevplatform/language/duchain/duchain.cpp:282 #3 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #5 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 jump to:prev threadnext threadcrash Thread 13 (Thread 0x7f358fda1700 (LWP 27596)): #0 0x00007f35c156cfad in poll () from /usr/lib/libc.so.6 #1 0x00007f35bbc89b14 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f35bbc89c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f35c354db86 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f35c351e3ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f35c351e688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f35c341f8a0 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #9 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #10 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 jump to:prev threadnext threadcrash Thread 12 (Thread 0x7f358f5a0700 (LWP 27597)): #0 0x00007f35c3194d83 in pthread_mutex_lock () from /usr/lib/libpthread.so.0 #1 0x00007f35bbcc6b41 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0 #2 0x00007f35bbc893b3 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #3 0x00007f35bbc89a3b in ?? () from /usr/lib/libglib-2.0.so.0 #4 0x00007f35bbc89c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0x00007f35c354db86 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f35c351e3ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0x00007f35c351e688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #8 0x00007f35c341f8a0 in QThread::exec() () from /usr/lib/libQtCore.so.4 #9 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #10 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #11 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #12 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 jump to:prev threadnext threadcrash Thread 11 (Thread 0x7f3587fff700 (LWP 27602)): #0 0x00007f35c3196954 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f35c07017a7 in ?? () from /usr/lib/libQtScript.so.4 #2 0x00007f35c07017d9 in ?? () from /usr/lib/libQtScript.so.4 #3 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #4 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 jump to:prev threadnext threadcrash Thread 10 (Thread 0x7f358625b700 (LWP 27605)): #0 0x00007f35bbc89491 in g_main_context_query () from /usr/lib/libglib-2.0.so.0 #1 0x00007f35bbc89a89 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f35bbc89c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f35c354db86 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f35c351e3ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f35c351e688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f35c341f8a0 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f35c34febbf in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #9 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #10 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #11 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 jump to:prev threadnext threadcrash Thread 9 (Thread 0x7f34f2f4c700 (LWP 27633)): #0 0x00007f35c3196954 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f35ba159af5 in ?? () from /usr/lib/libQtWebKit.so.4 #2 0x00007f35ba159b49 in ?? () from /usr/lib/libQtWebKit.so.4 #3 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #4 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 jump to:prev threadnext threadcrash Thread 8 (Thread 0x7f3584dcb700 (LWP 27634)): #0 0x00007f35c3196954 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f35b9ea0059 in ?? () from /usr/lib/libQtWebKit.so.4 #2 0x00007f35ba18827e in ?? () from /usr/lib/libQtWebKit.so.4 #3 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #4 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 jump to:prev threadnext threadcrash Thread 7 (Thread 0x7f34fa327700 (LWP 27635)): #0 0x00007f35c319910c in __lll_lock_wait () from /usr/lib/libpthread.so.0 #1 0x00007f35c3194f47 in _L_lock_560 () from /usr/lib/libpthread.so.0 #2 0x00007f35c3194dd9 in pthread_mutex_lock () from /usr/lib/libpthread.so.0 #3 0x00007f35b53e283c in ?? () from /usr/lib/libGL.so.1 #4 0x00007f35b53e6cb0 in ?? () from /usr/lib/libGL.so.1 #5 0x00007f35b53e7196 in ?? () from /usr/lib/libGL.so.1 #6 0x00007f35b4238b27 in ?? () from /usr/lib/libnvidia-tls.so.313.26 #7 0x00007f35bbcc5e7f in ?? () from /usr/lib/libglib-2.0.so.0 #8 0x00007f35bbc896a4 in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #9 0x00007f35bbc89ab2 in ?? () from /usr/lib/libglib-2.0.so.0 #10 0x00007f35bbc89c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #11 0x00007f35c354db86 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #12 0x00007f35c351e3ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #13 0x00007f35c351e688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #14 0x00007f35c341f8a0 in QThread::exec() () from /usr/lib/libQtCore.so.4 #15 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #16 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #17 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #18 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 jump to:prev threadnext threadcrash Thread 6 (Thread 0x7f34f94aa700 (LWP 27649)): #0 0x00007f35bbc5be80 in pthread_mutex_lock@plt () from /usr/lib/libglib-2.0.so.0 #1 0x00007f35bbcc6b41 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0 #2 0x00007f35bbc893b3 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #3 0x00007f35bbc89a3b in ?? () from /usr/lib/libglib-2.0.so.0 #4 0x00007f35bbc89c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0x00007f35c354db86 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f35c351e3ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0x00007f35c351e688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #8 0x00007f35c341f8a0 in QThread::exec() () from /usr/lib/libQtCore.so.4 #9 0x00007f35c34febbf in ?? () from /usr/lib/libQtCore.so.4 #10 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #11 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #12 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #13 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 jump to:prev threadnext threadcrash Thread 5 (Thread 0x7f34f3c3f700 (LWP 27832)): #0 0x00007f35c3196954 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f35c3422ddb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f35c5d95df1 in ?? () from /usr/lib/libthreadweaver.so.4 #3 0x00007f35c5d9863b in ?? () from /usr/lib/libthreadweaver.so.4 #4 0x00007f35c5d974af in ?? () from /usr/lib/libthreadweaver.so.4 #5 0x00007f35c5d9753b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #6 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #7 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #8 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 jump to:prev threadnext threadcrash Thread 4 (Thread 0x7f34f274b700 (LWP 27833)): #0 0x00007f35c3196954 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f35c3422ddb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f35c5d95df1 in ?? () from /usr/lib/libthreadweaver.so.4 #3 0x00007f35c5d9863b in ?? () from /usr/lib/libthreadweaver.so.4 #4 0x00007f35c5d98654 in ?? () from /usr/lib/libthreadweaver.so.4 #5 0x00007f35c5d974af in ?? () from /usr/lib/libthreadweaver.so.4 #6 0x00007f35c5d9753b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #7 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #9 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #10 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 jump to:prev threadnext threadcrash Thread 3 (Thread 0x7f34f8ca9700 (LWP 32217)): #0 0x00007f35c15690bd in read () from /usr/lib/libc.so.6 #1 0x00007f35b53e716c in ?? () from /usr/lib/libGL.so.1 #2 0x00007f35b4238b27 in ?? () from /usr/lib/libnvidia-tls.so.313.26 #3 0x00007f35bbcc5e7f in ?? () from /usr/lib/libglib-2.0.so.0 #4 0x00007f35bbc896a4 in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #5 0x00007f35bbc89ab2 in ?? () from /usr/lib/libglib-2.0.so.0 #6 0x00007f35bbc89c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #7 0x00007f35c354db86 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #8 0x00007f35c351e3ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #9 0x00007f35c351e688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #10 0x00007f35c341f8a0 in QThread::exec() () from /usr/lib/libQtCore.so.4 #11 0x00007f35c34febbf in ?? () from /usr/lib/libQtCore.so.4 #12 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #13 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #14 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #15 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 jump to:prev threadnext threadcrash Thread 2 (Thread 0x7f34f0e93700 (LWP 32218)): #0 0x00007f35c319938d in write () from /usr/lib/libpthread.so.0 #1 0x00007f35bbcc5ef1 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f35c3522b1a in QCoreApplication::postEvent(QObject*, QEvent*, int) () from /usr/lib/libQtCore.so.4 #3 0x00007f35c3534eb5 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #4 0x00007f35c709cab4 in KDevelop::IProject::fileAddedToSet (this=<optimized out>, _t1=0x29d4d20, _t2=...) at /home/bjanssens/src/build/aur/kdevplatform-git/src/build/interfaces/iproject.moc:199 #5 0x00007f35c00a62d9 in KDevelop::ProjectFileItem::setUrl (this=this@entry=0x7f3475814b70, url=...) at /home/bjanssens/src/build/aur/kdevplatform-git/src/kdevplatform/project/projectmodel.cpp:857 #6 0x00007f35c00a6cc9 in KDevelop::ProjectFileItem::ProjectFileItem (this=0x7f3475814b70, project=0x29d4d20, file=..., parent=0x7f3475823900) at /home/bjanssens/src/build/aur/kdevplatform-git/src/kdevplatform/project/projectmodel.cpp:713 #7 0x00007f3585625c5f in CMakeManager::setTargetFiles (this=this@entry=0x532cf30, target=target@entry=0x7f3475823900, files=...) at /home/bjanssens/src/build/aur/kdevelop-git/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:981 #8 0x00007f358562d3c0 in CMakeManager::parse (this=0x532cf30, item=0x7f347524cf00) at /home/bjanssens/src/build/aur/kdevelop-git/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:932 #9 0x00007f358562d7df in CMakeManager::parse (this=0x532cf30, item=0x7f3475259d80) at /home/bjanssens/src/build/aur/kdevelop-git/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:941 #10 0x00007f358562d7df in CMakeManager::parse (this=0x532cf30, item=0x7f347503ee50) at /home/bjanssens/src/build/aur/kdevelop-git/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:941 #11 0x00007f358562d7df in CMakeManager::parse (this=0x532cf30, item=0x8d35160) at /home/bjanssens/src/build/aur/kdevelop-git/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:941 #12 0x00007f35c00ad03b in KDevelop::ImportProjectJobPrivate::import (this=0x822e160, folder=<optimized out>) at /home/bjanssens/src/build/aur/kdevplatform-git/src/kdevplatform/project/importprojectjob.cpp:53 #13 0x00007f35c00acb89 in QtConcurrent::RunFunctionTask<void>::run (this=0x8c166c0) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:134 #14 0x00007f35c341645d in ?? () from /usr/lib/libQtCore.so.4 #15 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #16 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #17 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #18 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 jump to:prev threadnext threadcrash Thread 1 (Thread 0x7f35b09407c0 (LWP 27545)): [KCrash Handler] #5 0x00007f3585856393 in MakeJob::start (this=0x2ac1690) at /home/bjanssens/src/build/aur/kdevelop-git/src/kdevelop/projectbuilders/makebuilder/makejob.cpp:79 #6 0x00007f35c6ddfc7b in KDevelop::RunController::registerJob (this=0xc926e0, job=0x2ac1690) at /home/bjanssens/src/build/aur/kdevplatform-git/src/kdevplatform/shell/runcontroller.cpp:580 #7 0x00007f35c3534b8f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #8 0x00007f35c73e6272 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5 #9 0x00007f35c73e62b0 in KJob::emitResult() () from /usr/lib/libkdecore.so.5 #10 0x00007f35c4f0cb2a in KDevelop::OutputExecuteJob::childProcessExited (this=0x2a24630, exitCode=<optimized out>, exitStatus=<optimized out>) at /home/bjanssens/src/build/aur/kdevplatform-git/src/kdevplatform/outputview/outputexecutejob.cpp:361 #11 0x00007f35c3534b8f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #12 0x00007f35c34b548f in QProcess::finished(int, QProcess::ExitStatus) () from /usr/lib/libQtCore.so.4 #13 0x00007f35c34b9597 in ?? () from /usr/lib/libQtCore.so.4 #14 0x00007f35c34b961e in ?? () from /usr/lib/libQtCore.so.4 #15 0x00007f35c3534b8f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #16 0x00007f35c357f79e in QSocketNotifier::activated(int) () from /usr/lib/libQtCore.so.4 #17 0x00007f35c353c5eb in QSocketNotifier::event(QEvent*) () from /usr/lib/libQtCore.so.4 #18 0x00007f35c26b218c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #19 0x00007f35c26b660a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #20 0x00007f35c3d3f8c6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #21 0x00007f35c351f6ae in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #22 0x00007f35c354d368 in ?? () from /usr/lib/libQtCore.so.4 #23 0x00007f35bbc89845 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #24 0x00007f35bbc89b78 in ?? () from /usr/lib/libglib-2.0.so.0 #25 0x00007f35bbc89c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #26 0x00007f35c354db66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #27 0x00007f35c275269e in ?? () from /usr/lib/libQtGui.so.4 #28 0x00007f35c351e3ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #29 0x00007f35c351e688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #30 0x00007f35c3523328 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #31 0x000000000040d82b in main (argc=<optimized out>, argv=<optimized out>) at /home/bjanssens/src/build/aur/kdevelop-git/src/kdevelop/app/main.cpp:522 Bah, firefox' copy'n'paste is seriously broken for bko :-/ Here the paste from chromium: Application: kdevelop (4.5.60) KDE Platform Version: 4.10.1 Qt Version: 4.8.4 Operating System: Linux 3.7.10-1-ARCH x86_64 Distribution (Platform): Archlinux Packages -- Information about the crash: - What I was doing when the application crashed: Added new cpp files and modified CMakeLists.txt accordingly. Hit F8 to rebuild, and it crashes shortly after cmake has ran. This is on latest git. The crash can be reproduced every time. -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f35b09407c0 (LWP 27545))] Thread 14 (Thread 0x7f35a7835700 (LWP 27593)): #0 0x00007f35c3196d01 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f35c3422d37 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f35bfa697ff in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1b5fe40) at /home/bjanssens/src/build/aur/kdevplatform-git/src/kdevplatform/language/duchain/duchain.cpp:282 #3 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #5 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 Thread 13 (Thread 0x7f358fda1700 (LWP 27596)): #0 0x00007f35c156cfad in poll () from /usr/lib/libc.so.6 #1 0x00007f35bbc89b14 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f35bbc89c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f35c354db86 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f35c351e3ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f35c351e688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f35c341f8a0 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #9 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #10 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 Thread 12 (Thread 0x7f358f5a0700 (LWP 27597)): #0 0x00007f35c3194d83 in pthread_mutex_lock () from /usr/lib/libpthread.so.0 #1 0x00007f35bbcc6b41 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0 #2 0x00007f35bbc893b3 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #3 0x00007f35bbc89a3b in ?? () from /usr/lib/libglib-2.0.so.0 #4 0x00007f35bbc89c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0x00007f35c354db86 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f35c351e3ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0x00007f35c351e688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #8 0x00007f35c341f8a0 in QThread::exec() () from /usr/lib/libQtCore.so.4 #9 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #10 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #11 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #12 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 Thread 11 (Thread 0x7f3587fff700 (LWP 27602)): #0 0x00007f35c3196954 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f35c07017a7 in ?? () from /usr/lib/libQtScript.so.4 #2 0x00007f35c07017d9 in ?? () from /usr/lib/libQtScript.so.4 #3 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #4 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 Thread 10 (Thread 0x7f358625b700 (LWP 27605)): #0 0x00007f35bbc89491 in g_main_context_query () from /usr/lib/libglib-2.0.so.0 #1 0x00007f35bbc89a89 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f35bbc89c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f35c354db86 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f35c351e3ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f35c351e688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f35c341f8a0 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f35c34febbf in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #9 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #10 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #11 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 Thread 9 (Thread 0x7f34f2f4c700 (LWP 27633)): #0 0x00007f35c3196954 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f35ba159af5 in ?? () from /usr/lib/libQtWebKit.so.4 #2 0x00007f35ba159b49 in ?? () from /usr/lib/libQtWebKit.so.4 #3 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #4 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 Thread 8 (Thread 0x7f3584dcb700 (LWP 27634)): #0 0x00007f35c3196954 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f35b9ea0059 in ?? () from /usr/lib/libQtWebKit.so.4 #2 0x00007f35ba18827e in ?? () from /usr/lib/libQtWebKit.so.4 #3 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #4 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 Thread 7 (Thread 0x7f34fa327700 (LWP 27635)): #0 0x00007f35c319910c in __lll_lock_wait () from /usr/lib/libpthread.so.0 #1 0x00007f35c3194f47 in _L_lock_560 () from /usr/lib/libpthread.so.0 #2 0x00007f35c3194dd9 in pthread_mutex_lock () from /usr/lib/libpthread.so.0 #3 0x00007f35b53e283c in ?? () from /usr/lib/libGL.so.1 #4 0x00007f35b53e6cb0 in ?? () from /usr/lib/libGL.so.1 #5 0x00007f35b53e7196 in ?? () from /usr/lib/libGL.so.1 #6 0x00007f35b4238b27 in ?? () from /usr/lib/libnvidia-tls.so.313.26 #7 0x00007f35bbcc5e7f in ?? () from /usr/lib/libglib-2.0.so.0 #8 0x00007f35bbc896a4 in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #9 0x00007f35bbc89ab2 in ?? () from /usr/lib/libglib-2.0.so.0 #10 0x00007f35bbc89c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #11 0x00007f35c354db86 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #12 0x00007f35c351e3ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #13 0x00007f35c351e688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #14 0x00007f35c341f8a0 in QThread::exec() () from /usr/lib/libQtCore.so.4 #15 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #16 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #17 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #18 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 Thread 6 (Thread 0x7f34f94aa700 (LWP 27649)): #0 0x00007f35bbc5be80 in pthread_mutex_lock@plt () from /usr/lib/libglib-2.0.so.0 #1 0x00007f35bbcc6b41 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0 #2 0x00007f35bbc893b3 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #3 0x00007f35bbc89a3b in ?? () from /usr/lib/libglib-2.0.so.0 #4 0x00007f35bbc89c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0x00007f35c354db86 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f35c351e3ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0x00007f35c351e688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #8 0x00007f35c341f8a0 in QThread::exec() () from /usr/lib/libQtCore.so.4 #9 0x00007f35c34febbf in ?? () from /usr/lib/libQtCore.so.4 #10 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #11 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #12 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #13 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 Thread 5 (Thread 0x7f34f3c3f700 (LWP 27832)): #0 0x00007f35c3196954 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f35c3422ddb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f35c5d95df1 in ?? () from /usr/lib/libthreadweaver.so.4 #3 0x00007f35c5d9863b in ?? () from /usr/lib/libthreadweaver.so.4 #4 0x00007f35c5d974af in ?? () from /usr/lib/libthreadweaver.so.4 #5 0x00007f35c5d9753b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #6 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #7 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #8 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 Thread 4 (Thread 0x7f34f274b700 (LWP 27833)): #0 0x00007f35c3196954 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f35c3422ddb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f35c5d95df1 in ?? () from /usr/lib/libthreadweaver.so.4 #3 0x00007f35c5d9863b in ?? () from /usr/lib/libthreadweaver.so.4 #4 0x00007f35c5d98654 in ?? () from /usr/lib/libthreadweaver.so.4 #5 0x00007f35c5d974af in ?? () from /usr/lib/libthreadweaver.so.4 #6 0x00007f35c5d9753b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #7 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #9 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #10 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 Thread 3 (Thread 0x7f34f8ca9700 (LWP 32217)): #0 0x00007f35c15690bd in read () from /usr/lib/libc.so.6 #1 0x00007f35b53e716c in ?? () from /usr/lib/libGL.so.1 #2 0x00007f35b4238b27 in ?? () from /usr/lib/libnvidia-tls.so.313.26 #3 0x00007f35bbcc5e7f in ?? () from /usr/lib/libglib-2.0.so.0 #4 0x00007f35bbc896a4 in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #5 0x00007f35bbc89ab2 in ?? () from /usr/lib/libglib-2.0.so.0 #6 0x00007f35bbc89c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #7 0x00007f35c354db86 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #8 0x00007f35c351e3ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #9 0x00007f35c351e688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #10 0x00007f35c341f8a0 in QThread::exec() () from /usr/lib/libQtCore.so.4 #11 0x00007f35c34febbf in ?? () from /usr/lib/libQtCore.so.4 #12 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #13 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #14 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #15 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7f34f0e93700 (LWP 32218)): #0 0x00007f35c319938d in write () from /usr/lib/libpthread.so.0 #1 0x00007f35bbcc5ef1 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f35c3522b1a in QCoreApplication::postEvent(QObject*, QEvent*, int) () from /usr/lib/libQtCore.so.4 #3 0x00007f35c3534eb5 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #4 0x00007f35c709cab4 in KDevelop::IProject::fileAddedToSet (this=<optimized out>, _t1=0x29d4d20, _t2=...) at /home/bjanssens/src/build/aur/kdevplatform-git/src/build/interfaces/iproject.moc:199 #5 0x00007f35c00a62d9 in KDevelop::ProjectFileItem::setUrl (this=this@entry=0x7f3475814b70, url=...) at /home/bjanssens/src/build/aur/kdevplatform-git/src/kdevplatform/project/projectmodel.cpp:857 #6 0x00007f35c00a6cc9 in KDevelop::ProjectFileItem::ProjectFileItem (this=0x7f3475814b70, project=0x29d4d20, file=..., parent=0x7f3475823900) at /home/bjanssens/src/build/aur/kdevplatform-git/src/kdevplatform/project/projectmodel.cpp:713 #7 0x00007f3585625c5f in CMakeManager::setTargetFiles (this=this@entry=0x532cf30, target=target@entry=0x7f3475823900, files=...) at /home/bjanssens/src/build/aur/kdevelop-git/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:981 #8 0x00007f358562d3c0 in CMakeManager::parse (this=0x532cf30, item=0x7f347524cf00) at /home/bjanssens/src/build/aur/kdevelop-git/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:932 #9 0x00007f358562d7df in CMakeManager::parse (this=0x532cf30, item=0x7f3475259d80) at /home/bjanssens/src/build/aur/kdevelop-git/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:941 #10 0x00007f358562d7df in CMakeManager::parse (this=0x532cf30, item=0x7f347503ee50) at /home/bjanssens/src/build/aur/kdevelop-git/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:941 #11 0x00007f358562d7df in CMakeManager::parse (this=0x532cf30, item=0x8d35160) at /home/bjanssens/src/build/aur/kdevelop-git/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:941 #12 0x00007f35c00ad03b in KDevelop::ImportProjectJobPrivate::import (this=0x822e160, folder=<optimized out>) at /home/bjanssens/src/build/aur/kdevplatform-git/src/kdevplatform/project/importprojectjob.cpp:53 #13 0x00007f35c00acb89 in QtConcurrent::RunFunctionTask<void>::run (this=0x8c166c0) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:134 #14 0x00007f35c341645d in ?? () from /usr/lib/libQtCore.so.4 #15 0x00007f35c342287c in ?? () from /usr/lib/libQtCore.so.4 #16 0x00007f35b53e81b4 in ?? () from /usr/lib/libGL.so.1 #17 0x00007f35c3192e0f in start_thread () from /usr/lib/libpthread.so.0 #18 0x00007f35c1575efd in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f35b09407c0 (LWP 27545)): [KCrash Handler] #5 0x00007f3585856393 in MakeJob::start (this=0x2ac1690) at /home/bjanssens/src/build/aur/kdevelop-git/src/kdevelop/projectbuilders/makebuilder/makejob.cpp:79 #6 0x00007f35c6ddfc7b in KDevelop::RunController::registerJob (this=0xc926e0, job=0x2ac1690) at /home/bjanssens/src/build/aur/kdevplatform-git/src/kdevplatform/shell/runcontroller.cpp:580 #7 0x00007f35c3534b8f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #8 0x00007f35c73e6272 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5 #9 0x00007f35c73e62b0 in KJob::emitResult() () from /usr/lib/libkdecore.so.5 #10 0x00007f35c4f0cb2a in KDevelop::OutputExecuteJob::childProcessExited (this=0x2a24630, exitCode=<optimized out>, exitStatus=<optimized out>) at /home/bjanssens/src/build/aur/kdevplatform-git/src/kdevplatform/outputview/outputexecutejob.cpp:361 #11 0x00007f35c3534b8f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #12 0x00007f35c34b548f in QProcess::finished(int, QProcess::ExitStatus) () from /usr/lib/libQtCore.so.4 #13 0x00007f35c34b9597 in ?? () from /usr/lib/libQtCore.so.4 #14 0x00007f35c34b961e in ?? () from /usr/lib/libQtCore.so.4 #15 0x00007f35c3534b8f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #16 0x00007f35c357f79e in QSocketNotifier::activated(int) () from /usr/lib/libQtCore.so.4 #17 0x00007f35c353c5eb in QSocketNotifier::event(QEvent*) () from /usr/lib/libQtCore.so.4 #18 0x00007f35c26b218c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #19 0x00007f35c26b660a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #20 0x00007f35c3d3f8c6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #21 0x00007f35c351f6ae in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #22 0x00007f35c354d368 in ?? () from /usr/lib/libQtCore.so.4 #23 0x00007f35bbc89845 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #24 0x00007f35bbc89b78 in ?? () from /usr/lib/libglib-2.0.so.0 #25 0x00007f35bbc89c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #26 0x00007f35c354db66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #27 0x00007f35c275269e in ?? () from /usr/lib/libQtGui.so.4 #28 0x00007f35c351e3ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #29 0x00007f35c351e688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #30 0x00007f35c3523328 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #31 0x000000000040d82b in main (argc=<optimized out>, argv=<optimized out>) at /home/bjanssens/src/build/aur/kdevelop-git/src/kdevelop/app/main.cpp:522 *** Bug 238765 has been marked as a duplicate of this bug. *** Created attachment 78140 [details]
Crash test case
You can reproduce the crash like this:
- build the attached project, using as target list:
* funcs directory
* hello1
- With the project built like this, remove the "b" subdir of funcs and remove it from the CMakeLists.txt (kdevelop should do this automatically)
- Hit F8 -> crash
Created attachment 78141 [details]
Valgrind output
Valgrind during the crash. It doesn't actually crash in valgrind, but shows an invalid read accessing m_item in MakeJob. I think the item accessed is a directory, which got wiped during the tree update. I could only get the crash using at least one directory target.
*** Bug 316967 has been marked as a duplicate of this bug. *** *** Bug 317580 has been marked as a duplicate of this bug. *** Created attachment 78579 [details]
New crash information added by DrKonqi
kdevelop (4.4.1) on KDE Platform 4.10.00 "release 1" using Qt 4.8.4
I was trying to build KDeveloper project using CMake
-- Backtrace (Reduced):
#7 0x00007fe2fabdf2f1 in MakeJob::start (this=0x6dbe560) at /usr/src/debug/kdevelop-4.4.1/projectbuilders/makebuilder/makejob.cpp:94
#8 0x00007fe333dcae25 in KDevelop::RunController::registerJob (this=0x1c8f4b0, job=0x7fe3348ee090) at /usr/src/debug/kdevplatform-1.4.1/shell/runcontroller.cpp:566
[...]
#10 0x00007fe334392b92 in KJob::result (this=this@entry=0x6543dd0, _t1=_t1@entry=0x6543dd0) at /usr/src/debug/kdelibs-4.10.0/build/kdecore/kjob.moc:208
#11 0x00007fe334392bd0 in KJob::emitResult (this=0x6543dd0) at /usr/src/debug/kdelibs-4.10.0/kdecore/jobs/kjob.cpp:318
#12 0x00007fe2f90452e7 in CMakeJob::slotCompleted (this=0x6543dd0) at /usr/src/debug/kdevelop-4.4.1/projectbuilders/cmakebuilder/cmakejob.cpp:127
This was most likely fixed by http://commits.kde.org/kdevelop/6f654f7d0e9e85b542d5f19afb1dd552e1891edb I can't reproduce at the moment, if that's not the case, please re-open. |