Bug 204222 - crash after closing projects and files during parse job
Summary: crash after closing projects and files during parse job
Status: RESOLVED DUPLICATE of bug 204383
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: shell (show other bugs)
Version: unspecified
Platform: Ubuntu Unspecified
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 210040 215260 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-18 00:48 UTC by Milian Wolff
Modified: 2009-11-19 13:39 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milian Wolff 2009-08-18 00:48:23 UTC
Version:            (using KDE 4.3.0)
Installed from:    Ubuntu Packages

description pretty much tells all I can remember. Looking at the code I see that the TextDocumentPrivate initializes its document member as 0, hence it should never be used without checking it? What is the correct fix? Making sure the member is not 0? Or checking its usage?

Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 0 (LWP 9070)]

Thread 9 (Thread 0xb18c9b90 (LWP 9071)):
#0  0xb7fd3430 in __kernel_vsyscall ()
#1  0xb5517412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb61ea344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6dc914c in QWaitCondition::wait (this=0x972f6ec, mutex=0x972f6f0, time=200000) at thread/qwaitcondition_unix.cpp:85
#4  0xb5c33e13 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x972f6e0) at /home/milian/projects/kde4/kdevplatform/language/duchain/duchain.cpp:280
#5  0xb6dc8132 in QThreadPrivate::start (arg=0x972f6e0) at thread/qthread_unix.cpp:188
#6  0xb55134ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb61db49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xacdc0b90 (LWP 9215)):
#0  0xb546c341 in g_main_context_release () from /usr/lib/libglib-2.0.so.0
#1  0xb546dff5 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0xb546e268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0xb6ee8317 in QEventDispatcherGlib::processEvents (this=0x9e1f568, flags={i = -1394867576}) at kernel/qeventdispatcher_glib.cpp:329
#4  0xb6ebb1fa in QEventLoop::processEvents (this=0xacdc0300, flags={i = -1394867512}) at kernel/qeventloop.cpp:149
#5  0xb6ebb642 in QEventLoop::exec (this=0xacdc0300, flags={i = -1394867448}) at kernel/qeventloop.cpp:201
#6  0xb6dc4e19 in QThread::exec (this=0xa308928) at thread/qthread.cpp:487
#7  0xb5d3c84b in KDevelop::CompletionWorkerThread::run (this=0xa308928) at /home/milian/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:79
#8  0xb6dc8132 in QThreadPrivate::start (arg=0xa308928) at thread/qthread_unix.cpp:188
#9  0xb55134ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb61db49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xab5ffb90 (LWP 9216)):
#0  0xb7fd3430 in __kernel_vsyscall ()
#1  0xb61d0ae7 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb547b74b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb546df82 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb546e268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb6ee8317 in QEventDispatcherGlib::processEvents (this=0x9cf7188, flags={i = -1419775352}) at kernel/qeventdispatcher_glib.cpp:329
#6  0xb6ebb1fa in QEventLoop::processEvents (this=0xab5ff300, flags={i = -1419775288}) at kernel/qeventloop.cpp:149
#7  0xb6ebb642 in QEventLoop::exec (this=0xab5ff300, flags={i = -1419775224}) at kernel/qeventloop.cpp:201
#8  0xb6dc4e19 in QThread::exec (this=0xa464ec8) at thread/qthread.cpp:487
#9  0xb5d3c84b in KDevelop::CompletionWorkerThread::run (this=0xa464ec8) at /home/milian/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:79
#10 0xb6dc8132 in QThreadPrivate::start (arg=0xa464ec8) at thread/qthread_unix.cpp:188
#11 0xb55134ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb61db49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xac0ffb90 (LWP 9226)):
#0  0xb7fd3430 in __kernel_vsyscall ()
#1  0xb5517412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb61ea344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6dc7b29 in thread_sleep (ti=0xac0ff300) at thread/qthread_unix.cpp:297
#4  0xb6dc7c5b in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#5  0xab7afe89 in UIBlockTester::UIBlockTesterThread::run (this=0xa31ce08) at /home/milian/projects/kde4/kdevelop/languages/cpp/cpplanguagesupport.cpp:661
#6  0xb6dc8132 in QThreadPrivate::start (arg=0xa31ce08) at thread/qthread_unix.cpp:188
#7  0xb55134ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb61db49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xa9374b90 (LWP 9304)):
#0  0xb7fd3430 in __kernel_vsyscall ()
#1  0xb61967a6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2  0xb61d414c in usleep () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5c82418 in KDevelop::DUChainLock::lockForWrite (this=0x972ee84, timeout=10000) at /home/milian/projects/kde4/kdevplatform/language/duchain/duchainlock.cpp:301
#4  0xb5c82540 in KDevelop::DUChainWriteLocker::lock (this=0xa9371490) at /home/milian/projects/kde4/kdevplatform/language/duchain/duchainlock.cpp:411
#5  0xb5c825f0 in DUChainWriteLocker (this=0xa9371490, duChainLock=0x972ee84, timeout=0) at /home/milian/projects/kde4/kdevplatform/language/duchain/duchainlock.cpp:396
#6  0xaa14c945 in KDevelop::AbstractContextBuilder<AST, NameAST>::openContextInternal (this=0xa9372314, range=@0xa9371530, type=KDevelop::DUContext::Function, identifier=@0xa9371540)
    at /home/milian/projects/compiled/kde4/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:779
#7  0xaa1395c4 in ContextBuilder::openContextInternal (this=0xa9372314, range=@0xa9371530, type=KDevelop::DUContext::Function, identifier=@0xa9371540)
    at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:709
#8  0xaa141796 in KDevelop::AbstractContextBuilder<AST, NameAST>::openContext (this=0xa9372314, rangeNode=0x9a5275bc, type=KDevelop::DUContext::Function, identifier=0x9a527580)
    at /home/milian/projects/compiled/kde4/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:410
#9  0xaa138d88 in ContextBuilder::visitDeclarator (this=0xa9372314, node=0x9a527510) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:977
#10 0xaa152c99 in DeclarationBuilder::visitDeclarator (this=0xa9372314, node=0x9a527510) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:300
#11 0xaa13c9d4 in ContextBuilder::visitInitDeclarator (this=0xa9372314, node=0x9a52774c) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:955
#12 0xaa14fa51 in DeclarationBuilder::visitInitDeclarator (this=0xa9372314, node=0x9a52774c) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:238
#13 0xab738396 in Visitor::visit (this=0xa9372344, node=0x9a52774c) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/visitor.cpp:113
#14 0xaa137d04 in ContextBuilder::visitFunctionDeclaration (this=0xa9372314, node=0x9a527e5c) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:682
#15 0xaa182ba4 in TypeBuilder::visitFunctionDeclaration (this=0xa9372314, node=0x9a527e5c) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:491
#16 0xaa153589 in DeclarationBuilder::visitFunctionDeclaration (this=0xa9372314, node=0x9a527e5c) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:195
#17 0xaa139c38 in ContextBuilder::visitFunctionDefinition (this=0xa9372314, node=0x9a527e5c) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:651
#18 0xab738396 in Visitor::visit (this=0xa9372344, node=0x9a527e5c) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/visitor.cpp:113
#19 0xaa139869 in ContextBuilder::visitTemplateDeclaration (this=0xa9372314, ast=0x9a527e8c) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:310
#20 0xab738396 in Visitor::visit (this=0xa9372344, node=0x9a527e8c) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/visitor.cpp:113
#21 0xab736519 in visitNodes<DeclarationAST*> (v=0xa9372344, nodes=0x9a52bf38) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/visitor.h:128
#22 0xab735eb5 in DefaultVisitor::visitClassSpecifier (this=0xa9372344, node=0x9a5273d8) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/default_visitor.cpp:63
#23 0xaa13a29a in ContextBuilder::visitClassSpecifier (this=0xa9372314, node=0x9a5273d8) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:609
#24 0xaa1840e8 in TypeBuilder::visitClassSpecifier (this=0xa9372314, node=0x9a5273d8) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:75
#25 0xaa151c48 in DeclarationBuilder::visitClassSpecifier (this=0xa9372314, node=0x9a5273d8) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:974
#26 0xab738396 in Visitor::visit (this=0xa9372344, node=0x9a5273d8) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/visitor.cpp:113
#27 0xaa182a72 in TypeBuilder::visitSimpleDeclaration (this=0xa9372314, node=0x9a52bf94) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:501
#28 0xaa1534a0 in DeclarationBuilder::visitSimpleDeclaration (this=0xa9372314, node=0x9a52bf94) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:252
#29 0xab738396 in Visitor::visit (this=0xa9372344, node=0x9a52bf94) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/visitor.cpp:113
#30 0xab736519 in visitNodes<DeclarationAST*> (v=0xa9372344, nodes=0x9a52bfc8) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/visitor.h:128
#31 0xab735e43 in DefaultVisitor::visitLinkageBody (this=0xa9372344, node=0x9a527310) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/default_visitor.cpp:221
#32 0xab738396 in Visitor::visit (this=0xa9372344, node=0x9a527310) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/visitor.cpp:113
#33 0xab735866 in DefaultVisitor::visitNamespace (this=0xa9372344, node=0x9a5272f4) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/default_visitor.cpp:244
#34 0xaa13a49c in ContextBuilder::visitNamespace (this=0xa9372314, node=0x9a5272f4) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:553
#35 0xaa14fc46 in DeclarationBuilder::visitNamespace (this=0xa9372314, ast=0x9a5272f4) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:934
#36 0xab738396 in Visitor::visit (this=0xa9372344, node=0x9a5272f4) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/visitor.cpp:113
#37 0xab736519 in visitNodes<DeclarationAST*> (v=0xa9372344, nodes=0x9a52bfd4) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/visitor.h:128
#38 0xab735e43 in DefaultVisitor::visitLinkageBody (this=0xa9372344, node=0x9a5272e0) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/default_visitor.cpp:221
#39 0xab738396 in Visitor::visit (this=0xa9372344, node=0x9a5272e0) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/visitor.cpp:113
#40 0xab735866 in DefaultVisitor::visitNamespace (this=0xa9372344, node=0x9a5272c4) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/default_visitor.cpp:244
#41 0xaa13a49c in ContextBuilder::visitNamespace (this=0xa9372314, node=0x9a5272c4) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:553
#42 0xaa14fc46 in DeclarationBuilder::visitNamespace (this=0xa9372314, ast=0x9a5272c4) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:934
#43 0xab738396 in Visitor::visit (this=0xa9372344, node=0x9a5272c4) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/visitor.cpp:113
#44 0xab736519 in visitNodes<DeclarationAST*> (v=0xa9372344, nodes=0x9a52bfe0) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/visitor.h:128
#45 0xab735e25 in DefaultVisitor::visitTranslationUnit (this=0xa9372344, node=0x9a527298) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/default_visitor.cpp:394
#46 0xab738396 in Visitor::visit (this=0xa9372344, node=0x9a527298) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/visitor.cpp:113
#47 0xaa137c97 in ContextBuilder::startVisiting (this=0xa9372314, node=0x9a527298) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:201
#48 0xaa14058a in KDevelop::AbstractContextBuilder<AST, NameAST>::supportBuild (this=0xa9372314, node=0x9a527298, context=0xa3e3ffb0)
    at /home/milian/projects/compiled/kde4/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:201
#49 0xaa158239 in KDevelop::AbstractTypeBuilder<AST, NameAST, ContextBuilder>::supportBuild (this=0xa9372314, node=0x9a527298, context=0x0)
    at /home/milian/projects/compiled/kde4/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:85
#50 0xaa13bd4c in ContextBuilder::buildContexts (this=0xa9372314, file={d = 0xa9372254}, node=0x9a527298, includes=0xa9372918, updateContext=@0xa3a269b0, removeOldImports=false)
    at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:459
#51 0xaa153ac2 in DeclarationBuilder::buildDeclarations (this=0xa9372314, file={d = 0xa9372868}, node=0x9a527298, includes=0xa9372918, updateContext=@0xa3a269b0, removeOldImports=false)
    at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:113
#52 0xab7c2c06 in CPPInternalParseJob::run (this=0xa3a269a0) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppparsejob.cpp:632
#53 0xab7c0070 in CPPParseJob::parseForeground (this=0xa6c1d008) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppparsejob.cpp:204
#54 0xab7cfe63 in PreprocessJob::sourceNeeded (this=0xda52f20, _fileName=@0xa9372dc8, type=rpp::Preprocessor::IncludeLocal, sourceLine=20, skipCurrentPath=false)
    at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:575
#55 0xab77df9b in rpp::pp::handle_include (this=0xa9373094, skip_current_path=false, input=@0xa9372e50, output=@0xa9372f58)
    at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:192
#56 0xab77e80b in rpp::pp::handle_directive (this=0xa9373094, directive=104477, input=@0xa9372e50, output=@0xa9372f58)
    at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:130
#57 0xab77eb6b in rpp::pp::operator() (this=0xa9373094, input=@0xa9372f8c, output=@0xa9372f58) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:245
#58 0xab77ef24 in rpp::pp::processFileInternal (this=0xa9373094, fileName=@0xa9374170, fileContents=@0xda52f48, result=@0xa9374178)
    at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:97
#59 0xab77ef97 in rpp::pp::processFile (this=0xa9373094, fileName=@0xa9374170, data=@0xda52f48) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:84
#60 0xab7cde88 in PreprocessJob::run (this=0xda52f20) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:238
#61 0xb7930014 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa9374278, th=0xa44b770, job=0xda52f20) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Job.cpp:106
#62 0xb79303b9 in ThreadWeaver::Job::execute (this=0xda52f20, th=0xa44b770) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Job.cpp:135
#63 0xb7931d43 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x175f60c0, t=0xa44b770) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/JobCollection.cpp:82
#64 0xb79326f1 in ThreadWeaver::JobCollection::execute (this=0xe8a09a8, t=0xa44b770) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/JobCollection.cpp:228
#65 0xb792ef8a in ThreadWeaver::ThreadRunHelper::run (this=0xa9374330, parent=0x96b5798, th=0xa44b770) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:95
#66 0xb792f5fb in ThreadWeaver::Thread::run (this=0xa44b770) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:142
#67 0xb6dc8132 in QThreadPrivate::start (arg=0xa44b770) at thread/qthread_unix.cpp:188
#68 0xb55134ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#69 0xb61db49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xa8b73b90 (LWP 9305)):
#0  0xb7fd3430 in __kernel_vsyscall ()
#1  0xb5517412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb61ea344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6dc914c in QWaitCondition::wait (this=0x9730588, mutex=0x9730578, time=60000) at thread/qwaitcondition_unix.cpp:85
#4  0xb5c82965 in KDevelop::DUChainLock::lockForRead (this=0x972ee84, timeout=60000) at /home/milian/projects/kde4/kdevplatform/language/duchain/duchainlock.cpp:196
#5  0xb5c82b43 in KDevelop::DUChainReadLocker::lock (this=0xa8b71878) at /home/milian/projects/kde4/kdevplatform/language/duchain/duchainlock.cpp:373
#6  0xb5c82bde in DUChainReadLocker (this=0xa8b71878, duChainLock=0x972ee84, timeout=0) at /home/milian/projects/kde4/kdevplatform/language/duchain/duchainlock.cpp:354
#7  0xab7cdb24 in PreprocessJob::run (this=0xc488830) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:215
#8  0xab7c0058 in CPPParseJob::parseForeground (this=0x15102d18) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppparsejob.cpp:203
#9  0xab7cfe63 in PreprocessJob::sourceNeeded (this=0xb930fc0, _fileName=@0xa8b71dc8, type=rpp::Preprocessor::IncludeGlobal, sourceLine=23, skipCurrentPath=false)
    at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:575
#10 0xab77df9b in rpp::pp::handle_include (this=0xa8b72094, skip_current_path=false, input=@0xa8b71e50, output=@0xa8b71f58)
    at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:192
#11 0xab77e80b in rpp::pp::handle_directive (this=0xa8b72094, directive=104477, input=@0xa8b71e50, output=@0xa8b71f58)
    at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:130
#12 0xab77eb6b in rpp::pp::operator() (this=0xa8b72094, input=@0xa8b71f8c, output=@0xa8b71f58) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:245
#13 0xab77ef24 in rpp::pp::processFileInternal (this=0xa8b72094, fileName=@0xa8b73170, fileContents=@0xb930fe8, result=@0xa8b73178)
    at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:97
#14 0xab77ef97 in rpp::pp::processFile (this=0xa8b72094, fileName=@0xa8b73170, data=@0xb930fe8) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:84
#15 0xab7cde88 in PreprocessJob::run (this=0xb930fc0) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:238
#16 0xb7930014 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa8b73278, th=0xa1d49d8, job=0xb930fc0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Job.cpp:106
#17 0xb79303b9 in ThreadWeaver::Job::execute (this=0xb930fc0, th=0xa1d49d8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Job.cpp:135
#18 0xb7931d43 in ThreadWeaver::JobCollectionJobRunner::execute (this=0xb1956e8, t=0xa1d49d8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/JobCollection.cpp:82
#19 0xb79326f1 in ThreadWeaver::JobCollection::execute (this=0xafc2a88, t=0xa1d49d8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/JobCollection.cpp:228
#20 0xb792ef8a in ThreadWeaver::ThreadRunHelper::run (this=0xa8b73330, parent=0x96b5798, th=0xa1d49d8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:95
#21 0xb792f5fb in ThreadWeaver::Thread::run (this=0xa1d49d8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:142
#22 0xb6dc8132 in QThreadPrivate::start (arg=0xa1d49d8) at thread/qthread_unix.cpp:188
#23 0xb55134ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#24 0xb61db49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xa8372b90 (LWP 9306)):
#0  0xb7fd3430 in __kernel_vsyscall ()
#1  0xb55170e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb61ea2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6dc9172 in QWaitCondition::wait (this=0x96b57b0, mutex=0x96b5a40, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb792e148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x96b5798, th=0xa1d65d0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb7930eec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x96b5ad8, th=0xa1d65d0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb792cd2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x96b5798, th=0xa1d65d0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb7930fea in ThreadWeaver::WorkingHardState::applyForWork (this=0x96b5ad8, th=0xa1d65d0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb792e6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x96b5798, th=0xa1d65d0, previous=0x0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb7931009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x96b5ad8, th=0xa1d65d0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb792e6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x96b5798, th=0xa1d65d0, previous=0xb874c40) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb792efbe in ThreadWeaver::ThreadRunHelper::run (this=0xa8372330, parent=0x96b5798, th=0xa1d65d0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:87
#12 0xb792f5fb in ThreadWeaver::Thread::run (this=0xa1d65d0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:142
#13 0xb6dc8132 in QThreadPrivate::start (arg=0xa1d65d0) at thread/qthread_unix.cpp:188
#14 0xb55134ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb61db49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb02ffb90 (LWP 10356)):
#0  0xb54ed0ac in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0xb6eea04b in QTimerInfoList::getTime (this=0xb9f27d4, t=@0xb9f27f8) at kernel/qeventdispatcher_unix.cpp:339
#2  0xb6eea221 in QTimerInfoList::updateCurrentTime (this=0xb9f27d4) at kernel/qeventdispatcher_unix.cpp:297
#3  0xb6eebe0c in QTimerInfoList::timerWait (this=0xb9f27d4, tm=@0xb02ff144) at kernel/qeventdispatcher_unix.cpp:420
#4  0xb6ee84da in timerSourcePrepare (source=0xb54f0ff4, timeout=0xb02ff198) at kernel/qeventdispatcher_glib.cpp:141
#5  0xb546d9c0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb546ddda in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb546e268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb6ee8317 in QEventDispatcherGlib::processEvents (this=0xc69d2d8, flags={i = -1339035000}) at kernel/qeventdispatcher_glib.cpp:329
#9  0xb6ebb1fa in QEventLoop::processEvents (this=0xb02ff300, flags={i = -1339034936}) at kernel/qeventloop.cpp:149
#10 0xb6ebb642 in QEventLoop::exec (this=0xb02ff300, flags={i = -1339034872}) at kernel/qeventloop.cpp:201
#11 0xb6dc4e19 in QThread::exec (this=0xa00da30) at thread/qthread.cpp:487
#12 0xb5d3c84b in KDevelop::CompletionWorkerThread::run (this=0xa00da30) at /home/milian/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:79
#13 0xb6dc8132 in QThreadPrivate::start (arg=0xa00da30) at thread/qthread_unix.cpp:188
#14 0xb55134ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb61db49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb50b8920 (LWP 9070)):
[KCrash Handler]
#6  KParts::ReadOnlyPart::url (this=0x0) at /build/buildd/kde4libs-4.3.0/kparts/part.cpp:465
#7  0xb5bec9f3 in KDevelop::EditorIntegratorStatic::removeDocument (this=0x97214c8, document=0x0) at /home/milian/projects/kde4/kdevplatform/language/editor/editorintegratorstatic.cpp:125
#8  0xb5bea72a in KDevelop::EditorIntegrator::removeDocument (document=0x0) at /home/milian/projects/kde4/kdevplatform/language/editor/editorintegrator.cpp:112
#9  0xb7ce4cc7 in KDevelop::TextDocument::close (this=0xa383650, mode=KDevelop::IDocument::Default) at /home/milian/projects/kde4/kdevplatform/shell/textdocument.cpp:473
#10 0xb7ce798b in KDevelop::DocumentController::closeDocument (this=0x96b5e08, url=@0xa5c7b8c) at /home/milian/projects/kde4/kdevplatform/shell/documentcontroller.cpp:556
#11 0xb7cd332e in KDevelop::ProjectController::closeAllOpenedFiles (this=0x9506de8, proj=0x97e96c8) at /home/milian/projects/kde4/kdevplatform/shell/projectcontroller.cpp:678
#12 0xb7cd379e in KDevelop::ProjectController::closeProject (this=0x9506de8, proj=0x97e96c8) at /home/milian/projects/kde4/kdevplatform/shell/projectcontroller.cpp:707
#13 0xb101000b in ProjectManagerViewPlugin::closeProjects (this=0x97b9b60) at /home/milian/projects/kde4/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.cpp:348
#14 0xb1011456 in ProjectManagerViewPlugin::qt_metacall (this=0x97b9b60, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfddd29c)
    at /home/milian/projects/.build/kde4/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.moc:111
#15 0xb6ed21b8 in QMetaObject::activate (sender=0xa60d03c8, from_signal_index=5, to_signal_index=6, argv=0xbfddd29c) at kernel/qobject.cpp:3113
#16 0xb6ed25f0 in QMetaObject::activate (sender=0xa60d03c8, m=0xb6d09e48, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfddd29c) at kernel/qobject.cpp:3207
#17 0xb649a6c1 in QAction::triggered (this=0xa60d03c8, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#18 0xb649bc3f in QAction::activate (this=0xa60d03c8, event=QAction::Trigger) at kernel/qaction.cpp:1160
#19 0xb68ed0e4 in QMenuPrivate::activateCausedStack (this=0xaa559098, causedStack=@0xbfddd378, action=0xa60d03c8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#20 0xb68f383b in QMenuPrivate::activateAction (this=0xaa559098, action=0xa60d03c8, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1060
#21 0xb68f4382 in QMenu::mouseReleaseEvent (this=0xbfddf2ec, e=0xbfddd9b8) at widgets/qmenu.cpp:2254
#22 0xb72d1eb5 in KMenu::mouseReleaseEvent (this=0xbfddf2ec, e=0xbfddd9b8) at /build/buildd/kde4libs-4.3.0/kdeui/widgets/kmenu.cpp:456
#23 0xb64f7973 in QWidget::event (this=0xbfddf2ec, event=0xbfddd9b8) at kernel/qwidget.cpp:7549
#24 0xb68f6639 in QMenu::event (this=0xbfddf2ec, e=0xbfddd9b8) at widgets/qmenu.cpp:2353
#25 0xb64a0d3c in QApplicationPrivate::notify_helper (this=0x9426058, receiver=0xbfddf2ec, e=0xbfddd9b8) at kernel/qapplication.cpp:4056
#26 0xb64a99b1 in QApplication::notify (this=0xbfde1670, receiver=0xbfddf2ec, e=0xbfddd9b8) at kernel/qapplication.cpp:3758
#27 0xb71e95cd in KApplication::notify (this=0xbfde1670, receiver=0xbfddf2ec, event=0xbfddd9b8) at /build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302
#28 0xb6ebcbcb in QCoreApplication::notifyInternal (this=0xbfde1670, receiver=0xbfddf2ec, event=0xbfddd9b8) at kernel/qcoreapplication.cpp:610
#29 0xb64a8a1e in QApplicationPrivate::sendMouseEvent (receiver=0xbfddf2ec, event=0xbfddd9b8, alienWidget=0x0, nativeWidget=0xbfddf2ec, buttonDown=0xb6d22aa0, lastMouseReceiver=@0xb6d22aa4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#30 0xb6518f56 in QETWidget::translateMouseEvent (this=0xbfddf2ec, event=0xbfddf04c) at kernel/qapplication_x11.cpp:4343
#31 0xb6518085 in QApplication::x11ProcessEvent (this=0xbfde1670, event=0xbfddf04c) at kernel/qapplication_x11.cpp:3428
#32 0xb654337a in x11EventSourceDispatch (s=0x9429100, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0xb546ab88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0xb546e0eb in ?? () from /usr/lib/libglib-2.0.so.0
#35 0xb546e268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0xb6ee82f8 in QEventDispatcherGlib::processEvents (this=0x93463b0, flags={i = -1075973624}) at kernel/qeventdispatcher_glib.cpp:327
#37 0xb6542a75 in QGuiEventDispatcherGlib::processEvents (this=0x93463b0, flags={i = -1075973576}) at kernel/qguieventdispatcher_glib.cpp:202
#38 0xb6ebb1fa in QEventLoop::processEvents (this=0xbfddf2ac, flags={i = -1075973512}) at kernel/qeventloop.cpp:149
#39 0xb6ebb642 in QEventLoop::exec (this=0xbfddf2ac, flags={i = -1075973452}) at kernel/qeventloop.cpp:201
#40 0xb68f64a1 in QMenu::exec (this=0xbfddf2ec, p=@0xbfddf334, action=0x0) at widgets/qmenu.cpp:1993
#41 0xb10183bb in ProjectTreeView::popupContextMenu (this=0x9e59e80, pos=@0xbfddfd20) at /home/milian/projects/kde4/kdevplatform/plugins/projectmanagerview/projecttreeview.cpp:203
#42 0xb10185d9 in ProjectTreeView::qt_metacall (this=0x9e59e80, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfddf49c)
    at /home/milian/projects/.build/kde4/kdevplatform/plugins/projectmanagerview/projecttreeview.moc:75
#43 0xb6ed21b8 in QMetaObject::activate (sender=0x9e59e80, from_signal_index=4, to_signal_index=4, argv=0xbfddf49c) at kernel/qobject.cpp:3113
#44 0xb6ed2e42 in QMetaObject::activate (sender=0x9e59e80, m=0xb6d0ad48, local_signal_index=0, argv=0xbfddf49c) at kernel/qobject.cpp:3187
#45 0xb64e9623 in QWidget::customContextMenuRequested (this=0x9e59e80, _t1=@0xbfddfd20) at .moc/release-shared/moc_qwidget.cpp:350
#46 0xb64f807b in QWidget::event (this=0x9e59e80, event=0xbfddfd10) at kernel/qwidget.cpp:7711
#47 0xb68a8a53 in QFrame::event (this=0x9e59e80, e=0xbfddfd10) at widgets/qframe.cpp:559
#48 0xb6948c2f in QAbstractScrollArea::viewportEvent (this=0x9e59e80, e=0xbfddd040) at widgets/qabstractscrollarea.cpp:962
#49 0xb69fb4a7 in QAbstractItemView::viewportEvent (this=0x9e59e80, event=0xbfddfd10) at itemviews/qabstractitemview.cpp:1476
#50 0xb6a35ff6 in QTreeView::viewportEvent (this=0x9e59e80, event=0xbfddfd10) at itemviews/qtreeview.cpp:1266
#51 0xb694b235 in QAbstractScrollAreaFilter::eventFilter (this=0xa366268, o=0xa2aa618, e=0xbfddfd10) at widgets/qabstractscrollarea_p.h:100
#52 0xb6ebbdea in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9426058, receiver=0xa2aa618, event=0xbfddfd10) at kernel/qcoreapplication.cpp:726
#53 0xb64a0d1a in QApplicationPrivate::notify_helper (this=0x9426058, receiver=0xa2aa618, e=0xbfddfd10) at kernel/qapplication.cpp:4052
#54 0xb64a957d in QApplication::notify (this=0xbfde1670, receiver=0xa2aa618, e=0xbfddfd10) at kernel/qapplication.cpp:3845
#55 0xb71e95cd in KApplication::notify (this=0xbfde1670, receiver=0xa2aa618, event=0xbfddfd10) at /build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302
#56 0xb6ebcbcb in QCoreApplication::notifyInternal (this=0xbfde1670, receiver=0xa2aa618, event=0xbfddfd10) at kernel/qcoreapplication.cpp:610
#57 0xb64abe8e in QCoreApplication::sendSpontaneousEvent (receiver=0xa2aa618, event=0xbfddd040) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#58 0xb65194b7 in QETWidget::translateMouseEvent (this=0x9539118, event=0xbfde137c) at kernel/qapplication_x11.cpp:4415
#59 0xb6518085 in QApplication::x11ProcessEvent (this=0xbfde1670, event=0xbfde137c) at kernel/qapplication_x11.cpp:3428
#60 0xb654337a in x11EventSourceDispatch (s=0x9429100, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#61 0xb546ab88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#62 0xb546e0eb in ?? () from /usr/lib/libglib-2.0.so.0
#63 0xb546e268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#64 0xb6ee82f8 in QEventDispatcherGlib::processEvents (this=0x93463b0, flags={i = -1075964616}) at kernel/qeventdispatcher_glib.cpp:327
#65 0xb6542a75 in QGuiEventDispatcherGlib::processEvents (this=0x93463b0, flags={i = -1075964568}) at kernel/qguieventdispatcher_glib.cpp:202
#66 0xb6ebb1fa in QEventLoop::processEvents (this=0xbfde15e0, flags={i = -1075964504}) at kernel/qeventloop.cpp:149
#67 0xb6ebb642 in QEventLoop::exec (this=0xbfde15e0, flags={i = -1075964440}) at kernel/qeventloop.cpp:201
#68 0xb6ebdae9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#69 0xb64a0bb7 in QApplication::exec () at kernel/qapplication.cpp:3525
#70 0x0804f04a in main (argc=1, argv=0xbfde1b54) at /home/milian/projects/kde4/kdevelop/app/main.cpp:181
Comment 1 Dario Andres 2009-08-18 18:08:22 UTC
The backtrace seems related to bug 195047 comment 0. Thanks
Comment 2 Andreas Pakulat 2009-10-10 08:53:33 UTC
*** Bug 210040 has been marked as a duplicate of this bug. ***
Comment 3 Andreas Pakulat 2009-11-17 00:03:49 UTC

*** This bug has been marked as a duplicate of bug 204383 ***
Comment 4 Dario Andres 2009-11-19 13:39:13 UTC
*** Bug 215260 has been marked as a duplicate of this bug. ***