Bug 219180

Summary: KDevelop Crashed on clicking Build button in project window for new project [KDevelop::Identifier::makeConstant, KDevelop::Identifier::index, IndexedIdentifier]
Product: [Applications] kdevelop Reporter: Blackpaw <lindsay.mathieson>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Blackpaw 2009-12-18 13:58:51 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)) (Compiled from sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.31-16-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
Created new Project from Template - KDE Gui
Opened Project Window
Clicked Build Icon

The crash can be reproduced some of the times.

 -- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
[Current thread is 1 (Thread 0x7ffc93c257f0 (LWP 18197))]

Thread 8 (Thread 0x7ffc7e93b910 (LWP 18198)):
#0  0x00007ffc8e907ed1 in nanosleep () from /lib/libc.so.6
#1  0x00007ffc8e93cb64 in usleep () from /lib/libc.so.6
#2  0x00007ffc8ca4a41e in KDevelop::DUChainLock::lockForWrite (this=0x124b458, timeout=0) at /home/kdetest/kdesvn/kdevplatform/language/duchain/duchainlock.cpp:198
#3  0x00007ffc8ca4a4d4 in KDevelop::DUChainWriteLocker::lock (this=0x7ffc7e93af10) at /home/kdetest/kdesvn/kdevplatform/language/duchain/duchainlock.cpp:296
#4  0x00007ffc8ca04e04 in KDevelop::DUChainPrivate::doMoreCleanup (this=0x124b440, retries=<value optimized out>, needLockRepository=<value optimized out>)
    at /home/kdetest/kdesvn/kdevplatform/language/duchain/duchain.cpp:705
#5  0x00007ffc8ca065d4 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x124a700) at /home/kdetest/kdesvn/kdevplatform/language/duchain/duchain.cpp:294
#6  0x00007ffc90523605 in QThreadPrivate::start (arg=0x124a700) at /home/kdetest/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:244
#7  0x00007ffc90284a04 in start_thread () from /lib/libpthread.so.0
#8  0x00007ffc8e9437bd in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ffc7711f910 (LWP 18243)):
#0  0x00007ffc902895a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffc8d8e2646 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7ffc8dbc2600) at /home/kdetest/kdesvn/qt-copy/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007ffc8d8e2689 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7ffc8dbd06cc) at /home/kdetest/kdesvn/qt-copy/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007ffc90284a04 in start_thread () from /lib/libpthread.so.0
#4  0x00007ffc8e9437bd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ffc72c7f910 (LWP 18469)):
#0  0x00007ffc902886dd in pthread_mutex_unlock () from /lib/libpthread.so.0
#1  0x00007ffc88d8ed9e in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007ffc88d8f181 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007ffc88d8f6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007ffc906401b6 in QEventDispatcherGlib::processEvents (this=0x1dd5b40, flags=<value optimized out>) at /home/kdetest/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:409
#5  0x00007ffc906154b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at /home/kdetest/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#6  0x00007ffc9061588c in QEventLoop::exec (this=0x7ffc72c7efa0, flags=) at /home/kdetest/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:201
#7  0x00007ffc90520bb9 in QThread::exec (this=<value optimized out>) at /home/kdetest/kdesvn/qt-copy/src/corelib/thread/qthread.cpp:487
#8  0x00007ffc90523605 in QThreadPrivate::start (arg=0x20cad80) at /home/kdetest/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:244
#9  0x00007ffc90284a04 in start_thread () from /lib/libpthread.so.0
#10 0x00007ffc8e9437bd in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ffc7247e910 (LWP 18470)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007ffc7247dc90 in ?? ()
#2  0x00007fffe3efa782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x7ffc71c7d910 (LWP 18471)):
#0  0x00007ffc9028982d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffc90522f75 in thread_sleep (ti=0x7ffc71c7cf60) at /home/kdetest/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:394
#2  0x00007ffc905230e0 in QThread::msleep (msecs=<value optimized out>) at /home/kdetest/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:420
#3  0x00007ffc73c4dfc1 in UIBlockTester::UIBlockTesterThread::run (this=0x219ab70) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cpplanguagesupport.cpp:672
#4  0x00007ffc90523605 in QThreadPrivate::start (arg=0x219ab70) at /home/kdetest/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:244
#5  0x00007ffc90284a04 in start_thread () from /lib/libpthread.so.0
#6  0x00007ffc8e9437bd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ffc7147c910 (LWP 18472)):
[KCrash Handler]
#5  0x00007ffc8e8974b5 in raise () from /lib/libc.so.6
#6  0x00007ffc8e89af50 in abort () from /lib/libc.so.6
#7  0x00007ffc8e8cfc97 in ?? () from /lib/libc.so.6
#8  0x00007ffc8e8d9dd6 in ?? () from /lib/libc.so.6
#9  0x00007ffc8ca4dc07 in KDevelop::Identifier::makeConstant (this=0x7ffc7146af00) at /home/kdetest/kdesvn/kdevplatform/language/duchain/identifier.cpp:505
#10 0x00007ffc8ca4dd59 in KDevelop::Identifier::index (this=0x4715) at /home/kdetest/kdesvn/kdevplatform/language/duchain/identifier.cpp:432
#11 0x00007ffc8ca4dfdd in IndexedIdentifier (this=0x7ffc7146ad60, id=...) at /home/kdetest/kdesvn/kdevplatform/language/duchain/identifier.cpp:1050
#12 0x00007ffc8ca50793 in KDevelop::QualifiedIdentifier::push (this=0x34288c8, id=...) at /home/kdetest/kdesvn/kdevplatform/language/duchain/identifier.cpp:844
#13 0x00007ffc73738b4d in Cpp::FindDeclaration::openIdentifier (this=<value optimized out>, identifier=<value optimized out>, position=<value optimized out>, dataType=<value optimized out>, 
    ret=<value optimized out>, source=<value optimized out>, basicFlags=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppduchain/cppducontext.h:110
#14 Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal (this=<value optimized out>, identifier=<value optimized out>, position=<value optimized out>, dataType=<value optimized out>, 
    ret=<value optimized out>, source=<value optimized out>, basicFlags=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppduchain/cppducontext.h:324
#15 0x00007ffc7373a029 in Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal (this=<value optimized out>, identifiers=..., position=<value optimized out>, 
    dataType=<value optimized out>, ret=<value optimized out>, source=<value optimized out>, basicFlags=) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppduchain/cppducontext.h:285
#16 0x00007ffc8ca12b61 in KDevelop::DUContext::findDeclarations (this=<value optimized out>, identifier=<value optimized out>, position=..., dataType=<value optimized out>, topContext=0x38ca120, 
    flags=) at /home/kdetest/kdesvn/kdevplatform/language/duchain/ducontext.cpp:929
#17 0x00007ffc7373f8ae in DeclarationBuilder::applyFunctionSpecifiers (this=0x7ffc7146dc00) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:1522
#18 0x00007ffc737461ec in DeclarationBuilder::visitDeclarator (this=0x7ffc7146dc00, node=0x3968918) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:304
#19 0x00007ffc7372dc98 in ContextBuilder::visitInitDeclarator (this=0x7ffc7146dc00, node=0x3968b78) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:1009
#20 0x00007ffc73740dbd in DeclarationBuilder::visitInitDeclarator (this=0x7ffc7146dc00, node=0x3968b78) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:252
#21 0x00007ffc7373ec6c in DeclarationBuilder::visitFunctionDeclaration (this=0x7ffc7146dc00, node=0x3968ec0) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:187
#22 0x00007ffc7372d423 in ContextBuilder::visitFunctionDefinition (this=0x7ffc7146dc00, node=0x3968ec0) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:689
#23 0x00007ffc73499786 in visitNodes<DeclarationAST*> (v=0x7ffc7146dc60, nodes=0x3968808) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/visitor.h:128
#24 0x00007ffc7372c850 in ContextBuilder::visitClassSpecifier (this=0x7ffc7146dc00, node=0x39681f8) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:647
#25 0x00007ffc7376bad2 in TypeBuilder::visitClassSpecifier (this=0x7ffc7146dc00, node=0x39681f8) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:79
#26 0x00007ffc73743967 in DeclarationBuilder::visitClassSpecifier (this=0x7ffc7146dc00, node=0x39681f8) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:992
#27 0x00007ffc7376a995 in TypeBuilder::visitSimpleDeclaration (this=0x7ffc7146dc00, node=<value optimized out>) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:536
#28 0x00007ffc7373eee6 in DeclarationBuilder::visitSimpleDeclaration (this=0x7ffc7146dc00, node=0x3968ff0) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:266
#29 0x00007ffc7372f240 in ContextBuilder::visitTemplateDeclaration (this=0x7ffc7146dc00, ast=0x3969048) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:338
#30 0x00007ffc73499786 in visitNodes<DeclarationAST*> (v=0x7ffc7146dc60, nodes=0x386a908) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/visitor.h:128
#31 0x00007ffc7375379b in KDevelop::AbstractTypeBuilder<AST, NameAST, ContextBuilder>::supportBuild(AST*, KDevelop::DUContext*) () from /home/kdetest/kde/lib/libkdev4cppduchain.so
#32 0x00007ffc73730698 in ContextBuilder::buildContexts (this=0x7ffc7146dc00, file=) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:491
#33 0x00007ffc7373df55 in DeclarationBuilder::buildDeclarations (this=0x4828, file=<value optimized out>, node=0xffffffffffffffff, includes=0x0, updateContext=..., removeOldImports=false)
    at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:105
#34 0x00007ffc73c5fd59 in CPPInternalParseJob::run (this=0x3763780) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppparsejob.cpp:650
#35 0x00007ffc73c68d84 in PreprocessJob::sourceNeeded (this=0x3695340, _fileName=<value optimized out>, type=<value optimized out>, sourceLine=<value optimized out>, 
    skipCurrentPath=<value optimized out>) at /home/kdetest/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:574
#36 0x00007ffc73a12859 in rpp::pp::handle_include (this=0x7ffc7146fa30, skip_current_path=<value optimized out>, input=..., output=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#37 0x00007ffc73a13075 in rpp::pp::handle_directive (this=0x7ffc7146fa30, directive=89802, input=..., output=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#38 0x00007ffc73a135f9 in rpp::pp::operator() (this=0x7ffc7146fa30, input=..., output=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#39 0x00007ffc73a1384d in rpp::pp::processFileInternal (this=0x7ffc7146fa30, fileName=<value optimized out>, fileContents=<value optimized out>, result=...)
    at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#40 0x00007ffc73a138d5 in rpp::pp::processFile (this=0x4715, fileName=..., data=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#41 0x00007ffc73c670f5 in PreprocessJob::run (this=0x3695340) at /home/kdetest/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:236
#42 0x00007ffc73c598d7 in CPPParseJob::parseForeground (this=0x3759a20) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppparsejob.cpp:203
#43 0x00007ffc73c68d84 in PreprocessJob::sourceNeeded (this=0x375b230, _fileName=<value optimized out>, type=<value optimized out>, sourceLine=<value optimized out>, 
    skipCurrentPath=<value optimized out>) at /home/kdetest/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:574
#44 0x00007ffc73a12859 in rpp::pp::handle_include (this=0x7ffc71471d60, skip_current_path=<value optimized out>, input=..., output=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#45 0x00007ffc73a13075 in rpp::pp::handle_directive (this=0x7ffc71471d60, directive=89802, input=..., output=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#46 0x00007ffc73a135f9 in rpp::pp::operator() (this=0x7ffc71471d60, input=..., output=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#47 0x00007ffc73a1384d in rpp::pp::processFileInternal (this=0x7ffc71471d60, fileName=<value optimized out>, fileContents=<value optimized out>, result=...)
    at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#48 0x00007ffc73a138d5 in rpp::pp::processFile (this=0x4715, fileName=..., data=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#49 0x00007ffc73c670f5 in PreprocessJob::run (this=0x375b230) at /home/kdetest/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:236
#50 0x00007ffc73c598d7 in CPPParseJob::parseForeground (this=0x3757ad0) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppparsejob.cpp:203
#51 0x00007ffc73c68d84 in PreprocessJob::sourceNeeded (this=0x39047a0, _fileName=<value optimized out>, type=<value optimized out>, sourceLine=<value optimized out>, 
    skipCurrentPath=<value optimized out>) at /home/kdetest/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:574
#52 0x00007ffc73a12859 in rpp::pp::handle_include (this=0x7ffc71474090, skip_current_path=<value optimized out>, input=..., output=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#53 0x00007ffc73a13075 in rpp::pp::handle_directive (this=0x7ffc71474090, directive=89802, input=..., output=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#54 0x00007ffc73a135f9 in rpp::pp::operator() (this=0x7ffc71474090, input=..., output=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#55 0x00007ffc73a1384d in rpp::pp::processFileInternal (this=0x7ffc71474090, fileName=<value optimized out>, fileContents=<value optimized out>, result=...)
    at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#56 0x00007ffc73a138d5 in rpp::pp::processFile (this=0x4715, fileName=..., data=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#57 0x00007ffc73c670f5 in PreprocessJob::run (this=0x39047a0) at /home/kdetest/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:236
#58 0x00007ffc73c598d7 in CPPParseJob::parseForeground (this=0x3912520) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppparsejob.cpp:203
#59 0x00007ffc73c68d84 in PreprocessJob::sourceNeeded (this=0x390ef60, _fileName=<value optimized out>, type=<value optimized out>, sourceLine=<value optimized out>, 
    skipCurrentPath=<value optimized out>) at /home/kdetest/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:574
#60 0x00007ffc73a12859 in rpp::pp::handle_include (this=0x7ffc714763c0, skip_current_path=<value optimized out>, input=..., output=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#61 0x00007ffc73a13075 in rpp::pp::handle_directive (this=0x7ffc714763c0, directive=89802, input=..., output=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#62 0x00007ffc73a135f9 in rpp::pp::operator() (this=0x7ffc714763c0, input=..., output=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#63 0x00007ffc73a1384d in rpp::pp::processFileInternal (this=0x7ffc714763c0, fileName=<value optimized out>, fileContents=<value optimized out>, result=...)
    at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#64 0x00007ffc73a138d5 in rpp::pp::processFile (this=0x4715, fileName=..., data=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#65 0x00007ffc73c670f5 in PreprocessJob::run (this=0x390ef60) at /home/kdetest/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:236
#66 0x00007ffc73c598d7 in CPPParseJob::parseForeground (this=0x3173730) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppparsejob.cpp:203
#67 0x00007ffc73c68d84 in PreprocessJob::sourceNeeded (this=0x3146b70, _fileName=<value optimized out>, type=<value optimized out>, sourceLine=<value optimized out>, 
    skipCurrentPath=<value optimized out>) at /home/kdetest/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:574
#68 0x00007ffc73a12859 in rpp::pp::handle_include (this=0x7ffc714786f0, skip_current_path=<value optimized out>, input=..., output=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#69 0x00007ffc73a13075 in rpp::pp::handle_directive (this=0x7ffc714786f0, directive=89802, input=..., output=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#70 0x00007ffc73a135f9 in rpp::pp::operator() (this=0x7ffc714786f0, input=..., output=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#71 0x00007ffc73a1384d in rpp::pp::processFileInternal (this=0x7ffc714786f0, fileName=<value optimized out>, fileContents=<value optimized out>, result=...)
    at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#72 0x00007ffc73a138d5 in rpp::pp::processFile (this=0x4715, fileName=..., data=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#73 0x00007ffc73c670f5 in PreprocessJob::run (this=0x3146b70) at /home/kdetest/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:236
#74 0x00007ffc73c598d7 in CPPParseJob::parseForeground (this=0x21aea90) at /home/kdetest/kdesvn/kdevelop/languages/cpp/cppparsejob.cpp:203
#75 0x00007ffc73c68d84 in PreprocessJob::sourceNeeded (this=0x21b11e0, _fileName=<value optimized out>, type=<value optimized out>, sourceLine=<value optimized out>, 
    skipCurrentPath=<value optimized out>) at /home/kdetest/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:574
#76 0x00007ffc73a12859 in rpp::pp::handle_include (this=0x7ffc7147aa20, skip_current_path=<value optimized out>, input=..., output=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:193
#77 0x00007ffc73a13075 in rpp::pp::handle_directive (this=0x7ffc7147aa20, directive=89802, input=..., output=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#78 0x00007ffc73a135f9 in rpp::pp::operator() (this=0x7ffc7147aa20, input=..., output=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:246
#79 0x00007ffc73a1384d in rpp::pp::processFileInternal (this=0x7ffc7147aa20, fileName=<value optimized out>, fileContents=<value optimized out>, result=...)
    at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#80 0x00007ffc73a138d5 in rpp::pp::processFile (this=0x4715, fileName=..., data=...) at /home/kdetest/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#81 0x00007ffc73c670f5 in PreprocessJob::run (this=0x21b11e0) at /home/kdetest/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:236
#82 0x00007ffc9209a9cd in ThreadWeaver::JobRunHelper::runTheJob (this=0x7ffc7147bf00, th=0x207a090, job=0x21b11e0) at /home/kdetest/kdesvn/kdelibs/threadweaver/Weaver/Job.cpp:106
#83 0x00007ffc9209acce in ThreadWeaver::Job::execute (this=0x21b11e0, th=0x207a090) at /home/kdetest/kdesvn/kdelibs/threadweaver/Weaver/Job.cpp:135
#84 0x00007ffc9209c0f3 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x1efb280, t=0x207a090) at /home/kdetest/kdesvn/kdelibs/threadweaver/Weaver/JobCollection.cpp:82
#85 0x00007ffc92099c1f in ThreadWeaver::ThreadRunHelper::run (this=0x7ffc7147bfb0, parent=0x1175e80, th=0x207a090) at /home/kdetest/kdesvn/kdelibs/threadweaver/Weaver/Thread.cpp:95
#86 0x00007ffc9209a0a8 in ThreadWeaver::Thread::run (this=0x207a090) at /home/kdetest/kdesvn/kdelibs/threadweaver/Weaver/Thread.cpp:142
#87 0x00007ffc90523605 in QThreadPrivate::start (arg=0x207a090) at /home/kdetest/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:244
#88 0x00007ffc90284a04 in start_thread () from /lib/libpthread.so.0
#89 0x00007ffc8e9437bd in clone () from /lib/libc.so.6
#90 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffc70c7b910 (LWP 18473)):
#0  0x00007ffc902895a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffc905245bb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1173470, time=18446744073709551615)
    at /home/kdetest/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1173470, time=18446744073709551615) at /home/kdetest/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:159
#3  0x00007ffc920990e6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1175e80, th=0x21a7580) at /home/kdetest/kdesvn/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ffc9209b79b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1175200, th=0x21a7580) at /home/kdetest/kdesvn/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ffc92099c4f in ThreadWeaver::ThreadRunHelper::run (this=0x7ffc70c7afb0, parent=0x1175e80, th=0x21a7580) at /home/kdetest/kdesvn/kdelibs/threadweaver/Weaver/Thread.cpp:87
#6  0x00007ffc9209a0a8 in ThreadWeaver::Thread::run (this=0x21a7580) at /home/kdetest/kdesvn/kdelibs/threadweaver/Weaver/Thread.cpp:142
#7  0x00007ffc90523605 in QThreadPrivate::start (arg=0x21a7580) at /home/kdetest/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:244
#8  0x00007ffc90284a04 in start_thread () from /lib/libpthread.so.0
#9  0x00007ffc8e9437bd in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffc93c257f0 (LWP 18197)):
#0  0x00007ffc8e937373 in poll () from /lib/libc.so.6
#1  0x00007ffc8724e29a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007ffc8724e7d7 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007ffc8724ea85 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x00007ffc8ad16d4a in _XSend () from /usr/lib/libX11.so.6
#5  0x00007ffc8ad16e89 in _XReply () from /usr/lib/libX11.so.6
#6  0x00007ffc8acf37f5 in XGetImage () from /usr/lib/libX11.so.6
#7  0x00007ffc8f665bf3 in QX11PixmapData::toImage (this=0x39a8e40) at /home/kdetest/kdesvn/qt-copy/src/gui/image/qpixmap_x11.cpp:1475
#8  0x00007ffc8f651de0 in QPixmap::toImage (this=0x7fffe3ec06e0) at /home/kdetest/kdesvn/qt-copy/src/gui/image/qpixmap.cpp:486
#9  0x00007ffc8f60e0d0 in QWidgetPrivate::setWindowIcon_sys (this=<value optimized out>, forceReset=<value optimized out>) at /home/kdetest/kdesvn/qt-copy/src/gui/kernel/qwidget_x11.cpp:1460
#10 0x00007ffc8f5c6a22 in QWidget::setWindowIcon (this=0x2ba36e0, icon=...) at /home/kdetest/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:5821
#11 0x00007ffc8c73283e in Sublime::IdealMainWidget::addView (this=0x15ef090, area=<value optimized out>, view=0x2232f90) at /home/kdetest/kdesvn/kdevplatform/sublime/ideal.cpp:614
#12 0x00007ffc8c725105 in Sublime::MainWindowPrivate::IdealToolViewCreator::operator() (this=0x7fffe3ec0ae0, view=<value optimized out>, position=4294967295)
    at /home/kdetest/kdesvn/kdevplatform/sublime/mainwindow_p.cpp:190
#13 0x00007ffc8c72b60d in void Sublime::Area::walkToolViews<Sublime::MainWindowPrivate::IdealToolViewCreator>(Sublime::MainWindowPrivate::IdealToolViewCreator&, QFlags<Sublime::Position>) ()
   from /home/kdetest/kde/lib/libsublime.so.1
#14 0x00007ffc8c72554d in Sublime::MainWindowPrivate::toolViewAdded (this=<value optimized out>, position=<value optimized out>) at /home/kdetest/kdesvn/kdevplatform/sublime/mainwindow_p.cpp:524
#15 0x00007ffc8c721663 in Sublime::MainWindow::qt_metacall (this=0xfcb570, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe3ec0c60)
    at /home/kdetest/kdesvn/build/kdevplatform/sublime/mainwindow.moc:120
#16 0x00007ffc930d3410 in KDevelop::MainWindow::qt_metacall (this=0x7fffe3ebff70, _c=QMetaObject::ReadProperty, _id=-1, _a=0x7ffc8e937373)
    at /home/kdetest/kdesvn/build/kdevplatform/shell/mainwindow.moc:87
#17 0x00007ffc90629903 in QMetaObject::activate (sender=0xfe22b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffc8e937373)
    at /home/kdetest/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3294
#18 0x00007ffc8c7144f0 in Sublime::Area::toolViewAdded (this=0x7fffe3ebff70, _t1=0x2232f90, _t2=Sublime::Bottom) at /home/kdetest/kdesvn/build/kdevplatform/sublime/area.moc:136
#19 0x00007ffc8c717104 in Sublime::Area::addToolView (this=<value optimized out>, view=0x2232f90, defaultPosition=<value optimized out>) at /home/kdetest/kdesvn/kdevplatform/sublime/area.cpp:232
#20 0x00007ffc930e31ba in KDevelop::UiController::addToolViewToArea (this=0xf4e690, factory=0x21fdde0, doc=<value optimized out>, area=0xfe22b0)
    at /home/kdetest/kdesvn/kdevplatform/shell/uicontroller.cpp:575
#21 0x00007ffc930e448d in KDevelop::UiController::addToolView (this=0xf4e690, name=..., factory=0x21fdde0) at /home/kdetest/kdesvn/kdevplatform/shell/uicontroller.cpp:305
#22 0x00007ffc7db01c4c in StandardOutputView::registerToolView (this=0x12868c0, title=..., type=<value optimized out>, icon=<value optimized out>)
    at /home/kdetest/kdesvn/kdevplatform/plugins/standardoutputview/standardoutputview.cpp:183
#23 0x00007ffc7db004ca in StandardOutputView::standardToolView (this=0x12868c0, view=<value optimized out>) at /home/kdetest/kdesvn/kdevplatform/plugins/standardoutputview/standardoutputview.cpp:152
#24 0x00007ffc8c2d8214 in KDevelop::OutputJob::startOutput (this=0x392a0f0) at /home/kdetest/kdesvn/kdevplatform/outputview/outputjob.cpp:56
#25 0x00007ffc756d7757 in CMakeJob::start (this=0x392a0f0) at /home/kdetest/kdesvn/kdevelop/projectbuilders/cmakebuilder/cmakejob.cpp:84
#26 0x00007ffc9310925f in KDevelop::RunController::registerJob (this=0x11790d0, job=0x392a0f0) at /home/kdetest/kdesvn/kdevplatform/shell/runcontroller.cpp:511
#27 0x00007ffc756d8505 in ConfigureAndBuildJob::start (this=0x31716b0) at /home/kdetest/kdesvn/kdevelop/projectbuilders/cmakebuilder/configureandbuildjob.cpp:44
#28 0x00007ffc9310925f in KDevelop::RunController::registerJob (this=0x11790d0, job=0x31716b0) at /home/kdetest/kdesvn/kdevplatform/shell/runcontroller.cpp:511
#29 0x00007ffc8cfed38a in KDevelop::BuilderJob::start (this=0x37ebc60) at /home/kdetest/kdesvn/kdevplatform/project/builderjob.cpp:164
#30 0x00007ffc9310925f in KDevelop::RunController::registerJob (this=0x11790d0, job=0x37ebc60) at /home/kdetest/kdesvn/kdevplatform/shell/runcontroller.cpp:511
#31 0x00007ffc78666241 in ProjectManagerViewPlugin::runBuilderJob (this=<value optimized out>, t=KDevelop::BuilderJob::Build)
    at /home/kdetest/kdesvn/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.cpp:364
#32 0x00007ffc7866ad05 in ProjectManagerViewPlugin::qt_metacall (this=0x136f090, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe3ec1930)
    at /home/kdetest/kdesvn/build/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.moc:113
#33 0x00007ffc90629903 in QMetaObject::activate (sender=0x139f390, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffc8e937373)
    at /home/kdetest/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3294
#34 0x00007ffc8f56c1f2 in QAction::triggered (this=0x7fffe3ebff70, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#35 0x00007ffc8f56e1db in QAction::activate (this=0x139f390, event=<value optimized out>) at /home/kdetest/kdesvn/qt-copy/src/gui/kernel/qaction.cpp:1245
#36 0x00007ffc8f9025fa in QAbstractButtonPrivate::click (this=0x187c1f0) at /home/kdetest/kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:528
#37 0x00007ffc8f9028a5 in QAbstractButton::mouseReleaseEvent (this=0x1877b30, e=0x7fffe3ec21f0) at /home/kdetest/kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:1118
#38 0x00007ffc8f9cdc7a in QToolButton::mouseReleaseEvent (this=0x7fffe3ebff70, e=0x1) at /home/kdetest/kdesvn/qt-copy/src/gui/widgets/qtoolbutton.cpp:721
#39 0x00007ffc8f5c7929 in QWidget::event (this=0x1877b30, event=0x7fffe3ec21f0) at /home/kdetest/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:7974
#40 0x00007ffc8f57221c in QApplicationPrivate::notify_helper (this=0xe17420, receiver=0x1877b30, e=0x7fffe3ec21f0) at /home/kdetest/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:4242
#41 0x00007ffc8f579081 in QApplication::notify (this=0x7fffe3ec2f70, receiver=0x1877b30, e=0x7fffe3ec21f0) at /home/kdetest/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3822
#42 0x00007ffc90ddb7b6 in KApplication::notify (this=0x7fffe3ec2f70, receiver=0x1877b30, event=0x7fffe3ec21f0) at /home/kdetest/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:302
#43 0x00007ffc90616b8c in QCoreApplication::notifyInternal (this=0x7fffe3ec2f70, receiver=0x1877b30, event=0x7fffe3ec21f0) at /home/kdetest/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:704
#44 0x00007ffc8f5781f6 in QCoreApplication::sendEvent (receiver=0x1877b30, event=0x7fffe3ec21f0, alienWidget=0x1877b30, nativeWidget=0x1860950, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:215
#45 QApplicationPrivate::sendMouseEvent (receiver=0x1877b30, event=0x7fffe3ec21f0, alienWidget=0x1877b30, nativeWidget=0x1860950, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at /home/kdetest/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:2956
#46 0x00007ffc8f5f6325 in QETWidget::translateMouseEvent (this=0x1860950, event=<value optimized out>) at /home/kdetest/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:4368
#47 0x00007ffc8f5f503a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffe3ec2b10) at /home/kdetest/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:3501
#48 0x00007ffc8f61f942 in x11EventSourceDispatch (s=0xe1b280, callback=<value optimized out>, user_data=<value optimized out>)
    at /home/kdetest/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#49 0x00007ffc88d8bbbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#50 0x00007ffc88d8f588 in ?? () from /lib/libglib-2.0.so.0
#51 0x00007ffc88d8f6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#52 0x00007ffc90640163 in QEventDispatcherGlib::processEvents (this=0xdbff70, flags=<value optimized out>) at /home/kdetest/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:407
#53 0x00007ffc8f61f52e in QGuiEventDispatcherGlib::processEvents (this=0x7fffe3ebff70, flags=<value optimized out>) at /home/kdetest/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#54 0x00007ffc906154b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at /home/kdetest/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#55 0x00007ffc9061588c in QEventLoop::exec (this=0x7fffe3ec2e40, flags=) at /home/kdetest/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:201
#56 0x00007ffc906195cb in QCoreApplication::exec () at /home/kdetest/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:981
#57 0x00000000004061e7 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/kdetest/kdesvn/kdevelop/app/main.cpp:210

Reported using DrKonqi
Comment 1 Andreas Pakulat 2009-12-18 16:13:05 UTC

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