[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: duchain-related cmake issues
From: Aleix <aleixpol () gmail ! com>
Date: 2008-11-16 17:20:39
Message-ID: 757d9a550811160920l5771fd9dr3e3b13917ee9aaf9 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
hi,
I've noticed 2 issues on the cmake language support, maybe you know how to
fix it (special mention to david :):
- unexistent duchain highlighting
if the project is loaded after opening a cmake file (thus the duchain is
created after loading the file) the file doesn't ever get duchain completion
(even if reload, close+open,...).
- crash
open project.
load a CMakeLists.txt (notice that it has duchain highlighting)
modify anything
save
reload (F5)
**crash** (bt attatched)
If more info is needed you all know where to find me.
bye!
aleix
[Attachment #5 (text/html)]
hi,<br><br>I've noticed 2 issues on the cmake language support, maybe you know \
how to fix it (special mention to david :):<br>- unexistent duchain \
highlighting<br>if the project is loaded after opening a cmake file (thus the duchain \
is created after loading the file) the file doesn't ever get duchain completion \
(even if reload, close+open,...).<br> <br>- crash<br>open project.<br>load a \
CMakeLists.txt (notice that it has duchain highlighting)<br>modify \
anything<br>save<br>reload (F5)<br>**crash** (bt attatched)<br><br>If more info is \
needed you all know where to find me.<br> <br>bye!<br>aleix<br>
["cmakeduchaincrash.text" (text/plain)]
buf=0xbf9a5190 "ASSERT: \"uint(m_dynamicData->m_rangesForUses.count()) == \
d->m_usesSize()\" in file \
/home/kde-devel/kdevplatform/language/duchain/ducontext.cpp, line 198") at \
global/qglobal.cpp:2102 #4 0xb666f796 in qFatal (msg=0xb67b7438 "ASSERT: \"%s\" in \
file %s, line %d") at global/qglobal.cpp:2303 #5 0xb666f825 in qt_assert \
(assertion=0xb6211fc8 "uint(m_dynamicData->m_rangesForUses.count()) == \
d->m_usesSize()", file=0xb62119cc \
"/home/kde-devel/kdevplatform/language/duchain/ducontext.cpp", line=198) at \
global/qglobal.cpp:1872 #6 0xb61427dc in \
KDevelop::DUContext::synchronizeUsesFromSmart (this=0xb281a538) at \
/home/kde-devel/kdevplatform/language/duchain/ducontext.cpp:198 #7 0xb6142a68 in \
KDevelop::DUContext::uses (this=0xb281a538) at \
/home/kde-devel/kdevplatform/language/duchain/ducontext.cpp:1405 #8 0xb619d29e in \
KDevelop::DUChainUtils::itemUnderCursor (url=@0xbf9a7280, c=@0xbf9a72e4) at \
/home/kde-devel/kdevplatform/language/duchain/duchainutils.cpp:281 #9 0xb36061ff in \
ContextBrowserPlugin::findDeclaration (this=0x8591280, view=0x89f2e60, \
position=@0xbf9a72e4, mouseHighlight=false) at \
/home/kde-devel/kdevplatform/plugins/contextbrowser/contextbrowser.cpp:341 #10 \
0xb360659b in ContextBrowserPlugin::updateBrowserWidgetFor (this=0x8591280, \
view=0x89f2e60) at /home/kde-devel/kdevplatform/plugins/contextbrowser/contextbrowser.cpp:437
#11 0xb3606748 in ContextBrowserPlugin::updateViews (this=0x8591280) at \
/home/kde-devel/kdevplatform/plugins/contextbrowser/contextbrowser.cpp:460 #12 \
0xb36069cb in ContextBrowserPlugin::qt_metacall (this=0x8591280, \
_c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbf9a7428) at \
/home/kde-devel/build-kdevplatform/plugins/contextbrowser/contextbrowser.moc:108 #13 \
0xb677bbd0 in QMetaObject::activate (sender=0x85fed08, from_signal_index=4, \
to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3031 #14 0xb677c952 in \
QMetaObject::activate (sender=0x85fed08, m=0xb684a0a4, local_signal_index=0, \
argv=0x0) at kernel/qobject.cpp:3101 #15 0xb67b6857 in QTimer::timeout \
(this=0x85fed08) at .moc/release-shared/moc_qtimer.cpp:126 #16 0xb678257e in \
QTimer::timerEvent (this=0x85fed08, e=0xbf9a78cc) at kernel/qtimer.cpp:257 #17 \
0xb67766af in QObject::event (this=0x85fed08, e=0xbf9a78cc) at \
kernel/qobject.cpp:1120 #18 0xb698779c in QApplicationPrivate::notify_helper \
(this=0x83d6918, receiver=0x85fed08, e=0xbf9a78cc) at kernel/qapplication.cpp:3803 \
#19 0xb698f61e in QApplication::notify (this=0xbf9a7ba4, receiver=0x85fed08, \
e=0xbf9a78cc) at kernel/qapplication.cpp:3393 #20 0xb73cb357 in KApplication::notify \
(this=0xbf9a7ba4, receiver=0x85fed08, event=0xbf9a78cc) at \
/home/kde-devel/kdelibs/kdeui/kernel/kapplication.cpp:307 #21 0xb67670d1 in \
QCoreApplication::notifyInternal (this=0xbf9a7ba4, receiver=0x85fed08, \
event=0xbf9a78cc) at kernel/qcoreapplication.cpp:587 #22 0xb6795031 in \
QTimerInfoList::activateTimers (this=0x83d9074) at \
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209 #23 0xb6791680 \
in timerSourceDispatch (source=0x83d9040) at kernel/qeventdispatcher_glib.cpp:160 #24 \
0xb5c331b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic