Bug 254761 - KDevelop crashed after I deleted current session and don't start any more
Summary: KDevelop crashed after I deleted current session and don't start any more
Status: RESOLVED DUPLICATE of bug 251758
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.1.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-20 13:23 UTC by Mike Rublev
Modified: 2010-10-20 17:07 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 Mike Rublev 2010-10-20 13:23:26 UTC
Application: kdevelop (4.0.2 (using KDevPlatform 1.0.2))
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

I've deleted current (active) session from the list of sessions from the main menu. Kdevelop closed and crashed, and don't start any more (crashes)

-- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7786710 (LWP 28608))]

Thread 6 (Thread 0xa8996b70 (LWP 28609)):
#0  0x009e4416 in __kernel_vsyscall ()
#1  0x00a7e1a6 in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#2  0x00aaeeac in usleep (useconds=500) at ../sysdeps/unix/sysv/linux/usleep.c:33
#3  0x05791992 in KDevelop::DUChainLock::lockForWrite (this=0x90a4a54, timeout=0) at ../../language/duchain/duchainlock.cpp:201
#4  0x05791a4e in KDevelop::DUChainWriteLocker::lock (this=0xa89962bc) at ../../language/duchain/duchainlock.cpp:299
#5  0x05791aae in KDevelop::DUChainWriteLocker::DUChainWriteLocker (this=0xa89962bc, duChainLock=0x90a4a54, timeout=0) at ../../language/duchain/duchainlock.cpp:284
#6  0x05746ea8 in KDevelop::DUChainPrivate::doMoreCleanup (this=0x90a4a48, retries=1, needLockRepository=true) at ../../language/duchain/duchain.cpp:705
#7  0x057485e3 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x9098770) at ../../language/duchain/duchain.cpp:294
#8  0x00d4fdf9 in QThreadPrivate::start (arg=0x9098770) at thread/qthread_unix.cpp:266
#9  0x008fbcc9 in start_thread (arg=0xa8996b70) at pthread_create.c:304
#10 0x00ab56ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xa65e0b70 (LWP 28612)):
#0  0x00ac2f6a in pthread_mutex_lock (mutex=0xa80267dc) at forward.c:182
#1  0x05a836c4 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#2  0x05a87668 in ?? () from /lib/libglib-2.0.so.0
#3  0x05a87848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00e8059f in QEventDispatcherGlib::processEvents (this=0x91cece0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00e50609 in QEventLoop::processEvents (this=0xa65e0290, flags=) at kernel/qeventloop.cpp:149
#6  0x00e50a8a in QEventLoop::exec (this=0xa65e0290, flags=...) at kernel/qeventloop.cpp:201
#7  0x00d4cb7e in QThread::exec (this=0x91cd0f8) at thread/qthread.cpp:490
#8  0x00e2f35b in QInotifyFileSystemWatcherEngine::run (this=0x91cd0f8) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00d4fdf9 in QThreadPrivate::start (arg=0x91cd0f8) at thread/qthread_unix.cpp:266
#10 0x008fbcc9 in start_thread (arg=0xa65e0b70) at pthread_create.c:304
#11 0x00ab56ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa333cb70 (LWP 28620)):
#0  0x009e4416 in __kernel_vsyscall ()
#1  0x00aa6de6 in __poll (fds=0xb3eff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x05a94a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x05a8743c in ?? () from /lib/libglib-2.0.so.0
#4  0x05a87848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00e8059f in QEventDispatcherGlib::processEvents (this=0x9258bc8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x00e50609 in QEventLoop::processEvents (this=0xa333c2c0, flags=) at kernel/qeventloop.cpp:149
#7  0x00e50a8a in QEventLoop::exec (this=0xa333c2c0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00d4cb7e in QThread::exec (this=0x93ba8f0) at thread/qthread.cpp:490
#9  0x058458d8 in KDevelop::CompletionWorkerThread::run (this=0x93ba8f0) at ../../language/codecompletion/codecompletionmodel.cpp:81
#10 0x00d4fdf9 in QThreadPrivate::start (arg=0x93ba8f0) at thread/qthread_unix.cpp:266
#11 0x008fbcc9 in start_thread (arg=0xa333cb70) at pthread_create.c:304
#12 0x00ab56ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa2b3bb70 (LWP 28621)):
#0  0x00dab218 in QElapsedTimer::isMonotonic () at tools/qelapsedtimer_unix.cpp:76
#1  0x00dab4a2 in do_gettime () at tools/qelapsedtimer_unix.cpp:103
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x00e826e5 in QTimerInfoList::updateCurrentTime (this=0x93ae4f4) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00e8272a in QTimerInfoList::timerWait (this=0x93ae4f4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00e807a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xa2b3b0ec) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00e8083d in timerSourcePrepare (source=0x1, timeout=0xa2b3b068) at kernel/qeventdispatcher_glib.cpp:169
#7  0x05a86e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x05a87279 in ?? () from /lib/libglib-2.0.so.0
#9  0x05a87848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x00e8059f in QEventDispatcherGlib::processEvents (this=0x92503b8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x00e50609 in QEventLoop::processEvents (this=0xa2b3b2c0, flags=) at kernel/qeventloop.cpp:149
#12 0x00e50a8a in QEventLoop::exec (this=0xa2b3b2c0, flags=...) at kernel/qeventloop.cpp:201
#13 0x00d4cb7e in QThread::exec (this=0xa800dc38) at thread/qthread.cpp:490
#14 0x058458d8 in KDevelop::CompletionWorkerThread::run (this=0xa800dc38) at ../../language/codecompletion/codecompletionmodel.cpp:81
#15 0x00d4fdf9 in QThreadPrivate::start (arg=0xa800dc38) at thread/qthread_unix.cpp:266
#16 0x008fbcc9 in start_thread (arg=0xa2b3bb70) at pthread_create.c:304
#17 0x00ab56ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa21ffb70 (LWP 28622)):
#0  0x009e4416 in __kernel_vsyscall ()
#1  0x00900884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x00ac2e04 in __pthread_cond_timedwait (cond=0xa21ff224, mutex=0xa21ff254, abstime=0xa21ff2a0) at forward.c:152
#3  0x00d4f33e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:416
#4  0x00d4f493 in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:442
#5  0x04204ccb in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#6  0x00d4fdf9 in QThreadPrivate::start (arg=0x9407098) at thread/qthread_unix.cpp:266
#7  0x008fbcc9 in start_thread (arg=0xa21ffb70) at pthread_create.c:304
#8  0x00ab56ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7786710 (LWP 28608)):
[KCrash Handler]
#7  value (this=0x0, number=7) at /usr/include/qt4/QtCore/qhash.h:606
#8  operator[] (this=0x0, number=7) at /usr/include/qt4/QtCore/qhash.h:731
#9  KDevelop::ConfigurableHighlightingColors::getAttribute (this=0x0, number=7) at ../../language/highlighting/configurablecolors.cpp:41
#10 0x0587ee08 in KDevelop::CodeHighlighting::attributeForType (this=0x93b9b98, type=KDevelop::HighlightingEnumContainer::EnumType, context=KDevelop::HighlightingEnumContainer::DeclarationContext, color=...) at ../../language/highlighting/codehighlighting.cpp:101
#11 0x0587fd9f in KDevelop::CodeHighlightingInstance::highlightDeclaration (this=0x98505b0, declaration=0x9c3df90, color=...) at ../../language/highlighting/codehighlighting.cpp:445
#12 0x0587e2fd in KDevelop::CodeHighlightingInstance::highlightDUChainSimple (this=0x98505b0, context=0x8f3dca0) at ../../language/highlighting/codehighlighting.cpp:228
#13 0x0587e4d5 in KDevelop::CodeHighlightingInstance::highlightDUChain (this=0x98505b0, context=0x8f3dca0) at ../../language/highlighting/codehighlighting.cpp:202
#14 0x0587e771 in KDevelop::CodeHighlighting::highlightDUChain (this=0x93b9b98, context=0x8f3dca0) at ../../language/highlighting/codehighlighting.cpp:171
#15 0x0572c67e in KDevelop::DUChain::documentLoadedPrepare (this=0x90aa7d0, doc=0x98ad8e0) at ../../language/duchain/duchain.cpp:1562
#16 0x0572f517 in KDevelop::DUChain::qt_metacall (this=0x90aa7d0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfb4c688) at ./duchain.moc:168
#17 0x00e578ca in QMetaObject::metacall (object=0x90aa7d0, cl=QMetaObject::QueryPropertyEditable, idx=10, argv=0xbfb4c688) at kernel/qmetaobject.cpp:237
#18 0x00e6a6ad in QMetaObject::activate (sender=0x8fa15e8, m=0x3da614, local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3280
#19 0x003d0213 in KDevelop::IDocumentController::documentLoadedPrepare (this=0x8fa15e8, _t1=0x98ad8e0) at ./idocumentcontroller.moc:279
#20 0x003cd9b2 in KDevelop::IDocument::notifyLoaded (this=0x98ad8e0) at ../../interfaces/idocument.cpp:119
#21 0x00c6ad91 in slotDocumentLoaded (this=0x98ad8d0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfb4c848) at ../../shell/textdocument.cpp:174
#22 KDevelop::TextDocument::qt_metacall (this=0x98ad8d0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfb4c848) at ./textdocument.moc:94
#23 0x00e578ca in QMetaObject::metacall (object=0x98ad8d0, cl=QMetaObject::QueryPropertyEditable, idx=15, argv=0xbfb4c848) at kernel/qmetaobject.cpp:237
#24 0x00e6a6ad in QMetaObject::activate (sender=0x9baf788, m=0x40ed44, local_signal_index=5, argv=0x0) at kernel/qobject.cpp:3280
#25 0x003f5ec3 in KTextEditor::Document::textChanged (this=0x9baf788, _t1=0x9baf788) at ./document.moc:177
#26 0x077a47dc in KateDocument::openFile (this=0x9baf788) at ../../kate/document/katedocument.cpp:2037
#27 0x04436549 in KParts::ReadOnlyPart::openUrl (this=0x9baf788, url=...) at ../../kparts/part.cpp:557
#28 0x00c69d13 in KDevelop::TextDocument::createViewWidget (this=0x98ad8d0, parent=0x9933668) at ../../shell/textdocument.cpp:261
#29 0x00c692be in KDevelop::TextView::createWidget (this=0x9851088, parent=0x9933668) at ../../shell/textdocument.cpp:532
#30 0x07c1f997 in Sublime::View::widget(QWidget*) () from /usr/lib/libsublime.so.1
#31 0x07c18b2a in ?? () from /usr/lib/libsublime.so.1
#32 0x07c1ec39 in Sublime::Area::WalkerMode Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) () from /usr/lib/libsublime.so.1
#33 0x07c1c9cb in ?? () from /usr/lib/libsublime.so.1
#34 0x07c121a4 in Sublime::MainWindow::setArea(Sublime::Area*) () from /usr/lib/libsublime.so.1
#35 0x00c3525c in KDevelop::WorkingSet::loadToArea (this=0x91d1f40, area=0x8f07640, areaIndex=0x8f07630, clear=false) at ../../shell/workingsetcontroller.cpp:346
#36 0x00c35784 in KDevelop::WorkingSet::changedWorkingSet (this=0x91d1f40, area=0x8f07640, from=..., to=...) at ../../shell/workingsetcontroller.cpp:648
#37 0x00c3611c in KDevelop::WorkingSet::qt_metacall (this=0x91d1f40, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x91dafe8) at ./workingsetcontroller.moc:90
#38 0x00e578ca in QMetaObject::metacall (object=0x91d1f40, cl=QMetaObject::QueryPropertyEditable, idx=9, argv=0x91dafe8) at kernel/qmetaobject.cpp:237
#39 0x00e62df6 in QMetaCallEvent::placeMetaCall (this=0x91e1cb8, object=0x91d1f40) at kernel/qobject.cpp:534
#40 0x00e646a2 in QObject::event (this=0x91d1f40, e=0xbfb4c1ac) at kernel/qobject.cpp:1219
#41 0x010b1fdc in QApplicationPrivate::notify_helper (this=0x8de2b88, receiver=0x91d1f40, e=0x91e1cb8) at kernel/qapplication.cpp:4396
#42 0x010b804e in QApplication::notify (this=0xbfb4da70, receiver=0x91d1f40, e=0x91e1cb8) at kernel/qapplication.cpp:3798
#43 0x005e968a in KApplication::notify (this=0xbfb4da70, receiver=0x91d1f40, event=0x91e1cb8) at ../../kdeui/kernel/kapplication.cpp:310
#44 0x00e51b3b in QCoreApplication::notifyInternal (this=0xbfb4da70, receiver=0x91d1f40, event=0x91e1cb8) at kernel/qcoreapplication.cpp:732
#45 0x00e54d8b in sendEvent (receiver=0x0, event_type=0, data=0x8d7af00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8d7af00) at kernel/qcoreapplication.cpp:1373
#47 0x00e54f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#48 0x00e80a74 in sendPostedEvents (s=0x8de4f10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#49 postEventSourceDispatch (s=0x8de4f10) at kernel/qeventdispatcher_glib.cpp:277
#50 0x05a83855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#51 0x05a87668 in ?? () from /lib/libglib-2.0.so.0
#52 0x05a87848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#53 0x00e80565 in QEventDispatcherGlib::processEvents (this=0x8d7aa18, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#54 0x01173be5 in QGuiEventDispatcherGlib::processEvents (this=0x8d7aa18, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x00e50609 in QEventLoop::processEvents (this=0xbfb4d924, flags=) at kernel/qeventloop.cpp:149
#56 0x00e50a8a in QEventLoop::exec (this=0xbfb4d924, flags=...) at kernel/qeventloop.cpp:201
#57 0x00e5500f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#58 0x010b0e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#59 0x0804fe00 in _start ()

Possible duplicates by query: bug 251758.

Reported using DrKonqi
Comment 1 Milian Wolff 2010-10-20 17:07:34 UTC

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