Crash in CMake Manager
Cedric Pasteur
cedric.pasteur at free.fr
Wed Sep 10 21:13:50 UTC 2008
Hi,
I was talking with someone on #kexi channel this afternoon and he reported a
crash in kdevelop4, that seems to be related to cmake.
Here is the baktrace
Program received signal SIGSEGV, Segmentation fault.
KDevelop::DocumentRangeObject::syncFromSmart (this=0x0)
at /usr/src/debug/kdevplatform-4.1.65/language/editor/documentrangeobject.cpp:60
60 QMutexLocker l(dd_ptr->m_smartMutex);
(gdb) bt
#0 KDevelop::DocumentRangeObject::syncFromSmart (this=0x0)
at /usr/src/debug/kdevplatform-4.1.65/language/editor/documentrangeobject.cpp:60
#1 0x018192f8 in KDevelop::DocumentRangeObject::range (this=0x0)
at /usr/src/debug/kdevplatform-4.1.65/language/editor/documentrangeobject.cpp:172
#2 0x0184d4ec in KDevelop::DUContextDynamicData::addDeclaration
(this=0x98cbae0, newDeclaration=0x98d7ba0)
at /usr/src/debug/kdevplatform-4.1.65/language/duchain/ducontext.cpp:353
#3 0x01867513 in KDevelop::Declaration::setContext (this=0x98d7ba0,
context=0x98dad80, anonymous=false)
at /usr/src/debug/kdevplatform-4.1.65/language/duchain/declaration.cpp:370
#4 0x01867f46 in Declaration (this=0x98d7ba0, range=@0xbf9ee758,
context=0x98dad80)
at /usr/src/debug/kdevplatform-4.1.65/language/duchain/declaration.cpp:108
#5 0x06de332d in CMakeProjectVisitor::createDefinitions (this=0xbf9eeb94,
ast=0x98d7980)
at /usr/src/debug/kdevelop-4.1.65/buildtools/managers/cmake/parser/cmakeprojectvisitor.cpp:1778
#6 0x06deec70 in CMakeProjectVisitor::walk (this=0xbf9eeb94, fc=@0x9889700,
line=74)
at /usr/src/debug/kdevelop-4.1.65/buildtools/managers/cmake/parser/cmakeprojectvisitor.cpp:1746
#7 0x06df0803 in CMakeProjectVisitor::visit (this=0xbf9eeb94,
ifast=0x98896f8)
at /usr/src/debug/kdevelop-4.1.65/buildtools/managers/cmake/parser/cmakeprojectvisitor.cpp:885
#8 0x06ddf8d8 in IfAst::accept (this=0x98896f8, visitor=0xbf9eeb94)
at /usr/src/debug/kdevelop-4.1.65/buildtools/managers/cmake/parser/cmakeast.h:444
#9 0x06deeec7 in CMakeProjectVisitor::walk (this=0xbf9eeb94, fc=@0xbf9eec78,
line=67)
at /usr/src/debug/kdevelop-4.1.65/buildtools/managers/cmake/parser/cmakeprojectvisitor.cpp:1749
#10 0x069db813 in CMakeProjectManager::includeScript (this=0x9881c90,
file=@0xbf9eedf8, project=0x983ead0)
at /usr/src/debug/kdevelop-4.1.65/buildtools/managers/cmake/cmakemanager.cpp:312
#11 0x069e183a in CMakeProjectManager::initializeProject (this=0x9881c90,
project=0x983ead0, baseUrl=@0xbf9eefd4)
at /usr/src/debug/kdevelop-4.1.65/buildtools/managers/cmake/cmakemanager.cpp:232
#12 0x069e2c1e in CMakeProjectManager::import (this=0x9881c90,
project=0x983ead0)
at /usr/src/debug/kdevelop-4.1.65/buildtools/managers/cmake/cmakemanager.cpp:277
#13 0x0038be9c in KDevelop::Project::open (this=0x983ead0,
projectFileUrl_=@0xbf9ef224)
at /usr/src/debug/kdevplatform-4.1.65/shell/project.cpp:337
#14 0x00384c94 in KDevelop::ProjectController::openProject (this=0x921c4a0,
projectFile=@0xbf9ef264)
at /usr/src/debug/kdevplatform-4.1.65/shell/projectcontroller.cpp:350
#15 0x003884bd in KDevelop::ProjectController::qt_metacall (this=0x921c4a0,
_c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf9ef35c)
at /usr/src/debug/kdevplatform-4.1.65/i386-redhat-linux-gnu/shell/projectcontroller.moc:137
#16 0x00c4a3e0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0x00c4a7e0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0x00fbcfd1 in QAction::triggered () from /usr/lib/libQtGui.so.4
#19 0x00fbd93f in QAction::activate () from /usr/lib/libQtGui.so.4
#20 0x013991f4 in ?? () from /usr/lib/libQtGui.so.4
#21 0x01399ca2 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#22 0x00960115 in KMenu::mouseReleaseEvent (this=0x9257b50, e=0xbf9efa48)
at /usr/src/debug/kdelibs-4.1.65/kdeui/widgets/kmenu.cpp:452
#23 0x0101b062 in QWidget::event () from /usr/lib/libQtGui.so.4
#24 0x0139bef9 in QMenu::event () from /usr/lib/libQtGui.so.4
#25 0x00fc32ac in QApplicationPrivate::notify_helper ()
from /usr/lib/libQtGui.so.4
#26 0x00fcbac1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#27 0x0089010d in KApplication::notify (this=0xbf9f0354, receiver=0x9257b50,
event=0xbf9efa48)
at /usr/src/debug/kdelibs-4.1.65/kdeui/kernel/kapplication.cpp:311
#28 0x00c35731 in QCoreApplication::notifyInternal ()
from /usr/lib/libQtCore.so.4
#29 0x00fcad4e in QApplicationPrivate::sendMouseEvent ()
from /usr/lib/libQtGui.so.4
#30 0x0103503e in ?? () from /usr/lib/libQtGui.so.4
#31 0x01034125 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#32 0x0105c66c in ?? () from /usr/lib/libQtGui.so.4
#33 0x025950d8 in IA__g_main_context_dispatch (context=<value optimized out>)
at gmain.c:2012
#34 0x02598783 in g_main_context_iterate (context=<value optimized out>,
block=<value optimized out>, dispatch=<value optimized out>, self=Could not
find the frame base for "g_main_context_iterate".
) at gmain.c:2645
#35 0x02598941 in IA__g_main_context_iteration (context=<value optimized out>,
may_block=<value optimized out>) at gmain.c:2708
#36 0x00c5fea8 in QEventDispatcherGlib::processEvents ()
from /usr/lib/libQtCore.so.4
#37 0x0105bd35 in ?? () from /usr/lib/libQtGui.so.4
#38 0x00c33e1a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#39 0x00c33fda in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#40 0x00c36685 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#41 0x00fc3127 in QApplication::exec () from /usr/lib/libQtGui.so.4
#42 0x0804df7f in main (argc=1, argv=0xbf9f07b4)
at /usr/src/debug/kdevelop-4.1.65/src/main.cpp:194
See you
More information about the KDevelop-devel
mailing list