Application: kdevelop (4.1.1) KDE Platform Version: 4.5.4 (KDE 4.5.4) Qt Version: 4.7.0 Operating System: Linux 2.6.35-23-generic i686 Distribution: Ubuntu 10.10 -- Information about the crash: - What I was doing when the application crashed: Kdevelop > Settings > Configure KDevelop... > Source Formatter -> immediate crash The crash can be reproduced every time. -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault [Current thread is 1 (Thread 0xb666b710 (LWP 26294))] Thread 8 (Thread 0xb3c0cb70 (LWP 26295)): #0 0x0070b416 in __kernel_vsyscall () #1 0x00a9f884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236 #2 0x01b1be14 in __pthread_cond_timedwait (cond=0x9169860, mutex=0x9169848, abstime=0xb3c0c2b0) at forward.c:152 #3 0x0084a94f in wait (this=0x8f59c6c, mutex=0x8f59c70, time=200000) at thread/qwaitcondition_unix.cpp:86 #4 QWaitCondition::wait (this=0x8f59c6c, mutex=0x8f59c70, time=200000) at thread/qwaitcondition_unix.cpp:160 #5 0x082a9415 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x8f59c60) at ../../language/duchain/duchain.cpp:286 #6 0x00849df9 in QThreadPrivate::start (arg=0x8f59c60) at thread/qthread_unix.cpp:266 #7 0x00a9acc9 in start_thread (arg=0xb3c0cb70) at pthread_create.c:304 #8 0x01b0e6be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 7 (Thread 0xb32ffb70 (LWP 26296)): #0 __pthread_mutex_unlock_usercnt (mutex=0x91d9714, decr=1) at pthread_mutex_unlock.c:47 #1 0x01b1bfc6 in pthread_mutex_unlock (mutex=0x91d9714) at forward.c:184 #2 0x0402e870 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x0097a59f in QEventDispatcherGlib::processEvents (this=0x91c3c80, flags=...) at kernel/qeventdispatcher_glib.cpp:417 #4 0x0094a609 in QEventLoop::processEvents (this=0xb32ff290, flags=) at kernel/qeventloop.cpp:149 #5 0x0094aa8a in QEventLoop::exec (this=0xb32ff290, flags=...) at kernel/qeventloop.cpp:201 #6 0x00846b7e in QThread::exec (this=0x91d8c50) at thread/qthread.cpp:490 #7 0x0092935b in QInotifyFileSystemWatcherEngine::run (this=0x91d8c50) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00849df9 in QThreadPrivate::start (arg=0x91d8c50) at thread/qthread_unix.cpp:266 #9 0x00a9acc9 in start_thread (arg=0xb32ffb70) at pthread_create.c:304 #10 0x01b0e6be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 6 (Thread 0xb16ffb70 (LWP 26302)): #0 0x00a9e796 in __pthread_mutex_unlock_usercnt (mutex=0x938693c, decr=1) at pthread_mutex_unlock.c:36 #1 0x01b1bfc6 in pthread_mutex_unlock (mutex=0x938693c) at forward.c:184 #2 0x0402a701 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #3 0x0402e668 in ?? () from /lib/libglib-2.0.so.0 #4 0x0402e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #5 0x0097a59f in QEventDispatcherGlib::processEvents (this=0x8def9e0, flags=...) at kernel/qeventdispatcher_glib.cpp:417 #6 0x0094a609 in QEventLoop::processEvents (this=0xb16ff290, flags=) at kernel/qeventloop.cpp:149 #7 0x0094aa8a in QEventLoop::exec (this=0xb16ff290, flags=...) at kernel/qeventloop.cpp:201 #8 0x00846b7e in QThread::exec (this=0x8def948) at thread/qthread.cpp:490 #9 0x0092935b in QInotifyFileSystemWatcherEngine::run (this=0x8def948) at io/qfilesystemwatcher_inotify.cpp:248 #10 0x00849df9 in QThreadPrivate::start (arg=0x8def948) at thread/qthread_unix.cpp:266 #11 0x00a9acc9 in start_thread (arg=0xb16ffb70) at pthread_create.c:304 #12 0x01b0e6be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 5 (Thread 0xb0efeb70 (LWP 26305)): #0 0x01dade36 in clock_gettime (clock_id=31137780, tp=0xb0efdfc0) at ../sysdeps/unix/clock_gettime.c:100 #1 0x008a550b in do_gettime () at tools/qelapsedtimer_unix.cpp:105 #2 qt_gettime () at tools/qelapsedtimer_unix.cpp:119 #3 0x0097c6e5 in QTimerInfoList::updateCurrentTime (this=0xb334facc) at kernel/qeventdispatcher_unix.cpp:339 #4 0x0097c72a in QTimerInfoList::timerWait (this=0xb334facc, tm=...) at kernel/qeventdispatcher_unix.cpp:442 #5 0x0097a7a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb0efe0ec) at kernel/qeventdispatcher_glib.cpp:136 #6 0x0097a83d in timerSourcePrepare (source=0x0, timeout=0x1db1ff4) at kernel/qeventdispatcher_glib.cpp:169 #7 0x0402de6a in g_main_context_prepare () from /lib/libglib-2.0.so.0 #8 0x0402e279 in ?? () from /lib/libglib-2.0.so.0 #9 0x0402e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #10 0x0097a59f in QEventDispatcherGlib::processEvents (this=0x976fac0, flags=...) at kernel/qeventdispatcher_glib.cpp:417 #11 0x0094a609 in QEventLoop::processEvents (this=0xb0efe2c0, flags=) at kernel/qeventloop.cpp:149 #12 0x0094aa8a in QEventLoop::exec (this=0xb0efe2c0, flags=...) at kernel/qeventloop.cpp:201 #13 0x00846b7e in QThread::exec (this=0x976a5b8) at thread/qthread.cpp:490 #14 0x083a5998 in KDevelop::CompletionWorkerThread::run (this=0x976a5b8) at ../../language/codecompletion/codecompletionmodel.cpp:81 #15 0x00849df9 in QThreadPrivate::start (arg=0x976a5b8) at thread/qthread_unix.cpp:266 #16 0x00a9acc9 in start_thread (arg=0xb0efeb70) at pthread_create.c:304 #17 0x01b0e6be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 4 (Thread 0xaf364b70 (LWP 26306)): #0 0x01dade36 in clock_gettime (clock_id=31137780, tp=0xaf363fc0) at ../sysdeps/unix/clock_gettime.c:100 #1 0x008a550b in do_gettime () at tools/qelapsedtimer_unix.cpp:105 #2 qt_gettime () at tools/qelapsedtimer_unix.cpp:119 #3 0x0097c6e5 in QTimerInfoList::updateCurrentTime (this=0x976cc34) at kernel/qeventdispatcher_unix.cpp:339 #4 0x0097c72a in QTimerInfoList::timerWait (this=0x976cc34, tm=...) at kernel/qeventdispatcher_unix.cpp:442 #5 0x0097a7a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaf3640ec) at kernel/qeventdispatcher_glib.cpp:136 #6 0x0097a83d in timerSourcePrepare (source=0x0, timeout=0x1db1ff4) at kernel/qeventdispatcher_glib.cpp:169 #7 0x0402de6a in g_main_context_prepare () from /lib/libglib-2.0.so.0 #8 0x0402e279 in ?? () from /lib/libglib-2.0.so.0 #9 0x0402e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #10 0x0097a59f in QEventDispatcherGlib::processEvents (this=0x902e848, flags=...) at kernel/qeventdispatcher_glib.cpp:417 #11 0x0094a609 in QEventLoop::processEvents (this=0xaf3642c0, flags=) at kernel/qeventloop.cpp:149 #12 0x0094aa8a in QEventLoop::exec (this=0xaf3642c0, flags=...) at kernel/qeventloop.cpp:201 #13 0x00846b7e in QThread::exec (this=0x8e8b830) at thread/qthread.cpp:490 #14 0x083a5998 in KDevelop::CompletionWorkerThread::run (this=0x8e8b830) at ../../language/codecompletion/codecompletionmodel.cpp:81 #15 0x00849df9 in QThreadPrivate::start (arg=0x8e8b830) at thread/qthread_unix.cpp:266 #16 0x00a9acc9 in start_thread (arg=0xaf364b70) at pthread_create.c:304 #17 0x01b0e6be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 3 (Thread 0xadf23b70 (LWP 26309)): #0 0x0070b416 in __kernel_vsyscall () #1 0x00a9f4dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169 #2 0x01b1bdbd in __pthread_cond_wait (cond=0x90ba8c8, mutex=0x90ba8b0) at forward.c:139 #3 0x0084a9c7 in wait (this=0x90ba7d0, mutex=0x9047580, time=4294967295) at thread/qwaitcondition_unix.cpp:88 #4 QWaitCondition::wait (this=0x90ba7d0, mutex=0x9047580, time=4294967295) at thread/qwaitcondition_unix.cpp:160 #5 0x03c94030 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x90ba7b8, th=0x9690530) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #6 0x03c977dc in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x903f340, th=0x9690530) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80 #7 0x03c9355b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x90ba7b8, th=0x9690530) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356 #8 0x03c978d2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x903f340, th=0x9690530) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #9 0x03c94533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x90ba7b8, th=0x9690530, previous=0xb2c55c8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351 #10 0x03c9595e in ThreadWeaver::ThreadRunHelper::run (this=0xadf232f4, parent=0x90ba7b8, th=0x9690530) at ../../../threadweaver/Weaver/Thread.cpp:87 #11 0x03c9607b in ThreadWeaver::Thread::run (this=0x9690530) at ../../../threadweaver/Weaver/Thread.cpp:142 #12 0x00849df9 in QThreadPrivate::start (arg=0x9690530) at thread/qthread_unix.cpp:266 #13 0x00a9acc9 in start_thread (arg=0xadf23b70) at pthread_create.c:304 #14 0x01b0e6be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 2 (Thread 0xad722b70 (LWP 26310)): #0 0x0070b416 in __kernel_vsyscall () #1 0x00a9f4dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169 #2 0x01b1bdbd in __pthread_cond_wait (cond=0x90ba8c8, mutex=0x90ba8b0) at forward.c:139 #3 0x0084a9c7 in wait (this=0x90ba7d0, mutex=0x9047580, time=4294967295) at thread/qwaitcondition_unix.cpp:88 #4 QWaitCondition::wait (this=0x90ba7d0, mutex=0x9047580, time=4294967295) at thread/qwaitcondition_unix.cpp:160 #5 0x03c94030 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x90ba7b8, th=0x93e1270) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #6 0x03c977dc in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x903f340, th=0x93e1270) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80 #7 0x03c9355b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x90ba7b8, th=0x93e1270) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356 #8 0x03c978d2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x903f340, th=0x93e1270) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #9 0x03c94533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x90ba7b8, th=0x93e1270, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351 #10 0x03c978f1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x903f340, th=0x93e1270) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #11 0x03c94533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x90ba7b8, th=0x93e1270, previous=0xab602ce8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351 #12 0x03c9595e in ThreadWeaver::ThreadRunHelper::run (this=0xad7222f4, parent=0x90ba7b8, th=0x93e1270) at ../../../threadweaver/Weaver/Thread.cpp:87 #13 0x03c9607b in ThreadWeaver::Thread::run (this=0x93e1270) at ../../../threadweaver/Weaver/Thread.cpp:142 #14 0x00849df9 in QThreadPrivate::start (arg=0x93e1270) at thread/qthread_unix.cpp:266 #15 0x00a9acc9 in start_thread (arg=0xad722b70) at pthread_create.c:304 #16 0x01b0e6be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 1 (Thread 0xb666b710 (LWP 26294)): [KCrash Handler] #7 ref (this=0xbf95351c, other=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:120 #8 QString::operator= (this=0xbf95351c, other=...) at tools/qstring.cpp:1323 #9 0x06992db4 in SourceFormatterSettings::load (this=0x9116770) at ../../../shell/settings/sourceformattersettings.cpp:152 #10 0x069914e6 in SourceFormatterSettings::qt_metacall (this=0x9116770, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0xb2bf788) at ./sourceformattersettings.moc:85 #11 0x009518ca in QMetaObject::metacall (object=0x9116770, cl=186977182, idx=36, argv=0xb2bf788) at kernel/qmetaobject.cpp:237 #12 0x0095cdf6 in QMetaCallEvent::placeMetaCall (this=0xb31a848, object=0x9116770) at kernel/qobject.cpp:534 #13 0x0095e6a2 in QObject::event (this=0x9116770, e=0x0) at kernel/qobject.cpp:1219 #14 0x010fe936 in QWidget::event (this=0x9116770, event=0xb31a848) at kernel/qwidget.cpp:8646 #15 0x010a0fdc in QApplicationPrivate::notify_helper (this=0x8dc3920, receiver=0x9116770, e=0xb31a848) at kernel/qapplication.cpp:4396 #16 0x010a70e9 in QApplication::notify (this=0xbf9553e0, receiver=0x9116770, e=0xb31a848) at kernel/qapplication.cpp:4361 #17 0x00d9505a in KApplication::notify (this=0xbf9553e0, receiver=0x9116770, event=0xb31a848) at ../../kdeui/kernel/kapplication.cpp:310 #18 0x0094bb3b in QCoreApplication::notifyInternal (this=0xbf9553e0, receiver=0x9116770, event=0xb31a848) at kernel/qcoreapplication.cpp:732 #19 0x0094ed8b in sendEvent (receiver=0x0, event_type=0, data=0x8da8dc8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8da8dc8) at kernel/qcoreapplication.cpp:1373 #21 0x0094ef4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266 #22 0x0097aa74 in sendPostedEvents (s=0x8dc5b78) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #23 postEventSourceDispatch (s=0x8dc5b78) at kernel/qeventdispatcher_glib.cpp:277 #24 0x0402a855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #25 0x0402e668 in ?? () from /lib/libglib-2.0.so.0 #26 0x0402e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #27 0x0097a565 in QEventDispatcherGlib::processEvents (this=0x8da88a8, flags=...) at kernel/qeventdispatcher_glib.cpp:415 #28 0x01162be5 in QGuiEventDispatcherGlib::processEvents (this=0x8da88a8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #29 0x0094a609 in QEventLoop::processEvents (this=0xbf953f80, flags=) at kernel/qeventloop.cpp:149 #30 0x0094aa8a in QEventLoop::exec (this=0xbf953f80, flags=...) at kernel/qeventloop.cpp:201 #31 0x0160b873 in QDialog::exec (this=0xbf953fec) at dialogs/qdialog.cpp:552 #32 0x00412cdd in KDevelop::UiController::showSettingsDialog (this=0x8f07760) at ../../shell/uicontroller.cpp:420 #33 0x00400877 in KDevelop::MainWindowPrivate::settingsDialog (this=0x8f656b0) at ../../shell/mainwindow_actions.cpp:100 #34 0x00402d20 in KDevelop::MainWindowPrivate::qt_metacall (this=0x8f656b0, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0xbf954198) at ./mainwindow_p.moc:144 #35 0x009518ca in QMetaObject::metacall (object=0x8f656b0, cl=186977182, idx=21, argv=0xbf954198) at kernel/qmetaobject.cpp:237 #36 0x009646ad in QMetaObject::activate (sender=0x8f61298, m=0x1a1f370, local_signal_index=1, argv=0x64682b2b) at kernel/qobject.cpp:3280 #37 0x01098f99 in QAction::triggered (this=0x8f61298, _t1=false) at .moc/release-shared/moc_qaction.cpp:263 #38 0x0109a8dc in QAction::activate (this=0x8f61298, event=QAction::Trigger) at kernel/qaction.cpp:1256 #39 0x015667ef in QMenuPrivate::activateCausedStack (this=0x8f7abe0, causedStack=..., action=0x8f61298, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993 #40 0x0156ca4b in QMenuPrivate::activateAction (this=0x8f7abe0, action=0x8f61298, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085 #41 0x0156d5e0 in QMenu::mouseReleaseEvent (this=0x8f7a3d8, e=0xbf954a40) at widgets/qmenu.cpp:2301 #42 0x00e90b75 in KMenu::mouseReleaseEvent (this=0x8f7a3d8, e=0xbf954a40) at ../../kdeui/widgets/kmenu.cpp:471 #43 0x010fee08 in QWidget::event (this=0x8f7a3d8, event=0xbf954a40) at kernel/qwidget.cpp:8187 #44 0x0156f02f in QMenu::event (this=0x8f7a3d8, e=0xbf954a40) at widgets/qmenu.cpp:2410 #45 0x010a0fdc in QApplicationPrivate::notify_helper (this=0x8dc3920, receiver=0x8f7a3d8, e=0xbf954a40) at kernel/qapplication.cpp:4396 #46 0x010a7c2e in QApplication::notify (this=0xbf9553e0, receiver=0x8f7a3d8, e=0xbf954a40) at kernel/qapplication.cpp:3959 #47 0x00d9505a in KApplication::notify (this=0xbf9553e0, receiver=0x8f7a3d8, event=0xbf954a40) at ../../kdeui/kernel/kapplication.cpp:310 #48 0x0094bb3b in QCoreApplication::notifyInternal (this=0xbf9553e0, receiver=0x8f7a3d8, event=0xbf954a40) at kernel/qcoreapplication.cpp:732 #49 0x010a6094 in sendEvent (receiver=0x8f7a3d8, event=0xbf954a40, alienWidget=0x0, nativeWidget=0x8f7a3d8, buttonDown=0x1a3b3c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #50 QApplicationPrivate::sendMouseEvent (receiver=0x8f7a3d8, event=0xbf954a40, alienWidget=0x0, nativeWidget=0x8f7a3d8, buttonDown=0x1a3b3c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058 #51 0x01135261 in QETWidget::translateMouseEvent (this=0x8f7a3d8, event=0xbf954f5c) at kernel/qapplication_x11.cpp:4337 #52 0x01134151 in QApplication::x11ProcessEvent (this=0xbf9553e0, event=0xbf954f5c) at kernel/qapplication_x11.cpp:3414 #53 0x0116336a in x11EventSourceDispatch (s=0x8dc6a40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #54 0x0402a855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #55 0x0402e668 in ?? () from /lib/libglib-2.0.so.0 #56 0x0402e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #57 0x0097a565 in QEventDispatcherGlib::processEvents (this=0x8da88a8, flags=...) at kernel/qeventdispatcher_glib.cpp:415 #58 0x01162be5 in QGuiEventDispatcherGlib::processEvents (this=0x8da88a8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #59 0x0094a609 in QEventLoop::processEvents (this=0xbf955254, flags=) at kernel/qeventloop.cpp:149 #60 0x0094aa8a in QEventLoop::exec (this=0xbf955254, flags=...) at kernel/qeventloop.cpp:201 #61 0x0094f00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #62 0x0109fe07 in QApplication::exec () at kernel/qapplication.cpp:3672 #63 0x080509c8 in _start () Possible duplicates by query: bug 240509, bug 229833. Reported using DrKonqi
see comment in bug 240509 and provide a valgrind log if you can reproduce this issue *** This bug has been marked as a duplicate of bug 240509 ***