Application: kdevelop (4.0.60) KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources) Qt Version: 4.6.2 Operating System: Linux 2.6.32-22-generic x86_64 Distribution: Ubuntu 10.04 LTS -- Information about the crash: At Startup KDevelop asks for a CMake project an crashes then. KDevelop is sometimes unable to load the cmake and makefile plugins. The crash can be reproduced every time. -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault [Current thread is 1 (Thread 0x7fd6098bb760 (LWP 2163))] Thread 8 (Thread 0x7fd5f5cd4710 (LWP 2164)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 #1 0x00007fd6061b2692 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x163ab50, time=200000) at thread/qwaitcondition_unix.cpp:85 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x163ab50, time=200000) at thread/qwaitcondition_unix.cpp:159 #3 0x00007fd602de0eee in KDevelop::DUChainPrivate::CleanupThread::run (this=0x163ab30) at /home/bjoern/projects/kdevelop/kdevplatform/language/duchain/duchain.cpp:286 #4 0x00007fd6061b1775 in QThreadPrivate::start (arg=0x163ab30) at thread/qthread_unix.cpp:248 #5 0x00007fd605f219ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #6 0x00007fd6045df6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 7 (Thread 0x7fd5eb8e2710 (LWP 2165)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fd6061b272b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1ec8170, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x1ec8170, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00007fd607d0d026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1ed6160, th=0x1eb52e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007fd607d0f6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ecdc60, th=0x1eb52e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007fd607d0dbff in ThreadWeaver::ThreadRunHelper::run (this=0x7fd5eb8e1e00, parent=0x1ed6160, th=0x1eb52e0) at ../../../threadweaver/Weaver/Thread.cpp:87 #6 0x00007fd607d0e168 in ThreadWeaver::Thread::run (this=0x1eb52e0) at ../../../threadweaver/Weaver/Thread.cpp:142 #7 0x00007fd6061b1775 in QThreadPrivate::start (arg=0x1eb52e0) at thread/qthread_unix.cpp:248 #8 0x00007fd605f219ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #9 0x00007fd6045df6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 6 (Thread 0x7fd5eb0e1710 (LWP 2166)): #0 0x00007fd6045a335d in nanosleep () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007fd6045d8804 in usleep (useconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:33 #2 0x00007fd602e23cde in KDevelop::DUChainLock::lockForWrite (this=0x1640678, timeout=0) at /home/bjoern/projects/kdevelop/kdevplatform/language/duchain/duchainlock.cpp:201 #3 0x00007fd602e23d94 in KDevelop::DUChainWriteLocker::lock (this=0x7fd5eb0df350) at /home/bjoern/projects/kdevelop/kdevplatform/language/duchain/duchainlock.cpp:299 #4 0x00007fd5f4c329df in CMakeProjectVisitor::createContext (path=..., aux=) at /home/bjoern/projects/kdevelop/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:667 #5 0x00007fd5f4c39ffd in CMakeProjectVisitor::walk (this=0x7fd5eb0df8d0, fc=..., line=0, isClean=true) at /home/bjoern/projects/kdevelop/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2066 #6 0x00007fd5f4c5f7a3 in CMakeParserUtils::includeScript (file=..., parent=<value optimized out>, variables=0x7fd5f00ff748, macros=0x7fd5f00fe818, sourcedir=<value optimized out>, cache=0x1fca158, modulesDir=...) at /home/bjoern/projects/kdevelop/kdevelop/projectmanagers/cmake/parser/cmakeparserutils.cpp:164 #7 0x00007fd5f4e93a2f in CMakeManager::includeScript (this=0x1e9b2a0, file=<value optimized out>, project=0x7fd5eb0dfee0, parent=<value optimized out>) at /home/bjoern/projects/kdevelop/kdevelop/projectmanagers/cmake/cmakemanager.cpp:325 #8 0x00007fd5f4e9545b in CMakeManager::initializeProject (this=0x1e9b2a0, project=0x1e4bcd0, baseUrl=<value optimized out>) at /home/bjoern/projects/kdevelop/kdevelop/projectmanagers/cmake/cmakemanager.cpp:242 #9 0x00007fd5f4e9cc1c in CMakeManager::parse (this=<value optimized out>, item=0x1eb1ce0) at /home/bjoern/projects/kdevelop/kdevelop/projectmanagers/cmake/cmakemanager.cpp:370 #10 0x00007fd6033b3e51 in KDevelop::ImportProjectJobPrivate::import (this=0x1edecc0, folder=0x0) at /home/bjoern/projects/kdevelop/kdevplatform/project/importprojectjob.cpp:53 #11 0x00007fd6033b3cc6 in QtConcurrent::RunFunctionTask<void>::run (this=0x1f57d80) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120 #12 0x00007fd6061a79e9 in QThreadPoolThread::run (this=0x1edfa40) at concurrent/qthreadpool.cpp:106 #13 0x00007fd6061b1775 in QThreadPrivate::start (arg=0x1edfa40) at thread/qthread_unix.cpp:248 #14 0x00007fd605f219ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #15 0x00007fd6045df6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #16 0x0000000000000000 in ?? () Thread 5 (Thread 0x7fd5e5a68710 (LWP 2195)): #0 0x00007fd6045d2f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007fd5ffa8c4a9 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007fd5ffa8c8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00007fd6062cf566 in QEventDispatcherGlib::processEvents (this=0x2294920, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #4 0x00007fd6062a4992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #5 0x00007fd6062a4d6c in QEventLoop::exec (this=0x7fd5e5a67db0, flags=) at kernel/qeventloop.cpp:201 #6 0x00007fd6061aed59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #7 0x00007fd606285178 in QInotifyFileSystemWatcherEngine::run (this=0x2297640) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007fd6061b1775 in QThreadPrivate::start (arg=0x2297640) at thread/qthread_unix.cpp:248 #9 0x00007fd605f219ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #10 0x00007fd6045df6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 4 (Thread 0x7fd5e5267710 (LWP 2253)): #0 0x00007fd6045d2f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007fd5ffa8c4a9 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007fd5ffa8c8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00007fd6062cf566 in QEventDispatcherGlib::processEvents (this=0x164ab60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #4 0x00007fd6062a4992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #5 0x00007fd6062a4d6c in QEventLoop::exec (this=0x7fd5e5266df0, flags=) at kernel/qeventloop.cpp:201 #6 0x00007fd6061aed59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #7 0x00007fd6061b1775 in QThreadPrivate::start (arg=0x2a3a340) at thread/qthread_unix.cpp:248 #8 0x00007fd605f219ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #9 0x00007fd6045df6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 3 (Thread 0x7fd5dbce5710 (LWP 2254)): #0 0x00007fd6045d2f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007fd5ffa8c4a9 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007fd5ffa8c8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00007fd6062cf566 in QEventDispatcherGlib::processEvents (this=0x1600590, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #4 0x00007fd6062a4992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #5 0x00007fd6062a4d6c in QEventLoop::exec (this=0x7fd5dbce4df0, flags=) at kernel/qeventloop.cpp:201 #6 0x00007fd6061aed59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #7 0x00007fd6061b1775 in QThreadPrivate::start (arg=0x2a2b460) at thread/qthread_unix.cpp:248 #8 0x00007fd605f219ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #9 0x00007fd6045df6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fd5db397710 (LWP 2257)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 #1 0x00007fd6061b10e5 in thread_sleep (ti=0x7fd5db396db0) at thread/qthread_unix.cpp:398 #2 0x00007fd6061b1250 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424 #3 0x00007fd5dc4b6731 in UIBlockTester::UIBlockTesterThread::run (this=0x2a46b50) at /home/bjoern/projects/kdevelop/kdevelop/languages/cpp/cpplanguagesupport.cpp:678 #4 0x00007fd6061b1775 in QThreadPrivate::start (arg=0x2a46b50) at thread/qthread_unix.cpp:248 #5 0x00007fd605f219ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #6 0x00007fd6045df6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fd6098bb760 (LWP 2163)): [KCrash Handler] #5 QListData::begin (this=0x0, watcher=0x1562258) at /usr/include/qt4/QtCore/qlist.h:93 #6 QList<KTextEditor::SmartRangeWatcher*>::contains (this=0x0, watcher=0x1562258) at /usr/include/qt4/QtCore/qlist.h:757 #7 KTextEditor::SmartRange::addWatcher (this=0x0, watcher=0x1562258) at ../../../interfaces/ktexteditor/smartrange.cpp:893 #8 0x00007fd602daacba in KDevelop::BackgroundParser::addManagedTopRange (this=0x1562240, document=..., range=0x0) at /home/bjoern/projects/kdevelop/kdevplatform/language/backgroundparser/backgroundparser.cpp:645 #9 0x00007fd602dc705d in KDevelop::DUChain::documentLoadedPrepare (this=<value optimized out>, doc=0x2a2db80) at /home/bjoern/projects/kdevelop/kdevplatform/language/duchain/duchain.cpp:1541 #10 0x00007fd602dc9d85 in KDevelop::DUChain::qt_metacall (this=0x163c7d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff595ef8e0) at /home/bjoern/projects/kdevelop/kdevplatform/build/language/duchain.moc:168 #11 0x00007fd6062b8e3f in QMetaObject::activate (sender=0x15639a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fd608ffc1d0) at kernel/qobject.cpp:3293 #12 0x00007fd6090217a2 in KDevelop::IDocumentController::documentLoadedPrepare (this=0x0, _t1=0x2a2db80) at /home/bjoern/projects/kdevelop/kdevplatform/build/interfaces/idocumentcontroller.moc:279 #13 0x00007fd60901f640 in KDevelop::IDocument::notifyLoaded (this=0x2a2db80) at /home/bjoern/projects/kdevelop/kdevplatform/interfaces/idocument.cpp:119 #14 0x00007fd608d76fd0 in KDevelop::TextDocumentPrivate::slotDocumentLoaded (this=0x2a2db60, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff595efb00) at /home/bjoern/projects/kdevelop/kdevplatform/shell/textdocument.cpp:174 #15 KDevelop::TextDocument::qt_metacall (this=0x2a2db60, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff595efb00) at /home/bjoern/projects/kdevelop/kdevplatform/build/shell/textdocument.moc:94 #16 0x00007fd6062b8e3f in QMetaObject::activate (sender=0x7fd5e0174b50, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fd608ffc1d0) at kernel/qobject.cpp:3293 #17 0x00007fd607f384b2 in KTextEditor::Document::textChanged (this=0x0, _t1=0x7fd5e0174b50) at ./document.moc:162 #18 0x00007fd5da35b2ee in KateDocument::openFile (this=0x7fd5e0174b50) at ../../kate/document/katedocument.cpp:2106 #19 0x00007fd60838d117 in KParts::ReadOnlyPart::openUrl (this=0x7fd5e0174b50, url=<value optimized out>) at ../../kparts/part.cpp:557 #20 0x00007fd608d7642d in KDevelop::TextDocument::createViewWidget (this=0x2a2db60, parent=0x380c570) at /home/bjoern/projects/kdevelop/kdevplatform/shell/textdocument.cpp:261 #21 0x00007fd608d75c17 in KDevelop::TextView::createWidget (this=0x2a3ea00, parent=0x380c570) at /home/bjoern/projects/kdevelop/kdevplatform/shell/textdocument.cpp:531 #22 0x00007fd602b03c26 in Sublime::View::widget (this=0x2a3ea00, parent=0x1562258) at /home/bjoern/projects/kdevelop/kdevplatform/sublime/view.cpp:82 #23 0x00007fd602afddc0 in Sublime::MainWindowPrivate::ViewCreator::operator() (this=0x7fff595f07d0, index=0x13b53a0) at /home/bjoern/projects/kdevelop/kdevplatform/sublime/mainwindow_p.cpp:246 #24 0x00007fd602b031d8 in Sublime::Area::WalkerMode Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) () from /usr/local/lib/libsublime.so.2 #25 0x00007fd602b014e7 in Sublime::Area::walkViews<Sublime::MainWindowPrivate::ViewCreator> (this=0x13d8430) at /home/bjoern/projects/kdevelop/kdevplatform/sublime/areawalkers.h:48 #26 Sublime::MainWindowPrivate::reconstruct (this=0x13d8430) at /home/bjoern/projects/kdevelop/kdevplatform/sublime/mainwindow_p.cpp:272 #27 0x00007fd602af86c0 in Sublime::MainWindow::setArea (this=0x13b7370, area=0x13b6a90) at /home/bjoern/projects/kdevelop/kdevplatform/sublime/mainwindow.cpp:136 #28 0x00007fd608d478d3 in KDevelop::WorkingSet::loadToArea (this=<value optimized out>, area=0x13b6a90, areaIndex=<value optimized out>, clear=<value optimized out>) at /home/bjoern/projects/kdevelop/kdevplatform/shell/workingsetcontroller.cpp:346 #29 0x00007fd608d47db0 in KDevelop::WorkingSet::changedWorkingSet (this=0x229e5d0, area=0x13b6a90, from=<value optimized out>, to=) at /home/bjoern/projects/kdevelop/kdevplatform/shell/workingsetcontroller.cpp:648 #30 0x00007fd608d4873f in KDevelop::WorkingSet::qt_metacall (this=0x229e5d0, _c=<value optimized out>, _id=<value optimized out>, _a=0x144b7f0) at /home/bjoern/projects/kdevelop/kdevplatform/build/shell/workingsetcontroller.moc:90 #31 0x00007fd6062b5d49 in QObject::event (this=0x229e5d0, e=0x22b0ce0) at kernel/qobject.cpp:1248 #32 0x00007fd60544222c in QApplicationPrivate::notify_helper (this=0x11ffec0, receiver=0x229e5d0, e=0x22b0ce0) at kernel/qapplication.cpp:4300 #33 0x00007fd6054486fb in QApplication::notify (this=0x7fff595f17b0, receiver=0x229e5d0, e=0x22b0ce0) at kernel/qapplication.cpp:4183 #34 0x00007fd606a66526 in KApplication::notify (this=0x7fff595f17b0, receiver=0x229e5d0, event=0x22b0ce0) at ../../kdeui/kernel/kapplication.cpp:302 #35 0x00007fd6062a606c in QCoreApplication::notifyInternal (this=0x7fff595f17b0, receiver=0x229e5d0, event=0x22b0ce0) at kernel/qcoreapplication.cpp:704 #36 0x00007fd6062a87e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x11d2810) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x11d2810) at kernel/qcoreapplication.cpp:1345 #38 0x00007fd6062cf9d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #39 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276 #40 0x00007fd5ffa888c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #41 0x00007fd5ffa8c748 in ?? () from /lib/libglib-2.0.so.0 #42 0x00007fd5ffa8c8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #43 0x00007fd6062cf513 in QEventDispatcherGlib::processEvents (this=0x11d1f70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #44 0x00007fd6054f246e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #45 0x00007fd6062a4992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #46 0x00007fd6062a4d6c in QEventLoop::exec (this=0x7fff595f1580, flags=) at kernel/qeventloop.cpp:201 #47 0x00007fd6062a8aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #48 0x0000000000408fe5 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/bjoern/projects/kdevelop/kdevelop/app/main.cpp:378 Possible duplicates by query: bug 235043, bug 231873, bug 230418, bug 225121, bug 221297. Reported using DrKonqi
*** Bug 248832 has been marked as a duplicate of this bug. ***
first, you should use KDevelop 4.1 / KDevplatform 1.1 branches now that master depends on kdelibs 4.5 and higher. Otherwise: You can reproduce this issue, yes? I don't get it how that could happen with kdelibs 4.4. Can you reproduce this with KDevelop 4.0.2?
ah wait - on a second look I spot /usr/local/lib/libsublime.so.2 - you must remove this. Also make sure you read this: http://www.kdevelop.org/mediawiki/index.php/KDevelop_4/compiling
Hi Milian, i already forgot the report, this crash did not happen since a long long while, don't know which revision fixed it.