Bug 171790 - kdevelop crashes when loading cmake projects
Summary: kdevelop crashes when loading cmake projects
Status: RESOLVED DUPLICATE of bug 167283
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: project (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: 1.0.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 171810 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-28 13:38 UTC by Franz Trischberger
Modified: 2008-09-29 10:22 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Trischberger 2008-09-28 13:38:10 UTC
Version:            (using Devel)
Compiler:          gcc-Version 4.3.1 (Gentoo 4.3.1-r1 p1.1) 
OS:                Linux
Installed from:    Compiled sources

When opening any CMake-based project kdevelop crashes with the same backtrace:

===========

Anwendung: KDevelop (kdevelop), Signal SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".
0x00007fe8b07b0d31 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 18402)]

Thread 2 (Thread 0x41200950 (LWP 18405)):
#0  0x00007fe8b07db472 in select () from /lib/libc.so.6
#1  0x00007fe8b2f0ba05 in QProcessManager::run () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fe8b2e44752 in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fe8b2bd3007 in start_thread () from /lib/libpthread.so.0
#4  0x00007fe8b07e1d3d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe8b527d750 (LWP 18402)):
[KCrash Handler]
#5  0x00007fe8af4a83bb in KDevelop::DocumentRangeObject::syncFromSmart () from /usr/kde/svn/lib64/libkdevplatformlanguage.so.1
#6  0x00007fe8af4a858d in KDevelop::DocumentRangeObject::range () from /usr/kde/svn/lib64/libkdevplatformlanguage.so.1
#7  0x00007fe8af4d70b6 in KDevelop::DUContextDynamicData::addDeclaration () from /usr/kde/svn/lib64/libkdevplatformlanguage.so.1
#8  0x00007fe8af4f28af in KDevelop::Declaration::setContext () from /usr/kde/svn/lib64/libkdevplatformlanguage.so.1
#9  0x00007fe89c0d5764 in CMakeProjectVisitor::createDefinitions () from /usr/kde/svn/lib64/libkdev4cmakecommon.so
#10 0x00007fe89c0e0e11 in CMakeProjectVisitor::walk () from /usr/kde/svn/lib64/libkdev4cmakecommon.so
#11 0x00007fe89c0e2690 in CMakeProjectVisitor::visit () from /usr/kde/svn/lib64/libkdev4cmakecommon.so
#12 0x00007fe89c0e1013 in CMakeProjectVisitor::walk () from /usr/kde/svn/lib64/libkdev4cmakecommon.so
#13 0x00007fe89c30a71e in CMakeProjectManager::includeScript () from /usr/kde/svn/lib64/kde4/kdevcmakemanager.so
#14 0x00007fe89c310392 in CMakeProjectManager::initializeProject () from /usr/kde/svn/lib64/kde4/kdevcmakemanager.so
#15 0x00007fe89c3114e5 in CMakeProjectManager::import () from /usr/kde/svn/lib64/kde4/kdevcmakemanager.so
#16 0x00007fe8b4813a4e in KDevelop::Project::open () from /usr/kde/svn/lib64/libkdevplatformshell.so.1
#17 0x00007fe8b480ca9a in KDevelop::ProjectController::openProject () from /usr/kde/svn/lib64/libkdevplatformshell.so.1
#18 0x00007fe8a761ad1a in AppWizardPlugin::slotNewProject () from /usr/kde/svn/lib64/kde4/kdevappwizard.so
#19 0x00007fe8a761ad98 in AppWizardPlugin::qt_metacall () from /usr/kde/svn/lib64/kde4/kdevappwizard.so
#20 0x00007fe8b2f3f07c in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007fe8b1abbc07 in QAction::triggered () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007fe8b1abc3a0 in QAction::activate () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007fe8b1e4b4c5 in QMenuPrivate::activateAction () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007fe8b3978c51 in KMenu::mouseReleaseEvent () from /usr/kde/svn/lib64/libkdeui.so.5
#25 0x00007fe8b1b136d9 in QWidget::event () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007fe8b1e4dc63 in QMenu::event () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007fe8b1ac17ed in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#28 0x00007fe8b1ac9c6a in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#29 0x00007fe8b38bd33b in KApplication::notify () from /usr/kde/svn/lib64/libkdeui.so.5
#30 0x00007fe8b2f2b080 in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007fe8b1ac9028 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007fe8b1b2c23c in QETWidget::translateMouseEvent () from /usr/lib64/qt4/libQtGui.so.4
#33 0x00007fe8b1b2ab28 in QApplication::x11ProcessEvent () from /usr/lib64/qt4/libQtGui.so.4
#34 0x00007fe8b1b4f8b4 in x11EventSourceDispatch () from /usr/lib64/qt4/libQtGui.so.4
#35 0x00007fe8abddebb2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0x00007fe8abde22cd in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#37 0x00007fe8abde248b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0x00007fe8b2f52c4f in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#39 0x00007fe8b1b4f05f in QGuiEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtGui.so.4
#40 0x00007fe8b2f299e2 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#41 0x00007fe8b2f29b6d in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#42 0x00007fe8b2f2bfad in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#43 0x00000000004076aa in main ()
#44 0x00007fe8b07301b6 in __libc_start_main () from /lib/libc.so.6
#45 0x0000000000404de9 in _start ()

==========

I tried to create a new project using kdevelops wizard, importing an existing project or just opening kdevplatform.kdev4 from the kdevplatform-sources (latest svn). Anytime the same result.

Thx
Franz
Comment 1 Andreas Pakulat 2008-09-28 18:55:36 UTC
Which revision of kdevplatform and kdevelop is this? I can't reproduce this here. Is this a debug or release build?
Comment 2 Franz Trischberger 2008-09-28 21:37:32 UTC
I rebuilt kdevplatform and kdevelop again right now (kdevplatform:865700, kdevelop:865701) and it's still the same. I have this quite some time now.
Removing kdeveloprc or .kdevduchain didn't help.

It's a release build.
Comment 3 Andreas Pakulat 2008-09-29 01:09:56 UTC
*** Bug 171810 has been marked as a duplicate of this bug. ***
Comment 4 Franz Trischberger 2008-09-29 09:46:17 UTC
I did debug-builds for kdevplatform and kdevelop in order to give better errormessages. But, huh, now it works, no crash when importing cmake-projects °_°.
When you are interested in the debug-output, i will upload it.
Comment 5 Andreas Pakulat 2008-09-29 10:22:28 UTC

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