Bug 289848

Summary: Kmail 2 extremly slow while syncing and crashes on exit
Product: [Applications] kontact Reporter: Uriel.home
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Uriel.home 2011-12-26 12:12:09 UTC
Application: kontact (4.7.3)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-15-generic-pae i686
Distribution: Ubuntu 11.10

-- Information about the crash:
Additional information: Kmail is extremly slow and do not finish the syncing process. Most of the mails will not be shown when I select one mail from the list. After closing the app the bugtracker appears after a while ('bout two minutes). So Kmail is unusable this way.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb2803730 (LWP 4730))]

Thread 4 (Thread 0xb1377b70 (LWP 4731)):
#0  0xb789b424 in __kernel_vsyscall ()
#1  0xb3dc9a5c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb622acfc in __pthread_cond_wait (cond=0xb60f3430, mutex=0xb60f3418) at forward.c:139
#3  0xb59d2883 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb59d299f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb3dc5d31 in start_thread (arg=0xb1377b70) at pthread_create.c:304
#6  0xb621d0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb0a4eb70 (LWP 4736)):
#0  0xb3da8d10 in __GI_clock_gettime (clock_id=1, tp=0xb0a4e098) at ../sysdeps/unix/clock_gettime.c:116
#1  0xb6f3b7d5 in do_gettime (frac=0xb0a4e090, sec=0xb0a4e088) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb700e4b6 in QTimerInfoList::updateCurrentTime (this=0x862cbec) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb700e086 in timerSourceCheckHelper (src=0x862cbb8) at kernel/qeventdispatcher_glib.cpp:150
#5  timerSourceCheckHelper (src=0x862cbb8) at kernel/qeventdispatcher_glib.cpp:144
#6  0xb3ceef24 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb3cef8f0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb3cefc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb700db37 in QEventDispatcherGlib::processEvents (this=0x862b270, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#10 0xb6fde1dd in QEventLoop::processEvents (this=0xb0a4e2c0, flags=...) at kernel/qeventloop.cpp:149
#11 0xb6fde421 in QEventLoop::exec (this=0xb0a4e2c0, flags=...) at kernel/qeventloop.cpp:201
#12 0xb6ee190b in QThread::exec (this=0x862ac50) at thread/qthread.cpp:498
#13 0xb6ee19fb in QThread::run (this=0x862ac50) at thread/qthread.cpp:565
#14 0xb6ee47b3 in QThreadPrivate::start (arg=0x862ac50) at thread/qthread_unix.cpp:331
#15 0xb3dc5d31 in start_thread (arg=0xb0a4eb70) at pthread_create.c:304
#16 0xb621d0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xae018b70 (LWP 4980)):
#0  0xb3da8d10 in __GI_clock_gettime (clock_id=1, tp=0xae018008) at ../sysdeps/unix/clock_gettime.c:116
#1  0xb6f3b7d5 in do_gettime (frac=0xae018000, sec=0xae017ff8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb700e4b6 in QTimerInfoList::updateCurrentTime (this=0x8e02934) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb700e80a in QTimerInfoList::timerWait (this=0x8e02934, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb700d053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xae01810c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb700d0ed in timerSourcePrepare (source=0x8e02900, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb3cee88c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb3cef637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb3cefc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb700db37 in QEventDispatcherGlib::processEvents (this=0x91d5fa0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb6fde1dd in QEventLoop::processEvents (this=0xae018290, flags=...) at kernel/qeventloop.cpp:149
#12 0xb6fde421 in QEventLoop::exec (this=0xae018290, flags=...) at kernel/qeventloop.cpp:201
#13 0xb6ee190b in QThread::exec (this=0x8c16d30) at thread/qthread.cpp:498
#14 0xb6fbee2d in QInotifyFileSystemWatcherEngine::run (this=0x8c16d30) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb6ee47b3 in QThreadPrivate::start (arg=0x8c16d30) at thread/qthread_unix.cpp:331
#16 0xb3dc5d31 in start_thread (arg=0xae018b70) at pthread_create.c:304
#17 0xb621d0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb2803730 (LWP 4730)):
[KCrash Handler]
#7  sendQueued (transport=..., this=0x0) at ../../messagecomposer/messagesender.h:80
#8  KMMainWidget::slotSendQueued (this=0x8ad8f18) at ../../kmail/kmmainwidget.cpp:2477
#9  0xaf2ea65d in KMMainWidget::slotEndCheckMail (this=0x8ad8f18) at ../../kmail/kmmainwidget.cpp:381
#10 0xaf2ee13f in KMMainWidget::qt_metacall (this=0x8ad8f18, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbf946514) at ./kmmainwidget.moc:373
#11 0xb6fe5b7d in metacall (argv=0xbf946514, idx=54, cl=QMetaObject::InvokeMetaMethod, object=0x8ad8f18) at kernel/qmetaobject.cpp:237
#12 QMetaObject::metacall (object=0x8ad8f18, cl=QMetaObject::InvokeMetaMethod, idx=54, argv=0xbf946514) at kernel/qmetaobject.cpp:232
#13 0xb6ff4a6a in QMetaObject::activate (sender=0x8985ba8, m=0xaf3cf578, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3278
#14 0xaf292565 in KMKernel::endCheckMail (this=0x8985ba8) at ./kmkernel.moc:246
#15 0xaf294db8 in KMKernel::slotProgressItemCompletedOrCanceled (this=0x8985ba8, item=0x0) at ../../kmail/kmkernel.cpp:1696
#16 0xaf2a041e in KMKernel::qt_metacall (this=0x8985ba8, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0xbf946718) at ./kmkernel.moc:209
#17 0xb6fe5b7d in metacall (argv=0xbf946718, idx=40, cl=QMetaObject::InvokeMetaMethod, object=0x8985ba8) at kernel/qmetaobject.cpp:237
#18 QMetaObject::metacall (object=0x8985ba8, cl=QMetaObject::InvokeMetaMethod, idx=40, argv=0xbf946718) at kernel/qmetaobject.cpp:232
#19 0xb6ff4a6a in QMetaObject::activate (sender=0x868e6a0, m=0xb4930da0, local_signal_index=2, argv=0xbf946718) at kernel/qobject.cpp:3278
#20 0xb4900775 in KPIM::ProgressManager::progressItemCompleted (this=0x868e6a0, _t1=0x947ca58) at ./progressmanager.moc:272
#21 0xb49009f0 in KPIM::ProgressManager::slotTransactionCompleted (this=0x868e6a0, item=0x947ca58) at ../../libkdepim/progressmanager.cpp:219
#22 0xb4901465 in KPIM::ProgressManager::qt_metacall (this=0x868e6a0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf946858) at ./progressmanager.moc:246
#23 0xb6fe5b7d in metacall (argv=0xbf946858, idx=15, cl=QMetaObject::InvokeMetaMethod, object=0x868e6a0) at kernel/qmetaobject.cpp:237
#24 QMetaObject::metacall (object=0x868e6a0, cl=QMetaObject::InvokeMetaMethod, idx=15, argv=0xbf946858) at kernel/qmetaobject.cpp:232
#25 0xb6ff4a6a in QMetaObject::activate (sender=0x947ca58, m=0xb4930db0, local_signal_index=2, argv=0xbf946858) at kernel/qobject.cpp:3278
#26 0xb49001c5 in KPIM::ProgressItem::progressItemCompleted (this=0x947ca58, _t1=0x947ca58) at ./progressmanager.moc:121
#27 0xb4900b6e in KPIM::ProgressItem::setComplete (this=0x947ca58) at ../../libkdepim/progressmanager.cpp:61
#28 0xb49022a0 in KPIM::AgentProgressMonitor::Private::instanceStatusChanged (this=0x9089310, instance=...) at ../../libkdepim/agentprogressmonitor.cpp:80
#29 0xb490244e in KPIM::AgentProgressMonitor::qt_metacall (this=0x8a5f260, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf9469d8) at ./agentprogressmonitor.moc:78
#30 0xb6fe5b7d in metacall (argv=0xbf9469d8, idx=6, cl=QMetaObject::InvokeMetaMethod, object=0x8a5f260) at kernel/qmetaobject.cpp:237
#31 QMetaObject::metacall (object=0x8a5f260, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbf9469d8) at kernel/qmetaobject.cpp:232
#32 0xb6ff4a6a in QMetaObject::activate (sender=0x8a22258, m=0xb4574458, local_signal_index=4, argv=0xbf9469d8) at kernel/qobject.cpp:3278
#33 0xb43bdee5 in Akonadi::AgentManager::instanceStatusChanged (this=0x8a22258, _t1=...) at ./agentmanager.moc:177
#34 0xb43c2ee2 in Akonadi::AgentManagerPrivate::agentInstanceStatusChanged (this=0x8a22ef0, identifier=..., status=0, msg=...) at ../../akonadi/agentmanager.cpp:129
#35 0xb43c5871 in Akonadi::AgentManager::qt_metacall (this=0x8a22258, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf946b40) at ./agentmanager.moc:131
#36 0xb6fe5b7d in metacall (argv=0xbf946b40, idx=18, cl=QMetaObject::InvokeMetaMethod, object=0x8a22258) at kernel/qmetaobject.cpp:237
#37 QMetaObject::metacall (object=0x8a22258, cl=QMetaObject::InvokeMetaMethod, idx=18, argv=0xbf946b40) at kernel/qmetaobject.cpp:232
#38 0xb6ff4a6a in QMetaObject::activate (sender=0x8a23090, m=0xb4579778, local_signal_index=7, argv=0xbf946b40) at kernel/qobject.cpp:3278
#39 0xb44fab85 in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceStatusChanged (this=0x8a23090, _t1=..., _t2=0, _t3=...) at agentmanagerinterface.moc:285
#40 0xb44fb1f6 in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0x8a23090, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf946f2c) at agentmanagerinterface.moc:167
#41 0xb459bd87 in QDBusConnectionPrivate::deliverCall (this=0x84f8cf0, object=0x8a23090, msg=..., metaTypes=..., slotIdx=0) at qdbusintegrator.cpp:942
#42 0xb45a5c26 in QDBusCallDeliveryEvent::placeMetaCall (this=0x8a43eb0, object=0x8a23090) at qdbusintegrator_p.h:103
#43 0xb6ff7b52 in QObject::event (this=0x8a23090, e=0x8a43eb0) at kernel/qobject.cpp:1217
#44 0xb650ad54 in notify_helper (e=0x8a43eb0, receiver=0x8a23090, this=0x850a168) at kernel/qapplication.cpp:4486
#45 QApplicationPrivate::notify_helper (this=0x850a168, receiver=0x8a23090, e=0x8a43eb0) at kernel/qapplication.cpp:4458
#46 0xb6510103 in QApplication::notify (this=0x8a43eb0, receiver=0x8a23090, e=0x8a43eb0) at kernel/qapplication.cpp:3886
#47 0xb75ca681 in KApplication::notify (this=0xbf9480e4, receiver=0x8a23090, event=0x8a43eb0) at ../../kdeui/kernel/kapplication.cpp:311
#48 0xb6fdf19e in QCoreApplication::notifyInternal (this=0xbf9480e4, receiver=0x8a23090, event=0x8a43eb0) at kernel/qcoreapplication.cpp:787
#49 0xb6fe2f93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#50 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x84de540) at kernel/qcoreapplication.cpp:1428
#51 0xb6fe30ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#52 0xb700d6a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#53 postEventSourceDispatch (s=0x8503b98) at kernel/qeventdispatcher_glib.cpp:277
#54 0xb3cef25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#55 0xb3cef990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#56 0xb3cefc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#57 0xb700dada in QEventDispatcherGlib::processEvents (this=0x84df298, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#58 0xb65c2e3a in QGuiEventDispatcherGlib::processEvents (this=0x84df298, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0xb6fde1dd in QEventLoop::processEvents (this=0xbf9475c4, flags=...) at kernel/qeventloop.cpp:149
#60 0xb6fde421 in QEventLoop::exec (this=0xbf9475c4, flags=...) at kernel/qeventloop.cpp:201
#61 0xb722dc8b in KJob::exec (this=0x8be9cf8) at ../../kdecore/jobs/kjob.cpp:204
#62 0xaf29df44 in KMKernel::cleanup (this=0x8985ba8) at ../../kmail/kmkernel.cpp:1244
#63 0xaf4037d4 in KMailPart::~KMailPart (this=0x88cb180, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:138
#64 0xaf403902 in KMailPart::~KMailPart (this=0x88cb180, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:141
#65 0xb7829878 in KontactInterface::Plugin::~Plugin (this=0x88b56c8, __vtt_parm=0xaf4a2b04, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:90
#66 0xaf4940c5 in KMailPlugin::~KMailPlugin (this=0x88b56c8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:159
#67 0xaf494112 in KMailPlugin::~KMailPlugin (this=0x88b56c8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:163
#68 0xb785a187 in Kontact::MainWindow::~MainWindow (this=0x85fdf78, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:287
#69 0xb785a302 in Kontact::MainWindow::~MainWindow (this=0x85fdf78, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:289
#70 0xb6ff25f3 in qDeleteInEventHandler (o=0x85fdf78) at kernel/qobject.cpp:3986
#71 0xb6ff7b80 in QObject::event (this=0x85fdf78, e=0x93209c0) at kernel/qobject.cpp:1200
#72 0xb6564c62 in QWidget::event (this=0x85fdf78, event=0x93209c0) at kernel/qwidget.cpp:8754
#73 0xb69874cc in QMainWindow::event (this=0x85fdf78, event=0x93209c0) at widgets/qmainwindow.cpp:1478
#74 0xb76a6194 in KMainWindow::event (this=0x85fdf78, ev=0x93209c0) at ../../kdeui/widgets/kmainwindow.cpp:1084
#75 0xb76ee372 in KXmlGuiWindow::event (this=0x85fdf78, ev=0x93209c0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#76 0xb650ad54 in notify_helper (e=0x93209c0, receiver=0x85fdf78, this=0x850a168) at kernel/qapplication.cpp:4486
#77 QApplicationPrivate::notify_helper (this=0x850a168, receiver=0x85fdf78, e=0x93209c0) at kernel/qapplication.cpp:4458
#78 0xb65101a8 in QApplication::notify (this=0x850a168, receiver=0x85fdf78, e=0x93209c0) at kernel/qapplication.cpp:4451
#79 0xb75ca681 in KApplication::notify (this=0xbf9480e4, receiver=0x85fdf78, event=0x93209c0) at ../../kdeui/kernel/kapplication.cpp:311
#80 0xb6fdf19e in QCoreApplication::notifyInternal (this=0xbf9480e4, receiver=0x85fdf78, event=0x93209c0) at kernel/qcoreapplication.cpp:787
#81 0xb6fe2f93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#82 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x84de540) at kernel/qcoreapplication.cpp:1428
#83 0xb6fe30ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#84 0xb700d6a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#85 postEventSourceDispatch (s=0x8503b98) at kernel/qeventdispatcher_glib.cpp:277
#86 0xb3cef25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#87 0xb3cef990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#88 0xb3cefc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#89 0xb700dada in QEventDispatcherGlib::processEvents (this=0x84df298, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#90 0xb65c2e3a in QGuiEventDispatcherGlib::processEvents (this=0x84df298, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#91 0xb6fde1dd in QEventLoop::processEvents (this=0xbf948044, flags=...) at kernel/qeventloop.cpp:149
#92 0xb6fde421 in QEventLoop::exec (this=0xbf948044, flags=...) at kernel/qeventloop.cpp:201
#93 0xb6fe319d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#94 0xb65088f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#95 0x0804ac91 in main (argc=2095800, argv=0x88c8f78) at ../../../kontact/src/main.cpp:218

This bug may be a duplicate of or related to bug 280649.

Possible duplicates by query: bug 287667, bug 286551, bug 283664, bug 281418, bug 281328.

Reported using DrKonqi
Comment 1 Christophe Marin 2012-01-02 17:10:06 UTC

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