Bug 221994

Summary: kdevelop4 crashes during parsing (QualifiedIdentifier::makeConstant()) [KDevelop::QualifiedIdentifier::makeConstant, KDevelop::QualifiedIdentifier::index, IndexedQualifiedIdentifier]
Product: [Applications] kdevelop Reporter: Max Schwarz <max.schwarz>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, david.nolden.kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Max Schwarz 2010-01-10 01:04:23 UTC
Application: kdevelop (3.9.97 (using KDevPlatform 0.9.97))
KDE Platform Version: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-17-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
Happens during parsing of all project files, removing .kdevduchain doesn't help.
Compiled kdevplatform + kdevelop from SVN, kdelibs are 4.3.85.

The crash can be reproduced everytime.

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

Thread 10 (Thread 0xb4eb4b70 (LWP 19047)):
#0  0x003fc422 in __kernel_vsyscall ()
#1  0x009f7142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x05a1b28f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x019e0635 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x961b520) at /home/max/src/kdevplatform/language/duchain/duchain.cpp:286
#4  0x05a1a3ae in ?? () from /usr/lib/libQtCore.so.4
#5  0x009f280e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0x08bda7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xb46b3b70 (LWP 19048)):
#0  0x003fc422 in __kernel_vsyscall ()
#1  0x009f6e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x05a1b307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x002168a0 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x0021941c in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x0021526b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00219512 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00216b23 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x002174fe in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x00217b1b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#10 0x05a1a3ae in ?? () from /usr/lib/libQtCore.so.4
#11 0x009f280e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x08bda7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xb3eb2b70 (LWP 19049)):
#0  0x003fc422 in __kernel_vsyscall ()
#1  0x08ba4a26 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2  0x08bd42dc in usleep () from /lib/tls/i686/cmov/libc.so.6
#3  0x01a28cc2 in KDevelop::DUChainLock::lockForWrite (this=0x96150c4, timeout=0) at /home/max/src/kdevplatform/language/duchain/duchainlock.cpp:198
#4  0x01a28d7e in KDevelop::DUChainWriteLocker::lock (this=0xb3eb090c) at /home/max/src/kdevplatform/language/duchain/duchainlock.cpp:296
#5  0x01a28dde in DUChainWriteLocker (this=0xb3eb090c, duChainLock=0x96150c4, timeout=0) at /home/max/src/kdevplatform/language/duchain/duchainlock.cpp:281
#6  0x02fbeda4 in CMakeProjectVisitor::createDefinitions (this=0xb3eb1d84, ast=0xb26da78) at /home/max/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2086
#7  0x02fc61eb in CMakeProjectVisitor::walk (this=0xb3eb1d84, fc=..., line=237, isClean=false) at /home/max/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2054
#8  0x02fdb267 in CMakeProjectVisitor::visit (this=0xb3eb1d84, fea=0xb278d10) at /home/max/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1621
#9  0x02fb7e08 in ForeachAst::accept (this=0xb278d10, visitor=0xb3eb1d84) at /home/max/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:352
#10 0x02fc62e4 in CMakeProjectVisitor::walk (this=0xb3eb1d84, fc=..., line=235, isClean=false) at /home/max/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#11 0x02fe0058 in CMakeProjectVisitor::visit (this=0xb3eb1d84, ifast=0xa922550) at /home/max/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#12 0x02fb7f28 in IfAst::accept (this=0xa922550, visitor=0xb3eb1d84) at /home/max/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:426
#13 0x02fc62e4 in CMakeProjectVisitor::walk (this=0xb3eb1d84, fc=..., line=102, isClean=true) at /home/max/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#14 0x02fde11c in CMakeProjectVisitor::visit (this=0xb3eb1d84, pack=0x9eae690) at /home/max/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:584
#15 0x02fb7d88 in FindPackageAst::accept (this=0x9eae690, visitor=0xb3eb1d84) at /home/max/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:307
#16 0x02fc62e4 in CMakeProjectVisitor::walk (this=0xb3eb1d84, fc=..., line=7, isClean=false) at /home/max/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#17 0x02fe0058 in CMakeProjectVisitor::visit (this=0xb3eb1d84, ifast=0xae8bee0) at /home/max/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#18 0x02fb7f28 in IfAst::accept (this=0xae8bee0, visitor=0xb3eb1d84) at /home/max/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:426
#19 0x02fc62e4 in CMakeProjectVisitor::walk (this=0xb3eb1d84, fc=..., line=0, isClean=false) at /home/max/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#20 0x0582d7d3 in CMakeManager::parse (this=0x9678e00, item=0x9ea0b50) at /home/max/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:405
#21 0x00557346 in KDevelop::ImportProjectJobPrivate::import (this=0x99d5148, folder=0x9669be0) at /home/max/src/kdevplatform/project/importprojectjob.cpp:53
#22 KDevelop::ImportProjectJobPrivate::import (this=0x99d5148, folder=0x9669be0) at /home/max/src/kdevplatform/project/importprojectjob.cpp:57
#23 0x00556dc4 in QtConcurrent::VoidStoredMemberFunctionPointerCall1<void, KDevelop::ImportProjectJobPrivate, KDevelop::ProjectFolderItem*, KDevelop::ProjectFolderItem*>::runFunctor (this=0x9a030c0)
    at /usr/include/qt4/QtCore/qtconcurrentstoredfunctioncall.h:426
#24 0x005570ee in QtConcurrent::RunFunctionTask<void>::run (this=0x9a030c0) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
#25 0x05a0f17c in ?? () from /usr/lib/libQtCore.so.4
#26 0x05a1a3ae in ?? () from /usr/lib/libQtCore.so.4
#27 0x009f280e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#28 0x08bda7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xb0b8fb70 (LWP 19164)):
#0  0x003fc422 in __kernel_vsyscall ()
#1  0x009f6e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0185ebb7 in ?? () from /usr/lib/libQtScript.so.4
#3  0x0185ec01 in ?? () from /usr/lib/libQtScript.so.4
#4  0x009f280e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x08bda7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xafa62b70 (LWP 19172)):
#0  0x00530e06 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x05b44d1b in ?? () from /usr/lib/libQtCore.so.4
#2  0x05b49de5 in ?? () from /usr/lib/libQtCore.so.4
#3  0x05b49e2a in ?? () from /usr/lib/libQtCore.so.4
#4  0x05b47e18 in ?? () from /usr/lib/libQtCore.so.4
#5  0x05b47ea5 in ?? () from /usr/lib/libQtCore.so.4
#6  0x02a96f90 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x02a97351 in ?? () from /lib/libglib-2.0.so.0
#8  0x02a97863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x05b47c0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x05b1a4c9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x05b1a91a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x05a17558 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x01ae5310 in KDevelop::CompletionWorkerThread::run (this=0x9f73f00) at /home/max/src/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82
#14 0x05a1a3ae in ?? () from /usr/lib/libQtCore.so.4
#15 0x009f280e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x08bda7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xaf261b70 (LWP 19173)):
#0  0x02a96b43 in g_main_context_check () from /lib/libglib-2.0.so.0
#1  0x02a9747c in ?? () from /lib/libglib-2.0.so.0
#2  0x02a97863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x05b47c0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x05b1a4c9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x05b1a91a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x05a17558 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x01ae5310 in KDevelop::CompletionWorkerThread::run (this=0x9f75c88) at /home/max/src/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82
#8  0x05a1a3ae in ?? () from /usr/lib/libQtCore.so.4
#9  0x009f280e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x08bda7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xaea60b70 (LWP 19175)):
#0  0x003fc422 in __kernel_vsyscall ()
#1  0x009f7142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x05a19c9e in ?? () from /usr/lib/libQtCore.so.4
#3  0x05a19df3 in QThread::msleep(unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x03c1d01b in UIBlockTester::UIBlockTesterThread::run (this=0x9f8ecf8) at /home/max/src/kdevelop/languages/cpp/cpplanguagesupport.cpp:672
#5  0x05a1a3ae in ?? () from /usr/lib/libQtCore.so.4
#6  0x009f280e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x08bda7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xadcdcb70 (LWP 19186)):
#0  0x003fc422 in __kernel_vsyscall ()
#1  0x08ba4a26 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2  0x08bd42dc in usleep () from /lib/tls/i686/cmov/libc.so.6
#3  0x01a28cc2 in KDevelop::DUChainLock::lockForWrite (this=0x96150c4, timeout=0) at /home/max/src/kdevplatform/language/duchain/duchainlock.cpp:198
#4  0x01a28d7e in KDevelop::DUChainWriteLocker::lock (this=0xadcc8f04) at /home/max/src/kdevplatform/language/duchain/duchainlock.cpp:296
#5  0x01a28dde in DUChainWriteLocker (this=0xadcc8f04, duChainLock=0x96150c4, timeout=0) at /home/max/src/kdevplatform/language/duchain/duchainlock.cpp:281
#6  0x03c38b25 in PreprocessJob::run (this=0xb097560) at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:269
#7  0x03c29fa2 in CPPParseJob::parseForeground (this=0xb1b9310) at /home/max/src/kdevelop/languages/cpp/cppparsejob.cpp:203
#8  0x03c3a951 in PreprocessJob::sourceNeeded (this=0xb298310, _fileName=..., type=rpp::Preprocessor::IncludeGlobal, sourceLine=567, skipCurrentPath=false)
    at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:574
#9  0x08762c3b in rpp::pp::handle_include (this=0xadcc97a8, skip_current_path=<value optimized out>, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#10 0x0876340b in rpp::pp::handle_directive (this=0xadcc97a8, directive=73852, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#11 0x08763a58 in rpp::pp::operator() (this=0xadcc97a8, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#12 0x08763d5d in rpp::pp::processFileInternal (this=0xadcc97a8, fileName=..., fileContents=..., result=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#13 0x08763e05 in rpp::pp::processFile (this=0xadcc97a8, fileName=..., data=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#14 0x03c387f3 in PreprocessJob::run (this=0xb298310) at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:236
#15 0x03c29fa2 in CPPParseJob::parseForeground (this=0xaff7168) at /home/max/src/kdevelop/languages/cpp/cppparsejob.cpp:203
#16 0x03c3a951 in PreprocessJob::sourceNeeded (this=0xb126a10, _fileName=..., type=rpp::Preprocessor::IncludeGlobal, sourceLine=41, skipCurrentPath=false)
    at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:574
#17 0x08762c3b in rpp::pp::handle_include (this=0xadccb118, skip_current_path=<value optimized out>, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#18 0x0876340b in rpp::pp::handle_directive (this=0xadccb118, directive=73852, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#19 0x08763a58 in rpp::pp::operator() (this=0xadccb118, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#20 0x08763d5d in rpp::pp::processFileInternal (this=0xadccb118, fileName=..., fileContents=..., result=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#21 0x08763e05 in rpp::pp::processFile (this=0xadccb118, fileName=..., data=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#22 0x03c387f3 in PreprocessJob::run (this=0xb126a10) at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:236
#23 0x03c29fa2 in CPPParseJob::parseForeground (this=0x9f36b70) at /home/max/src/kdevelop/languages/cpp/cppparsejob.cpp:203
#24 0x03c3a951 in PreprocessJob::sourceNeeded (this=0xb043678, _fileName=..., type=rpp::Preprocessor::IncludeGlobal, sourceLine=161, skipCurrentPath=false)
    at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:574
#25 0x08762c3b in rpp::pp::handle_include (this=0xadccca88, skip_current_path=<value optimized out>, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#26 0x0876340b in rpp::pp::handle_directive (this=0xadccca88, directive=73852, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#27 0x08763a58 in rpp::pp::operator() (this=0xadccca88, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#28 0x08763d5d in rpp::pp::processFileInternal (this=0xadccca88, fileName=..., fileContents=..., result=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#29 0x08763e05 in rpp::pp::processFile (this=0xadccca88, fileName=..., data=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#30 0x03c387f3 in PreprocessJob::run (this=0xb043678) at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:236
#31 0x03c29fa2 in CPPParseJob::parseForeground (this=0xb0b8658) at /home/max/src/kdevelop/languages/cpp/cppparsejob.cpp:203
#32 0x03c3a951 in PreprocessJob::sourceNeeded (this=0xa9fdee8, _fileName=..., type=rpp::Preprocessor::IncludeGlobal, sourceLine=33, skipCurrentPath=false)
    at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:574
#33 0x08762c3b in rpp::pp::handle_include (this=0xadcce3f8, skip_current_path=<value optimized out>, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#34 0x0876340b in rpp::pp::handle_directive (this=0xadcce3f8, directive=73852, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#35 0x08763a58 in rpp::pp::operator() (this=0xadcce3f8, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#36 0x08763d5d in rpp::pp::processFileInternal (this=0xadcce3f8, fileName=..., fileContents=..., result=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#37 0x08763e05 in rpp::pp::processFile (this=0xadcce3f8, fileName=..., data=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#38 0x03c387f3 in PreprocessJob::run (this=0xa9fdee8) at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:236
#39 0x03c29fa2 in CPPParseJob::parseForeground (this=0xabec938) at /home/max/src/kdevelop/languages/cpp/cppparsejob.cpp:203
#40 0x03c3a951 in PreprocessJob::sourceNeeded (this=0xafbfad0, _fileName=..., type=rpp::Preprocessor::IncludeGlobal, sourceLine=40, skipCurrentPath=false)
    at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:574
#41 0x08762c3b in rpp::pp::handle_include (this=0xadccfd68, skip_current_path=<value optimized out>, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#42 0x0876340b in rpp::pp::handle_directive (this=0xadccfd68, directive=73852, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#43 0x08763a58 in rpp::pp::operator() (this=0xadccfd68, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#44 0x08763d5d in rpp::pp::processFileInternal (this=0xadccfd68, fileName=..., fileContents=..., result=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#45 0x08763e05 in rpp::pp::processFile (this=0xadccfd68, fileName=..., data=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#46 0x03c387f3 in PreprocessJob::run (this=0xafbfad0) at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:236
#47 0x03c29fa2 in CPPParseJob::parseForeground (this=0xb0b6850) at /home/max/src/kdevelop/languages/cpp/cppparsejob.cpp:203
#48 0x03c3a951 in PreprocessJob::sourceNeeded (this=0xadd4a38, _fileName=..., type=rpp::Preprocessor::IncludeGlobal, sourceLine=52, skipCurrentPath=false)
    at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:574
#49 0x08762c3b in rpp::pp::handle_include (this=0xadcd16d8, skip_current_path=<value optimized out>, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#50 0x0876340b in rpp::pp::handle_directive (this=0xadcd16d8, directive=73852, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#51 0x08763a58 in rpp::pp::operator() (this=0xadcd16d8, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#52 0x08763d5d in rpp::pp::processFileInternal (this=0xadcd16d8, fileName=..., fileContents=..., result=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#53 0x08763e05 in rpp::pp::processFile (this=0xadcd16d8, fileName=..., data=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#54 0x03c387f3 in PreprocessJob::run (this=0xadd4a38) at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:236
#55 0x03c29fa2 in CPPParseJob::parseForeground (this=0xade0a80) at /home/max/src/kdevelop/languages/cpp/cppparsejob.cpp:203
#56 0x03c3a951 in PreprocessJob::sourceNeeded (this=0xac8e400, _fileName=..., type=rpp::Preprocessor::IncludeGlobal, sourceLine=55, skipCurrentPath=false)
    at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:574
#57 0x08762c3b in rpp::pp::handle_include (this=0xadcd3048, skip_current_path=<value optimized out>, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#58 0x0876340b in rpp::pp::handle_directive (this=0xadcd3048, directive=73852, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#59 0x08763a58 in rpp::pp::operator() (this=0xadcd3048, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#60 0x08763d5d in rpp::pp::processFileInternal (this=0xadcd3048, fileName=..., fileContents=..., result=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#61 0x08763e05 in rpp::pp::processFile (this=0xadcd3048, fileName=..., data=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#62 0x03c387f3 in PreprocessJob::run (this=0xac8e400) at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:236
#63 0x03c29fa2 in CPPParseJob::parseForeground (this=0xaae16b0) at /home/max/src/kdevelop/languages/cpp/cppparsejob.cpp:203
#64 0x03c3a951 in PreprocessJob::sourceNeeded (this=0xa8718e8, _fileName=..., type=rpp::Preprocessor::IncludeGlobal, sourceLine=43, skipCurrentPath=false)
    at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:574
#65 0x08762c3b in rpp::pp::handle_include (this=0xadcd49b8, skip_current_path=<value optimized out>, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#66 0x0876340b in rpp::pp::handle_directive (this=0xadcd49b8, directive=73852, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#67 0x08763a58 in rpp::pp::operator() (this=0xadcd49b8, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#68 0x08763d5d in rpp::pp::processFileInternal (this=0xadcd49b8, fileName=..., fileContents=..., result=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#69 0x08763e05 in rpp::pp::processFile (this=0xadcd49b8, fileName=..., data=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#70 0x03c387f3 in PreprocessJob::run (this=0xa8718e8) at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:236
#71 0x03c29fa2 in CPPParseJob::parseForeground (this=0xa870ff0) at /home/max/src/kdevelop/languages/cpp/cppparsejob.cpp:203
#72 0x03c3a951 in PreprocessJob::sourceNeeded (this=0x93d4650, _fileName=..., type=rpp::Preprocessor::IncludeGlobal, sourceLine=40, skipCurrentPath=false)
    at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:574
#73 0x08762c3b in rpp::pp::handle_include (this=0xadcd6328, skip_current_path=<value optimized out>, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#74 0x0876340b in rpp::pp::handle_directive (this=0xadcd6328, directive=73852, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#75 0x08763a58 in rpp::pp::operator() (this=0xadcd6328, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#76 0x08763d5d in rpp::pp::processFileInternal (this=0xadcd6328, fileName=..., fileContents=..., result=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#77 0x08763e05 in rpp::pp::processFile (this=0xadcd6328, fileName=..., data=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#78 0x03c387f3 in PreprocessJob::run (this=0x93d4650) at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:236
#79 0x03c29fa2 in CPPParseJob::parseForeground (this=0x93d6fb0) at /home/max/src/kdevelop/languages/cpp/cppparsejob.cpp:203
#80 0x03c3a951 in PreprocessJob::sourceNeeded (this=0x93cdd18, _fileName=..., type=rpp::Preprocessor::IncludeGlobal, sourceLine=40, skipCurrentPath=false)
    at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:574
#81 0x08762c3b in rpp::pp::handle_include (this=0xadcd7c98, skip_current_path=<value optimized out>, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#82 0x0876340b in rpp::pp::handle_directive (this=0xadcd7c98, directive=73852, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#83 0x08763a58 in rpp::pp::operator() (this=0xadcd7c98, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#84 0x08763d5d in rpp::pp::processFileInternal (this=0xadcd7c98, fileName=..., fileContents=..., result=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#85 0x08763e05 in rpp::pp::processFile (this=0xadcd7c98, fileName=..., data=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#86 0x03c387f3 in PreprocessJob::run (this=0x93cdd18) at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:236
#87 0x03c29fa2 in CPPParseJob::parseForeground (this=0x937a710) at /home/max/src/kdevelop/languages/cpp/cppparsejob.cpp:203
#88 0x03c3a951 in PreprocessJob::sourceNeeded (this=0xa8842a8, _fileName=..., type=rpp::Preprocessor::IncludeLocal, sourceLine=0, skipCurrentPath=false)
    at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:574
#89 0x08762c3b in rpp::pp::handle_include (this=0xadcd9608, skip_current_path=<value optimized out>, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#90 0x0876340b in rpp::pp::handle_directive (this=0xadcd9608, directive=73852, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#91 0x08763a58 in rpp::pp::operator() (this=0xadcd9608, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#92 0x08763d5d in rpp::pp::processFileInternal (this=0xadcd9608, fileName=..., fileContents=..., result=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#93 0x08763e05 in rpp::pp::processFile (this=0xadcd9608, fileName=..., data=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#94 0x03c387f3 in PreprocessJob::run (this=0xa8842a8) at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:236
#95 0x03c29fa2 in CPPParseJob::parseForeground (this=0x93c9090) at /home/max/src/kdevelop/languages/cpp/cppparsejob.cpp:203
#96 0x03c3a951 in PreprocessJob::sourceNeeded (this=0xa666390, _fileName=..., type=rpp::Preprocessor::IncludeGlobal, sourceLine=3, skipCurrentPath=false)
    at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:574
#97 0x08762c3b in rpp::pp::handle_include (this=0xadcdaf78, skip_current_path=<value optimized out>, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#98 0x0876340b in rpp::pp::handle_directive (this=0xadcdaf78, directive=73852, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#99 0x08763a58 in rpp::pp::operator() (this=0xadcdaf78, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#100 0x08763d5d in rpp::pp::processFileInternal (this=0xadcdaf78, fileName=..., fileContents=..., result=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#101 0x08763e05 in rpp::pp::processFile (this=0xadcdaf78, fileName=..., data=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#102 0x03c387f3 in PreprocessJob::run (this=0xa666390) at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:236
#103 0x0021852d in ?? () from /usr/lib/libthreadweaver.so.4
#104 0x00218891 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#105 0x0021a273 in ?? () from /usr/lib/libthreadweaver.so.4
#106 0x0021abe8 in ThreadWeaver::JobCollection::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#107 0x002174ca in ?? () from /usr/lib/libthreadweaver.so.4
#108 0x00217b1b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#109 0x05a1a3ae in ?? () from /usr/lib/libQtCore.so.4
#110 0x009f280e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#111 0x08bda7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xad4dbb70 (LWP 19187)):
[KCrash Handler]
#6  0x08b78f0c in ?? () from /lib/tls/i686/cmov/libc.so.6
#7  0x08b7ac38 in ?? () from /lib/tls/i686/cmov/libc.so.6
#8  0x08b7d806 in free () from /lib/tls/i686/cmov/libc.so.6
#9  0x0093d6f1 in operator delete(void*) () from /usr/lib/libstdc++.so.6
#10 0x01a2c7a4 in KDevelop::QualifiedIdentifier::makeConstant (this=0xfc2a4100) at /home/max/src/kdevplatform/language/duchain/identifier.cpp:947
#11 0x01a2c8e2 in KDevelop::QualifiedIdentifier::index (this=0xad4cba40) at /home/max/src/kdevplatform/language/duchain/identifier.cpp:496
#12 0x01a2cb18 in IndexedQualifiedIdentifier (this=0xad4cba60, id=...) at /home/max/src/kdevplatform/language/duchain/identifier.cpp:1150
#13 0x019edc8e in KDevelop::DUContext::findLocalDeclarationsInternal (this=0xad796c0, identifier=..., position=..., dataType=..., ret=..., flags=...)
    at /home/max/src/kdevplatform/language/duchain/ducontext.cpp:793
#14 0x03d07007 in Cpp::CppDUContext<KDevelop::DUContext>::findLocalDeclarationsInternal (this=0xad796c0, identifier=..., position=..., dataType=..., ret=..., source=0xa9a5eb8, flags=...)
    at /home/max/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:388
#15 0x019ee9c2 in KDevelop::DUContext::applyAliases (this=0xad796c0, baseIdentifiers=..., identifiers=..., position=..., canBeNamespace=false, onlyImports=true)
    at /home/max/src/kdevplatform/language/duchain/ducontext.cpp:1380
#16 0x019ef155 in KDevelop::DUContext::findDeclarationsInternal (this=0xad796c0, baseIdentifiers=..., position=..., dataType=..., ret=..., source=0xb0940c8, flags=..., depth=2)
    at /home/max/src/kdevplatform/language/duchain/ducontext.cpp:848
#17 0x03d0c4d2 in Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal (this=0xad796c0, identifiers=..., position=..., dataType=..., ret=..., source=0xb0940c8, basicFlags=..., depth=2)
    at /home/max/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:280
#18 0x019ef3b2 in KDevelop::DUContext::findDeclarationsInternal (this=0xad78fd8, baseIdentifiers=..., position=..., dataType=..., ret=..., source=0xb0940c8, flags=..., depth=1)
    at /home/max/src/kdevplatform/language/duchain/ducontext.cpp:878
#19 0x03d0c4d2 in Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal (this=0xad78fd8, identifiers=..., position=..., dataType=..., ret=..., source=0xb0940c8, basicFlags=..., depth=1)
    at /home/max/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:280
#20 0x019ef3b2 in KDevelop::DUContext::findDeclarationsInternal (this=0xb2478f0, baseIdentifiers=..., position=..., dataType=..., ret=..., source=0xb0940c8, flags=..., depth=0)
    at /home/max/src/kdevplatform/language/duchain/ducontext.cpp:878
#21 0x03d0c4d2 in Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal (this=0xb2478f0, identifiers=..., position=..., dataType=..., ret=..., source=0xb0940c8, basicFlags=..., depth=0)
    at /home/max/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:280
#22 0x03d6f48c in Cpp::FindDeclaration::closeIdentifier (this=0xad4d0788, isFinalIdentifier=true) at /home/max/src/kdevelop/languages/cpp/cppduchain/cppducontext.cpp:228
#23 0x03d0b371 in Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal (this=0xb2478f0, identifier=..., position=..., dataType=..., ret=..., source=0xb0940c8, basicFlags=...)
    at /home/max/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:361
#24 0x03d0c2d6 in Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal (this=0xb2478f0, identifiers=..., position=..., dataType=..., ret=..., source=0xb0940c8, basicFlags=)
    at /home/max/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:285
#25 0x03d85662 in DelayedTypeResolver::exchange(TypePtr<KDevelop::AbstractType> const&) () from /home/max/kde4/lib/libkdev4cppduchain.so
#26 0x03d782d4 in Cpp::resolveDelayedTypes (type=) at /home/max/src/kdevelop/languages/cpp/cppduchain/templatedeclaration.cpp:1035
#27 0x03d0afbf in Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal (this=0xb2478f0, identifier=..., position=..., dataType=..., ret=..., source=0xb0940c8, basicFlags=...)
    at /home/max/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:344
#28 0x03d0c2d6 in Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal (this=0xb2478f0, identifiers=..., position=..., dataType=..., ret=..., source=0xb0940c8, basicFlags=)
    at /home/max/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:285
#29 0x019ee7ae in KDevelop::DUContext::findDeclarations (this=0xb2478f0, identifier=..., position=..., dataType=..., topContext=0x0, flags=...)
    at /home/max/src/kdevplatform/language/duchain/ducontext.cpp:929
#30 0x03d44d60 in TypeBuilder::openTypeFromName (this=0xad4d2b78, name=0xb2364a0, modifiers=0, needClass=false) at /home/max/src/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:416
#31 0x03d45744 in TypeBuilder::visitSimpleTypeSpecifier (this=0xad4d2b78, node=0xb2364c0) at /home/max/src/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:341
#32 0x0378d9c3 in Visitor::visit (this=0xad4d2ba8, node=0xf000050) at /home/max/src/kdevelop/languages/cpp/parser/visitor.cpp:113
#33 0x03d4306c in TypeBuilder::visitSimpleDeclaration (this=0xad4d2b78, node=0xb2366c0) at /home/max/src/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:536
#34 0x03d11894 in DeclarationBuilder::visitSimpleDeclaration (this=0xad4d2b78, node=0xb2366c0) at /home/max/src/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:266
#35 0x0378d9c3 in Visitor::visit (this=0xad4d2ba8, node=0xf000050) at /home/max/src/kdevelop/languages/cpp/parser/visitor.cpp:113
#36 0x0378c701 in visitNodes<DeclarationAST*> (v=0xad4d2ba8, nodes=0xb2366ec) at /home/max/src/kdevelop/languages/cpp/parser/visitor.h:128
#37 0x03cfd687 in ContextBuilder::visitClassSpecifier (this=0xad4d2b78, node=0xb236224) at /home/max/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:647
#38 0x03d441c5 in TypeBuilder::visitClassSpecifier (this=0xad4d2b78, node=0xb236224) at /home/max/src/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:79
#39 0x03d16ae6 in DeclarationBuilder::visitClassSpecifier (this=0xad4d2b78, node=0xb236224) at /home/max/src/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:992
#40 0x0378d9c3 in Visitor::visit (this=0xad4d2ba8, node=0xf000050) at /home/max/src/kdevelop/languages/cpp/parser/visitor.cpp:113
#41 0x03d4306c in TypeBuilder::visitSimpleDeclaration (this=0xad4d2b78, node=0xb239c80) at /home/max/src/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:536
#42 0x03d11894 in DeclarationBuilder::visitSimpleDeclaration (this=0xad4d2b78, node=0xb239c80) at /home/max/src/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:266
#43 0x0378d9c3 in Visitor::visit (this=0xad4d2ba8, node=0xf000050) at /home/max/src/kdevelop/languages/cpp/parser/visitor.cpp:113
#44 0x0378c701 in visitNodes<DeclarationAST*> (v=0xad4d2ba8, nodes=0xb239cb8) at /home/max/src/kdevelop/languages/cpp/parser/visitor.h:128
#45 0x0378d9c3 in Visitor::visit (this=0xad4d2ba8, node=0xf000050) at /home/max/src/kdevelop/languages/cpp/parser/visitor.cpp:113
#46 0x03cfbcec in ContextBuilder::startVisiting (this=0xad4d2b78, node=0xb236120) at /home/max/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:226
#47 0x03d28391 in KDevelop::AbstractTypeBuilder<AST, NameAST, ContextBuilder>::supportBuild(AST*, KDevelop::DUContext*) () from /home/max/kde4/lib/libkdev4cppduchain.so
#48 0x03d01d62 in ContextBuilder::buildContexts (this=0xad4d2b78, file=..., node=0xb236120, includes=0xad4d3170, updateContext=..., removeOldImports=false)
    at /home/max/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:491
#49 0x03d10aaf in DeclarationBuilder::buildDeclarations (this=0xad4d2b78, file=..., node=0xb236120, includes=0xad4d3170, updateContext=..., removeOldImports=<value optimized out>)
    at /home/max/src/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:105
#50 0x03c309f6 in CPPInternalParseJob::run (this=0xaff7f78) at /home/max/src/kdevelop/languages/cpp/cppparsejob.cpp:650
#51 0x03c29fad in CPPParseJob::parseForeground (this=0xafb08f8) at /home/max/src/kdevelop/languages/cpp/cppparsejob.cpp:204
#52 0x03c3a951 in PreprocessJob::sourceNeeded (this=0xa970d48, _fileName=..., type=rpp::Preprocessor::IncludeLocal, sourceLine=40, skipCurrentPath=false)
    at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:574
#53 0x08762c3b in rpp::pp::handle_include (this=0xad4d39b8, skip_current_path=<value optimized out>, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#54 0x0876340b in rpp::pp::handle_directive (this=0xad4d39b8, directive=73852, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#55 0x08763a58 in rpp::pp::operator() (this=0xad4d39b8, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#56 0x08763d5d in rpp::pp::processFileInternal (this=0xad4d39b8, fileName=..., fileContents=..., result=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#57 0x08763e05 in rpp::pp::processFile (this=0xad4d39b8, fileName=..., data=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#58 0x03c387f3 in PreprocessJob::run (this=0xa970d48) at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:236
#59 0x03c29fa2 in CPPParseJob::parseForeground (this=0xa970750) at /home/max/src/kdevelop/languages/cpp/cppparsejob.cpp:203
#60 0x03c3a951 in PreprocessJob::sourceNeeded (this=0xa962bb8, _fileName=..., type=rpp::Preprocessor::IncludeLocal, sourceLine=19, skipCurrentPath=false)
    at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:574
#61 0x08762c3b in rpp::pp::handle_include (this=0xad4d5328, skip_current_path=<value optimized out>, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#62 0x0876340b in rpp::pp::handle_directive (this=0xad4d5328, directive=73852, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#63 0x08763a58 in rpp::pp::operator() (this=0xad4d5328, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#64 0x08763d5d in rpp::pp::processFileInternal (this=0xad4d5328, fileName=..., fileContents=..., result=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#65 0x08763e05 in rpp::pp::processFile (this=0xad4d5328, fileName=..., data=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#66 0x03c387f3 in PreprocessJob::run (this=0xa962bb8) at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:236
#67 0x03c29fa2 in CPPParseJob::parseForeground (this=0xa9633f0) at /home/max/src/kdevelop/languages/cpp/cppparsejob.cpp:203
#68 0x03c3a951 in PreprocessJob::sourceNeeded (this=0xa95a160, _fileName=..., type=rpp::Preprocessor::IncludeGlobal, sourceLine=30, skipCurrentPath=false)
    at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:574
#69 0x08762c3b in rpp::pp::handle_include (this=0xad4d6c98, skip_current_path=<value optimized out>, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#70 0x0876340b in rpp::pp::handle_directive (this=0xad4d6c98, directive=73852, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#71 0x08763a58 in rpp::pp::operator() (this=0xad4d6c98, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#72 0x08763d5d in rpp::pp::processFileInternal (this=0xad4d6c98, fileName=..., fileContents=..., result=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#73 0x08763e05 in rpp::pp::processFile (this=0xad4d6c98, fileName=..., data=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#74 0x03c387f3 in PreprocessJob::run (this=0xa95a160) at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:236
#75 0x03c29fa2 in CPPParseJob::parseForeground (this=0xa8649c8) at /home/max/src/kdevelop/languages/cpp/cppparsejob.cpp:203
#76 0x03c3a951 in PreprocessJob::sourceNeeded (this=0xa963ff8, _fileName=..., type=rpp::Preprocessor::IncludeLocal, sourceLine=6, skipCurrentPath=false)
    at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:574
#77 0x08762c3b in rpp::pp::handle_include (this=0xad4d8608, skip_current_path=<value optimized out>, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#78 0x0876340b in rpp::pp::handle_directive (this=0xad4d8608, directive=73852, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#79 0x08763a58 in rpp::pp::operator() (this=0xad4d8608, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#80 0x08763d5d in rpp::pp::processFileInternal (this=0xad4d8608, fileName=..., fileContents=..., result=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#81 0x08763e05 in rpp::pp::processFile (this=0xad4d8608, fileName=..., data=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#82 0x03c387f3 in PreprocessJob::run (this=0xa963ff8) at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:236
#83 0x03c29fa2 in CPPParseJob::parseForeground (this=0xa971cf8) at /home/max/src/kdevelop/languages/cpp/cppparsejob.cpp:203
#84 0x03c3a951 in PreprocessJob::sourceNeeded (this=0xa4e5450, _fileName=..., type=rpp::Preprocessor::IncludeLocal, sourceLine=1, skipCurrentPath=false)
    at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:574
#85 0x08762c3b in rpp::pp::handle_include (this=0xad4d9f78, skip_current_path=<value optimized out>, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#86 0x0876340b in rpp::pp::handle_directive (this=0xad4d9f78, directive=73852, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#87 0x08763a58 in rpp::pp::operator() (this=0xad4d9f78, input=..., output=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#88 0x08763d5d in rpp::pp::processFileInternal (this=0xad4d9f78, fileName=..., fileContents=..., result=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#89 0x08763e05 in rpp::pp::processFile (this=0xad4d9f78, fileName=..., data=...) at /home/max/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#90 0x03c387f3 in PreprocessJob::run (this=0xa4e5450) at /home/max/src/kdevelop/languages/cpp/preprocessjob.cpp:236
#91 0x0021852d in ?? () from /usr/lib/libthreadweaver.so.4
#92 0x00218891 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#93 0x0021a273 in ?? () from /usr/lib/libthreadweaver.so.4
#94 0x0021abe8 in ThreadWeaver::JobCollection::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#95 0x002174ca in ?? () from /usr/lib/libthreadweaver.so.4
#96 0x00217b1b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#97 0x05a1a3ae in ?? () from /usr/lib/libQtCore.so.4
#98 0x009f280e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#99 0x08bda7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb780a760 (LWP 19046)):
#0  0x003fc422 in __kernel_vsyscall ()
#1  0x009f6e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x05a1b307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x05a0ef8a in ?? () from /usr/lib/libQtCore.so.4
#4  0x05a0f700 in QThreadPool::~QThreadPool() () from /usr/lib/libQtCore.so.4
#5  0x05a0fd1a in ?? () from /usr/lib/libQtCore.so.4
#6  0x08b3d05f in ?? () from /lib/tls/i686/cmov/libc.so.6
#7  0x08b3d0cf in exit () from /lib/tls/i686/cmov/libc.so.6
#8  0x01d3827b in ?? () from /usr/lib/libQtGui.so.4
#9  0x0413cd6a in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#10 0x0413cda6 in ?? () from /usr/lib/libkdeui.so.5
#11 0x029102e6 in _XIOError () from /usr/lib/libX11.so.6
#12 0x02917f8a in ?? () from /usr/lib/libX11.so.6
#13 0x029188c6 in _XEventsQueued () from /usr/lib/libX11.so.6
#14 0x029015ff in XEventsQueued () from /usr/lib/libX11.so.6
#15 0x01d76d45 in ?? () from /usr/lib/libQtGui.so.4
#16 0x02a96cd1 in g_main_context_check () from /lib/libglib-2.0.so.0
#17 0x02a9747c in ?? () from /lib/libglib-2.0.so.0
#18 0x02a97863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#19 0x05b47bd5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0x01d76b75 in ?? () from /usr/lib/libQtGui.so.4
#21 0x05b1a4c9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#22 0x05b1a91a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#23 0x05b1eb0f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#24 0x01cb9237 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#25 0x0804dd23 in main (argc=1, argv=0xbf9b2e04) at /home/max/src/kdevelop/app/main.cpp:209

Reported using DrKonqi
Comment 1 David Nolden 2010-01-10 11:43:51 UTC
This might also be a libc bug, try doing "export MALLOC_CHECK_=0" in the command-line before starting kdevelop.

Otherwise, can you pin this problem down to a specific file? (see the log file)
Comment 2 Max Schwarz 2010-01-10 13:04:13 UTC
(In reply to comment #1)
> This might also be a libc bug, try doing "export MALLOC_CHECK_=0" in the
> command-line before starting kdevelop.
Seems like it.

I received another backtrace today:
Thread 1 (Thread 0xb77a5ac0 (LWP 3566)):
[KCrash Handler]
#6  0x00f5d422 in __kernel_vsyscall ()
#7  0x075444d1 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0x07547932 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0x0757aee5 in ?? () from /lib/tls/i686/cmov/libc.so.6
#10 0x07584ff1 in ?? () from /lib/tls/i686/cmov/libc.so.6
#11 0x07589806 in free () from /lib/tls/i686/cmov/libc.so.6
#12 0x023afa1d in qFree(void*) () from /usr/lib/libQtCore.so.4
#13 0x024bf646 in ?? () from /usr/lib/libQtCore.so.4
#14 0x024bf7fe in QMetaObject::normalizedSignature(char const*) () from /usr/lib/libQtCore.so.4
#15 0x024c94f5 in QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) () from /usr/lib/libQtCore.so.4
#16 0x07737c45 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#17 0x07738f4c in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#18 0x0773cd64 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#19 0x07736397 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#20 0x07774ea1 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#21 0x01a26ab8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#22 0x01e6ba44 in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x019c919c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x019cfeb7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0x00d5e67a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#26 0x024b6eab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#27 0x01a1b83b in QWidget::ensurePolished() const () from /usr/lib/libQtGui.so.4
#28 0x01a26a8e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#29 0x01e6ba44 in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#30 0x019c919c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#31 0x019cfeb7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#32 0x00d5e67a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#33 0x024b6eab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#34 0x024b98e3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#35 0x024b9a4d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#36 0x024e30df in ?? () from /usr/lib/libQtCore.so.4
#37 0x02914e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#38 0x02918730 in ?? () from /lib/libglib-2.0.so.0
#39 0x02918863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#40 0x024e2bd5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#41 0x01a86b75 in ?? () from /usr/lib/libQtGui.so.4
#42 0x024b54c9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#43 0x024b591a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#44 0x024b9b0f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#45 0x019c9237 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#46 0x0804dd23 in main (argc=1, argv=0xbfb65014) at /home/max/src/kdevelop/app/main.cpp:209


With MALLOC_CHECK_=0 it runs fine so far.
What should I do now?
Comment 3 Dario Andres 2010-01-10 16:26:47 UTC
Mh, according to bug 216421, the plugin that is crashing is obsolete now, and it should be removed from the installation dir.
Comment 4 Andreas Pakulat 2010-01-10 18:48:10 UTC
Both backtraces are definetly the libc bug.

*** This bug has been marked as a duplicate of bug 206775 ***