Problems when loading CMake project
Milian Wolff
mail at milianw.de
Mon Jan 31 15:05:49 GMT 2011
Oliver Schuppe, 31.01.2011:
> Milian Wolff schrieb:
> > gdb --pid $(pidof kdevelop)
> > ...
> > thread apply all bt
> >
> > => that full output is needed to find out whether there is a deadlock
> > or not.
> >
> > bye
>
> (gdb) thread apply all bt
Not a deadlock but a hideous amount of uses reported in CMake apparently.
Please report a bug for this and attach your backtrace as well as the
CMakeLists.txt that trigger this behavior.
Aleix:
> Thread 7 (Thread 0x7f6323ddf700 (LWP 18608)):
> #0 0x00007f633f76c1cd in KDevVarLengthArray<KDevelop::Use, 10>::realloc
> (this=0x7f63280f9a10, asize=98679, aalloc=98679) at
> /home/oschuppe/gitlocal/kdevplatform/util/kdevvarlengtharray.h:307
> #1 0x00007f633f763e7b in resize (this=<value optimized out>,
> declarationIndex=10, range=<value optimized out>, insertBefore=0) at
> /home/oschuppe/gitlocal/kdevplatform/util/kdevvarlengtharray.h:260
> #2 insert (this=<value optimized out>, declarationIndex=10,
> range=<value optimized out>, insertBefore=0) at
> /home/oschuppe/gitlocal/kdevplatform/util/kdevvarlengtharray.h:356
> #3 KDevelop::DUContext::createUse (this=<value optimized out>,
> declarationIndex=10, range=<value optimized out>, insertBefore=0)
> at
> /home/oschuppe/gitlocal/kdevplatform/language/duchain/ducontext.cpp:1385
> #4 0x00007f632d11ffed in
> CMakeProjectVisitor::createUses(CMakeFunctionDesc const&) () from
> /usr/lib/libkdev4cmakecommon.so
> #5 0x00007f632d125a12 in
> CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) ()
> from /usr/lib/libkdev4cmakecommon.so
> #6 0x00007f632d1393a0 in CMakeProjectVisitor::visit(ForeachAst const*)
> () from /usr/lib/libkdev4cmakecommon.so
> #7 0x00007f632d1258ab in
> CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) ()
> from /usr/lib/libkdev4cmakecommon.so
> #8 0x00007f632d13a353 in CMakeProjectVisitor::visit(MacroCallAst
> const*) () from /usr/lib/libkdev4cmakecommon.so
> #9 0x00007f632d1258ab in
> CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) ()
> from /usr/lib/libkdev4cmakecommon.so
> #10 0x00007f632d14dced in CMakeParserUtils::includeScript(QString
> const&, KDevelop::ReferencedTopDUContext, CMakeProjectData*, QString
> const&) () from /usr/lib/libkdev4cmakecommon.so
> #11 0x00007f632cec7e94 in ?? () from /usr/lib/kde4/kdevcmakemanager.so
> #12 0x00007f632cecd5bb in ?? () from /usr/lib/kde4/kdevcmakemanager.so
> #13 0x00007f633fd40861 in KDevelop::ImportProjectJobPrivate::import
> (this=0x2685870, folder=0x7f6329da7ff8) at
> /home/oschuppe/gitlocal/kdevplatform/project/importprojectjob.cpp:53
> #14 0x00007f633fd409a0 in import (this=0x2685870, folder=<value
> optimized out>) at
> /home/oschuppe/gitlocal/kdevplatform/project/importprojectjob.cpp:57
> #15 KDevelop::ImportProjectJobPrivate::import (this=0x2685870,
> folder=<value optimized out>) at
> /home/oschuppe/gitlocal/kdevplatform/project/importprojectjob.cpp:57
> #16 0x00007f633fd406d6 in QtConcurrent::RunFunctionTask<void>::run
> (this=0x26b2600) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
> #17 0x00007f6342e1dd02 in QThreadPoolThread::run (this=0x26b18e0) at
> concurrent/qthreadpool.cpp:106
> #18 0x00007f6342e2827e in QThreadPrivate::start (arg=0x26b18e0) at
> thread/qthread_unix.cpp:266
> #19 0x00007f6340aed971 in start_thread (arg=<value optimized out>) at
> pthread_create.c:304
> #20 0x00007f634143492d in clone () at
> ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #21 0x0000000000000000 in ?? ()
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20110131/8c0b14f0/attachment.sig>
More information about the KDevelop
mailing list