Bug 253617

Summary: kdevelop 4 crash at launch
Product: [Applications] kdevelop Reporter: Pete MacKinnon <pmackinn>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: 4.1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pete MacKinnon 2010-10-08 20:26:36 UTC
Application: kdevelop (4.0.1 (using KDevPlatform 1.0.1))
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-56.fc13.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
Cause unknown but stacktrace attached.

The crash can be reproduced every time.

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

Thread 5 (Thread 0xb4b18b70 (LWP 4220)):
#0  0x00794416 in __kernel_vsyscall ()
#1  0x00411976 in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#2  0x0044aacc in usleep (useconds=500) at ../sysdeps/unix/sysv/linux/usleep.c:33
#3  0x0656d413 in KDevelop::DUChainLock::lockForWrite (this=0xa1d8544, timeout=0) at /usr/src/debug/kdevplatform-1.0.1/language/duchain/duchainlock.cpp:201
#4  0x0656d4cf in KDevelop::DUChainWriteLocker::lock (this=0xb4b1823c) at /usr/src/debug/kdevplatform-1.0.1/language/duchain/duchainlock.cpp:299
#5  0x0656d52f in KDevelop::DUChainWriteLocker::DUChainWriteLocker (this=0xb4b1823c, duChainLock=0xa1d8544, timeout=0) at /usr/src/debug/kdevplatform-1.0.1/language/duchain/duchainlock.cpp:284
#6  0x065286f0 in KDevelop::DUChainPrivate::doMoreCleanup (this=0xa1d8538, retries=1, needLockRepository=true) at /usr/src/debug/kdevplatform-1.0.1/language/duchain/duchain.cpp:705
#7  0x06529e2b in KDevelop::DUChainPrivate::CleanupThread::run (this=0xa1d84c0) at /usr/src/debug/kdevplatform-1.0.1/language/duchain/duchain.cpp:294
#8  0x03c9574f in QThreadPrivate::start (arg=0xa1d84c0) at thread/qthread_unix.cpp:248
#9  0x0053b919 in start_thread (arg=0xb4b18b70) at pthread_create.c:301
#10 0x00451cce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 4 (Thread 0xb2f4ab70 (LWP 4257)):
#0  __pthread_mutex_unlock (mutex=0xaff004ec) at pthread_mutex_unlock.c:289
#1  0x005cfa58 in IA__g_main_context_prepare (context=<value optimized out>, priority=0xb2f4a0fc) at gmain.c:2278
#2  0x005cfe81 in g_main_context_iterate (context=0xaff004e8, block=1, dispatch=1, self=0xaff01ca0) at gmain.c:2571
#3  0x005d0449 in IA__g_main_context_iteration (context=0xaff004e8, may_block=1) at gmain.c:2654
#4  0x03daf47f in QEventDispatcherGlib::processEvents (this=0xaff00468, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#5  0x03d8580a in QEventLoop::processEvents (this=0xb2f4a240, flags=...) at kernel/qeventloop.cpp:149
#6  0x03d85b4a in QEventLoop::exec (this=0xb2f4a240, flags=...) at kernel/qeventloop.cpp:201
#7  0x03c932fe in QThread::exec (this=0xa5fbb88) at thread/qthread.cpp:487
#8  0x066141e1 in KDevelop::CompletionWorkerThread::run (this=0xa5fbb88) at /usr/src/debug/kdevplatform-1.0.1/language/codecompletion/codecompletionmodel.cpp:82
#9  0x03c9574f in QThreadPrivate::start (arg=0xa5fbb88) at thread/qthread_unix.cpp:248
#10 0x0053b919 in start_thread (arg=0xb2f4ab70) at pthread_create.c:301
#11 0x00451cce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xb0a45b70 (LWP 4258)):
#0  0x00794416 in __kernel_vsyscall ()
#1  0x00446df6 in __poll (fds=0xaff03718, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x005dd64c in IA__g_poll (fds=0xaff03718, nfds=1, timeout=-1) at gpoll.c:127
#3  0x005d0044 in g_main_context_poll (context=0x53e490, block=1, dispatch=1, self=0xaff036f0) at gmain.c:2904
#4  g_main_context_iterate (context=0x53e490, block=1, dispatch=1, self=0xaff036f0) at gmain.c:2586
#5  0x005d0449 in IA__g_main_context_iteration (context=0xaff01f90, may_block=1) at gmain.c:2654
#6  0x03daf47f in QEventDispatcherGlib::processEvents (this=0xaff01f10, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#7  0x03d8580a in QEventLoop::processEvents (this=0xb0a45240, flags=...) at kernel/qeventloop.cpp:149
#8  0x03d85b4a in QEventLoop::exec (this=0xb0a45240, flags=...) at kernel/qeventloop.cpp:201
#9  0x03c932fe in QThread::exec (this=0xa5fc0d8) at thread/qthread.cpp:487
#10 0x066141e1 in KDevelop::CompletionWorkerThread::run (this=0xa5fc0d8) at /usr/src/debug/kdevplatform-1.0.1/language/codecompletion/codecompletionmodel.cpp:82
#11 0x03c9574f in QThreadPrivate::start (arg=0xa5fc0d8) at thread/qthread_unix.cpp:248
#12 0x0053b919 in start_thread (arg=0xb0a45b70) at pthread_create.c:301
#13 0x00451cce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xafeffb70 (LWP 4259)):
#0  0x00794416 in __kernel_vsyscall ()
#1  0x0053f5d4 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:236
#2  0x03c9500f in thread_sleep (ti=<value optimized out>) at thread/qthread_unix.cpp:398
#3  0x03c95164 in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:424
#4  0x02828b8b in UIBlockTester::UIBlockTesterThread::run (this=0xa5fc568) at /usr/src/debug/kdevelop-4.0.1/languages/cpp/cpplanguagesupport.cpp:678
#5  0x03c9574f in QThreadPrivate::start (arg=0xa5fc568) at thread/qthread_unix.cpp:248
#6  0x0053b919 in start_thread (arg=0xafeffb70) at pthread_create.c:301
#7  0x00451cce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb7884780 (LWP 4219)):
[KCrash Handler]
#6  begin (this=0x0, watcher=0xa15bafc) at /usr/include/QtCore/qlist.h:93
#7  contains (this=0x0, watcher=0xa15bafc) at /usr/include/QtCore/qlist.h:757
#8  KTextEditor::SmartRange::addWatcher (this=0x0, watcher=0xa15bafc) at /usr/src/debug/kdelibs-4.4.5/interfaces/ktexteditor/smartrange.cpp:893
#9  0x064f396a in KDevelop::BackgroundParser::addManagedTopRange (this=0xa15baf0, document=..., range=0x0) at /usr/src/debug/kdevplatform-1.0.1/language/backgroundparser/backgroundparser.cpp:645
#10 0x0650ed29 in KDevelop::DUChain::documentLoadedPrepare (this=0xa1cc5f8, doc=0xa8882b0) at /usr/src/debug/kdevplatform-1.0.1/language/duchain/duchain.cpp:1541
#11 0x06511ea7 in KDevelop::DUChain::qt_metacall (this=0xa1cc5f8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfaff7b8)
    at /usr/src/debug/kdevplatform-1.0.1/i686-redhat-linux-gnu/language/duchain.moc:168
#12 0x03d8bbcb in QMetaObject::metacall (object=0xa1cc5f8, cl=QMetaObject::InvokeMetaMethod, idx=10, argv=0xbfaff7b8) at kernel/qmetaobject.cpp:237
#13 0x03d9aa75 in QMetaObject::activate (sender=0xa15c698, m=0x1b5cd4, local_signal_index=9, argv=0xbfaff7b8) at kernel/qobject.cpp:3295
#14 0x001a8474 in KDevelop::IDocumentController::documentLoadedPrepare (this=0xa15c698, _t1=0xa8882b0)
    at /usr/src/debug/kdevplatform-1.0.1/i686-redhat-linux-gnu/interfaces/idocumentcontroller.moc:279
#15 0x001a60b3 in KDevelop::IDocument::notifyLoaded (this=0xa8882b0) at /usr/src/debug/kdevplatform-1.0.1/interfaces/idocument.cpp:119
#16 0x063f91a1 in slotDocumentLoaded (this=0xa8882a0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfaff978) at /usr/src/debug/kdevplatform-1.0.1/shell/textdocument.cpp:174
#17 KDevelop::TextDocument::qt_metacall (this=0xa8882a0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfaff978) at /usr/src/debug/kdevplatform-1.0.1/i686-redhat-linux-gnu/shell/textdocument.moc:94
#18 0x03d8bbcb in QMetaObject::metacall (object=0xa8882a0, cl=QMetaObject::InvokeMetaMethod, idx=15, argv=0xbfaff978) at kernel/qmetaobject.cpp:237
#19 0x03d9aa75 in QMetaObject::activate (sender=0xb190448, m=0x45662d4, local_signal_index=5, argv=0xbfaff978) at kernel/qobject.cpp:3295
#20 0x0454ddb4 in KTextEditor::Document::textChanged (this=0xb190448, _t1=0xb190448) at /usr/src/debug/kdelibs-4.4.5/i686-redhat-linux-gnu/interfaces/ktexteditor/document.moc:162
#21 0x03200fed in KateDocument::openFile (this=0xb190448) at /usr/src/debug/kdelibs-4.4.5/kate/document/katedocument.cpp:2110
#22 0x00d5991a in KParts::ReadOnlyPart::openUrl (this=0xb190448, url=...) at /usr/src/debug/kdelibs-4.4.5/kparts/part.cpp:557
#23 0x063f83df in KDevelop::TextDocument::createViewWidget (this=0xa8882a0, parent=0xa8fabf8) at /usr/src/debug/kdevplatform-1.0.1/shell/textdocument.cpp:261
#24 0x063f79af in KDevelop::TextView::createWidget (this=0xa7f46b8, parent=0xa8fabf8) at /usr/src/debug/kdevplatform-1.0.1/shell/textdocument.cpp:532
#25 0x0449da57 in Sublime::View::widget (this=0xa7f46b8, parent=0xa8fabf8) at /usr/src/debug/kdevplatform-1.0.1/sublime/view.cpp:82
#26 0x04497bda in Sublime::MainWindowPrivate::ViewCreator::operator() (this=0xbfb00024, index=0xa047f18) at /usr/src/debug/kdevplatform-1.0.1/sublime/mainwindow_p.cpp:246
#27 0x0449cdc9 in Sublime::Area::WalkerMode Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) ()
   from /usr/lib/libsublime.so.1
#28 0x0449aa8c in walkViews<Sublime::MainWindowPrivate::ViewCreator> (this=0xa03e2b8) at /usr/src/debug/kdevplatform-1.0.1/sublime/areawalkers.h:48
#29 Sublime::MainWindowPrivate::reconstruct (this=0xa03e2b8) at /usr/src/debug/kdevplatform-1.0.1/sublime/mainwindow_p.cpp:272
#30 0x04492465 in Sublime::MainWindow::setArea (this=0xa03d760, area=0xa047f28) at /usr/src/debug/kdevplatform-1.0.1/sublime/mainwindow.cpp:136
#31 0x063c7cd4 in KDevelop::WorkingSet::loadToArea (this=0xa3ebcb8, area=0xa047f28, areaIndex=0xa047f18, clear=false) at /usr/src/debug/kdevplatform-1.0.1/shell/workingsetcontroller.cpp:346
#32 0x063c8205 in KDevelop::WorkingSet::changedWorkingSet (this=0xa3ebcb8, area=0xa047f28, from=..., to=...) at /usr/src/debug/kdevplatform-1.0.1/shell/workingsetcontroller.cpp:648
#33 0x063c8bac in KDevelop::WorkingSet::qt_metacall (this=0xa3ebcb8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xa3ee840)
    at /usr/src/debug/kdevplatform-1.0.1/i686-redhat-linux-gnu/shell/workingsetcontroller.moc:90
#34 0x03d8bbcb in QMetaObject::metacall (object=0xa3ebcb8, cl=QMetaObject::InvokeMetaMethod, idx=9, argv=0xa3ee840) at kernel/qmetaobject.cpp:237
#35 0x03d96187 in QMetaCallEvent::placeMetaCall (this=0xa3638a0, object=0xa3ebcb8) at kernel/qobject.cpp:561
#36 0x03d9709e in QObject::event (this=0xa3ebcb8, e=0xa3638a0) at kernel/qobject.cpp:1248
#37 0x0499077c in QApplicationPrivate::notify_helper (this=0x9e8cfa8, receiver=0xa3ebcb8, e=0xa3638a0) at kernel/qapplication.cpp:4306
#38 0x049971d6 in QApplication::notify (this=0xbfb00ba8, receiver=0xa3ebcb8, e=0xa3638a0) at kernel/qapplication.cpp:3710
#39 0x0549500b in KApplication::notify (this=0xbfb00ba8, receiver=0xa3ebcb8, event=0xa3638a0) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#40 0x03d87133 in QCoreApplication::notifyInternal (this=0xbfb00ba8, receiver=0xa3ebcb8, event=0xa3638a0) at kernel/qcoreapplication.cpp:726
#41 0x03d895bc in sendEvent (receiver=0x0, event_type=0, data=0x9e27f50) at kernel/qcoreapplication.h:215
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9e27f50) at kernel/qcoreapplication.cpp:1367
#43 0x03d8973e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#44 0x03daf950 in sendPostedEvents (s=0x9e8f310) at kernel/qcoreapplication.h:220
#45 postEventSourceDispatch (s=0x9e8f310) at kernel/qeventdispatcher_glib.cpp:276
#46 0x005cc525 in g_main_dispatch (context=0x9e8f290) at gmain.c:1960
#47 IA__g_main_context_dispatch (context=0x9e8f290) at gmain.c:2513
#48 0x005d0268 in g_main_context_iterate (context=0x53e490, block=1, dispatch=1, self=0x9e8d1d8) at gmain.c:2591
#49 0x005d0449 in IA__g_main_context_iteration (context=0x9e8f290, may_block=1) at gmain.c:2654
#50 0x03daf446 in QEventDispatcherGlib::processEvents (this=0x9e27a28, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#51 0x04a3f336 in QGuiEventDispatcherGlib::processEvents (this=0x9e27a28, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x03d8580a in QEventLoop::processEvents (this=0xbfb00a64, flags=...) at kernel/qeventloop.cpp:149
#53 0x03d85b4a in QEventLoop::exec (this=0xbfb00a64, flags=...) at kernel/qeventloop.cpp:201
#54 0x03d89807 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#55 0x04990828 in QApplication::exec () at kernel/qapplication.cpp:3585
#56 0x0804fe03 in main (argc=<value optimized out>, argv=0x0) at /usr/src/debug/kdevelop-4.0.1/app/main_internal.cpp:233

Possible duplicates by query: bug 252029, bug 248832, bug 243265, bug 235043, bug 231873.

Reported using DrKonqi
Comment 1 Milian Wolff 2010-10-09 13:08:52 UTC

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