check DUChain uses crash
Aleix Pol
aleixpol at kde.org
Mon Jul 6 15:30:20 UTC 2009
Hi,
We have a bug in the CMake language support that can be reproduced by just
clicking the "show uses" link.
It happens because we've getting a null file from the ParsingEnvironmentFile
(as you can see on the bt). Does anybody know what I am missing?
Thanks,
Aleix
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb4f4cb60 (LWP 5128)]
0xb5c2e674 in ImportanceChecker::operator() (this=0xbfa1b580, file=0x0) at
/home/kde-devel/kdevplatform/language/duchain/navigation/usescollector.cpp:117
117 return
m_collector.shouldRespectFile(file->url());
(gdb)
where
#0 0xb5c2e674 in ImportanceChecker::operator() (this=0xbfa1b580, file=0x0)
at
/home/kde-devel/kdevplatform/language/duchain/navigation/usescollector.cpp:117
#1 0xb5c2d698 in KDevelop::UsesCollector::startCollecting (this=0xb138080)
at
/home/kde-devel/kdevplatform/language/duchain/navigation/usescollector.cpp:229
#2 0xb5c242c4 in UsesWidget (this=0xb8e70b0, declaration={m_topContext =
8841, m_declarationIndex = 31}, customCollector=0x0)
at
/home/kde-devel/kdevplatform/language/duchain/navigation/useswidget.cpp:517
#3 0xb5c1a6d8 in UsesNavigationContext (this=0xb90fcb8,
declaration={m_topContext = 8841, m_declarationIndex = 31},
previousContext=0xb8105e8)
at
/home/kde-devel/kdevplatform/language/duchain/navigation/usesnavigationcontext.cpp:28
#4 0xb5c177d6 in KDevelop::AbstractNavigationContext::execute
(this=0xb8105e8, action=@0xb4be32c)
at
/home/kde-devel/kdevplatform/language/duchain/navigation/abstractnavigationcontext.cpp:171
#5 0xb5c17d3f in KDevelop::AbstractNavigationContext::acceptLink
(this=0xb8105e8, link=@0xbfa1b998)
at
/home/kde-devel/kdevplatform/language/duchain/navigation/abstractnavigationcontext.cpp:352
#6 0xb5c14afc in KDevelop::AbstractNavigationWidget::anchorClicked
(this=0xa94cc80, url=@0xbfa1bb08)
at
/home/kde-devel/kdevplatform/language/duchain/navigation/abstractnavigationwidget.cpp:195
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090706/06054891/attachment.html>
More information about the KDevelop-devel
mailing list