Application: kdevelop (3.9.94 (using KDevPlatform 0.9.94)) KDE Version: 4.3.64 (KDE 4.3.64 (KDE 4.4 >= 20090812)) (Compiled from sources) Qt Version: 4.5.2 Operating System: Linux 2.6.28-14-generic x86_64 Distribution: Ubuntu 9.04 What I was doing when the application crashed: I started kdevelop and no working set was loaded. I wanted to open one of my working sets and it crashed and I was able to reproduce once more with the same working set. I'm using svn rev 1013305. -- Backtrace: Application: KDevelop (kdevelop), signal: Aborted [Current thread is 0 (LWP 27364)] Thread 7 (Thread 0x7f352ad38950 (LWP 27365)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217 #1 0x00007f353803dcf7 in QWaitCondition::wait (this=0x2520448, mutex=0x2520450, time=200000) at thread/qwaitcondition_unix.cpp:85 #2 0x00007f3534a845d1 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x2520430) at /opt/kde/src/KDE/kdevplatform/language/duchain/duchain.cpp:280 #3 0x00007f353803cd35 in QThreadPrivate::start (arg=0x2520430) at thread/qthread_unix.cpp:188 #4 0x00007f3537dc93ba in start_thread (arg=<value optimized out>) at pthread_create.c:297 #5 0x00007f3536557fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f3528fa0950 (LWP 27366)): #0 0x00007f3536550742 in select () from /lib/libc.so.6 #1 0x00007f3538105006 in QProcessManager::run (this=0x217eb70) at io/qprocess_unix.cpp:296 #2 0x00007f353803cd35 in QThreadPrivate::start (arg=0x217eb70) at thread/qthread_unix.cpp:188 #3 0x00007f3537dc93ba in start_thread (arg=<value optimized out>) at pthread_create.c:297 #4 0x00007f3536557fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 5 (Thread 0x7f35229b1950 (LWP 27370)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261 #1 0x00007f353803dd19 in QWaitCondition::wait (this=0x2e206a8, mutex=0x2df2610, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 0x00007f35398e7d91 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2e20680, th=0x2edc520) at /opt/kde/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365 #3 0x00007f35398ec4d7 in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x2e1bb40, th=0x2edc520) at /opt/kde/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80 #4 0x00007f35398e7506 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x2e20680, th=0x2edc520) at /opt/kde/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356 #5 0x00007f35398ec5cf in ThreadWeaver::WorkingHardState::applyForWork (this=0x2e1bb40, th=0x2edc520) at /opt/kde/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71 #6 0x00007f35398e7fcd in ThreadWeaver::WeaverImpl::applyForWork (this=0x2e20680, th=0x2edc520, previous=0x2edc190) at /opt/kde/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351 #7 0x00007f35398ea86c in ThreadWeaver::ThreadRunHelper::run (this=0x7f35229b1060, parent=0x2e20680, th=0x2edc520) at /opt/kde/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:87 #8 0x00007f35398eaa01 in ThreadWeaver::Thread::run (this=0x2edc520) at /opt/kde/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:142 #9 0x00007f353803cd35 in QThreadPrivate::start (arg=0x2edc520) at thread/qthread_unix.cpp:188 #10 0x00007f3537dc93ba in start_thread (arg=<value optimized out>) at pthread_create.c:297 #11 0x00007f3536557fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #12 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f35221b0950 (LWP 28151)): #0 0x00007f353814fc0b in timerSourcePrepare (source=0x79e9bc0, timeout=0x7f35221afea4) at kernel/qeventdispatcher_glib.cpp:135 #1 0x00007f35308db1e2 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #2 0x00007f35308db5ff in ?? () from /usr/lib/libglib-2.0.so.0 #3 0x00007f35308dba7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #4 0x00007f353814faae in QEventDispatcherGlib::processEvents (this=0x79e9180, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329 #5 0x00007f3538124f42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 572194800}) at kernel/qeventloop.cpp:149 #6 0x00007f3538125314 in QEventLoop::exec (this=0x7f35221b0030, flags={i = 572194880}) at kernel/qeventloop.cpp:201 #7 0x00007f3538039dc8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #8 0x00007f3534b8331b in KDevelop::CompletionWorkerThread::run (this=0x79e8900) at /opt/kde/src/KDE/kdevplatform/language/codecompletion/codecompletionmodel.cpp:79 #9 0x00007f353803cd35 in QThreadPrivate::start (arg=0x79e8900) at thread/qthread_unix.cpp:188 #10 0x00007f3537dc93ba in start_thread (arg=<value optimized out>) at pthread_create.c:297 #11 0x00007f3536557fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #12 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f3518226950 (LWP 28152)): #0 0x00007f35308d9d37 in g_main_context_release () from /usr/lib/libglib-2.0.so.0 #1 0x00007f35308db7e1 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f35308dba7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f353814faae in QEventDispatcherGlib::processEvents (this=0x79e86d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329 #4 0x00007f3538124f42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 404905968}) at kernel/qeventloop.cpp:149 #5 0x00007f3538125314 in QEventLoop::exec (this=0x7f3518226030, flags={i = 404906048}) at kernel/qeventloop.cpp:201 #6 0x00007f3538039dc8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #7 0x00007f3534b8331b in KDevelop::CompletionWorkerThread::run (this=0x796e280) at /opt/kde/src/KDE/kdevplatform/language/codecompletion/codecompletionmodel.cpp:79 #8 0x00007f353803cd35 in QThreadPrivate::start (arg=0x796e280) at thread/qthread_unix.cpp:188 #9 0x00007f3537dc93ba in start_thread (arg=<value optimized out>) at pthread_create.c:297 #10 0x00007f3536557fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f3517a25950 (LWP 28156)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217 #1 0x00007f353803c785 in thread_sleep (ti=0x7f3517a25010) at thread/qthread_unix.cpp:297 #2 0x00007f353803c8ee in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:323 #3 0x00007f350e142252 in UIBlockTester::UIBlockTesterThread::run (this=0x74c9e10) at /opt/kde/src/KDE/kdevelop/languages/cpp/cpplanguagesupport.cpp:661 #4 0x00007f353803cd35 in QThreadPrivate::start (arg=0x74c9e10) at thread/qthread_unix.cpp:188 #5 0x00007f3537dc93ba in start_thread (arg=<value optimized out>) at pthread_create.c:297 #6 0x00007f3536557fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f353b4dd750 (LWP 27364)): [KCrash Handler] #4 0x00007f35364a4fb5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #5 0x00007f35364a6bc3 in *__GI_abort () at abort.c:88 #6 0x00007f3538034da5 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2042 #7 0x00007f3538034eeb in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2241 #8 0x00007f3534a64429 in KDevelop::DUChain::documentLoadedPrepare (this=0x251bfb0, doc=0x7f3510b8df80) at /opt/kde/src/KDE/kdevplatform/language/duchain/duchain.cpp:1450 #9 0x00007f3534a659bb in KDevelop::DUChain::qt_metacall (this=0x251bfb0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff43527ba0) at /opt/kde/build/KDE/kdevplatform/language/duchain.moc:162 #10 0x00007f353813bea2 in QMetaObject::activate (sender=0x234e300, from_signal_index=<value optimized out>, to_signal_index=13, argv=0xffffffffffffffff) at kernel/qobject.cpp:3113 #11 0x00007f353ac53e3f in KDevelop::IDocumentController::documentLoadedPrepare (this=0x234e300, _t1=0x7f3510b8df80) at /opt/kde/build/KDE/kdevplatform/interfaces/idocumentcontroller.moc:256 #12 0x00007f353ac50e64 in KDevelop::IDocument::notifyLoaded (this=0x7f3510b8df80) at /opt/kde/src/KDE/kdevplatform/interfaces/idocument.cpp:119 #13 0x00007f353a996bd3 in KDevelop::TextDocumentPrivate::slotDocumentLoaded (this=0x823eea0) at /opt/kde/src/KDE/kdevplatform/shell/textdocument.cpp:154 #14 0x00007f353a9935a5 in KDevelop::TextDocument::qt_metacall (this=0x7f3510b8df60, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff43527d10) at /opt/kde/build/KDE/kdevplatform/shell/textdocument.moc:86 #15 0x00007f353813bea2 in QMetaObject::activate (sender=0x94184c0, from_signal_index=<value optimized out>, to_signal_index=24, argv=0xffffffffffffffff) at kernel/qobject.cpp:3113 #16 0x00007f3539b1c6cd in KTextEditor::Document::textChanged (this=0x94184c0, _t1=0x94184c0) at /opt/kde/build/KDE/kdelibs/interfaces/ktexteditor/document.moc:156 #17 0x00007f350d0c64ba in KateDocument::openFile (this=0x94184c0) at /opt/kde/src/KDE/kdelibs/kate/document/katedocument.cpp:2002 #18 0x00007f3539f78731 in KParts::ReadOnlyPart::openUrl (this=0x94184c0, url=@0x7fff435282e0) at /opt/kde/src/KDE/kdelibs/kparts/part.cpp:557 #19 0x00007f353a995b08 in KDevelop::TextDocument::createViewWidget (this=0x7f3510b8df60, parent=0x832fe90) at /opt/kde/src/KDE/kdevplatform/shell/textdocument.cpp:239 #20 0x00007f353a99431a in KDevelop::TextView::createWidget (this=0x6ef4ea0, parent=0x832fe90) at /opt/kde/src/KDE/kdevplatform/shell/textdocument.cpp:504 #21 0x00007f353477a84c in Sublime::View::widget (this=0x6ef4ea0, parent=0x832fe90) at /opt/kde/src/KDE/kdevplatform/sublime/view.cpp:82 #22 0x00007f3534773851 in Sublime::MainWindowPrivate::ViewCreator::operator() (this=0x7fff435286b0, index=0x22fb6d0) at /opt/kde/src/KDE/kdevplatform/sublime/mainwindow_p.cpp:241 #23 0x00007f35347792eb in Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator> (this=0x22f6e40, op=@0x7fff435286b0, index=0x22fb6d0) at /opt/kde/src/KDE/kdevplatform/sublime/areawalkers.h:32 #24 0x00007f35347793a1 in Sublime::Area::walkViews<Sublime::MainWindowPrivate::ViewCreator> (this=0x22f6e40, op=@0x7fff435286b0, index=0x22fb6d0) at /opt/kde/src/KDE/kdevplatform/sublime/areawalkers.h:48 #25 0x00007f3534773dbf in Sublime::MainWindowPrivate::reconstruct (this=0x22b9230) at /opt/kde/src/KDE/kdevplatform/sublime/mainwindow_p.cpp:265 #26 0x00007f353476d76a in Sublime::MainWindow::setArea (this=0x22b57c0, area=0x22f6e40) at /opt/kde/src/KDE/kdevplatform/sublime/mainwindow.cpp:118 #27 0x00007f35347797e1 in Sublime::MainWindowOperator::setArea (this=0x22b3e00, w=0x22b57c0, area=0x22f6e40) at /opt/kde/src/KDE/kdevplatform/sublime/mainwindowoperator.cpp:27 #28 0x00007f35347685f3 in Sublime::Controller::showAreaInternal (this=0x22b3e00, area=0x22f6e40, mainWindow=0x22b57c0) at /opt/kde/src/KDE/kdevplatform/sublime/controller.cpp:142 #29 0x00007f3534768d4e in Sublime::Controller::showArea (this=0x22b3e00, area=0x22f6e40, mainWindow=0x22b57c0) at /opt/kde/src/KDE/kdevplatform/sublime/controller.cpp:133 #30 0x00007f353a969263 in ~DisconnectMainWindowsFromArea (this=0x7fff43528920) at /opt/kde/src/KDE/kdevplatform/shell/workingsetcontroller.cpp:243 #31 0x00007f353a95d963 in KDevelop::WorkingSet::loadToArea (this=0x227e430, area=0x22f6e40, areaIndex=0x22fb6d0, clear=false) at /opt/kde/src/KDE/kdevplatform/shell/workingsetcontroller.cpp:321 #32 0x00007f353a95db47 in KDevelop::WorkingSet::changedWorkingSet (this=0x227e430, area=0x22f6e40, from= {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 68299}, alloc = 0, size = 0, data = 0x60c5da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 10029}, alloc = 0, size = 0, data = 0x7f353841985a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7fff43528b50, static codecForCStrings = 0x0}, to= {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 68299}, alloc = 0, size = 0, data = 0x60c5da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 10029}, alloc = 0, size = 0, data = 0x7f353841985a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7fff43528b40, static codecForCStrings = 0x0}) at /opt/kde/src/KDE/kdevplatform/shell/workingsetcontroller.cpp:602 #33 0x00007f353a961cc6 in KDevelop::WorkingSet::qt_metacall (this=0x227e430, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x720d0e0) at /opt/kde/build/KDE/kdevplatform/shell/workingsetcontroller.moc:83 #34 0x00007f35381365d8 in QObject::event (this=0x227e430, e=0x75409f0) at kernel/qobject.cpp:1111 #35 0x00007f353712ef4d in QApplicationPrivate::notify_helper (this=0x217aa00, receiver=0x227e430, e=0x75409f0) at kernel/qapplication.cpp:4056 #36 0x00007f353713718a in QApplication::notify (this=0x7fff435295a0, receiver=0x227e430, e=0x75409f0) at kernel/qapplication.cpp:4021 #37 0x00007f35388c5a95 in KApplication::notify (this=0x7fff435295a0, receiver=0x227e430, event=0x75409f0) at /opt/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302 #38 0x00007f35381266ac in QCoreApplication::notifyInternal (this=0x7fff435295a0, receiver=0x227e430, event=0x75409f0) at kernel/qcoreapplication.cpp:610 #39 0x00007f353812731a in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x10d6c50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #40 0x00007f353814fe03 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #41 0x00007f35308d820a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #42 0x00007f35308db8e0 in ?? () from /usr/lib/libglib-2.0.so.0 #43 0x00007f35308dba7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #44 0x00007f353814fa8f in QEventDispatcherGlib::processEvents (this=0x10d68b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327 #45 0x00007f35371c7bdf in QGuiEventDispatcherGlib::processEvents (this=0x6ae4, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202 #46 0x00007f3538124f42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1129485408}) at kernel/qeventloop.cpp:149 #47 0x00007f3538125314 in QEventLoop::exec (this=0x7fff435294a0, flags={i = 1129485488}) at kernel/qeventloop.cpp:201 #48 0x00007f35381275e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #49 0x000000000040771b in main (argc=1, argv=0x7fff4352a6d8) at /opt/kde/src/KDE/kdevelop/app/main.cpp:181 Reported using DrKonqi
Do you know wether any of the files inside that workingset have been deleted meanwhile?
could be possible - before starting kdevelop I switched git branches and had a revert to a previous revision and so one file got lost. But it isn't listed in the working set.
*** Bug 204682 has been marked as a duplicate of this bug. ***
I already thought those crashes could be related. I'll attach the header file (it's not yet in svn) of the version which crashed KDevelop for the first time. KDevelop thinks the file is "QTableView" and is located in /usr/include/qt4/QTableView. It has an include of QTableView and there is a class which subclasses QTableView.
Created attachment 36338 [details] The header which crashes kdevelop when trying to open it
*** Bug 210125 has been marked as a duplicate of this bug. ***
*** Bug 234872 has been marked as a duplicate of this bug. ***
adapting bug title
*** Bug 235043 has been marked as a duplicate of this bug. ***
essentially "fixed" in 4.2 / master by not using smart ranges anymore and afaik there is nothing we can do about it in 4.1.
*** Bug 252029 has been marked as a duplicate of this bug. ***
*** Bug 253617 has been marked as a duplicate of this bug. ***
*** Bug 258650 has been marked as a duplicate of this bug. ***
bug 258650 contains a way to reproduce it: 1. Open an existing file foo 2. Save as... bar 3. Locate original file foo in project pane and double click to try and open foo 4. Crash occurs. probably the saveAs is not handled in the duchain. Works properly in KDevelop 4.2 though.
reproduced with these steps, awesome :)
*** Bug 262806 has been marked as a duplicate of this bug. ***
Created attachment 56793 [details] New crash information added by DrKonqi kdevelop (4.0.2 (using KDevPlatform 1.0.2)) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.0 - What I was doing when the application crashed: Just installed kdevelop and kdevelop-php. Created a new project. When I tried to open the new PHP file, kdevelop just crashed. -- Backtrace (Reduced): #6 begin (this=0x0, watcher=0x1ccb6c8) at /usr/include/qt4/QtCore/qlist.h:97 #7 contains (this=0x0, watcher=0x1ccb6c8) at /usr/include/qt4/QtCore/qlist.h:860 #8 KTextEditor::SmartRange::addWatcher (this=0x0, watcher=0x1ccb6c8) at ../../../interfaces/ktexteditor/smartrange.cpp:893 #9 0x00007f7d6647651f in KDevelop::BackgroundParser::addManagedTopRange (this=0x1ccb6b0, document=..., range=0x0) at ../../language/backgroundparser/backgroundparser.cpp:645 #10 0x00007f7d6649362b in KDevelop::DUChain::documentLoadedPrepare (this=<value optimized out>, doc=0x349cf10) at ../../language/duchain/duchain.cpp:1541
*** Bug 266915 has been marked as a duplicate of this bug. ***
Created attachment 59028 [details] New crash information added by DrKonqi kdevelop (4.0.1 (using KDevPlatform 1.0.1)) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.2 - What I was doing when the application crashed: When i open any source file, kdevelop crashes. I can only create new source file, write something, and if i close source and open it again, kdev crashes. It occurs every try. I've just installed kdevelop on my debian, but used kdevelop before on laptop with kubuntu natty - it's all ok on natty. -- Backtrace (Reduced): #7 0xb74ee74a in KTextEditor::SmartRange::addWatcher(KTextEditor::SmartRangeWatcher*) () from /usr/lib/libktexteditor.so.4 #8 0xb53d5729 in KDevelop::BackgroundParser::addManagedTopRange (this=0x90b1ec8, document=..., range=0x0) at ../../language/backgroundparser/backgroundparser.cpp:645 #9 0xb53f3a24 in KDevelop::DUChain::documentLoadedPrepare (this=0x9172718, doc=0x9ce9ef0) at ../../language/duchain/duchain.cpp:1541 #10 0xb53f5fd7 in KDevelop::DUChain::qt_metacall (this=0x9172718, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfe982f8) at ./duchain.moc:168 [...] #13 0xb7610053 in KDevelop::IDocumentController::documentLoadedPrepare (this=0x9108c88, _t1=0x9ce9ef0) at ./idocumentcontroller.moc:279
Fixed in 4.2, upgrading is highly recommended.
*** Bug 284174 has been marked as a duplicate of this bug. ***