Bug 262905

Summary: KDevelop's GUI freezes when using git integration
Product: [Applications] kdevelop Reporter: Sergio Martins <smartins>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: crash CC: aleixpol
Priority: NOR    
Version First Reported In: git master   
Target Milestone: 4.2.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: thread apply all backtrace

Description Sergio Martins 2011-01-11 23:09:23 UTC
Version:           SVN (using Devel) 
OS:                Linux



Reproducible: Always

Steps to Reproduce:
Right click->Git->Revision History

Actual Results:  
A dialog pops up.

Terminal output says:
 kdevelop(28457)/kdevplatform (git) GitPlugin::branches: Getting branch list

UI is frozen. Even the dialog's close button doesn't work.


#0  0x00007f1be47163e3 in poll () from /lib/libc.so.6
#1  0x00007f1bde244134 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f1bde24466d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f1be67a0ee3 in QEventDispatcherGlib::processEvents (this=0x20a2df0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007f1be56df116 in QGuiEventDispatcherGlib::processEvents (this=0x20a2df0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#5  0x00007f1be6765926 in QEventLoop::processEvents (this=0x7fff80300cb0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f1be6765a7a in QEventLoop::exec (this=0x7fff80300cb0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f1bea1db41c in KJob::exec (this=0x7f1bcc96b860) at /data/sources/kde/trunk/kdelibs/kdecore/jobs/kjob.cpp:204
#8  0x00007f1bbbdec762 in GitPlugin::branches (this=0x2ec2650, repository=...) at /data/sources/kde/trunk/kdevplatform/plugins/git/gitplugin.cpp:558
#9  0x00007f1bbbdecb04 in GitPlugin::initBranchHash (this=0x2ec2650, repo=...) at /data/sources/kde/trunk/kdevplatform/plugins/git/gitplugin.cpp:772
#10 0x00007f1bbbdf0823 in GitPlugin::getAllCommits (this=0x2ec2650, repo=...) at /data/sources/kde/trunk/kdevplatform/plugins/git/gitplugin.cpp:607
#11 0x00007f1be2d2c243 in CommitLogModel::initializeModel (this=0x46682b0) at /data/sources/kde/trunk/kdevplatform/vcs/dvcs/ui/revhistory/commitlogmodel.cpp:38
#12 0x00007f1be2d0df50 in CommitLogModel::qt_metacall (this=0x46682b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /home/kde-devel/kde/build/kdevplatform/vcs/moc_commitlogmodel.cpp:72
#13 0x00007f1be676ff37 in QMetaObject::metacall (object=0x46682b0, cl=QMetaObject::InvokeMetaMethod, idx=24, argv=0x46771a0) at kernel/qmetaobject.cpp:237
#14 0x00007f1be677f40a in QMetaCallEvent::placeMetaCall (this=0x46b5fe0, object=0x46682b0) at kernel/qobject.cpp:535
#15 0x00007f1be67806e5 in QObject::event (this=0x46682b0, e=0x46b5fe0) at kernel/qobject.cpp:1217
#16 0x00007f1be5606650 in QApplicationPrivate::notify_helper (this=0x212d390, receiver=0x46682b0, e=0x46b5fe0) at kernel/qapplication.cpp:4462
#17 0x00007f1be5603c74 in QApplication::notify (this=0x7fff803047f0, receiver=0x46682b0, e=0x46b5fe0) at kernel/qapplication.cpp:3862
#18 0x00007f1be6fd7ab6 in KApplication::notify (this=0x7fff803047f0, receiver=0x46682b0, event=0x46b5fe0)
    at /data/sources/kde/trunk/kdelibs/kdeui/kernel/kapplication.cpp:311
#19 0x00000000004056ca in KDevelopApplication::notify (this=0x7fff803047f0, receiver=0x46682b0, event=0x46b5fe0) at /data/sources/kde/trunk/kdevelop/app/main.cpp:90
#20 0x00007f1be6767dc3 in QCoreApplication::notifyInternal (this=0x7fff803047f0, receiver=0x46682b0, event=0x46b5fe0) at kernel/qcoreapplication.cpp:731
#21 0x00007f1be8475127 in QCoreApplication::sendEvent (receiver=0x46682b0, event=0x46b5fe0) at ../../../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 0x00007f1be6768ffc in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2096c00) at kernel/qcoreapplication.cpp:1372
#23 0x00007f1be6768c1d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#24 0x00007f1be67a163b in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#25 0x00007f1be67a05f4 in postEventSourceDispatch (s=0x21313d0) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007f1bde243bf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007f1bde2443d0 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0x00007f1bde24466d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x00007f1be67a0ee3 in QEventDispatcherGlib::processEvents (this=0x20a2df0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#30 0x00007f1be56df116 in QGuiEventDispatcherGlib::processEvents (this=0x20a2df0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
---Type <return> to continue, or q <return> to quit---
#31 0x00007f1be6765926 in QEventLoop::processEvents (this=0x7fff80302520, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f1be6765a7a in QEventLoop::exec (this=0x7fff80302520, flags=...) at kernel/qeventloop.cpp:201
#33 0x00007f1be5c21cb8 in QDialog::exec (this=0x7fff803025a0) at dialogs/qdialog.cpp:552
#34 0x00007f1be2d2561e in KDevelop::DistributedVersionControlPlugin::ctxRevHistory (this=0x2ec2650) at /data/sources/kde/trunk/kdevplatform/vcs/dvcs/dvcsplugin.cpp:207
#35 0x00007f1be2d0e614 in KDevelop::DistributedVersionControlPlugin::qt_metacall (this=0x2ec2650, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff803027c0) at /home/kde-devel/kde/build/kdevplatform/vcs/moc_dvcsplugin.cpp:95
#36 0x00007f1bbbde6c10 in GitPlugin::qt_metacall (this=0x2ec2650, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff803027c0)
    at /home/kde-devel/kde/build/kdevplatform/plugins/git/moc_gitplugin.cpp:151
#37 0x00007f1be676ff37 in QMetaObject::metacall (object=0x2ec2650, cl=QMetaObject::InvokeMetaMethod, idx=16, argv=0x7fff803027c0) at kernel/qmetaobject.cpp:237
#38 0x00007f1be6784dc7 in QMetaObject::activate (sender=0x390deb0, m=0x7f1be6344ee0, local_signal_index=1, argv=0x7fff803027c0) at kernel/qobject.cpp:3278
#39 0x00007f1be55f6b26 in QAction::triggered (this=0x390deb0, _t1=false) at .moc/debug-shared/moc_qaction.cpp:263
#40 0x00007f1be55f5e28 in QAction::activate (this=0x390deb0, event=QAction::Trigger) at kernel/qaction.cpp:1257
#41 0x00007f1be5b781ac in QMenuPrivate::activateCausedStack (this=0x3fafde0, causedStack=..., action=0x390deb0, action_e=QAction::Trigger, self=true)
    at widgets/qmenu.cpp:993
#42 0x00007f1be5b78675 in QMenuPrivate::activateAction (this=0x3fafde0, action=0x390deb0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#43 0x00007f1be5b7c850 in QMenu::mouseReleaseEvent (this=0x465abb0, e=0x7fff80303590) at widgets/qmenu.cpp:2306
#44 0x00007f1be566d154 in QWidget::event (this=0x465abb0, event=0x7fff80303590) at kernel/qwidget.cpp:8255
#45 0x00007f1be5b7cf16 in QMenu::event (this=0x465abb0, e=0x7fff80303590) at widgets/qmenu.cpp:2415
#46 0x00007f1be5606650 in QApplicationPrivate::notify_helper (this=0x212d390, receiver=0x465abb0, e=0x7fff80303590) at kernel/qapplication.cpp:4462
#47 0x00007f1be56045dd in QApplication::notify (this=0x7fff803047f0, receiver=0x465abb0, e=0x7fff80303590) at kernel/qapplication.cpp:4023
#48 0x00007f1be6fd7ab6 in KApplication::notify (this=0x7fff803047f0, receiver=0x465abb0, event=0x7fff80303590)
    at /data/sources/kde/trunk/kdelibs/kdeui/kernel/kapplication.cpp:311
#49 0x00000000004056ca in KDevelopApplication::notify (this=0x7fff803047f0, receiver=0x465abb0, event=0x7fff80303590) at /data/sources/kde/trunk/kdevelop/app/main.cpp:90
#50 0x00007f1be6767dc3 in QCoreApplication::notifyInternal (this=0x7fff803047f0, receiver=0x465abb0, event=0x7fff80303590) at kernel/qcoreapplication.cpp:731
#51 0x00007f1be5608e33 in QCoreApplication::sendSpontaneousEvent (receiver=0x465abb0, event=0x7fff80303590)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#52 0x00007f1be5602b46 in QApplicationPrivate::sendMouseEvent (receiver=0x465abb0, event=0x7fff80303590, alienWidget=0x0, nativeWidget=0x465abb0, 
    buttonDown=0x7f1be638c9a8, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#53 0x00007f1be56a81ba in QETWidget::translateMouseEvent (this=0x465abb0, event=0x7fff803040f0) at kernel/qapplication_x11.cpp:4395
#54 0x00007f1be56a4e11 in QApplication::x11ProcessEvent (this=0x7fff803047f0, event=0x7fff803040f0) at kernel/qapplication_x11.cpp:3465
#55 0x00007f1be56ded68 in x11EventSourceDispatch (s=0x21315e0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#56 0x00007f1bde243bf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#57 0x00007f1bde2443d0 in ?? () from /usr/lib/libglib-2.0.so.0
Comment 1 Aleix Pol 2011-01-12 01:28:42 UTC
That's not the appropriate backtrace information. Can you please provide a backtrace with all threads?

Thank you
Comment 2 Sergio Martins 2011-01-12 11:29:08 UTC
0x00007f10387fa3e3 in poll () from /lib/libc.so.6
(gdb) thread apply all bt

Thread 13 (Thread 0x7f102592a700 (LWP 7204)):
#0  0x00007f103a47f69b in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f103a7307bd in QWaitConditionPrivate::wait (this=0x11d6600, time=1000) at thread/qwaitcondition_unix.cpp:86
#2  0x00007f103a730581 in QWaitCondition::wait (this=0x11e0f98, mutex=0x11e0fa0, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f1036a31aff in KDevelop::DUChainPrivate::CleanupThread::run (this=0x11e0f80) at /data/sources/kde/trunk/kdevplatform/language/duchain/duchain.cpp:283
#4  0x00007f103a72f2cd in QThreadPrivate::start (arg=0x11e0f80) at thread/qthread_unix.cpp:320
#5  0x00007f103a47ac60 in start_thread () from /lib/libpthread.so.0
#6  0x00007f10388027ed in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f1015115700 (LWP 7208)):
#0  0x00007f10387fc3d3 in select () from /lib/libc.so.6
#1  0x00007f103a822dec in QProcessManager::run (this=0x7f103abdb280) at io/qprocess_unix.cpp:245
#2  0x00007f103a72f2cd in QThreadPrivate::start (arg=0x7f103abdb280) at thread/qthread_unix.cpp:320
#3  0x00007f103a47ac60 in start_thread () from /lib/libpthread.so.0
#4  0x00007f10388027ed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f1015916700 (LWP 7212)):
#0  0x00007f10387fa3e3 in poll () from /lib/libc.so.6
#1  0x00007f1032328134 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f103232866d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f103a884ee3 in QEventDispatcherGlib::processEvents (this=0x1c3a690, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007f103a849926 in QEventLoop::processEvents (this=0x7f1015915de0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f103a849a7a in QEventLoop::exec (this=0x7f1015915de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f103a72ca6d in QThread::exec (this=0x1c1df70) at thread/qthread.cpp:492
#7  0x00007f103a72f2cd in QThreadPrivate::start (arg=0x1c1df70) at thread/qthread_unix.cpp:320
#8  0x00007f103a47ac60 in start_thread () from /lib/libpthread.so.0
#9  0x00007f10388027ed in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f1016117700 (LWP 7213)):
---Type <return> to continue, or q <return> to quit---
#0  0x00007f10387fa3e3 in poll () from /lib/libc.so.6
#1  0x00007f1032328134 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f103232866d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f103a884ee3 in QEventDispatcherGlib::processEvents (this=0x7f101001a510, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007f103a849926 in QEventLoop::processEvents (this=0x7f1016116de0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f103a849a7a in QEventLoop::exec (this=0x7f1016116de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f103a72ca6d in QThread::exec (this=0x1c47db0) at thread/qthread.cpp:492
#7  0x00007f103a72f2cd in QThreadPrivate::start (arg=0x1c47db0) at thread/qthread_unix.cpp:320
#8  0x00007f103a47ac60 in start_thread () from /lib/libpthread.so.0
#9  0x00007f10388027ed in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f100dfa8700 (LWP 7216)):
#0  0x00007f103a47f324 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f1037712cd9 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f1037a9c660) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f1037712318 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f1037a9c660) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f103a47ac60 in start_thread () from /lib/libpthread.so.0
#4  0x00007f10388027ed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f100d397700 (LWP 7227)):
#0  0x00007f10387fa3e3 in poll () from /lib/libc.so.6
#1  0x00007f1032328134 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f103232866d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f103a884ee3 in QEventDispatcherGlib::processEvents (this=0x2d86ca0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007f103a849926 in QEventLoop::processEvents (this=0x7f100d396d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f103a849a7a in QEventLoop::exec (this=0x7f100d396d90, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f103a72ca6d in QThread::exec (this=0x2d86550) at thread/qthread.cpp:492
#7  0x00007f103a828328 in QInotifyFileSystemWatcherEngine::run (this=0x2d86550) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f103a72f2cd in QThreadPrivate::start (arg=0x2d86550) at thread/qthread_unix.cpp:320
#9  0x00007f103a47ac60 in start_thread () from /lib/libpthread.so.0
#10 0x00007f10388027ed in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()
---Type <return> to continue, or q <return> to quit---

Thread 7 (Thread 0x7f100cabe700 (LWP 7235)):
#0  0x00007f103a47f324 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f103a7307d9 in QWaitConditionPrivate::wait (this=0x112ff60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  0x00007f103a730581 in QWaitCondition::wait (this=0x112efc8, mutex=0xfb2880, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f103cc54981 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x112efa0, th=0x252ac20)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f103cc58258 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10d6d10, th=0x252ac20)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f103cc56979 in ThreadWeaver::ThreadRunHelper::run (this=0x7f100cabddf0, parent=0x112efa0, th=0x252ac20)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f103cc56a94 in ThreadWeaver::Thread::run (this=0x252ac20) at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f103a72f2cd in QThreadPrivate::start (arg=0x252ac20) at thread/qthread_unix.cpp:320
#8  0x00007f103a47ac60 in start_thread () from /lib/libpthread.so.0
#9  0x00007f10388027ed in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f100c2bd700 (LWP 7236)):
#0  0x00007f103a47f324 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f103a7307d9 in QWaitConditionPrivate::wait (this=0x112ff60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  0x00007f103a730581 in QWaitCondition::wait (this=0x112efc8, mutex=0xfb2880, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f103cc54981 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x112efa0, th=0x28b89e0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f103cc58258 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10d6d10, th=0x28b89e0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f103cc56979 in ThreadWeaver::ThreadRunHelper::run (this=0x7f100c2bcdf0, parent=0x112efa0, th=0x28b89e0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f103cc56a94 in ThreadWeaver::Thread::run (this=0x28b89e0) at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f103a72f2cd in QThreadPrivate::start (arg=0x28b89e0) at thread/qthread_unix.cpp:320
#8  0x00007f103a47ac60 in start_thread () from /lib/libpthread.so.0
#9  0x00007f10388027ed in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

---Type <return> to continue, or q <return> to quit---
Thread 5 (Thread 0x7f100babc700 (LWP 7244)):
#0  0x00007f103a47f324 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f103a7307d9 in QWaitConditionPrivate::wait (this=0x7f1020180910, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  0x00007f103a730581 in QWaitCondition::wait (this=0x7f102018ca58, mutex=0x7f102007a790, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f103cc54981 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x7f102018ca30, th=0x7f102007c1f0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f103cc58258 in ThreadWeaver::WorkingHardState::applyForWork (this=0x7f1020078d90, th=0x7f102007c1f0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f103cc58271 in ThreadWeaver::WorkingHardState::applyForWork (this=0x7f1020078d90, th=0x7f102007c1f0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f103cc58271 in ThreadWeaver::WorkingHardState::applyForWork (this=0x7f1020078d90, th=0x7f102007c1f0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f103cc56979 in ThreadWeaver::ThreadRunHelper::run (this=0x7f100babbdf0, parent=0x7f102018ca30, th=0x7f102007c1f0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:87
#8  0x00007f103cc56a94 in ThreadWeaver::Thread::run (this=0x7f102007c1f0) at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:142
#9  0x00007f103a72f2cd in QThreadPrivate::start (arg=0x7f102007c1f0) at thread/qthread_unix.cpp:320
#10 0x00007f103a47ac60 in start_thread () from /lib/libpthread.so.0
#11 0x00007f10388027ed in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f100b2bb700 (LWP 7245)):
#0  0x00007f103a47f324 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f103a7307d9 in QWaitConditionPrivate::wait (this=0x7f1020180910, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  0x00007f103a730581 in QWaitCondition::wait (this=0x7f102018ca58, mutex=0x7f102007a790, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f103cc54981 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x7f102018ca30, th=0x28acba0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f103cc58258 in ThreadWeaver::WorkingHardState::applyForWork (this=0x7f1020078d90, th=0x28acba0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f103cc56979 in ThreadWeaver::ThreadRunHelper::run (this=0x7f100b2badf0, parent=0x7f102018ca30, th=0x28acba0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f103cc56a94 in ThreadWeaver::Thread::run (this=0x28acba0) at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f103a72f2cd in QThreadPrivate::start (arg=0x28acba0) at thread/qthread_unix.cpp:320
#8  0x00007f103a47ac60 in start_thread () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#9  0x00007f10388027ed in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f100aaba700 (LWP 7264)):
#0  0x00007f103a47f324 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f103a7307d9 in QWaitConditionPrivate::wait (this=0x7f1020180910, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  0x00007f103a730581 in QWaitCondition::wait (this=0x7f102018ca58, mutex=0x7f102007a790, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f103cc54981 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x7f102018ca30, th=0x4b32c90)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f103cc58258 in ThreadWeaver::WorkingHardState::applyForWork (this=0x7f1020078d90, th=0x4b32c90)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f103cc58271 in ThreadWeaver::WorkingHardState::applyForWork (this=0x7f1020078d90, th=0x4b32c90)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f103cc56979 in ThreadWeaver::ThreadRunHelper::run (this=0x7f100aab9df0, parent=0x7f102018ca30, th=0x4b32c90)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f103cc56a94 in ThreadWeaver::Thread::run (this=0x4b32c90) at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f103a72f2cd in QThreadPrivate::start (arg=0x4b32c90) at thread/qthread_unix.cpp:320
#9  0x00007f103a47ac60 in start_thread () from /lib/libpthread.so.0
#10 0x00007f10388027ed in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f100a2b9700 (LWP 7265)):
#0  0x00007f103a47f324 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f103a7307d9 in QWaitConditionPrivate::wait (this=0x7f1020180910, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  0x00007f103a730581 in QWaitCondition::wait (this=0x7f102018ca58, mutex=0x7f102007a790, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f103cc54981 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x7f102018ca30, th=0x7f10203d83a0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f103cc58258 in ThreadWeaver::WorkingHardState::applyForWork (this=0x7f1020078d90, th=0x7f10203d83a0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f103cc58271 in ThreadWeaver::WorkingHardState::applyForWork (this=0x7f1020078d90, th=0x7f10203d83a0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f103cc58271 in ThreadWeaver::WorkingHardState::applyForWork (this=0x7f1020078d90, th=0x7f10203d83a0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
---Type <return> to continue, or q <return> to quit---
#7  0x00007f103cc56979 in ThreadWeaver::ThreadRunHelper::run (this=0x7f100a2b8df0, parent=0x7f102018ca30, th=0x7f10203d83a0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:87
#8  0x00007f103cc56a94 in ThreadWeaver::Thread::run (this=0x7f10203d83a0) at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:142
#9  0x00007f103a72f2cd in QThreadPrivate::start (arg=0x7f10203d83a0) at thread/qthread_unix.cpp:320
#10 0x00007f103a47ac60 in start_thread () from /lib/libpthread.so.0
#11 0x00007f10388027ed in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f103e830760 (LWP 7193)):
#0  0x00007f10387fa3e3 in poll () from /lib/libc.so.6
#1  0x00007f1032328134 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f103232866d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f103a884ee3 in QEventDispatcherGlib::processEvents (this=0xd38e30, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007f10397c3116 in QGuiEventDispatcherGlib::processEvents (this=0xd38e30, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#5  0x00007f103a849926 in QEventLoop::processEvents (this=0x7fff6a107940, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f103a849a7a in QEventLoop::exec (this=0x7fff6a107940, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f103e2bf41c in KJob::exec (this=0x46f1f00) at /data/sources/kde/trunk/kdelibs/kdecore/jobs/kjob.cpp:204
#8  0x00007f100fdec762 in GitPlugin::branches (this=0x1a91530, repository=...) at /data/sources/kde/trunk/kdevplatform/plugins/git/gitplugin.cpp:558
#9  0x00007f100fdecb04 in GitPlugin::initBranchHash (this=0x1a91530, repo=...) at /data/sources/kde/trunk/kdevplatform/plugins/git/gitplugin.cpp:772
#10 0x00007f100fdf0823 in GitPlugin::getAllCommits (this=0x1a91530, repo=...) at /data/sources/kde/trunk/kdevplatform/plugins/git/gitplugin.cpp:607
#11 0x00007f1036e10243 in CommitLogModel::initializeModel (this=0x47337b0) at /data/sources/kde/trunk/kdevplatform/vcs/dvcs/ui/revhistory/commitlogmodel.cpp:38
#12 0x00007f1036df1f50 in CommitLogModel::qt_metacall (this=0x47337b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /home/kde-devel/kde/build/kdevplatform/vcs/moc_commitlogmodel.cpp:72
#13 0x00007f103a853f37 in QMetaObject::metacall (object=0x47337b0, cl=QMetaObject::InvokeMetaMethod, idx=24, argv=0x4b1c870) at kernel/qmetaobject.cpp:237
#14 0x00007f103a86340a in QMetaCallEvent::placeMetaCall (this=0x43a6630, object=0x47337b0) at kernel/qobject.cpp:535
#15 0x00007f103a8646e5 in QObject::event (this=0x47337b0, e=0x43a6630) at kernel/qobject.cpp:1217
#16 0x00007f10396ea650 in QApplicationPrivate::notify_helper (this=0xdc34b0, receiver=0x47337b0, e=0x43a6630) at kernel/qapplication.cpp:4462
#17 0x00007f10396e7c74 in QApplication::notify (this=0x7fff6a10b480, receiver=0x47337b0, e=0x43a6630) at kernel/qapplication.cpp:3862
#18 0x00007f103b0bbab6 in KApplication::notify (this=0x7fff6a10b480, receiver=0x47337b0, event=0x43a6630)
    at /data/sources/kde/trunk/kdelibs/kdeui/kernel/kapplication.cpp:311
#19 0x00000000004056ca in KDevelopApplication::notify (this=0x7fff6a10b480, receiver=0x47337b0, event=0x43a6630) at /data/sources/kde/trunk/kdevelop/app/main.cpp:90
#20 0x00007f103a84bdc3 in QCoreApplication::notifyInternal (this=0x7fff6a10b480, receiver=0x47337b0, event=0x43a6630) at kernel/qcoreapplication.cpp:731
#21 0x00007f103c559127 in QCoreApplication::sendEvent (receiver=0x47337b0, event=0x43a6630) at ../../../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
---Type <return> to continue, or q <return> to quit---
#22 0x00007f103a84cffc in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xd2cc00) at kernel/qcoreapplication.cpp:1372
#23 0x00007f103a84cc1d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#24 0x00007f103a88563b in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#25 0x00007f103a8845f4 in postEventSourceDispatch (s=0xdc74a0) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007f1032327bf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007f10323283d0 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0x00007f103232866d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x00007f103a884ee3 in QEventDispatcherGlib::processEvents (this=0xd38e30, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#30 0x00007f10397c3116 in QGuiEventDispatcherGlib::processEvents (this=0xd38e30, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f103a849926 in QEventLoop::processEvents (this=0x7fff6a1091b0, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f103a849a7a in QEventLoop::exec (this=0x7fff6a1091b0, flags=...) at kernel/qeventloop.cpp:201
#33 0x00007f1039d05cb8 in QDialog::exec (this=0x7fff6a109230) at dialogs/qdialog.cpp:552
#34 0x00007f1036e0961e in KDevelop::DistributedVersionControlPlugin::ctxRevHistory (this=0x1a91530) at /data/sources/kde/trunk/kdevplatform/vcs/dvcs/dvcsplugin.cpp:207
#35 0x00007f1036df2614 in KDevelop::DistributedVersionControlPlugin::qt_metacall (this=0x1a91530, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff6a109450) at /home/kde-devel/kde/build/kdevplatform/vcs/moc_dvcsplugin.cpp:95
#36 0x00007f100fde6c10 in GitPlugin::qt_metacall (this=0x1a91530, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6a109450)
    at /home/kde-devel/kde/build/kdevplatform/plugins/git/moc_gitplugin.cpp:151
#37 0x00007f103a853f37 in QMetaObject::metacall (object=0x1a91530, cl=QMetaObject::InvokeMetaMethod, idx=16, argv=0x7fff6a109450) at kernel/qmetaobject.cpp:237
#38 0x00007f103a868dc7 in QMetaObject::activate (sender=0x3fedfa0, m=0x7f103a428ee0, local_signal_index=1, argv=0x7fff6a109450) at kernel/qobject.cpp:3278
#39 0x00007f10396dab26 in QAction::triggered (this=0x3fedfa0, _t1=false) at .moc/debug-shared/moc_qaction.cpp:263
#40 0x00007f10396d9e28 in QAction::activate (this=0x3fedfa0, event=QAction::Trigger) at kernel/qaction.cpp:1257
#41 0x00007f1039c5c1ac in QMenuPrivate::activateCausedStack (this=0x46496d0, causedStack=..., action=0x3fedfa0, action_e=QAction::Trigger, self=true)
    at widgets/qmenu.cpp:993
#42 0x00007f1039c5c675 in QMenuPrivate::activateAction (this=0x46496d0, action=0x3fedfa0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#43 0x00007f1039c60850 in QMenu::mouseReleaseEvent (this=0x42a6fd0, e=0x7fff6a10a220) at widgets/qmenu.cpp:2306
#44 0x00007f1039751154 in QWidget::event (this=0x42a6fd0, event=0x7fff6a10a220) at kernel/qwidget.cpp:8255
#45 0x00007f1039c60f16 in QMenu::event (this=0x42a6fd0, e=0x7fff6a10a220) at widgets/qmenu.cpp:2415
#46 0x00007f10396ea650 in QApplicationPrivate::notify_helper (this=0xdc34b0, receiver=0x42a6fd0, e=0x7fff6a10a220) at kernel/qapplication.cpp:4462
#47 0x00007f10396e85dd in QApplication::notify (this=0x7fff6a10b480, receiver=0x42a6fd0, e=0x7fff6a10a220) at kernel/qapplication.cpp:4023
#48 0x00007f103b0bbab6 in KApplication::notify (this=0x7fff6a10b480, receiver=0x42a6fd0, event=0x7fff6a10a220)
    at /data/sources/kde/trunk/kdelibs/kdeui/kernel/kapplication.cpp:311
#49 0x00000000004056ca in KDevelopApplication::notify (this=0x7fff6a10b480, receiver=0x42a6fd0, event=0x7fff6a10a220) at /data/sources/kde/trunk/kdevelop/app/main.cpp:90
#50 0x00007f103a84bdc3 in QCoreApplication::notifyInternal (this=0x7fff6a10b480, receiver=0x42a6fd0, event=0x7fff6a10a220) at kernel/qcoreapplication.cpp:731
---Type <return> to continue, or q <return> to quit---
#51 0x00007f10396ece33 in QCoreApplication::sendSpontaneousEvent (receiver=0x42a6fd0, event=0x7fff6a10a220)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#52 0x00007f10396e6b46 in QApplicationPrivate::sendMouseEvent (receiver=0x42a6fd0, event=0x7fff6a10a220, alienWidget=0x0, nativeWidget=0x42a6fd0, 
    buttonDown=0x7f103a4709a8, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#53 0x00007f103978c1ba in QETWidget::translateMouseEvent (this=0x42a6fd0, event=0x7fff6a10ad80) at kernel/qapplication_x11.cpp:4395
#54 0x00007f1039788e11 in QApplication::x11ProcessEvent (this=0x7fff6a10b480, event=0x7fff6a10ad80) at kernel/qapplication_x11.cpp:3465
#55 0x00007f10397c2d68 in x11EventSourceDispatch (s=0xdc76b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#56 0x00007f1032327bf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#57 0x00007f10323283d0 in ?? () from /usr/lib/libglib-2.0.so.0
#58 0x00007f103232866d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#59 0x00007f103a884ee3 in QEventDispatcherGlib::processEvents (this=0xd38e30, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#60 0x00007f10397c3116 in QGuiEventDispatcherGlib::processEvents (this=0xd38e30, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#61 0x00007f103a849926 in QEventLoop::processEvents (this=0x7fff6a10b130, flags=...) at kernel/qeventloop.cpp:149
#62 0x00007f103a849a7a in QEventLoop::exec (this=0x7fff6a10b130, flags=...) at kernel/qeventloop.cpp:201
#63 0x00007f103a84c4b6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#64 0x00007f10396e77ec in QApplication::exec () at kernel/qapplication.cpp:3736
#65 0x000000000040a13c in main (argc=0, argv=0x7fff6a10d168) at /data/sources/kde/trunk/kdevelop/app/main.cpp:468
Comment 3 Sergio Martins 2011-01-12 11:31:13 UTC
Created attachment 55903 [details]
thread apply all backtrace

Here's a more verbose one. ( Too big to add as a comment )
Comment 4 Sergio Martins 2011-01-17 01:32:17 UTC
I noticed I was running master from gitorious.

So here's a backtrace from today's kde master.




Thread 11 (Thread 0x7f5375664700 (LWP 19716)):
#0  0x00007f53898da69b in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f5389b8b7bd in QWaitConditionPrivate::wait (this=0x32f8180, time=1000) at thread/qwaitcondition_unix.cpp:86
#2  0x00007f5389b8b581 in QWaitCondition::wait (this=0x32e0d78, mutex=0x32e0d80, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5385c8306f in KDevelop::DUChainPrivate::CleanupThread::run (this=0x32e0d60) at /data/sources/kde/trunk/kdevplatform/language/duchain/duchain.cpp:286
#4  0x00007f5389b8a2cd in QThreadPrivate::start (arg=0x32e0d60) at thread/qthread_unix.cpp:320
#5  0x00007f53898d5c60 in start_thread () from /lib/libpthread.so.0
#6  0x00007f5387c5d7ed in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f5364e78700 (LWP 19720)):
#0  0x00007f5387c573d3 in select () from /lib/libc.so.6
#1  0x00007f5389c7ddec in QProcessManager::run (this=0x7f538a036280) at io/qprocess_unix.cpp:245
#2  0x00007f5389b8a2cd in QThreadPrivate::start (arg=0x7f538a036280) at thread/qthread_unix.cpp:320
#3  0x00007f53898d5c60 in start_thread () from /lib/libpthread.so.0
#4  0x00007f5387c5d7ed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f5365679700 (LWP 19724)):
#0  0x00007f5387c553e3 in poll () from /lib/libc.so.6
#1  0x00007f5382064134 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f538206466d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f5389cdfee3 in QEventDispatcherGlib::processEvents (this=0x3ec7ff0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007f5389ca4926 in QEventLoop::processEvents (this=0x7f5365678de0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5389ca4a7a in QEventLoop::exec (this=0x7f5365678de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f5389b87a6d in QThread::exec (this=0x3ec77b0) at thread/qthread.cpp:492
#7  0x00007f5389b8a2cd in QThreadPrivate::start (arg=0x3ec77b0) at thread/qthread_unix.cpp:320
#8  0x00007f53898d5c60 in start_thread () from /lib/libpthread.so.0
#9  0x00007f5387c5d7ed in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f5365e7a700 (LWP 19725)):
#0  0x00007f5387c553e3 in poll () from /lib/libc.so.6
#1  0x00007f5382064134 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f538206466d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f5389cdfee3 in QEventDispatcherGlib::processEvents (this=0x3eb09d0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007f5389ca4926 in QEventLoop::processEvents (this=0x7f5365e79de0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5389ca4a7a in QEventLoop::exec (this=0x7f5365e79de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f5389b87a6d in QThread::exec (this=0x3e98860) at thread/qthread.cpp:492
#7  0x00007f5389b8a2cd in QThreadPrivate::start (arg=0x3e98860) at thread/qthread_unix.cpp:320
#8  0x00007f53898d5c60 in start_thread () from /lib/libpthread.so.0
#9  0x00007f5387c5d7ed in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f535dd7f700 (LWP 19730)):
#0  0x00007f53898da324 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f5386965cd9 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f5386cef660) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f5386965318 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f5386cef660) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f53898d5c60 in start_thread () from /lib/libpthread.so.0
#4  0x00007f5387c5d7ed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f535d0c6700 (LWP 19741)):
#0  0x00007f5387c553e3 in poll () from /lib/libc.so.6
#1  0x00007f5382064134 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f538206466d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f5389cdfee3 in QEventDispatcherGlib::processEvents (this=0x4d90420, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007f5389ca4926 in QEventLoop::processEvents (this=0x7f535d0c5d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5389ca4a7a in QEventLoop::exec (this=0x7f535d0c5d90, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f5389b87a6d in QThread::exec (this=0x4d8fd40) at thread/qthread.cpp:492
#7  0x00007f5389c83328 in QInotifyFileSystemWatcherEngine::run (this=0x4d8fd40) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f5389b8a2cd in QThreadPrivate::start (arg=0x4d8fd40) at thread/qthread_unix.cpp:320
#9  0x00007f53898d5c60 in start_thread () from /lib/libpthread.so.0
#10 0x00007f5387c5d7ed in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f535c7ed700 (LWP 19751)):
#0  0x00007f53898da324 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f5389b8b7d9 in QWaitConditionPrivate::wait (this=0x241a390, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  0x00007f5389b8b581 in QWaitCondition::wait (this=0x241c408, mutex=0x21f52b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f538c99b981 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x241c3e0, th=0x508f050)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f538c99f258 in ThreadWeaver::WorkingHardState::applyForWork (this=0x21de930, th=0x508f050)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f538c99d979 in ThreadWeaver::ThreadRunHelper::run (this=0x7f535c7ecdf0, parent=0x241c3e0, th=0x508f050)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f538c99da94 in ThreadWeaver::Thread::run (this=0x508f050) at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f5389b8a2cd in QThreadPrivate::start (arg=0x508f050) at thread/qthread_unix.cpp:320
#8  0x00007f53898d5c60 in start_thread () from /lib/libpthread.so.0
#9  0x00007f5387c5d7ed in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f535bfec700 (LWP 19752)):
#0  0x00007f53898da324 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f5389b8b7d9 in QWaitConditionPrivate::wait (this=0x241a390, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  0x00007f5389b8b581 in QWaitCondition::wait (this=0x241c408, mutex=0x21f52b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f538c99b981 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x241c3e0, th=0x50820e0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f538c99f258 in ThreadWeaver::WorkingHardState::applyForWork (this=0x21de930, th=0x50820e0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f538c99d979 in ThreadWeaver::ThreadRunHelper::run (this=0x7f535bfebdf0, parent=0x241c3e0, th=0x50820e0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f538c99da94 in ThreadWeaver::Thread::run (this=0x50820e0) at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f5389b8a2cd in QThreadPrivate::start (arg=0x50820e0) at thread/qthread_unix.cpp:320
#8  0x00007f53898d5c60 in start_thread () from /lib/libpthread.so.0
#9  0x00007f5387c5d7ed in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f535b7eb700 (LWP 19779)):
#0  0x00007f53898da324 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f5389b8b7d9 in QWaitConditionPrivate::wait (this=0x7f53600d08f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  0x00007f5389b8b581 in QWaitCondition::wait (this=0x7f5360121fa8, mutex=0x7f53600cc980, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f538c99b981 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x7f5360121f80, th=0x7f536009e4b0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f538c99f258 in ThreadWeaver::WorkingHardState::applyForWork (this=0x7f536001b350, th=0x7f536009e4b0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f538c99d979 in ThreadWeaver::ThreadRunHelper::run (this=0x7f535b7eadf0, parent=0x7f5360121f80, th=0x7f536009e4b0)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f538c99da94 in ThreadWeaver::Thread::run (this=0x7f536009e4b0) at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f5389b8a2cd in QThreadPrivate::start (arg=0x7f536009e4b0) at thread/qthread_unix.cpp:320
#8  0x00007f53898d5c60 in start_thread () from /lib/libpthread.so.0
#9  0x00007f5387c5d7ed in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f535afea700 (LWP 19780)):
#0  0x00007f53898da324 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f5389b8b7d9 in QWaitConditionPrivate::wait (this=0x7f53600d08f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  0x00007f5389b8b581 in QWaitCondition::wait (this=0x7f5360121fa8, mutex=0x7f53600cc980, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f538c99b981 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x7f5360121f80, th=0x32c4400)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f538c99f258 in ThreadWeaver::WorkingHardState::applyForWork (this=0x7f536001b350, th=0x32c4400)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f538c99d979 in ThreadWeaver::ThreadRunHelper::run (this=0x7f535afe9df0, parent=0x7f5360121f80, th=0x32c4400)
    at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f538c99da94 in ThreadWeaver::Thread::run (this=0x32c4400) at /data/sources/kde/trunk/kdelibs/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f5389b8a2cd in QThreadPrivate::start (arg=0x32c4400) at thread/qthread_unix.cpp:320
#8  0x00007f53898d5c60 in start_thread () from /lib/libpthread.so.0
#9  0x00007f5387c5d7ed in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f538e57a760 (LWP 19714)):
#0  0x00007f5387c553e3 in poll () from /lib/libc.so.6
#1  0x00007f5382064134 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f538206466d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f5389cdfee3 in QEventDispatcherGlib::processEvents (this=0x1fe6df0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007f5388c1e116 in QGuiEventDispatcherGlib::processEvents (this=0x1fe6df0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#5  0x00007f5389ca4926 in QEventLoop::processEvents (this=0x7ffff2f988b0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f5389ca4a7a in QEventLoop::exec (this=0x7ffff2f988b0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f538e00a41c in KJob::exec (this=0x5b6b6b0) at /data/sources/kde/trunk/kdelibs/kdecore/jobs/kjob.cpp:204
#8  0x00007f535fbcc932 in GitPlugin::branches (this=0x3e0eff0, repository=...) at /data/sources/kde/trunk/kdevplatform/plugins/git/gitplugin.cpp:573
#9  0x00007f535fbcccd4 in GitPlugin::initBranchHash (this=0x3e0eff0, repo=...) at /data/sources/kde/trunk/kdevplatform/plugins/git/gitplugin.cpp:787
#10 0x00007f535fbd0a03 in GitPlugin::getAllCommits (this=0x3e0eff0, repo=...) at /data/sources/kde/trunk/kdevplatform/plugins/git/gitplugin.cpp:622
#11 0x00007f5386062233 in CommitLogModel::initializeModel (this=0x571e7e0) at /data/sources/kde/trunk/kdevplatform/vcs/dvcs/ui/revhistory/commitlogmodel.cpp:38
#12 0x00007f5386043f10 in CommitLogModel::qt_metacall (this=0x571e7e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /home/kde-devel/kde/build/kdevplatform/vcs/moc_commitlogmodel.cpp:72
#13 0x00007f5389caef37 in QMetaObject::metacall (object=0x571e7e0, cl=QMetaObject::InvokeMetaMethod, idx=24, argv=0x2332f40) at kernel/qmetaobject.cpp:237
#14 0x00007f5389cbe40a in QMetaCallEvent::placeMetaCall (this=0x5a4a420, object=0x571e7e0) at kernel/qobject.cpp:535
#15 0x00007f5389cbf6e5 in QObject::event (this=0x571e7e0, e=0x5a4a420) at kernel/qobject.cpp:1217
#16 0x00007f5388b45650 in QApplicationPrivate::notify_helper (this=0x20716e0, receiver=0x571e7e0, e=0x5a4a420) at kernel/qapplication.cpp:4462
#17 0x00007f5388b42c74 in QApplication::notify (this=0x7ffff2f9c3f0, receiver=0x571e7e0, e=0x5a4a420) at kernel/qapplication.cpp:3862
#18 0x00007f538a516ab6 in KApplication::notify (this=0x7ffff2f9c3f0, receiver=0x571e7e0, event=0x5a4a420)
    at /data/sources/kde/trunk/kdelibs/kdeui/kernel/kapplication.cpp:311
#19 0x000000000040572a in KDevelopApplication::notify (this=0x7ffff2f9c3f0, receiver=0x571e7e0, event=0x5a4a420) at /data/sources/kde/trunk/kdevelop/app/main.cpp:90
#20 0x00007f5389ca6dc3 in QCoreApplication::notifyInternal (this=0x7ffff2f9c3f0, receiver=0x571e7e0, event=0x5a4a420) at kernel/qcoreapplication.cpp:731
#21 0x00007f538c2a0127 in QCoreApplication::sendEvent (receiver=0x571e7e0, event=0x5a4a420) at ../../../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 0x00007f5389ca7ffc in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1fdac00) at kernel/qcoreapplication.cpp:1372
#23 0x00007f5389ca7c1d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#24 0x00007f5389ce063b in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#25 0x00007f5389cdf5f4 in postEventSourceDispatch (s=0x2075760) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007f5382063bf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007f53820643d0 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0x00007f538206466d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x00007f5389cdfee3 in QEventDispatcherGlib::processEvents (this=0x1fe6df0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#30 0x00007f5388c1e116 in QGuiEventDispatcherGlib::processEvents (this=0x1fe6df0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f5389ca4926 in QEventLoop::processEvents (this=0x7ffff2f9a120, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f5389ca4a7a in QEventLoop::exec (this=0x7ffff2f9a120, flags=...) at kernel/qeventloop.cpp:201
#33 0x00007f5389160cb8 in QDialog::exec (this=0x7ffff2f9a1a0) at dialogs/qdialog.cpp:552
#34 0x00007f538605b5ee in KDevelop::DistributedVersionControlPlugin::ctxRevHistory (this=0x3e0eff0) at /data/sources/kde/trunk/kdevplatform/vcs/dvcs/dvcsplugin.cpp:207
#35 0x00007f53860445d4 in KDevelop::DistributedVersionControlPlugin::qt_metacall (this=0x3e0eff0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7ffff2f9a3c0) at /home/kde-devel/kde/build/kdevplatform/vcs/moc_dvcsplugin.cpp:95
#36 0x00007f535fbc6cc0 in GitPlugin::qt_metacall (this=0x3e0eff0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff2f9a3c0)
    at /home/kde-devel/kde/build/kdevplatform/plugins/git/moc_gitplugin.cpp:151
#37 0x00007f5389caef37 in QMetaObject::metacall (object=0x3e0eff0, cl=QMetaObject::InvokeMetaMethod, idx=16, argv=0x7ffff2f9a3c0) at kernel/qmetaobject.cpp:237
#38 0x00007f5389cc3dc7 in QMetaObject::activate (sender=0x436e360, m=0x7f5389883ee0, local_signal_index=1, argv=0x7ffff2f9a3c0) at kernel/qobject.cpp:3278
#39 0x00007f5388b35b26 in QAction::triggered (this=0x436e360, _t1=false) at .moc/debug-shared/moc_qaction.cpp:263
#40 0x00007f5388b34e28 in QAction::activate (this=0x436e360, event=QAction::Trigger) at kernel/qaction.cpp:1257
#41 0x00007f53890b71ac in QMenuPrivate::activateCausedStack (this=0x5809e80, causedStack=..., action=0x436e360, action_e=QAction::Trigger, self=true)
    at widgets/qmenu.cpp:993
#42 0x00007f53890b7675 in QMenuPrivate::activateAction (this=0x5809e80, action=0x436e360, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#43 0x00007f53890bb850 in QMenu::mouseReleaseEvent (this=0x22766e0, e=0x7ffff2f9b190) at widgets/qmenu.cpp:2306
#44 0x00007f5388bac154 in QWidget::event (this=0x22766e0, event=0x7ffff2f9b190) at kernel/qwidget.cpp:8255
#45 0x00007f53890bbf16 in QMenu::event (this=0x22766e0, e=0x7ffff2f9b190) at widgets/qmenu.cpp:2415
#46 0x00007f5388b45650 in QApplicationPrivate::notify_helper (this=0x20716e0, receiver=0x22766e0, e=0x7ffff2f9b190) at kernel/qapplication.cpp:4462
#47 0x00007f5388b435dd in QApplication::notify (this=0x7ffff2f9c3f0, receiver=0x22766e0, e=0x7ffff2f9b190) at kernel/qapplication.cpp:4023
#48 0x00007f538a516ab6 in KApplication::notify (this=0x7ffff2f9c3f0, receiver=0x22766e0, event=0x7ffff2f9b190)
    at /data/sources/kde/trunk/kdelibs/kdeui/kernel/kapplication.cpp:311
#49 0x000000000040572a in KDevelopApplication::notify (this=0x7ffff2f9c3f0, receiver=0x22766e0, event=0x7ffff2f9b190) at /data/sources/kde/trunk/kdevelop/app/main.cpp:90
#50 0x00007f5389ca6dc3 in QCoreApplication::notifyInternal (this=0x7ffff2f9c3f0, receiver=0x22766e0, event=0x7ffff2f9b190) at kernel/qcoreapplication.cpp:731
#51 0x00007f5388b47e33 in QCoreApplication::sendSpontaneousEvent (receiver=0x22766e0, event=0x7ffff2f9b190)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#52 0x00007f5388b41b46 in QApplicationPrivate::sendMouseEvent (receiver=0x22766e0, event=0x7ffff2f9b190, alienWidget=0x0, nativeWidget=0x22766e0, 
    buttonDown=0x7f53898cb9a8, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#53 0x00007f5388be71ba in QETWidget::translateMouseEvent (this=0x22766e0, event=0x7ffff2f9bcf0) at kernel/qapplication_x11.cpp:4395
#54 0x00007f5388be3e11 in QApplication::x11ProcessEvent (this=0x7ffff2f9c3f0, event=0x7ffff2f9bcf0) at kernel/qapplication_x11.cpp:3465
#55 0x00007f5388c1dd68 in x11EventSourceDispatch (s=0x2075970, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#56 0x00007f5382063bf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#57 0x00007f53820643d0 in ?? () from /usr/lib/libglib-2.0.so.0
#58 0x00007f538206466d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#59 0x00007f5389cdfee3 in QEventDispatcherGlib::processEvents (this=0x1fe6df0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#60 0x00007f5388c1e116 in QGuiEventDispatcherGlib::processEvents (this=0x1fe6df0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#61 0x00007f5389ca4926 in QEventLoop::processEvents (this=0x7ffff2f9c0a0, flags=...) at kernel/qeventloop.cpp:149
#62 0x00007f5389ca4a7a in QEventLoop::exec (this=0x7ffff2f9c0a0, flags=...) at kernel/qeventloop.cpp:201
#63 0x00007f5389ca74b6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#64 0x00007f5388b427ec in QApplication::exec () at kernel/qapplication.cpp:3736
#65 0x000000000040a19c in main (argc=0, argv=0x7ffff2f9e0d8) at /data/sources/kde/trunk/kdevelop/app/main.cpp:468
(gdb)
Comment 5 Aleix Pol 2011-01-17 03:15:45 UTC
commit ce39cceb4d053256e81d30d67784218908b44b72
branch 1.2
Author: Aleix Pol <aleixpol@kde.org>
Date:   Mon Jan 17 03:11:46 2011 +0100

    Don't display all commits in the OutputView. Makes the process considerably faster (which was the problem that prevented this feature from working).
    If this doesn't solve the problem there, we'll have to consider to just shutdown this feature.
    
    BUG: 262905

diff --git a/plugins/git/gitplugin.cpp b/plugins/git/gitplugin.cpp
index cc25650..c39adce 100644
--- a/plugins/git/gitplugin.cpp
+++ b/plugins/git/gitplugin.cpp
@@ -1035,7 +1035,7 @@ DVcsJob* GitPlugin::gitRevParse(const QString &repository, const QStringList &ar
 
 DVcsJob* GitPlugin::gitRevList(const QString &repository, const QStringList &args)
 {
-    DVcsJob* job = new DVcsJob(QDir(repository), this);
+    DVcsJob* job = new DVcsJob(QDir(repository), this, KDevelop::OutputJob::Silent);
     {
         *job << "git" << "rev-list" << args;
         return job;