Bug 261297 - Kdevelop crashed when I opened a recent cmake/cpp project
Summary: Kdevelop crashed when I opened a recent cmake/cpp project
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.2.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-26 16:12 UTC by Leandro Santiago da Silva
Modified: 2010-12-26 17:03 UTC (History)
0 users

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 Leandro Santiago da Silva 2010-12-26 16:12:48 UTC
Application: kdevelop (4.2.60)
KDE Platform Version: 4.5.4 (KDE 4.5.4)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-23-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
I've updated kdevelop from lastest master branch. I removed the ~/.kdevducain and session directory from my .kde dir.

So, when kdevelop opened, I tried to reopen a recent cpp/cmake project. Kdevelop crashed.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
[Current thread is 1 (Thread 0xb669b710 (LWP 32376))]

Thread 6 (Thread 0xb2893b70 (LWP 32377)):
#0  0x00804416 in __kernel_vsyscall ()
#1  0x0044f884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x05ea594f in wait (this=0x98efce4, mutex=0x98efce8, time=1000) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x98efce4, mutex=0x98efce8, time=1000) at thread/qwaitcondition_unix.cpp:160
#4  0x01814e76 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x98efcd8) at /home/tenchi/projects/kdevelop/kdevplatform/language/duchain/duchain.cpp:286
#5  0x05ea4df9 in QThreadPrivate::start (arg=0x98efcd8) at thread/qthread_unix.cpp:266
#6  0x0044acc9 in start_thread (arg=0xb2893b70) at pthread_create.c:304
#7  0x013fb69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb1038b70 (LWP 32380)):
#0  0x00804416 in __kernel_vsyscall ()
#1  0x013f4371 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0x05f81bb8 in QProcessManager::run (this=0x60da888) at io/qprocess_unix.cpp:245
#3  0x05ea4df9 in QThreadPrivate::start (arg=0x60da888) at thread/qthread_unix.cpp:266
#4  0x0044acc9 in start_thread (arg=0xb1038b70) at pthread_create.c:304
#5  0x013fb69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb203ab70 (LWP 32385)):
#0  0x008d3e36 in clock_gettime (clock_id=9273332, tp=0xb2039fa0) at ../sysdeps/unix/clock_gettime.c:100
#1  0x05f0050b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x05fd76e5 in QTimerInfoList::updateCurrentTime (this=0x9a15214) at kernel/qeventdispatcher_unix.cpp:339
#4  0x05fd772a in QTimerInfoList::timerWait (this=0x9a15214, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x05fd57a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb203a0cc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x05fd583d in timerSourcePrepare (source=0x0, timeout=0x8d7ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x052f6e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x052f7279 in ?? () from /lib/libglib-2.0.so.0
#9  0x052f7848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x05fd559f in QEventDispatcherGlib::processEvents (this=0x9a1a068, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x05fa5609 in QEventLoop::processEvents (this=0xb203a2a0, flags=) at kernel/qeventloop.cpp:149
#12 0x05fa5a8a in QEventLoop::exec (this=0xb203a2a0, flags=...) at kernel/qeventloop.cpp:201
#13 0x05ea1b7e in QThread::exec (this=0x92d5108) at thread/qthread.cpp:490
#14 0x01902cf1 in KDevelop::CompletionWorkerThread::run (this=0x92d5108) at /home/tenchi/projects/kdevelop/kdevplatform/language/codecompletion/codecompletionmodel.cpp:80
#15 0x05ea4df9 in QThreadPrivate::start (arg=0x92d5108) at thread/qthread_unix.cpp:266
#16 0x0044acc9 in start_thread (arg=0xb203ab70) at pthread_create.c:304
#17 0x013fb69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb1839b70 (LWP 32427)):
#0  0x00804416 in __kernel_vsyscall ()
#1  0x0044f4dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x05ea59c7 in wait (this=0x98474b8, mutex=0x9834db0, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x98474b8, mutex=0x9834db0, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x008e3030 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x98474a0, th=0x9d8ab80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x008e67dc in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9835988, th=0x9d8ab80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x008e255b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x98474a0, th=0x9d8ab80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x008e68d2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9835988, th=0x9d8ab80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x008e3533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x98474a0, th=0x9d8ab80, previous=0x9c125e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x008e495e in ThreadWeaver::ThreadRunHelper::run (this=0xb18392f4, parent=0x98474a0, th=0x9d8ab80) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x008e507b in ThreadWeaver::Thread::run (this=0x9d8ab80) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x05ea4df9 in QThreadPrivate::start (arg=0x9d8ab80) at thread/qthread_unix.cpp:266
#12 0x0044acc9 in start_thread (arg=0xb1839b70) at pthread_create.c:304
#13 0x013fb69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xab4b1b70 (LWP 32428)):
#0  0x00804416 in __kernel_vsyscall ()
#1  0x0044f4dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb73ae3a5 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0xb73ae481 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0x0044acc9 in start_thread (arg=0xab4b1b70) at pthread_create.c:304
#5  0x013fb69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb669b710 (LWP 32376)):
[KCrash Handler]
#7  0x00804416 in __kernel_vsyscall ()
#8  0x01355941 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x01358e42 in abort () at abort.c:92
#10 0x05e9b2dc in qt_message_output (msgType=QtFatalMsg, buf=0xa3f16d0 "ASSERT: \"!m_factories[T::Identity]\" in file /home/tenchi/projects/kdevelop/kdevplatform/language/duchain/duchainregister.h, line 102") at global/qglobal.cpp:2259
#11 0x05e9b4aa in qt_message (msgType=<value optimized out>, msg=0x6013a7c "ASSERT: \"%s\" in file %s, line %d", ap=0xbf998224 "_2\224\001p)\224\001f") at global/qglobal.cpp:2305
#12 0x05e9b5b9 in qFatal (msg=0x6013a7c "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2488
#13 0x05e9b645 in qt_assert (assertion=0x194325f "!m_factories[T::Identity]", file=0x1942970 "/home/tenchi/projects/kdevelop/kdevplatform/language/duchain/duchainregister.h", line=102) at global/qglobal.cpp:2004
#14 0x018f96f3 in KDevelop::DUChainItemSystem::registerTypeClass<KDevelop::Problem, KDevelop::ProblemData> (this=0x195e910) at /home/tenchi/projects/kdevelop/kdevplatform/language/duchain/duchainregister.h:102
#15 0x040b0eaf in KDevelop::DUChainItemRegistrator<KDevelop::Problem, KDevelop::ProblemData>::DUChainItemRegistrator (this=0x4116b78) at /home/tenchi/projects/kdevelop/kdevplatform/language/duchain/duchainregister.h:163
#16 0x040b052f in __static_initialization_and_destruction_0 (__initialize_p=<value optimized out>, __priority=<value optimized out>) at /home/tenchi/projects/kdevelop/kdevplatform/language/interfaces/iproblem.cpp:26
#17 0x040f15dd in __do_global_ctors_aux () from /usr/lib/libkdevplatformlanguage.so.3
#18 0x03f7229c in _init () from /usr/lib/libkdevplatformlanguage.so.3
#19 0x00a8264c in call_init (l=<value optimized out>, argc=<value optimized out>, argv=0xbf99a834, env=0xbf99a83c) at dl-init.c:70
#20 0x00a82769 in _dl_init (main_map=0xa3e8458, argc=<value optimized out>, argv=<value optimized out>, env=0xbf99a83c) at dl-init.c:134
#21 0x00a86801 in dl_open_worker (a=0xbf9984f0) at dl-open.c:464
#22 0x00a82266 in _dl_catch_error (objname=<value optimized out>, errstring=<value optimized out>, mallocedp=<value optimized out>, operate=0xa86470 <dl_open_worker>, args=0xbf9984f0) at dl-error.c:178
#23 0x00a86046 in _dl_open (file=0xa3b4dd8 "/usr/lib/kde4/kdevcustombuildsystem.so", mode=<value optimized out>, caller_dlopen=0x5f97efd, nsid=-2, argc=1, argv=0xbf99a834, env=0xbf99a83c) at dl-open.c:555
#24 0x00990c0b in dlopen_doit (a=0xbf9986d0) at dlopen.c:67
#25 0x00a82266 in _dl_catch_error (objname=<value optimized out>, errstring=<value optimized out>, mallocedp=<value optimized out>, operate=0x990b70 <dlopen_doit>, args=0xbf9986d0) at dl-error.c:178
#26 0x0099109c in _dlerror_run (operate=<value optimized out>, args=<value optimized out>) at dlerror.c:164
#27 0x00990b41 in __dlopen (file=0xa3b4dd8 "/usr/lib/kde4/kdevcustombuildsystem.so", mode=1) at dlopen.c:88
#28 0x05f97efd in QLibraryPrivate::load_sys (this=0xa3d9458) at plugin/qlibrary_unix.cpp:205
#29 0x05f921d4 in QLibraryPrivate::load (this=0x6) at plugin/qlibrary.cpp:484
#30 0x05f924c0 in QLibraryPrivate::loadPlugin (this=0xa3d9458) at plugin/qlibrary.cpp:516
#31 0x05f8b183 in QPluginLoader::load (this=0xbf9989d4) at plugin/qpluginloader.cpp:227
#32 0x00335245 in KPluginLoader::load (this=0xbf9989d4) at ../../kdecore/util/kpluginloader.cpp:222
#33 0x0033639c in KPluginLoader::KPluginLoader (this=0xbf9989d4, service=..., componentdata=..., parent=0x0) at ../../kdecore/util/kpluginloader.cpp:180
#34 0x004be3f7 in KService::createInstance<KDevelop::IPlugin> (this=0xa3bad00, parentWidget=0x0, parent=0x9341918, args=..., error=0xbf998c68) at /usr/include/KDE/../kservice.h:529
#35 0x004be69a in KServiceTypeTrader::createInstanceFromQuery<KDevelop::IPlugin> (serviceType=..., parentWidget=0x0, parent=0x9341918, constraint=..., args=..., error=0xbf998c68) at /usr/include/KDE/../kservicetypetrader.h:184
#36 0x004be751 in KServiceTypeTrader::createInstanceFromQuery<KDevelop::IPlugin> (serviceType=..., constraint=..., parent=0x9341918, args=..., error=0xbf998c68) at /usr/include/KDE/../kservicetypetrader.h:157
#37 0x004b8d2c in KDevelop::PluginController::loadPluginInternal (this=0x96d0530, pluginId=...) at /home/tenchi/projects/kdevelop/kdevplatform/shell/plugincontroller.cpp:436
#38 0x004b984f in KDevelop::PluginController::loadProjectPlugins (this=0x96d0530) at /home/tenchi/projects/kdevelop/kdevplatform/shell/plugincontroller.cpp:639
#39 0x004d1779 in KDevelop::ProjectControllerPrivate::importProject (this=0x9830268, url_=...) at /home/tenchi/projects/kdevelop/kdevplatform/shell/projectcontroller.cpp:262
#40 0x004c956e in KDevelop::ProjectController::openProject (this=0x9814fa0, projectFile=...) at /home/tenchi/projects/kdevelop/kdevplatform/shell/projectcontroller.cpp:667
#41 0x004c9b05 in KDevelop::ProjectController::qt_metacall (this=0x9814fa0, _c=QMetaObject::InvokeMetaMethod, _id=28, _a=0xbf999008) at /home/tenchi/projects/kdevelop/kdevplatform/build/shell/projectcontroller.moc:170
#42 0x05fac8ca in QMetaObject::metacall (object=0x9814fa0, cl=32376, idx=28, argv=0xbf999008) at kernel/qmetaobject.cpp:237
#43 0x05fbf6ad in QMetaObject::activate (sender=0x9837540, m=0x9032e2c, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#44 0x08d6b643 in KRecentFilesAction::urlSelected (this=0x9837540, _t1=...) at ./krecentfilesaction.moc:124
#45 0x08d6e4cc in KRecentFilesActionPrivate::_k_urlSelected (this=0x983e080, action=0x9791d48) at ../../kdeui/actions/krecentfilesaction.cpp:97
#46 0x08d6e5dc in KRecentFilesAction::qt_metacall (this=0x9837540, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf9991c8) at ./krecentfilesaction.moc:85
#47 0x05fac8ca in QMetaObject::metacall (object=0x9837540, cl=32376, idx=35, argv=0xbf9991c8) at kernel/qmetaobject.cpp:237
#48 0x05fbf6ad in QMetaObject::activate (sender=0x9837540, m=0x9032ed8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#49 0x08d6f953 in KSelectAction::triggered (this=0x9837540, _t1=0x9791d48) at ./kselectaction.moc:176
#50 0x08d70b3b in KSelectAction::actionTriggered (this=0x9837540, action=0x9791d48) at ../../kdeui/actions/kselectaction.cpp:330
#51 0x08d72e62 in KSelectAction::qt_metacall (this=0x9837540, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf999388) at ./kselectaction.moc:121
#52 0x08d6e58a in KRecentFilesAction::qt_metacall (this=0x9837540, _c=QMetaObject::InvokeMetaMethod, _id=28, _a=0xbf999388) at ./krecentfilesaction.moc:77
#53 0x05fac8ca in QMetaObject::metacall (object=0x9837540, cl=32376, idx=28, argv=0xbf999388) at kernel/qmetaobject.cpp:237
#54 0x05fbf6ad in QMetaObject::activate (sender=0x967b400, m=0x6f4d3e4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#55 0x065cc253 in QActionGroup::triggered (this=0x967b400, _t1=0x9791d48) at .moc/release-shared/moc_qactiongroup.cpp:146
#56 0x065cc6a8 in QActionGroupPrivate::_q_actionTriggered (this=0x983e0c8) at kernel/qactiongroup.cpp:93
#57 0x065cc996 in QActionGroup::qt_metacall (this=0x967b400, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbf9994e8) at .moc/release-shared/moc_qactiongroup.cpp:101
#58 0x05fac8ca in QMetaObject::metacall (object=0x967b400, cl=32376, idx=11, argv=0xbf9994e8) at kernel/qmetaobject.cpp:237
#59 0x05fbf6ad in QMetaObject::activate (sender=0x9791d48, m=0x6f4d370, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3280
#60 0x065c6f99 in QAction::triggered (this=0x9791d48, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#61 0x065c88dc in QAction::activate (this=0x9791d48, event=QAction::Trigger) at kernel/qaction.cpp:1256
#62 0x065caedb in trigger (this=0x9791d48, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x9b79710) at kernel/qaction.h:218
#63 QAction::qt_metacall (this=0x9791d48, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x9b79710) at .moc/release-shared/moc_qaction.cpp:174
#64 0x05fac8ca in QMetaObject::metacall (object=0x9791d48, cl=32376, idx=12, argv=0x9b79710) at kernel/qmetaobject.cpp:237
#65 0x05fb7df6 in QMetaCallEvent::placeMetaCall (this=0xa37dc98, object=0x9791d48) at kernel/qobject.cpp:534
#66 0x05fb96a2 in QObject::event (this=0x9791d48, e=0x6) at kernel/qobject.cpp:1219
#67 0x065caab0 in QAction::event (this=0x6, e=0x0) at kernel/qaction.cpp:1186
#68 0x065cefdc in QApplicationPrivate::notify_helper (this=0x92efb90, receiver=0x9791d48, e=0xa37dc98) at kernel/qapplication.cpp:4396
#69 0x065d504e in QApplication::notify (this=0xbf99a06c, receiver=0x9791d48, e=0xa37dc98) at kernel/qapplication.cpp:3798
#70 0x08e6705a in KApplication::notify (this=0xbf99a06c, receiver=0x9791d48, event=0xa37dc98) at ../../kdeui/kernel/kapplication.cpp:310
#71 0x080516bc in KDevelopApplication::notify (this=0xbf99a06c, receiver=0x9791d48, event=0xa37dc98) at /home/tenchi/projects/kdevelop/kdevelop/app/main.cpp:90
#72 0x05fa6b3b in QCoreApplication::notifyInternal (this=0xbf99a06c, receiver=0x9791d48, event=0xa37dc98) at kernel/qcoreapplication.cpp:732
#73 0x05fa9d8b in sendEvent (receiver=0x0, event_type=0, data=0x92d3f30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#74 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x92d3f30) at kernel/qcoreapplication.cpp:1373
#75 0x05fa9f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#76 0x05fd5a74 in sendPostedEvents (s=0x92f1ef0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#77 postEventSourceDispatch (s=0x92f1ef0) at kernel/qeventdispatcher_glib.cpp:277
#78 0x052f3855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#79 0x052f7668 in ?? () from /lib/libglib-2.0.so.0
#80 0x052f7848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#81 0x05fd5565 in QEventDispatcherGlib::processEvents (this=0x92d39e0, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#82 0x06690be5 in QGuiEventDispatcherGlib::processEvents (this=0x92d39e0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#83 0x05fa5609 in QEventLoop::processEvents (this=0xbf999e14, flags=) at kernel/qeventloop.cpp:149
#84 0x05fa5a8a in QEventLoop::exec (this=0xbf999e14, flags=...) at kernel/qeventloop.cpp:201
#85 0x05faa00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#86 0x065cde07 in QApplication::exec () at kernel/qapplication.cpp:3672
#87 0x080513a2 in main (argc=1, argv=0xbf99a834) at /home/tenchi/projects/kdevelop/kdevelop/app/main.cpp:468

Reported using DrKonqi
Comment 1 Milian Wolff 2010-12-26 17:03:52 UTC
this is usually due to binary incompatible changes and you not cleaning/updating your build properly. please try to wipe it and reinstall.