Bug 261453

Summary: Crash on startup
Product: [Applications] kdevelop Reporter: gustavogx
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: 4.2.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description gustavogx 2010-12-28 14:30:11 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-24-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
I simply can't start KDevelop. Simply installed from repository.

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7f3fe5966700 (LWP 3482)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f3ffb8c5da2 in wait (this=<value optimized out>, mutex=0x256d840, time=200000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x256d840, time=200000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f3ff6fd3c6e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x256d820) at ../../language/duchain/duchain.cpp:286
#4  0x00007f3ffb8c527e in QThreadPrivate::start (arg=0x256d820) at thread/qthread_unix.cpp:266
#5  0x00007f3ffa2c9971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f3ffa5c592d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f3fdb1b6700 (LWP 3485)):
#0  0x00007f3ffa5b9203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3ff3dc8009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f3ff3dc845c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f3ffb9e51e6 in QEventDispatcherGlib::processEvents (this=0x2f63150, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f3ffb9b7a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f3ffb9b7dec in QEventLoop::exec (this=0x7f3fdb1b5db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f3ffb8c22fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f3ffb9975f8 in QInotifyFileSystemWatcherEngine::run (this=0x2f62660) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f3ffb8c527e in QThreadPrivate::start (arg=0x2f62660) at thread/qthread_unix.cpp:266
#9  0x00007f3ffa2c9971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f3ffa5c592d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f3fd2727700 (LWP 3510)):
#0  0x00007f3ffb9e525f in isEmpty (src=0x40beb10) at ../../include/QtCore/../../src/corelib/tools/qlist.h:95
#1  isEmpty (src=0x40beb10) at ../../include/QtCore/../../src/corelib/tools/qlist.h:139
#2  timerSourceCheckHelper (src=0x40beb10) at kernel/qeventdispatcher_glib.cpp:146
#3  0x00007f3ff3dc766a in g_main_context_check () from /lib/libglib-2.0.so.0
#4  0x00007f3ff3dc8023 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f3ff3dc845c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#6  0x00007f3ffb9e51e6 in QEventDispatcherGlib::processEvents (this=0x3080f90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#7  0x00007f3ffb9b7a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#8  0x00007f3ffb9b7dec in QEventLoop::exec (this=0x7f3fd2726df0, flags=) at kernel/qeventloop.cpp:201
#9  0x00007f3ffb8c22fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#10 0x00007f3ffb8c527e in QThreadPrivate::start (arg=0x3861910) at thread/qthread_unix.cpp:266
#11 0x00007f3ffa2c9971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#12 0x00007f3ffa5c592d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3fd1f26700 (LWP 3511)):
#0  0x00007f3ffa2cb665 in __pthread_mutex_lock (mutex=0x3868758) at pthread_mutex_lock.c:61
#1  0x00007f3ff3dc7a43 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007f3ff3dc7e78 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f3ff3dc845c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f3ffb9e51e6 in QEventDispatcherGlib::processEvents (this=0x2f281c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f3ffb9b7a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f3ffb9b7dec in QEventLoop::exec (this=0x7f3fd1f25df0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f3ffb8c22fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007f3ffb8c527e in QThreadPrivate::start (arg=0x385cdc0) at thread/qthread_unix.cpp:266
#9  0x00007f3ffa2c9971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f3ffa5c592d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3fd1725700 (LWP 3512)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f3ffb8c4845 in thread_sleep (ti=0x7f3fd1724db0) at thread/qthread_unix.cpp:416
#2  0x00007f3ffb8c49b0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:442
#3  0x00007f3fd80bd961 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007f3ffb8c527e in QThreadPrivate::start (arg=0x3852b60) at thread/qthread_unix.cpp:266
#5  0x00007f3ffa2c9971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f3ffa5c592d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3ffd163760 (LWP 3481)):
[KCrash Handler]
#6  value (this=0x0, number=6) at /usr/include/qt4/QtCore/qhash.h:606
#7  operator[] (this=0x0, number=6) at /usr/include/qt4/QtCore/qhash.h:731
#8  KDevelop::ConfigurableHighlightingColors::getAttribute (this=0x0, number=6) at ../../language/highlighting/configurablecolors.cpp:41
#9  0x00007f3ff70f3c38 in KDevelop::CodeHighlighting::attributeForType (this=0x3853930, type=KDevelop::HighlightingEnumContainer::ForwardDeclarationType, context=KDevelop::HighlightingEnumContainer::DeclarationContext, color=...) at ../../language/highlighting/codehighlighting.cpp:101
#10 0x00007f3ff70f4bd9 in KDevelop::CodeHighlightingInstance::highlightDeclaration (this=0x4256560, declaration=<value optimized out>, color=...) at ../../language/highlighting/codehighlighting.cpp:445
#11 0x00007f3ff70f317b in KDevelop::CodeHighlightingInstance::highlightDUChainSimple (this=0x4256560, context=0x3864310) at ../../language/highlighting/codehighlighting.cpp:228
#12 0x00007f3ff70f334b in KDevelop::CodeHighlightingInstance::highlightDUChain (this=0x4256560, context=0x3864310) at ../../language/highlighting/codehighlighting.cpp:202
#13 0x00007f3ff70f35d1 in KDevelop::CodeHighlighting::highlightDUChain (this=<value optimized out>, context=0x3864310) at ../../language/highlighting/codehighlighting.cpp:171
#14 0x00007f3ff6fb98c5 in KDevelop::DUChain::documentLoadedPrepare (this=<value optimized out>, doc=0x40b3270) at ../../language/duchain/duchain.cpp:1562
#15 0x00007f3ff6fbc405 in KDevelop::DUChain::qt_metacall (this=0x256c390, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffdd4617f0) at ./duchain.moc:168
#16 0x00007f3ffb9d0b27 in QMetaObject::activate (sender=0x24c7440, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x429c440) at kernel/qobject.cpp:3280
#17 0x00007f3ffc8ae622 in KDevelop::IDocumentController::documentLoadedPrepare (this=0x7fffdd461110, _t1=0x40b3270) at ./idocumentcontroller.moc:279
#18 0x00007f3ffc8ac3b0 in KDevelop::IDocument::notifyLoaded (this=0x40b3270) at ../../interfaces/idocument.cpp:119
#19 0x00007f3ffc6018b0 in slotDocumentLoaded (this=0x40b3250, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffdd461a10) at ../../shell/textdocument.cpp:174
#20 KDevelop::TextDocument::qt_metacall (this=0x40b3250, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffdd461a10) at ./textdocument.moc:94
#21 0x00007f3ffb9d0b27 in QMetaObject::activate (sender=0x4225b50, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x429c440) at kernel/qobject.cpp:3280
#22 0x00007f3ffc34cee2 in KTextEditor::Document::textChanged (this=0x7fffdd461110, _t1=0x4225b50) at ./document.moc:177
#23 0x00007f3fd0995ca5 in KateDocument::openFile (this=0x4225b50) at ../../kate/document/katedocument.cpp:2037
#24 0x00007f3ff8b9c987 in KParts::ReadOnlyPart::openUrl (this=0x4225b50, url=<value optimized out>) at ../../kparts/part.cpp:557
#25 0x00007f3ffc600bed in KDevelop::TextDocument::createViewWidget (this=0x40b3250, parent=0x4160930) at ../../shell/textdocument.cpp:261
#26 0x00007f3ffc6002d7 in KDevelop::TextView::createWidget (this=0x40b47c0, parent=0x4160930) at ../../shell/textdocument.cpp:532
#27 0x00007f3ff6cfa9c6 in Sublime::View::widget(QWidget*) () from /usr/lib/libsublime.so.1
#28 0x00007f3ff6cf4b80 in ?? () from /usr/lib/libsublime.so.1
#29 0x00007f3ff6cf9f78 in Sublime::Area::WalkerMode Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) () from /usr/lib/libsublime.so.1
#30 0x00007f3ff6cf8217 in ?? () from /usr/lib/libsublime.so.1
#31 0x00007f3ff6ceec30 in Sublime::MainWindow::setArea(Sublime::Area*) () from /usr/lib/libsublime.so.1
#32 0x00007f3ffc5d0383 in KDevelop::WorkingSet::loadToArea (this=<value optimized out>, area=0x23529a0, areaIndex=<value optimized out>, clear=<value optimized out>) at ../../shell/workingsetcontroller.cpp:346
#33 0x00007f3ffc5d0863 in KDevelop::WorkingSet::changedWorkingSet (this=0x30626a0, area=0x23529a0, from=<value optimized out>, to=) at ../../shell/workingsetcontroller.cpp:648
#34 0x00007f3ffc5d11ff in KDevelop::WorkingSet::qt_metacall (this=0x30626a0, _c=<value optimized out>, _id=<value optimized out>, _a=0x3066720) at ./workingsetcontroller.moc:90
#35 0x00007f3ffb9cabde in QObject::event (this=0x30626a0, e=0x7fffdd461110) at kernel/qobject.cpp:1219
#36 0x00007f3ffad1ffdc in QApplicationPrivate::notify_helper (this=0x21ca730, receiver=0x30626a0, e=0x308d180) at kernel/qapplication.cpp:4396
#37 0x00007f3ffad25aed in QApplication::notify (this=0x7fffdd463650, receiver=0x30626a0, e=0x308d180) at kernel/qapplication.cpp:4277
#38 0x00007f3ffbf0e156 in KApplication::notify (this=0x7fffdd463650, receiver=0x30626a0, event=0x308d180) at ../../kdeui/kernel/kapplication.cpp:310
#39 0x00007f3ffb9b8cdc in QCoreApplication::notifyInternal (this=0x7fffdd463650, receiver=0x30626a0, event=0x308d180) at kernel/qcoreapplication.cpp:732
#40 0x00007f3ffb9bbc22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x195f110) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x195f110) at kernel/qcoreapplication.cpp:1373
#42 0x00007f3ffb9e5653 in sendPostedEvents (s=0x21ce2c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#43 postEventSourceDispatch (s=0x21ce2c0) at kernel/qeventdispatcher_glib.cpp:277
#44 0x00007f3ff3dc4342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#45 0x00007f3ff3dc82a8 in ?? () from /lib/libglib-2.0.so.0
#46 0x00007f3ff3dc845c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#47 0x00007f3ffb9e5193 in QEventDispatcherGlib::processEvents (this=0x195e8b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#48 0x00007f3ffadd2a4e in QGuiEventDispatcherGlib::processEvents (this=0x7fffdd461110, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x00007f3ffb9b7a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#50 0x00007f3ffb9b7dec in QEventLoop::exec (this=0x7fffdd463480, flags=) at kernel/qeventloop.cpp:201
#51 0x00007f3ffb9bbebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#52 0x00000000004085f7 in _start ()

Possible duplicates by query: bug 257586, bug 255487, bug 254761, bug 251758.

Reported using DrKonqi
Comment 1 Milian Wolff 2010-12-29 16:22:21 UTC
should be fixed for KDevelop 4.1 already

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