Bug 171810 - try to import a cmake project and kdevelop crash
Summary: try to import a cmake project and kdevelop crash
Status: RESOLVED DUPLICATE of bug 171790
Alias: None
Product: kdevelop
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-28 18:41 UTC by BogDan Vatra
Modified: 2008-09-29 01:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BogDan Vatra 2008-09-28 18:41:31 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

I try to import my cmake based project to kdevelop 4.svn and it crash.
here is the bt:

Application: KDevelop (kdevelop), signal SIGSEGV
0x00007f43948871a1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 4172)]

Thread 6 (Thread 0x409e4950 (LWP 4173)):
#0  0x00007f43948b0e52 in select () from /lib/libc.so.6
#1  0x00007f4397051746 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f4396f89162 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f4396d08fe7 in start_thread () from /lib/libpthread.so.0
#4  0x00007f43948b76ed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x41dc7950 (LWP 4195)):
#0  0x00007f43902f2480 in g_main_context_query () from /usr/lib/libglib-2.0.so.0
#1  0x00007f43902f6fa7 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f43902f743b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f439709972e in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#4  0x00007f439706fca2 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#5  0x00007f439706fe2d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#6  0x00007f4396f86218 in QThread::exec () from /usr/lib/libQtCore.so.4
#7  0x00007f4396f89162 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f4396d08fe7 in start_thread () from /lib/libpthread.so.0
#9  0x00007f43948b76ed in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x411e5950 (LWP 4200)):
#0  KDevelop::Identifier::index (this=0x411da730) at /root/kdesvn/kdevplatform/language/duchain/identifier.cpp:404
#1  0x00007f43935bf291 in KDevelop::Identifier::operator== (this=<value optimized out>, rhs=@0x411da730) at /root/kdesvn/kdevplatform/language/duchain/identifier.cpp:440
#2  0x00007f4393588848 in KDevelop::DUContext::allLocalDeclarations (this=<value optimized out>, identifier=@0x411da730) at /root/kdesvn/kdevplatform/language/duchain/ducontext.cpp:938
#3  0x00007f437e1efbba in DeclarationBuilder::openDeclarationReal<KDevelop::ClassFunctionDeclaration> (this=0x411db8c0, name=0x22a56d08, rangeNode=<value optimized out>, customName=@0x7f437e49c7f8, 
    collapseRange=false) at /root/kdesvn/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:393
#4  0x00007f437e1f09a6 in DeclarationBuilder::openDeclaration<KDevelop::ClassFunctionDeclaration> (this=0x411db8c0, name=0x22a56d08, rangeNode=0x22a56c30, customName=@0x411da990, collapseRange=false)
    at /root/kdesvn/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:339
#5  0x00007f437e1d6f8a in DeclarationBuilder::openFunctionDeclaration (this=0x411db8c0, name=0x22a56d08, rangeNode=0x22a56c30)
    at /root/kdesvn/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:587
#6  0x00007f437e1d707e in DeclarationBuilder::visitDeclarator (this=0x411db8c0, node=0x22a56c30) at /root/kdesvn/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:213
#7  0x00007f437df4432e in DefaultVisitor::visitInitDeclarator (this=0x411da730, node=0x22a57490) at /root/kdesvn/kdevelop/languages/cpp/parser/default_visitor.cpp:192
#8  0x00007f437e1f587e in TypeBuilder::visitSimpleDeclaration (this=0x411db8c0, node=0x22a574d8) at /root/kdesvn/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:468
#9  0x00007f437e1d26c2 in DeclarationBuilder::visitSimpleDeclaration (this=0x411db8c0, node=0x22a574d8) at /root/kdesvn/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:194
#10 0x00007f437df44fd5 in visitNodes<DeclarationAST*> (v=0x411db920, nodes=0x2255ee80) at /root/kdesvn/kdevelop/languages/cpp/parser/visitor.h:127
#11 0x00007f437e1c63a8 in ContextBuilder::visitClassSpecifier (this=0x411db8c0, node=0x2255ede8) at /root/kdesvn/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:507
#12 0x00007f437e1f7198 in TypeBuilder::visitClassSpecifier (this=0x411db8c0, node=0x2255ede8) at /root/kdesvn/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:115
#13 0x00007f437e1d5756 in DeclarationBuilder::visitClassSpecifier (this=0x411db8c0, node=0x2255ede8) at /root/kdesvn/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:726
#14 0x00007f437e1f581c in TypeBuilder::visitSimpleDeclaration (this=0x411db8c0, node=0x220f83a0) at /root/kdesvn/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:459
#15 0x00007f437e1d26c2 in DeclarationBuilder::visitSimpleDeclaration (this=0x411db8c0, node=0x220f83a0) at /root/kdesvn/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:194
#16 0x00007f437df44fd5 in visitNodes<DeclarationAST*> (v=0x411db920, nodes=0x2298e188) at /root/kdesvn/kdevelop/languages/cpp/parser/visitor.h:127
#17 0x00007f437e1db8b7 in KDevelop::AbstractTypeBuilder<AST, NameAST, ContextBuilder>::supportBuild (this=0x411db8c0, node=0x2298dea0, context=0x59bfaf0)
    at /usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:203
#18 0x00007f437e1c3d9c in ContextBuilder::buildContexts (this=0x411db8c0, file=@0x411dc1e0, node=0x2298dea0, includes=0x411dc1c0, updateContext=<value optimized out>, removeOldImports=false)
    at /root/kdesvn/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:357
#19 0x00007f437e1d1ce9 in DeclarationBuilder::buildDeclarations (this=0x411da730, file=@0x2582dc4, node=0x1, includes=0x2a6b560, updateContext=@0x7f4394b37a00, removeOldImports=140)
    at /root/kdesvn/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:99
#20 0x00007f437e6fca37 in CPPInternalParseJob::run (this=0x420ef50) at /root/kdesvn/kdevelop/languages/cpp/cppparsejob.cpp:458
#21 0x00007f437e705ff2 in PreprocessJob::sourceNeeded (this=0x20f8d7f0, _fileName=<value optimized out>, type=<value optimized out>, sourceLine=47, skipCurrentPath=<value optimized out>)
    at /root/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:453
#22 0x00007f437dd2bc58 in rpp::pp::handle_include (this=0x411dd010, skip_current_path=false, input=@0x411dcc70, output=<value optimized out>)
    at /root/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:183
#23 0x00007f437dd2c704 in rpp::pp::operator() (this=0x411dd010, input=@0x411dce60, output=@0x411dce10) at /root/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:236
#24 0x00007f437dd2c992 in rpp::pp::processFileInternal (this=0x411dd010, fileName=<value optimized out>, fileContents=<value optimized out>, result=@0x411de330)
    at /root/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:95
#25 0x00007f437dd2ca35 in rpp::pp::processFile (this=0x411da730, fileName=@0x411da730, data=@0x2582dc4) at /root/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:82
#26 0x00007f437e705009 in PreprocessJob::run (this=0x20f8d7f0) at /root/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:236
#27 0x00007f437e6f937d in CPPParseJob::parseForeground (this=0x20f8d2a0) at /root/kdesvn/kdevelop/languages/cpp/cppparsejob.cpp:156
#28 0x00007f437e705ff2 in PreprocessJob::sourceNeeded (this=0x20fa51b0, _fileName=<value optimized out>, type=<value optimized out>, sourceLine=0, skipCurrentPath=<value optimized out>)
    at /root/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:453
#29 0x00007f437dd2bc58 in rpp::pp::handle_include (this=0x411df310, skip_current_path=false, input=@0x411def70, output=<value optimized out>)
    at /root/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:183
#30 0x00007f437dd2c704 in rpp::pp::operator() (this=0x411df310, input=@0x411df160, output=@0x411df110) at /root/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:236
#31 0x00007f437dd2c992 in rpp::pp::processFileInternal (this=0x411df310, fileName=<value optimized out>, fileContents=<value optimized out>, result=@0x411e0630)
    at /root/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:95
#32 0x00007f437dd2ca35 in rpp::pp::processFile (this=0x411da730, fileName=@0x411da730, data=@0x2582dc4) at /root/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:82
#33 0x00007f437e705009 in PreprocessJob::run (this=0x20fa51b0) at /root/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:236
#34 0x00007f437e6f937d in CPPParseJob::parseForeground (this=0x20fc8930) at /root/kdesvn/kdevelop/languages/cpp/cppparsejob.cpp:156
#35 0x00007f437e705ff2 in PreprocessJob::sourceNeeded (this=0x20fbc580, _fileName=<value optimized out>, type=<value optimized out>, sourceLine=23, skipCurrentPath=<value optimized out>)
    at /root/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:453
#36 0x00007f437dd2bc58 in rpp::pp::handle_include (this=0x411e1610, skip_current_path=false, input=@0x411e1270, output=<value optimized out>)
    at /root/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:183
#37 0x00007f437dd2c704 in rpp::pp::operator() (this=0x411e1610, input=@0x411e1460, output=@0x411e1410) at /root/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:236
#38 0x00007f437dd2c992 in rpp::pp::processFileInternal (this=0x411e1610, fileName=<value optimized out>, fileContents=<value optimized out>, result=@0x411e2930)
    at /root/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:95
#39 0x00007f437dd2ca35 in rpp::pp::processFile (this=0x411da730, fileName=@0x411da730, data=@0x2582dc4) at /root/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:82
#40 0x00007f437e705009 in PreprocessJob::run (this=0x20fbc580) at /root/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:236
#41 0x00007f437e6f937d in CPPParseJob::parseForeground (this=0x20ecd280) at /root/kdesvn/kdevelop/languages/cpp/cppparsejob.cpp:156
#42 0x00007f437e705ff2 in PreprocessJob::sourceNeeded (this=0x96c89e0, _fileName=<value optimized out>, type=<value optimized out>, sourceLine=20, skipCurrentPath=<value optimized out>)
    at /root/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:453
#43 0x00007f437dd2bc58 in rpp::pp::handle_include (this=0x411e3910, skip_current_path=false, input=@0x411e3570, output=<value optimized out>)
    at /root/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:183
#44 0x00007f437dd2c704 in rpp::pp::operator() (this=0x411e3910, input=@0x411e3760, output=@0x411e3710) at /root/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:236
#45 0x00007f437dd2c992 in rpp::pp::processFileInternal (this=0x411e3910, fileName=<value optimized out>, fileContents=<value optimized out>, result=@0x411e4c30)
    at /root/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:95
#46 0x00007f437dd2ca35 in rpp::pp::processFile (this=0x411da730, fileName=@0x411da730, data=@0x2582dc4) at /root/kdesvn/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:82
#47 0x00007f437e705009 in PreprocessJob::run (this=0x96c89e0) at /root/kdesvn/kdevelop/languages/cpp/preprocessjob.cpp:236
#48 0x00007f4395808bc4 in ThreadWeaver::JobRunHelper::runTheJob (this=0x411e4fc0, th=0x35dd070, job=0x96c89e0) at /root/kdesvn/kdelibs/threadweaver/Weaver/Job.cpp:106
#49 0x00007f4395808d69 in ThreadWeaver::Job::execute (this=0x96c89e0, th=0x35dd070) at /root/kdesvn/kdelibs/threadweaver/Weaver/Job.cpp:135
#50 0x00007f439580a153 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x96c3300, t=0x35dd070) at /root/kdesvn/kdelibs/threadweaver/Weaver/JobCollection.cpp:82
#51 0x00007f4395807cef in ThreadWeaver::ThreadRunHelper::run (this=0x411e5080, parent=0x240a4e0, th=0x35dd070) at /root/kdesvn/kdelibs/threadweaver/Weaver/Thread.cpp:95
#52 0x00007f4395807e0e in ThreadWeaver::Thread::run (this=0x35dd070) at /root/kdesvn/kdelibs/threadweaver/Weaver/Thread.cpp:142
#53 0x00007f4396f89162 in ?? () from /usr/lib/libQtCore.so.4
#54 0x00007f4396d08fe7 in start_thread () from /lib/libpthread.so.0
#55 0x00007f43948b76ed in clone () from /lib/libc.so.6
#56 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x425c8950 (LWP 4297)):
#0  0x00007f4396d0cd49 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f4396f8a159 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f4395806407 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x150a7e00, th=0x153533e0) at /root/kdesvn/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f4395809758 in ThreadWeaver::WorkingHardState::applyForWork (this=0x15373be0, th=0x153533e0) at /root/kdesvn/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f4395807d34 in ThreadWeaver::ThreadRunHelper::run (this=0x425c8080, parent=0x150a7e00, th=0x153533e0) at /root/kdesvn/kdelibs/threadweaver/Weaver/Thread.cpp:87
#5  0x00007f4395807e0e in ThreadWeaver::Thread::run (this=0x153533e0) at /root/kdesvn/kdelibs/threadweaver/Weaver/Thread.cpp:142
#6  0x00007f4396f89162 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f4396d08fe7 in start_thread () from /lib/libpthread.so.0
#8  0x00007f43948b76ed in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x42dc9950 (LWP 4300)):
#0  0x00007f4396d0cd49 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f4396f8a159 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f4395806407 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x150a7e00, th=0x1558c980) at /root/kdesvn/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f4395809758 in ThreadWeaver::WorkingHardState::applyForWork (this=0x15373be0, th=0x1558c980) at /root/kdesvn/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f4395807d34 in ThreadWeaver::ThreadRunHelper::run (this=0x42dc9080, parent=0x150a7e00, th=0x1558c980) at /root/kdesvn/kdelibs/threadweaver/Weaver/Thread.cpp:87
#5  0x00007f4395807e0e in ThreadWeaver::Thread::run (this=0x1558c980) at /root/kdesvn/kdelibs/threadweaver/Weaver/Thread.cpp:142
#6  0x00007f4396f89162 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f4396d08fe7 in start_thread () from /lib/libpthread.so.0
#8  0x00007f43948b76ed in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f439937e750 (LWP 4172)):
[KCrash Handler]
#5  0x00007f4393563036 in KDevelop::BackgroundParserPrivate::parseDocumentsInternal (this=0x240a2b0) at /root/kdesvn/kdevplatform/language/backgroundparser/backgroundparser.cpp:168
#6  0x00007f439355e6dc in KDevelop::BackgroundParser::parseDocuments (this=0x2384400) at /root/kdesvn/kdevplatform/language/backgroundparser/backgroundparser.cpp:358
#7  0x00007f43935601c5 in KDevelop::BackgroundParser::qt_metacall (this=0x2384400, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa14c2510)
    at /root/kdesvn/build/kdevplatform/language/backgroundparser.moc:126
#8  0x00007f43970856d4 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#9  0x00007f439707ffe3 in QObject::event () from /usr/lib/libQtCore.so.4
#10 0x00007f4395bdd55d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#11 0x00007f4395be52da in QApplication::notify () from /usr/lib/libQtGui.so.4
#12 0x00007f4397a271ab in KApplication::notify (this=0x7fffa14c2f70, receiver=0x240a2c0, event=0x7fffa14c2bc0) at /root/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#13 0x00007f4397071381 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#14 0x00007f439709d256 in ?? () from /usr/lib/libQtCore.so.4
#15 0x00007f43970997ad in ?? () from /usr/lib/libQtCore.so.4
#16 0x00007f43902f3af2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x00007f43902f727d in ?? () from /usr/lib/libglib-2.0.so.0
#18 0x00007f43902f743b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0x00007f439709970f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#20 0x00007f4395c6ef4f in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007f439706fca2 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#22 0x00007f439706fe2d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#23 0x00007f43970722dd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#24 0x000000000040729a in main (argc=1, argv=0x7fffa14c3f18) at /root/kdesvn/kdevelop/src/main.cpp:194

The project I try to import is svn version of eXaro (http://code.google.com/p/exaro/)
Comment 1 Andreas Pakulat 2008-09-29 01:09:56 UTC

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