I use Yii Framework 1.1.10 and when background parsing starts kdevelop always crashes on 30%-40% parsed. Backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xaa748b70 (LWP 7029)] KDevelop::Declaration::indexedType (this=0x0) at ../../language/duchain/declaration.cpp:305 305 ../../language/duchain/declaration.cpp: No such file or directory. Thread 12 (Thread 0xa9f47b70 (LWP 7030)): #0 0xb7fe2424 in __kernel_vsyscall () #1 0xb658a20a in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 #2 0xb67ff21d in pthread_cond_wait () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 #3 0xb7479bd0 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #4 0xb547e266 in ?? () from /usr/lib/libthreadweaver.so.4 #5 0xb5480d5b in ?? () from /usr/lib/libthreadweaver.so.4 #6 0xb547de9a in ?? () from /usr/lib/libthreadweaver.so.4 #7 0xb5480e5c in ?? () from /usr/lib/libthreadweaver.so.4 #8 0xb547ddf3 in ?? () from /usr/lib/libthreadweaver.so.4 #9 0xb547f994 in ?? () from /usr/lib/libthreadweaver.so.4 #10 0xb547fa4a in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #11 0xb74796c3 in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4 #12 0xb6585c39 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 #13 0xb67f212e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 Thread 11 (Thread 0xaa748b70 (LWP 7029)): #0 KDevelop::Declaration::indexedType (this=0x0) at ../../language/duchain/declaration.cpp:305 #1 0xb5f5d8fd in KDevelop::isPublicBaseClassInternal (self=0x0, base=0x98c49c0, topContext=0xa434dc8, baseConversionLevels=0x0, depth=0, checked=0x0) at ../../language/duchain/classdeclaration.cpp:111 #2 0xb5f5dcf7 in KDevelop::ClassDeclaration::isPublicBaseClass (this=0x0, base=0x98c49c0, topContext=0xa434dc8, baseConversionLevels=0x0) at ../../language/duchain/classdeclaration.cpp:137 #3 0xaaffb2bf in Php::TypeBuilder::visitStatement (this=0xaa747f20, node=0xa8d1817c) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/duchain/builders/typebuilder.cpp:512 #4 0xaafe7a7c in Php::DeclarationBuilder::visitStatement (this=0xaa747f20, node=0xa8d1817c) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/duchain/builders/declarationbuilder.cpp:1029 #5 0xaafad286 in Php::Visitor::visitNode (this=0xaa747f50, node=0xa8d1817c) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/obj-i486-linux-gnu/parser/phpvisitor.cpp:292 #6 0xaafaf74c in Php::DefaultVisitor::visitTopStatement (this=0xaa747f50, node=0xa8d18154) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/obj-i486-linux-gnu/parser/phpdefaultvisitor.cpp:987 #7 0xaafad2fe in Php::Visitor::visitNode (this=0xaa747f50, node=0xa8d18154) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/obj-i486-linux-gnu/parser/phpvisitor.cpp:310 #8 0xaafaeaee in Php::DefaultVisitor::visitInnerStatementList (this=0xaa747f50, node=0xa8d11210) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/obj-i486-linux-gnu/parser/phpdefaultvisitor.cpp:541 #9 0xaafad01a in Php::Visitor::visitNode (this=0xaa747f50, node=0xa8d11210) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/obj-i486-linux-gnu/parser/phpvisitor.cpp:199 #10 0xaafaecca in Php::DefaultVisitor::visitMethodBody (this=0xaa747f50, node=0xa8d111f4) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/obj-i486-linux-gnu/parser/phpdefaultvisitor.cpp:618 #11 0xaaff138c in Php::ContextBuilder::visitClassStatement (this=0xaa747f20, node=0xa8d1116c) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/duchain/builders/contextbuilder.cpp:236 #12 0xaaffa8f2 in Php::TypeBuilder::visitClassStatement (this=0xaa747f20, node=0xa8d1116c) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/duchain/builders/typebuilder.cpp:296 #13 0xaafe969d in Php::DeclarationBuilder::visitClassStatement (this=0xaa747f20, node=0xa8d1116c) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/duchain/builders/declarationbuilder.cpp:340 #14 0xaafacd31 in Php::Visitor::visitNode (this=0xaa747f50, node=0xa8d1116c) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/obj-i486-linux-gnu/parser/phpvisitor.cpp:85 #15 0xaafae04e in Php::DefaultVisitor::visitClassBody (this=0xaa747f50, node=0xa8d26d34) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/obj-i486-linux-gnu/parser/phpdefaultvisitor.cpp:199 #16 0xaafaccdc in Php::Visitor::visitNode (this=0xaa747f50, node=0xa8d26d34) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/obj-i486-linux-gnu/parser/phpvisitor.cpp:70 #17 0xaafae0b8 in Php::DefaultVisitor::visitClassDeclarationStatement (this=0xaa747f50, node=0xa8d26be8) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/obj-i486-linux-gnu/parser/phpdefaultvisitor.cpp:212 #18 0xaaff2794 in Php::ContextBuilder::visitClassDeclarationStatement (this=0xaa747f20, node=0xa8d26be8) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/duchain/builders/contextbuilder.cpp:200 #19 0xaaff76d3 in Php::TypeBuilder::visitClassDeclarationStatement (this=0xaa747f20, node=0xa8d26be8) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/duchain/builders/typebuilder.cpp:278 #20 0xaafeb60a in Php::DeclarationBuilder::visitClassDeclarationStatement (this=0xaa747f20, node=0xa8d26be8) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/duchain/builders/declarationbuilder.cpp:168 #21 0xaafacced in Php::Visitor::visitNode (this=0xaa747f50, node=0xa8d26be8) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/obj-i486-linux-gnu/parser/phpvisitor.cpp:73 #22 0xaafaf76a in Php::DefaultVisitor::visitTopStatement (this=0xaa747f50, node=0xa8d26bc0) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/obj-i486-linux-gnu/parser/phpdefaultvisitor.cpp:989 #23 0xaafad2fe in Php::Visitor::visitNode (this=0xaa747f50, node=0xa8d26bc0) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/obj-i486-linux-gnu/parser/phpvisitor.cpp:310 #24 0xaafaefa1 in Php::DefaultVisitor::visitOuterTopStatement (this=0xaa747f50, node=0xa8d26ba0) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/obj-i486-linux-gnu/parser/phpdefaultvisitor.cpp:727 #25 0xaafe5d30 in Php::DeclarationBuilder::visitOuterTopStatement (this=0xaa747f20, node=0xa8d26ba0) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/duchain/builders/declarationbuilder.cpp:658 #26 0xaafad196 in Php::Visitor::visitNode (this=0xaa747f50, node=0xa8d26ba0) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/obj-i486-linux-gnu/parser/phpvisitor.cpp:256 #27 0xaafaf22e in Php::DefaultVisitor::visitStart (this=0xaa747f50, node=0xac0e1c78) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/obj-i486-linux-gnu/parser/phpdefaultvisitor.cpp:819 #28 0xaafad272 in Php::Visitor::visitNode (this=0xaa747f50, node=0xac0e1c78) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/obj-i486-linux-gnu/parser/phpvisitor.cpp:289 #29 0xaaff2d38 in Php::ContextBuilder::startVisiting (this=0xaa747f20, node=0xac0e1c78) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/duchain/builders/contextbuilder.cpp:116 #30 0xaafe57b9 in Php::DeclarationBuilder::startVisiting (this=0xaa747f20, node=0xac0e1c78) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/duchain/builders/declarationbuilder.cpp:143 #31 0xaafe65b6 in supportBuild (context=0xa434dc8, node=0xac0e1c78, this=0xaa747f20) at /usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:133 #32 supportBuild (context=0xa434dc8, node=0xac0e1c78, this=0xaa747f20) at /usr/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:85 #33 Php::DeclarationBuilder::supportBuild (this=0xaa747f20, node=0xac0e1c78, context=0xa434dc8) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/duchain/builders/declarationbuilder.cpp:1188 #34 0xaafe6901 in build (updateContext=..., node=0xac0e1c78, url=..., this=0xaa747f20) at /usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:113 #35 Php::DeclarationBuilder::build (this=0xaa747f20, url=..., node=0xac0e1c78, updateContext=...) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/duchain/builders/declarationbuilder.cpp:136 #36 0xab076c60 in Php::ParseJob::run (this=0x8fd7918) at /build/buildd-kdevelop-php_1.2.2-1-i386-ISyOCL/kdevelop-php-1.2.2/phpparsejob.cpp:151 #37 0xb548030d in ?? () from /usr/lib/libthreadweaver.so.4 #38 0xb5480473 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #39 0xb5481c90 in ThreadWeaver::JobCollection::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #40 0xb547f962 in ?? () from /usr/lib/libthreadweaver.so.4 #41 0xb547fa4a in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #42 0xb74796c3 in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4 #43 0xb6585c39 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 #44 0xb67f212e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 Thread 10 (Thread 0xaaf49b70 (LWP 7028)): #0 0xb7fe2424 in __kernel_vsyscall () #1 0xb67e4746 in poll () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 #2 0xb5a1bafb in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0xb5a0d076 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #4 0xb5a0d40a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #5 0xb75a25d7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0xb757333d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0xb7573581 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #8 0xb747685b in QThread::exec() () from /usr/lib/libQtCore.so.4 #9 0xb601eee6 in KDevelop::CompletionWorkerThread::run (this=0x9160c68) at ../../language/codecompletion/codecompletionmodel.cpp:80 #10 0xb74796c3 in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4 #11 0xb6585c39 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 #12 0xb67f212e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 Thread 9 (Thread 0xabcfeb70 (LWP 7011)): #0 0xb7fe2424 in __kernel_vsyscall () #1 0xb67e4746 in poll () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 #2 0xb5a1bafb in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0xb5a0d076 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #4 0xb5a0d40a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #5 0xb75a25d7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0xb757333d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0xb7573581 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #8 0xb747685b in QThread::exec() () from /usr/lib/libQtCore.so.4 #9 0xb747694b in QThread::run() () from /usr/lib/libQtCore.so.4 #10 0xb74796c3 in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4 #11 0xb6585c39 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 #12 0xb67f212e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 Thread 8 (Thread 0xad653b70 (LWP 7010)): #0 0xb7fe2424 in __kernel_vsyscall () #1 0xb658a20a in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 #2 0xb67ff21d in pthread_cond_wait () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 #3 0xb4d38bab in ?? () from /usr/lib/libQtWebKit.so.4 #4 0xb4d38ccf in ?? () from /usr/lib/libQtWebKit.so.4 #5 0xb6585c39 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 #6 0xb67f212e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 Thread 7 (Thread 0xace52b70 (LWP 7001)): #0 0xb7fe2424 in __kernel_vsyscall () #1 0xb67e4746 in poll () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 #2 0xb5a1bafb in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0xb5a0d076 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #4 0xb5a0d40a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #5 0xb75a25d7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0xb757333d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0xb7573581 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #8 0xb747685b in QThread::exec() () from /usr/lib/libQtCore.so.4 #9 0xb7553e7d in QInotifyFileSystemWatcherEngine::run() () from /usr/lib/libQtCore.so.4 #10 0xb74796c3 in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4 #11 0xb6585c39 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 #12 0xb67f212e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 Thread 4 (Thread 0xae6e2b70 (LWP 6995)): #0 0xb7fe2424 in __kernel_vsyscall () #1 0xb658a20a in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 #2 0xb67ff21d in pthread_cond_wait () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 #3 0xb7479bd0 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #4 0xb547e266 in ?? () from /usr/lib/libthreadweaver.so.4 #5 0xb5480d5b in ?? () from /usr/lib/libthreadweaver.so.4 #6 0xb547de9a in ?? () from /usr/lib/libthreadweaver.so.4 #7 0xb5480e5c in ?? () from /usr/lib/libthreadweaver.so.4 #8 0xb547ddf3 in ?? () from /usr/lib/libthreadweaver.so.4 #9 0xb547f994 in ?? () from /usr/lib/libthreadweaver.so.4 #10 0xb547fa4a in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #11 0xb74796c3 in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4 #12 0xb6585c39 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 #13 0xb67f212e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 Thread 3 (Thread 0xaef27b70 (LWP 6993)): #0 0xb7fe2424 in __kernel_vsyscall () #1 0xb67eb431 in select () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 #2 0xb7553764 in QProcessManager::run() () from /usr/lib/libQtCore.so.4 #3 0xb74796c3 in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4 #4 0xb6585c39 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 #5 0xb67f212e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 Thread 2 (Thread 0xb020db70 (LWP 6992)): #0 0xb7fe2424 in __kernel_vsyscall () #1 0xb658a703 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 #2 0xb67ff274 in pthread_cond_timedwait () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 #3 0xb7479b5e in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #4 0xb5f1daaa in KDevelop::DUChainPrivate::CleanupThread::run (this=0x83ab648) at ../../language/duchain/duchain.cpp:286 #5 0xb74796c3 in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4 #6 0xb6585c39 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 #7 0xb67f212e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 Thread 1 (Thread 0xb2fe2710 (LWP 6962)): #0 0xb7fe2424 in __kernel_vsyscall () #1 0xb67e4746 in poll () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 #2 0xb5a1bafb in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0xb5a0d076 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #4 0xb5a0d40a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #5 0xb75a25d7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0xb6b61b9a in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtGui.so.4 #7 0xb757333d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #8 0xb7573581 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #9 0xb7577cda in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #10 0xb6aaa784 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #11 0x08051433 in main (argc=<optimized out>, argv=<error reading variable: Cannot access memory at address 0x11>) at ../../app/main.cpp:467
should be fixed, update to 4.3 - if that crash still occurs, reopen. *** This bug has been marked as a duplicate of bug 269369 ***
*** Bug 344908 has been marked as a duplicate of this bug. ***